w*********n 发帖数: 84 | 1 I use xterm to telnet to our library service, but after quiting it,
the color of the xterm changes into black foreground and white background,
how I can change it back to my original "black background & white foreground"?
Thanks a lot. | o**a 发帖数: 86 | 2
run: xterm -bg black -fg white
you might want to set an alias for this in your login
script.
【在 w*********n 的大作中提到】 : I use xterm to telnet to our library service, but after quiting it, : the color of the xterm changes into black foreground and white background, : how I can change it back to my original "black background & white foreground"? : Thanks a lot.
| w*********n 发帖数: 84 | 3 Thanks, but you misunderstand me.
I mean how to change the colors back to my original settings without
opening a new xterm window.
I just wish to change my origianl Console window color back,
not open a new Console/xterm.
thank you anyway.
【在 o**a 的大作中提到】 : : run: xterm -bg black -fg white : you might want to set an alias for this in your login : script.
| l*l 发帖数: 225 | 4 (1)
If you use OSF, SCO, AIX, Solaris,
first use
sh
echo \\033\[37\;0m
will change to original set
(2)
If you use Linux, BSD which sh is really bash
execute
bash
echo -ne \\033\[37\;0m
Or you can set any background color and forground color as you like.
BTW, you can modify "reset" to do it, I fix it.
【在 w*********n 的大作中提到】 : Thanks, but you misunderstand me. : I mean how to change the colors back to my original settings without : opening a new xterm window. : I just wish to change my origianl Console window color back, : not open a new Console/xterm. : thank you anyway.
| w*********n 发帖数: 84 | 5
~~~~~~~~~~~~~~~
what's these charactors? Appears vague code for me.
I wonder how these 2 commands can make things work?
'sh' is to set current shell, and 'echo' just display
charactors to some pipe.
I don't see why these 2 command are useful to restore back.
I'll try that, thanks.
【在 l*l 的大作中提到】 : (1) : If you use OSF, SCO, AIX, Solaris, : first use : sh : echo \\033\[37\;0m : will change to original set : (2) : If you use Linux, BSD which sh is really bash : execute : bash
| w*********n 发帖数: 84 | 6 Thanks for the replies.
I didn't restore it with my previous tries of those commands.
On the other hand, there is a trick in Solaris system,
just use CTL-Button to restore it, very easy then.
【在 w*********n 的大作中提到】 : I use xterm to telnet to our library service, but after quiting it, : the color of the xterm changes into black foreground and white background, : how I can change it back to my original "black background & white foreground"? : Thanks a lot.
| l*l 发帖数: 225 | 7 你连接BBS带不带色彩? 如果带的话, 就是这些字符的表示.
记录下传输的字符流, 用 od 分析一下.
【在 w*********n 的大作中提到】 : Thanks for the replies. : I didn't restore it with my previous tries of those commands. : On the other hand, there is a trick in Solaris system, : just use CTL-Button to restore it, very easy then.
|
|