Re: Changing Window Title in Putty

2016-04-10 Thread Andrew McGlashan
On 11/04/2016 2:04 AM, Aero Maxx wrote: > So what is $PROMPT_COMMAND actually for ? is this the command prompt or > the windows title. This from the prior reference page: PROMPT_COMMAND Bash shell executes the content of the PROMPT_COMMAND just before displaying the PS1 variable. And that

Re: Changing Window Title in Putty

2016-04-10 Thread Aero Maxx
I believe I have the command prompt set correctly as to how I want it. For this I want it to show at all times, regardless of if I am in a screen or not. "[root@localhost ~]# " For the window title in whatever ssh client I happen to be using I would like it to be as follows when not in a scre

Re: Changing Window Title in Putty

2016-04-10 Thread John L. Ries
You definitely confused me, and I'm still not entirely sure what you want. But you can set the window title for a PuTTY session and keep it from changing in the manner I described in my initial response. I assume you have a different PuTTY profile for each server to which you connect, so there

Re: Changing Window Title in Putty

2016-04-10 Thread Andrew McGlashan
On 10/04/2016 11:25 PM, Aero Maxx wrote: > I've played about with the PS1 line, I wasn't aware of a PS2 line, http://www.thegeekstuff.com/2008/09/bash-shell-take-control-of-ps1-ps2-ps3-ps4-and-prompt_command/ > I've done as much as I am able to on my own through trial and error. > > This is wh

Re: Changing Window Title in Putty

2016-04-10 Thread Aero Maxx
On 10/04/2016 14:13, Andrew McGlashan wrote: You see I had to change the /etc/screenrc file and turn the hardstatus line to show that I was in a screen. Well, you did ask specifically about putty and the solution would do what is needed for putty. In which case, it wouldn't matter what the /e

Re: Changing Window Title in Putty

2016-04-10 Thread Andrew McGlashan
> You see I had to change the /etc/screenrc file and turn the hardstatus > line to show that I was in a screen. Well, you did ask specifically about putty and the solution would do what is needed for putty. In which case, it wouldn't matter what the /etc/screen settings are. > I think your getti

Re: Changing Window Title in Putty

2016-04-10 Thread Aero Maxx
On 10/04/2016 09:14, Andrew McGlashan wrote: The first thing I do with Putty is adjust the "default settings" to my liking, save it and then use that as a base for new entries for each server that I need to connect to; I save each server's settings. That lends itself well to giving each saved

Re: Changing Window Title in Putty

2016-04-10 Thread Andrew McGlashan
The first thing I do with Putty is adjust the "default settings" to my liking, save it and then use that as a base for new entries for each server that I need to connect to; I save each server's settings. That lends itself well to giving each saved session it's own window title in the manner that

Re: Changing Window Title in Putty

2016-04-10 Thread Aero Maxx
On 10/04/2016 04:24, Andrew McGlashan wrote: On 10/04/2016 6:12 AM, Aero Maxx wrote: I only have ssh access to the server, no gui. Umm, the instruction looks very good for putty as you asked for. Which version of putty are you using and what type of machine are you running it from? A. That

Re: Changing Window Title in Putty

2016-04-09 Thread Andrew McGlashan
On 10/04/2016 6:12 AM, Aero Maxx wrote: > I only have ssh access to the server, no gui. Umm, the instruction looks very good for putty as you asked for. Which version of putty are you using and what type of machine are you running it from? A.

Re: Changing Window Title in Putty

2016-04-09 Thread Aero Maxx
I only have ssh access to the server, no gui. On 09/04/2016 19:05, John L. Ries wrote: I may be misunderstanding you but: 1. Load the session configuration. 2. Select Terminal/Features. Check "Disable remote-controlled window title changing". 3. Select Window/Behavior. Fill in the Window

Re: Changing Window Title in Putty

2016-04-09 Thread John L. Ries
I may be misunderstanding you but: 1. Load the session configuration. 2. Select Terminal/Features. Check "Disable remote-controlled window title changing". 3. Select Window/Behavior. Fill in the Window title as seems good to you. 4. Go back to Session. Click on the Save button. ---