Xref: utzoo comp.unix.questions:8160 comp.bugs.misc:137
Path: utzoo!utgpu!water!watmath!clyde!att!osu-cis!tut.cis.ohio-state.edu!mailrus!utah-gr!stride!mitch
From: mitch@Stride.COM (Thomas Mitchell)
Newsgroups: comp.unix.questions,comp.bugs.misc
Subject: Re: Tabs in VI
Summary: check clear tab in terminfo/termcap
Message-ID: <832@stride.Stride.COM>
Date: 13 Jul 88 17:49:25 GMT
References: <399@cb.ecn.purdue.edu> <177@skep2.ATT.COM> <4885@teddy.UUCP> <190@skep2.ATT.COM>
Reply-To: mitch@stride.stride.com.UUCP (Thomas Mitchell)
Organization: MicroSage, 680 S. Rock Blvd, Reno, NV 89502
Lines: 32

>} :set tabstop=8.  After setting the tabstop to zero, tabs are 8 long,

One thing I found was that for many terminals the command to clear
the tabs in termcap and terminfo was missing or wrong.  These
were AT&T as well as UCB files.  In fact a termcap application
note from a terminal manufacturer had the same error.

The result is that the editor attempts to reset the tabs --
thinks it has, but the terminal still has it wrong.  Then the I/O
update routines emit a tab char to be at a specific column but lo
the terminal still has the tab stops set in all the wrong places.

This produces some real junk with FORTRAN and COBOL modes.  

(Up on the Soap Box)
In general I hate what most people do with tabs.  On a typewriter
a tab is a tab stop (this is cool).  In a machine file a tab is
an ASCII character.  In the context of input it may be simple to
know what is expected.  Later on output it becomes tough to keep
a family of programs tracking on this same intent (not cool).
(Down from the Soap Box)

Thanks for your time,




-- 
Thomas P. Mitchell (mitch@stride1.Stride.COM)
Phone: (702)322-6868	TWX: 910-395-6073	FAX: (702)322-7975
MicroSage Computer Systems Inc.
Opinions expressed are probably mine.