Re: SOLVED: Problem with /usr/X11R6/bin/xterm
Re: SOLVED: Problem with /usr/X11R6/bin/xterm
- Subject: Re: SOLVED: Problem with /usr/X11R6/bin/xterm
- From: "Cook, Rich" <email@hidden>
- Date: Tue, 7 Dec 2010 13:14:49 -0800
- Acceptlanguage: en-US
- Thread-topic: SOLVED: Problem with /usr/X11R6/bin/xterm
What are the side effects of having a bold prompt? Could you use color instead of bold? On Dec 7, 2010, at 12:38 AM, Viv Kendon wrote: Ahh, that explains why I couldn't see what was wrong in your video. I thought it might be prompt related but didn't get to posting (timezone) before you found it.
I've done something similar to my bash prompt for years and lived with the consequences, because bold prompts make scrolling back through long terminal output so much easier to follow.
Of course, if someone knows how to obtain bold without the side effects I'd love to know...
-- Viv
AHA! I unset PS1 variable and the problem is gone. Here is what it was set to: cook47@rcmac (cuda-install): echo $PS1 \e[37;40;1m\[\033]0;\u@\h (\w)\007\]\u@\h (\W): Apparently part is poison... I found where this is warned about: http://tldp.org/HOWTO/Bash-Prompt-HOWTO/nonprintingchars.html"the prompt still only consists of two printing characters (a greater-than sign and a space) but the shell thinks that this prompt is eleven characters long..." etc. etc.
<ATT00001..txt>
-- ✐Richard Cook ✇ Lawrence Livermore National Laboratory Bldg-453 Rm-4024, Mail Stop L-557 7000 East Avenue, Livermore, CA, 94550, USA ☎ (office) (925) 423-9605 ☎ (fax) (925) 423-6961 --- Information Management & Graphics Grp., Services & Development Div., Integrated Computing & Communications Dept. (opinions expressed herein are mine and not those of LLNL)
|
_______________________________________________
Do not post admin requests to the list. They will be ignored.
X11-users mailing list (email@hidden)
This email sent to email@hidden