Path: utzoo!utgpu!news-server.csri.toronto.edu!cs.utexas.edu!sun-barr!olivea!uunet!snorkelwacker.mit.edu!bloom-beacon!dont-send-mail-to-path-lines From: phils@athena.mit.EDU (Philip Thompson) Newsgroups: comp.windows.x Subject: Re: Xterm/Vi problem Message-ID: <9102061914.AA27105@m9-514-1.MIT.EDU> Date: 6 Feb 91 19:14:18 GMT References: <1991Feb6.143442.19096@daimi.aau.dk> Sender: daemon@athena.mit.edu (Mr Background) Organization: The Internet Lines: 18 > When editing files with "vi" in a "xterm" window, which contain > lines longer than the width of the xterm window, it becomes > very difficult to see what you are actually editing. It's a "misfeature" of the xterm termap entry. You need to define the auto-margin (am) capability. Ater setting your termcap you can just append this definition. In my login I have the following: set noglob; eval `tset -s -I -Q -m 'switch:?vt100' -m 'network:?xterm'` setenv TERMCAP "$TERMCAP"am: # this makes Vi in xterms happy. unset noglob; Hope it works for you. Philip Thompson Dept. Architecture and Urban Planning, MIT