ECartman
04-04-2003, 11:14 PM
is it possable to get xterm to display the path of the folder you're in. Not a big deal, but it would be kinda nice.
|
Click to See Complete Forum and Search --> : xterm question ECartman 04-04-2003, 11:14 PM is it possable to get xterm to display the path of the folder you're in. Not a big deal, but it would be kinda nice. sharth 04-04-2003, 11:32 PM PS1='\u@\h:\w\$ ' ECartman 04-04-2003, 11:46 PM cool, is there some way I can get that to happen every time I start xterm? i tryed the -e option, but I guess it just runns that line and then closes right away. sharth 04-05-2003, 02:10 AM that line was from my .bashrc Sepero 04-05-2003, 02:21 AM I had a problem like this too recently. I use terminal mode a lot and hate when xterm pops up like that. The way I fixed it was to change the command that my windowmanager gives to start xterm. Before it was just giving the command "xterm". If you change it to "xterm -ls", it will read your ".profile" or ".login" file. This way it will appear similar to your terminal. You may also want to try other options like: "xterm -ls -fn courB12 -geometry 80x25+0+0" Look up "man xterm" for details. P.S. If it still gives you a problem, you'll need to insert in your ".profile" the "PS1=<?>" that you want. ECartman 04-05-2003, 12:02 PM cool, that -ls option is great, it even color-codes thing like the actual terminal does. thanks. I even went through the man page for xterm, but must have missed that one. Sepero 04-05-2003, 08:49 PM Awsome dude. It's always neat to hear someone write back about how a suggestion worked. Thanks. justlinux.com
Copyright Internet.com Inc. All Rights Reserved. |