How does vi know?

Conor P. Cahill cpcahil at virtech.uucp
Thu Oct 26 22:31:27 AEST 1989


In article <1989Oct25.095349.22098 at gdt.bath.ac.uk>, exspes at 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     |
+-----------------------------------------------------------------------+



More information about the Comp.unix.wizards mailing list