On 18/09/2014 16:30, Reco wrote:
Hi.
On Thu, 18 Sep 2014 16:19:59 +0100
Aero Maxx <aero.max...@gmail.com> wrote:
Hi Everyone,
I'm in the process of moving from fedora to debian.
But I have one question about the use of screen when I use it, the title
bar in putty doesn't change like it does in fedora to show/remind me
that I am in a screen, I was wondering how do I change this in debian ?
Try adding this to your /etc/screenrc:
hardstatus on
hardstatus string "[screen %n%?: %t%?] %h"
Reco
Hi Everyone,
This works great, and was a good starting point in the right direction,
I've done a bit of playing around and checking what the difference is on
fedora and debian, and can see lots but what I think I need to do now is
something to do with this from fedora.
PROMPT_COMMAND='printf "\033k%s@%s:%s\033\\" "${USER}" "${HOSTNAME%%.*}"
"${PWD/#$HOME/~}"'
Id like it to show [screen 0: daniel@hostname:/home/daniel] in the putty
title bar.
Also would like for it so show [daniel@hostname daniel]# at the command
prompt part.
Thanks
Daniel
---
This email is free from viruses and malware because avast! Antivirus protection
is active.
http://www.avast.com
--
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Archive: https://lists.debian.org/541b094e.8060...@gmail.com