-
Notifications
You must be signed in to change notification settings - Fork 63
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
node-red-start leaks terminal window title #16
Comments
In a fresh installation I noticed that this also affects the installation script which sets a slightly different title but also leaves it there like it didn't care to clean up after itself. |
What does putty set it to ? |
The host name that the session is connected to. But I can configure it as I like. |
Maybe your shell prompt does that? It has the current path in it after all. Mine doesn't touch the terminal title. |
maybe it's a putty thing - and you can turn it off - see https://serverfault.com/questions/178469/how-can-i-set-puttys-window-title-to-the-name-of-the-loaded-session |
I don't want to reconfigure my terminal just because a single program doesn't clean up after itself. Are you throwing away your stuff anywhere you go and then say: you could go another way so you don't see my garbage? I guess not. That's why I opened this issue to improve the situation. I'm not going to install Node-RED every week and it's really nothing critical, so this isn't an urgent issue. |
Hi, I have now found a windows 10 box with putty on and this is the result. (with default install of putty 0.75 - no special session config.) |
Please show me the value of your shell prompt variable, I think it's called |
Hi - I haven't knowingly touched this since installing Raspbian. How is yours set ?
If I check a local ubuntu machine I see
So they are almost identical - and it too also reverts the terminal name in putty just fine... so maybe it is your environment that is non-standard ? as I have "no personal fun" :-) Which version of windows and putty are you using ? |
just for grins I have also just tried a vanilla fedora system
and indeed putty reverts just fine when running Node-RED scripts also... so not sure where else to go with this. |
Sorry, might be Well, if you can't reproduce this anywhere and nobody else is here to care, it must be my computer. I'll just add a note in my installation instructions to relogin after this. |
my |
As soon as I set your first PS1 variable, my window title changes. So there must be something inside it that does that. I just don't know yet what it is. Actually it was obvious because if your window title contains the current directory, it must be set with each prompt. Edit: It's probably the very beginning with the |
What are the steps to reproduce?
node-red-start
What happens?
The terminal window title remains "Node-RED console" and doesn't change back again. This makes it a bit harder to distinguish the PuTTY windows on my desktop to find the correct host to work with.
What do you expect to happen?
Either don't change that title at all, or at least change it back to what it was before when leaving the program.
Please tell us about your environment:
The text was updated successfully, but these errors were encountered: