1838648 Members
2888 Online
110128 Solutions
New Discussion

Re: Terminfo

 

Terminfo

Hi there,

I need to alter a few keymaps in a terminfo file. I have found out how to do this except I can not seem to untic the file to make the alterations.

I've copied the terminal I want to alter to my home directory so as not to alter the original but when I try to untiz the file I just get it output to screen and not to a file.

If someone could help me on this I would be really greatful.

Thanks in advance,

Christian Briddon
5 REPLIES 5
Steve Steel
Honored Contributor

Re: Terminfo

Hi


use I/O redirection.


ex
untic -f /usr/share/lib/terminfo/v/vt100 > vt100.tic

Steve Steel
If you want truly to understand something, try to change it. (Kurt Lewin)
Deepak Extross
Honored Contributor

Re: Terminfo

untic sends the de-compiled terminfo description result to standard output.

So you'll have to direct the std o/p to a file:
untic -f filename 1>outfile
Niraj Kumar Verma
Trusted Contributor

Re: Terminfo

Hi,

use tic

go through the man pages of tic

by default it puts the result file in to

/usr/share/lib/terminfo

-Niraj
Niraj.Verma@philips.com
Carlos Fernandez Riera
Honored Contributor

Re: Terminfo

After doing it :

export TERMINFO=/tmp/terminfo

and mkdir /tmp/terminfo.


TERMINFO var will mantain a separate database for terminals while you generate a correct file for your needs.

see man tic , untic.
unsupported
Wodisch
Honored Contributor

Re: Terminfo

Hi,

if "untic" is not working for you, try "infocmp" instead...

HTH,
Wodisch