Re: better way than hacking termcap to be ca_mode free

2010-08-16 Thread Stuart Barkley
On Mon, 16 Aug 2010 at 04:50 -, Randy Bush wrote: > is there a better way to achieve this? I'm not sure what ca_mode is, but I have the following in my .Xresources file: XTerm*tiXtraScroll: true XTerm*titeInhibit: true These get rid of the silly alternate screen in vi, etc. There

Re: better way than hacking termcap to be ca_mode free

2010-08-16 Thread Anonymous
Randy Bush writes: > is there a better way to achieve this? Not sure about ~/.termcap but you can just override ti/te via TERMCAP in environment. $ export TERM=${TERM:-xterm} $ export TERMCAP=${TERM}:ti@:te@:tc=${TERM}: > > *** termcap.FCS Tue Jun 17 15:10:46 2003 > --- termcap Tue Jun

better way than hacking termcap to be ca_mode free

2010-08-16 Thread Randy Bush
is there a better way to achieve this? randy *** termcap.FCS Tue Jun 17 15:10:46 2003 --- termcap Tue Jun 17 15:14:15 2003 *** *** 299,305 adm3|3|lsi adm3:\ :do=^J:am:le=^H:bs:cl=^Z:li#24:ma=^K^P:co#80: xterm|xterm-color|X11 terminal emulator:\ ! :ti@:te@:t