LINUX.IE, website of the Irish Linux Users' Group
Tux rules!

   
Home
New Users
Articles
Download
Projects
Community
Vendors

  Print Version
Email to...
 
Archives:


planetILUG

Recent News

News Archive


Join the
ILUG
on FaceBook


Join the
ILUG
on LinkedIn


Join the
ILUG SETI
Group



















 
 :: Mailing Lists

[ILUG] Bash PS weirdness

[ILUG] Bash PS weirdness

Niall niall at magicgoeshere.com
Thu Apr 20 20:47:09 IST 2000


Hi again,
	I'm full of questions today (but they're all interesting ones :-) ) 
I've been doing some time and compute intensive processing on a couple of
machines here, running up to 5 processes at a time. Each is giving output in
a shell, all of which were displaying on one monitor. This became a bit
confusing, in that I didn't know which shell was which process. So I
modified my .bashrc so that PS1 included the string to set the xterm title
bar e.g.

export PS1="\u@\h:\w >\e]2;\u@\h:\w^G"

This seems to be upsetting bash, in that when I enter a command such that
the length of the displayed prompt string in the shell + the command becomes
longer than 50 odd characters, bash sends a carriage return to the terminal.
You can carry on typing, and as long as you don't get too confused, you can
work away. This seems to be a bash problem, in that it happens in an xterm,
an rxvt and a konsole.

Any ideas, or is it bashbug time ?


Regards,


Niall




More information about the ILUG mailing list
Read this without the formatting.
                                                                                                    

 

Hosted by HEAnet


Maintained by the ILUG website team. The aim of Linux.ie is to support and help commercial and private users of Linux in Ireland. You can display ILUG news in your own webpages, read backend information to find out how. Networking services kindly provided by HEAnet, server kindly donated by Dell. Linux is a trademark of Linus Torvalds, used with permission. No penguins were harmed in the production or maintenance of this highly praised website. Looking for the Indian Linux Users' Group? Try here. If you've read all this and aren't a lawyer: you should be!
RSS Version
Powered by Dell