๐Ÿš€ go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Thread View: alt.os.linux.suse
1 messages
1 total messages Started by Reinhold Fischer Thu, 04 Dec 2003 14:55
SuSE 9.0: linebreak problem with ansi color in prompt
#12
Author: Reinhold Fischer
Date: Thu, 04 Dec 2003 14:55
22 lines
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*
Thread Navigation

This is a paginated view of messages in the thread with full content displayed inline.

Messages are displayed in chronological order, with the original post highlighted in green.

Use pagination controls to navigate through all messages in large threads.

Back to All Threads