Long commands on multiple lines

Jan Larres lists at majutsushi.net
Sun Aug 5 16:24:27 CEST 2012


spam.spam.spam.spam at free.fr <spam.spam.spam.spam at free.fr>:
> spierre at samson:~$ infocmp vt100 > vt100.cmp
> spierre at samson:~$ sed -i s/vt100/rxvt-unicode/g vt100.cmp
> spierre at samson:~$ tic vt100.cmp
>
> [...]
>
> The only solution which works for the moment is to set TERM=vt100.

Well, of course. You tell programs that you're using rxvt-unicode, but
actually provide the configuration for vt100. No wonder the programs
get confused.

> Why it isn't possible to get the correct behavior by using
> terminfo/termcap files instead of set this TERM variable ?

Of course it is possible. rxvt-unicode comes with a terminfo file that
has the correct configuration in it. Just compile it with tic, set TERM
to rxvt-unicode (or rxvt-unicode-256color if compiled with that) and
everything should work.

Jan

-- 
-[ OpenPGP key ID: 00A0FD5F ]-
I believe in an open mind, but not so open that your brains fall out.
                -- Arthur Hays Sulzberger
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 490 bytes
Desc: Digital signature
URL: <http://lists.schmorp.de/pipermail/rxvt-unicode/attachments/20120806/abae34e2/attachment.sig>


More information about the rxvt-unicode mailing list