SOLVED: Problem with /usr/X11R6/bin/xterm
SOLVED: Problem with /usr/X11R6/bin/xterm
- Subject: SOLVED: Problem with /usr/X11R6/bin/xterm
- From: "Cook, Rich" <email@hidden>
- Date: Mon, 6 Dec 2010 18:06:34 -0800
- Acceptlanguage: en-US
- Thread-topic: SOLVED: Problem with /usr/X11R6/bin/xterm
Aha, I tried it with a pristine account and it works fine, so it is my user account.
Now I'm getting somewhere. What are the various files that control xterm? I must be hosing it from some dot file in my home directory.
The "ugly font" comes from my .Xdefaults file. I have tried removing that file and while the fonts then become tiny and unreadable again, the wrapping problem persists. Also, some behavior remains non-standard. For example, the video is inverse. Seems like that might be my prompt...
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.
Dang. Found it, though!
Thanks for your help.
On Dec 6, 2010, at 5:09 PM, Vernon Williams wrote:
> If Terminal.app is also funky, then it is clearly not an X11 problem.
> So it might be bash, but it might also be a font problem, as has
> been suggested before. What font are you using in Terminal?
> I did notice that in your video, the text looked pretty blocky and
> ugly, though I don't know if that was a function of the video.
> Have you tried setting up a new user, as someone suggested?
> Maybe you could try removing and reinstalling some fonts.
>
> On Dec 6, 2010, at 6:44 PM, Cook, Rich wrote:
>
>> Interesting new bit of info -- Terminal.app is also messed up. It
>> has to be
>> cook47@rcmac (~): bash --version
>> GNU bash, version 3.2.48(1)-release (x86_64-apple-darwin10.0)
>> Copyright (C) 2007 Free Software Foundation, Inc.
>
--
✐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