Aaron Stromas ([EMAIL PROTECTED]) wrote:> while logging to a solaris box and setting back the display to my debian
> linux box vi misbehaves. some time ago i stumbled upon a fix - there is
> a terminfo entry that needs to be compiled and the TERMINFO environment
> variable has to be set to point to it.Depending on which terminal emulator you use, it could be 'xterm-debian'
or 'rxvt' or anything.... Do an 'echo $TERM' on the Solaris system to
see what variable it wants.On the Linux system, do 'infocmp xterm-debian' (or whatever variable) and
redirect that to a file. (E.g., 'infocmp xterm-debian >xterm-debian.ti'.)Send that file over to Solaris.
Then on Solaris, as yourself (unless you want this to be system-wide) you
can do:mkdir ~/.terminfo
TERMINFO=~/.terminfo
export TERMINFO
tic -v xterm-debian.tiIf you want it to be system-wide, you can omit the first three lines and
run the tic as root.You may want to read /usr/doc/xterm/README.Debian as well, even if you
aren't using xterm.--
Greg Wooledge | Distributed.NET http://www.distributed.net/
[EMAIL PROTECTED] | because a CPU is a terrible thing to waste.
http://www.kellnet.com/wooledge/ |------------------------------------------------------------------------
Part 1.2Type: application/pgp-signature
that's it. many thanks,
-a
--
Aaron Stromas | "Tick-tick-tick!!!...
ja, Pantani is weg...."
Oracle Corp. |
BRTN commentator,
+1 703 708 6821 |
L'Alpe d'Huez, 1995 Tour de France
begin:vcard n:Stromas;Aaron tel;fax:+1 703-708 7922 tel;home:+1 301 493 4933 tel;work:+1 703 708 6821 x-mozilla-html:TRUE url:http://www.oracle.com org:Oracle;Advanced Technology Solutions adr:;;196 Van Buren Street;Herndon;VA;22070;USA version:2.1 email;internet:[EMAIL PROTECTED] title:Senior Principal consultant x-mozilla-cpt:;0 fn:Stromas, Aaron end:vcard