Long commands on multiple lines

spam.spam.spam.spam at free.fr spam.spam.spam.spam at free.fr
Fri Aug 3 00:20:57 CEST 2012


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" <ambrus at math.bme.hu>
À: "spam spam spam spam" <spam.spam.spam.spam at free.fr>, rxvt-unicode at lists.schmorp.de
Envoyé: Jeudi 2 Août 2012 17:48:36
Objet: Re: Long commands on multiple lines

On 8/2/12, spam.spam.spam.spam at free.fr <spam.spam.spam.spam at free.fr> 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 at 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
-------------- next part --------------
A non-text attachment was scrubbed...
Name: rxvt-unicode
Type: application/octet-stream
Size: 1651 bytes
Desc: not available
URL: <http://lists.schmorp.de/pipermail/rxvt-unicode/attachments/20120803/cd9bab39/attachment.obj>


More information about the rxvt-unicode mailing list