PDA

View Full Version : Terminal settings


TDarlington
04-19-2000, 11:39 AM
Hi, all.[nbsp][nbsp]I'm new to FQ, trying out the service.[nbsp][nbsp]If all goes well, I'll be moving a bunch of sites I manage over here and I'll probably post so often you'll get sick of me!

Here's my first question: how can I change my terminal settings?[nbsp][nbsp]Specifically, (a) the number of rows in my terminal window, and (b) my shell prompt?

I've been able to change the number of rows in my telnet program, and it works fine, but the first time I go into vi or look at a man page it reverts back to the original 24 columns.

For the shell prompt, I successfully used 'PS1="\$ " to change my prompt, but it reverts back to the old long one when I log out and I can't find a .profile or .login file anywhere.[nbsp][nbsp](Admittedly, I'm not a Unix expert).

Any help would be appreciated!

Thanks,
Thomas
<!-- NO_AUTO_LINK -->

Charles Capps
04-19-2000, 04:40 PM
a) I've set my client to 80x33, and don't experience any problems.[nbsp][nbsp]I think it depends on what program you use.
b) That's more difficult.[nbsp][nbsp]I believe the default shell is bash.[nbsp][nbsp]See http://www.ctyme.com/linuxdoc/MAN0084.htm under section PROMPTING for details on how to set PS1 to display your prompt exactly as you like it.
Being bash, the files are .bash_profile and .bashrc, in your /big/dom/xdomain/domain/ directory.[nbsp][nbsp](I believe the default for the prompt and other items are set automagically elsewhere)

Justin
04-19-2000, 06:13 PM
Look in </font><font face="Courier" size="3">~/.bash_profile</font><font face="Verdana, Arial" size="2"> - this would be where you can set your prompt etc.

------------------
Justin Nelson
FutureQuest (http://www.FutureQuest.net/index.php) Support