🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

4 total messages Started by margoli@watson.i Mon, 26 Aug 1991 17:17
Re: Xedit tabs.
#3858
Author: margoli@watson.i
Date: Mon, 26 Aug 1991 17:17
11 lines
417 bytes
In  <1991Aug23.165248.440@usenet.ins.cwru.edu>  cmz2@po.CWRU.Edu (Carlos M. Zenteno) writes:
>      Does anybody out there knows how to change the default
> length of 8 in Xedit.

Assuming you're talking about XEDIT on VM, HELP TABS will tell you how:
   TABS n1 [n2...n28]

To make the change permanent, you can add it to your PROFILE XEDIT.

Larry Margolis, MARGOLI@YKTVMV (bitnet), margoli@watson.IBM.com (csnet)

Re: Xedit tabs.
#3861
Author: carlson@mrx.webo
Date: Mon, 26 Aug 1991 21:14
9 lines
243 bytes
On KEDIT (I'm not sure with VM/SP XEDIT), you can also do this:

	[SET] TABS INCR 4

--
Disclaimer:  I cannot speak for Data General.  You should have guessed that.
Mail to:  carlson@mrx.webo.dg.com  -or-  James_Carlson@dgc.mceo.dg.com
.//.

Re: Xedit tabs.
#3921
Author: wagner@chepil.we
Date: Tue, 03 Sep 1991 03:28
40 lines
1614 bytes
Larry Margolis <margoli@watson.ibm.com> writes:

>In  <1991Aug23.165248.440@usenet.ins.cwru.edu>  cmz2@po.CWRU.Edu (Carlos M. Zenteno) writes:
>>      Does anybody out there knows how to change the default
>> length of 8 in Xedit.

>Assuming you're talking about XEDIT on VM, HELP TABS will tell you how:
>   TABS n1 [n2...n28]

>To make the change permanent, you can add it to your PROFILE XEDIT.

I have ran into a similar problem with KEDIT and tabs on a PC.  Several
coworkers use KEDIT rather than vi.  Recently they needed to modify a
makefile.  They had problems with KEDIT converting the tabs to spaces
(the default for KEDIT).  After studying the manual, we found that we
could get KEDIT to either:

1.  Leave the tabs alone, but display them on the screen as a happy-face
or some such PC 8-bit screen character.

2.  Convert tabs to spaces when the file is read in and convert back to
tabs when it is subsequently written back out to disk.


The problem with #1 is that any formatting of a file with tabs is lost
when it is used.

The problem with #2 is that sometimes original spaces in a file may
be converted to tabs in places that they are NOT wanted.

So, does anyone know how to make KEDIT emulate vi in how it treats tabs,
ie. leave the tab character alone in the file AND display it as XX spaces
as specified in a set command?

--
Larry E. Wagner                     | wagner@chepil.weru.ksu.edu
USDA-ARS Wind Erosion Research Unit | wagner@matt.ksu.ksu.edu
105B East Waters Hall, KSU          | ...!{rutgers,texbell}!ksuvax1!weru!wagner
Manhattan, KS 66506                 |phone (913)532-6807

Re: Xedit tabs.
#3944
Author: piotr@cs.kun.nl
Date: Wed, 04 Sep 1991 19:38
19 lines
503 bytes
The TAB-increment can be set for Xedit to be something else than 8:

    SET TABS INCR 4

This sets the tans increment to 4

Alternatively you can also specify the tabs explicitly:

    SET TABS 1 9 17 etc.

I don't know however, how one can only partially suppress the expansion
of tabs, or the compression to tabs. The zonesettings are apparently
ignored by the compress command.
--
Disclaimer: the above opinions do not represent those
----------  of the KUN and are definitely not mine !!

Piotr

Thread Navigation

This is a paginated view of messages in the thread with full content displayed inline.

Messages are displayed in chronological order, with the original post highlighted in green.

Use pagination controls to navigate through all messages in large threads.

Back to All Threads