jwz@lucid.com (Jamie Zawinski) (04/07/91)
I have my prompt string set to control codes that make it print in
boldface, like so:
setenv enter_standout "^[[1m" # the ^[ is really an ESC
setenv exit_standout "^[[m"
alias setprompt set prompt = \
\"\$\{enter_standout\}\$\{cwd:t\}\>\$\{exit_standout\} \"
alias cd 'cd \!*; setprompt'
When I start up a new xterm, this doesn't work. I have to select the
"default" menu item from the xterm "font" menu first.
Anyone got a fix? Or is there any way to make xterm automatically
execute this menu item when it starts up?
The only font-related resource that I have which affects xterm is
"*font: *-courier-medium-r-*-12-*". The font doesn't seem to matter.
-- Jamiephil@inetg1.ARCO.COM (Phil Meyer) (04/10/91)
In article <JWZ.91Apr7015454@thalidomide.lucid.com>, jwz@lucid.com (Jamie Zawinski) writes: > I have my prompt string set to control codes that make it print in > boldface, like so: > When I start up a new xterm, this doesn't work. I have to select the > "default" menu item from the xterm "font" menu first. > > Anyone got a fix? Or is there any way to make xterm automatically > execute this menu item when it starts up? The XTerm resource file may have boldFont set by default. Put: XTerm*boldFont: in your .Xdefaults to nullify this. -- +=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-+ | Phil Meyer phil@arco.com Work:(214) 754-6805 | +=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-+