Article View: alt.os.linux.suse
Article #12SuSE 9.0: linebreak problem with ansi color in prompt
From: Reinhold Fischer
Date: Thu, 04 Dec 2003 14:55
Date: Thu, 04 Dec 2003 14:55
22 lines
1828 bytes
1828 bytes
Hi! I have a problem with the line break in a shell window. When I set PS1='\033[31m\u@\h[\#]<SSH>:\W/\$ \033[0m' and type a long command string that forces a line break only a "carriage return" is done. The "line feed" is missing and so the current line will be overwritten. This problem occurs in both konsole and xterm, so I think it's a problem with bash or key maps or ... In SuSE Linux prior 9.0, Tru64 Unix, AIX, Solaris this works fine. Without ansi color, when I set PS1='\u@\h[\#]<SSH>:\W/\$ ', all works fine. SuSE said, that this is not a installation problem and so they can not help me. Can any body else help? -- Mit freundlichen Gr๏ฟฝ๏ฟฝen, *Ing. Reinhold Fischer*
Technical Details
Message-ID:
<3fcf4acd$0$19002$91cee783@newsreader02.highway.telekom.at>Path:
arc1-ca.pugleaf.net!archiver1.google.com!news2.google.com!fu-berlin.de!newsfeed.utanet.at!newsfeed01.highway.telekom.at!newsreader02.highway.telekom.at!not-for-mailShow Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII X-Google-Thread: 1101c9,522848ebe20b73b7,start X-Google-Attributes: gid1101c9,public X-Google-Thread: 1041dd,522848ebe20b73b7,start X-Google-Attributes: gid1041dd,public X-Google-ArrivalTime: 2003-12-04 06:56:50 PST Path: arc1-ca.pugleaf.net!archiver1.google.com!news2.google.com!fu-berlin.de!newsfeed.utanet.at!newsfeed01.highway.telekom.at!newsreader02.highway.telekom.at!not-for-mail Date: Thu, 04 Dec 2003 15:55:09 +0100 From: Reinhold Fischer <nospam@nospam> User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.5) Gecko/20031009 X-Accept-Language: de-at, de, en-us, en MIME-Version: 1.0 Newsgroups: alt.os.linux.suse,at.linux Followup-To: alt.os.linux.suse Subject: SuSE 9.0: linebreak problem with ansi color in prompt X-Enigmail-Version: 0.76.7.0 X-Enigmail-Supports: pgp-inline, pgp-mime Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 8bit Lines: 23 Message-ID: <3fcf4acd$0$19002$91cee783@newsreader02.highway.telekom.at> NNTP-Posting-Host: 195.3.108.253 X-Trace: 1070549709 newsreader02.highway.telekom.at 19002 195.3.108.253