[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: terminfo for solaris

Greg Wooledge wrote:
Aaron Stromas (astromas@us.oracle.com) 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
  export TERMINFO
  tic -v xterm-debian.ti

If 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/
wooledge@kellnet.com             | 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,


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

tel;fax:+1 703-708 7922
tel;home:+1 301 493 4933
tel;work:+1 703 708 6821
org:Oracle;Advanced Technology Solutions
adr:;;196 Van Buren Street;Herndon;VA;22070;USA
title:Senior Principal consultant
fn:Stromas, Aaron 

Reply to: