OK. I found the rxvt-unicode.terminfo file in the source code archive:
$ find . -name "*.terminfo"
./doc/etc/rxvt-unicode.terminfo

I use tic on this file.
Now I have the compiled file in:
~/.terminfo/r/rxvt-unicode

But the problem is again here: long commands are on a single line.

And my TERM variable is has a correct value:
$ echo $TERM
rxvt-unicode

Do you understand why the longs commands aren't on multiple lines?


----- Mail original -----
De: "Jan Larres" <[email protected]>
À: [email protected]
Envoyé: Dimanche 5 Août 2012 16:24:27
Objet: Re: Long commands on multiple lines

[email protected] <[email protected]>:
> spierre@samson:~$ infocmp vt100 > vt100.cmp
> spierre@samson:~$ sed -i s/vt100/rxvt-unicode/g vt100.cmp
> spierre@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

_______________________________________________
rxvt-unicode mailing list
[email protected]
http://lists.schmorp.de/cgi-bin/mailman/listinfo/rxvt-unicode

_______________________________________________
rxvt-unicode mailing list
[email protected]
http://lists.schmorp.de/cgi-bin/mailman/listinfo/rxvt-unicode

Reply via email to