I have a terminfo entry for my terminal at :
/home/yugiohjcj/.terminfo/r/rxvt-unicode
To build this file I used 'infocmp' and 'tic' commands.
I attach this file to this mail.

For the TERM environment variable it's good !
If I set TERM=vt100, then I have the correct behavior (long commands on 
multiple lines) :)
If I set TERM=rxvt, then I have this strange behavior (long commands on a 
single line) :(

If I remember well, when I build the /home/yugiohjcj/.terminfo/r/rxvt-unicode 
file, I was on TERM=rxvt.
So, this is probably why I got this problem now.

The solution is probably to set TERM=vt100, then use 'infocmp' and 'tic' 
commands to create a new /home/yugiohjcj/.terminfo/r/rxvt-unicode file.

I will try this...

----- Mail original -----
De: "Zsbán Ambrus" <[email protected]>
À: "spam spam spam spam" <[email protected]>, 
[email protected]
Envoyé: Jeudi 2 Août 2012 17:48:36
Objet: Re: Long commands on multiple lines

On 8/2/12, [email protected] <[email protected]> wrote:
> I have an unwanted behavior on urxvt v9.15.
>
> When I type a long command this is what I see :
> <nts/downloads/software/qt-all-opensource-src-4.5.3/
>
> What I would like is :
> spam@machine:~$ ls documents/downloads/software/
> qt-all-opensource-src-4.5.3/
>
> As you can see I have the long commands on a single line.
> I would like to have long commands on multiple lines.

This usually happens if you do not have a terminfo entry for your
terminal, so readline (or another similar library) uses it like a dumb
terminal.  Try to set TERM=vt100 or TERM=rxvt and start a shell that
way to test whether this is the case, and try to install the terminfo
file for urxvt (whether globally on the system or for just your user)
in the long run.

The reason could be something else, like a program (your shell)
compiled with incorrect options, but it's very likely not a bug in
urxvt in any case.

Ambrus

Attachment: rxvt-unicode
Description: Binary data

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

Reply via email to