Path: utzoo!attcan!utgpu!jarvis.csri.toronto.edu!mailrus!uwm.edu!gem.mps.ohio-state.edu!rpi!brutus.cs.uiuc.edu!ginosko!uunet!virtech!cpcahil From: cpcahil@virtech.uucp (Conor P. Cahill) Newsgroups: comp.unix.wizards Subject: Re: How does vi know? Message-ID: <1989Oct26.123127.6290@virtech.uucp> Date: 26 Oct 89 12:31:27 GMT References: <1989Oct25.095349.22098@gdt.bath.ac.uk> Organization: Virtual Technologies Inc. Lines: 15 In article <1989Oct25.095349.22098@gdt.bath.ac.uk>, exspes@gdr.bath.ac.uk (P E Smee) writes: > Vi 'knows' whether you are on a screen terminal or a (paper or glass) tty, > and comes up differently depending. Question is, how does it know? I've Part of this is your $TERM definition and part of it is due to your baud setting in your tty settings. if the baud rate is below a certain threshold vi goes into a special mode so that it doesn't spend years redrawing a full screen. -- +-----------------------------------------------------------------------+ | Conor P. Cahill uunet!virtech!cpcahil 703-430-9247 ! | Virtual Technologies Inc., P. O. Box 876, Sterling, VA 22170 | +-----------------------------------------------------------------------+