Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP
Path: utzoo!mnetor!uunet!tektronix!reed!omen!caf
From: caf@omen.UUCP (Chuck Forsberg WA7KGX)
Newsgroups: comp.sys.att,comp.editors
Subject: Re: vi editor problem on UNIX-pc
Message-ID: <615@omen.UUCP>
Date: Thu, 26-Nov-87 08:16:56 EST
Article-I.D.: omen.615
Posted: Thu Nov 26 08:16:56 1987
Date-Received: Sun, 29-Nov-87 18:06:21 EST
References: <50@cjsa.UUCP> <113@ghostwheel.UUCP> <1475@ttidca.TTI.COM> <7793@reed.UUCP>
Reply-To: caf@omen.UUCP (Chuck Forsberg WA7KGX)
Organization: Omen Technology Inc, Portland Oregon
Lines: 32
Xref: mnetor comp.sys.att:1898 comp.editors:33

In article <7793@reed.UUCP> bart@reed.UUCP (Bart Massey) writes:
:In article <1475@ttidca.TTI.COM> kevin@ttidcb.UUCP (Kevin Carothers) writes:
:> I have had a lot of luck in cleaning up vi on our particular version of
:> UNIX (*) by taking out the /etc/termcap boolean "xn" on a vt100 type 
:> terminal. The article failed to mention if UNIX was running native on the
:> PC (SCO Corp. ?) or via Smartterm. Also, make sure that on vt100's that 
:> the terminal has "wraparound" mode set. Otherwise your source file turns
:> into a horror show.
:
:On a genueene Dec VT one-hunnert or two-hunnert series ternimal, don't do
:this, but many emulators will require it.  The "xn" termcap entry indicates
:the magic DEC wrapmargin feature:  when you get to column 80, do not advance
:the cursor past it (wrapping) until the next character is sent.  Then wrap
:the character.  If the character you're wrapping is a newline, eat it,
:so that you don't get the effect of two newlines.  
:
:Most terminals and programs that try to emulate this get it wrong.  The
:classic is to just punt and do normal wrapping.  For these emulators, the
:termcap entries given above ("am:@xn") are correct.

If you need a shareware emulation that gets "xn" right, as well as being
compatible with aggressive vt100 termcaps that use set scrolling region,
take a look at ZCOMM, available on TeleGodzilla and some other BBS's.
ZCOMM also supports euper EGA boards in their higher resolution modes
such as 132x44, etc.

Chuck Forsberg WA7KGX Author of YMODEM, ZMODEM, Professional-YAM, ZCOMM, and DSZ
...!tektronix!reed!omen!caf  Omen Technology Inc "The High Reliability Software"
17505-V Northwest Sauvie Island Road Portland OR 97231  VOICE:503-621-3406:VOICE
    TeleGodzilla BBS: 621-3746 19200/2400/1200  CIS:70007,2304  Genie:CAF
  omen Any ACU 2400 1-503-621-3746 se:--se: link ord: Giznoid in:--in: uucp
  omen!/usr/spool/uucppublic/FILES lists all uucp-able files, updated hourly