bug-bash
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Bug in Prompthandling


From: Gerhard Schmidt
Subject: Bug in Prompthandling
Date: Mon, 6 Sep 2004 15:30:46 +0200
User-agent: Mutt/1.4.1i

Hi, 

I have encounterd some strange behaviour ob bash3 with multiline prompts. 

i have 
PS1="\\n<------ \\D{%a %e. %b %Y %H:%M:%S} ------> \\n\\w\\n\\u@\\h:\\# -> "

The stange thing is that, when I type a longer command the line gets wraped 
long befor the end of the Terminal. But only the first wrap, further wraps
are at the end of the line. 

I Think there is a problem with the length calculation of the prompt. 

I`m using

GNU bash, version 3.00.0(1)-release (i386-portbld-freebsd5.3)
Copyright (C) 2004 Free Software Foundation, Inc.

Bye
        Estartu

----------------------------------------------------------------------------
Gerhard Schmidt    | Nick : estartu      IRC : Estartu  |
Fischbachweg 3     |                                    |  PGP Public Key
86856 Hiltenfingen | Privat: estartu@augusta.de         |   auf Anfrage/
Germany            |                                    |    on Request

Attachment: pgpm_bz_F9LHl.pgp
Description: PGP signature


reply via email to

[Prev in Thread] Current Thread [Next in Thread]