screen-users
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: How to set screenname automatically to hostname.


From: prakash jalan
Subject: Re: How to set screenname automatically to hostname.
Date: Thu, 21 Jan 2010 17:04:31 -0800

if you use ssh, you can try -

$cat bin/myssh
#!/usr/bin/ksh

screen -X title $1
exec ssh -t -C $1 /usr/bin/bash -i

Essentially, you can use "-X" option to set the title.

-
prakash



On Tue, Jan 5, 2010 at 10:02 AM, halonothing <address@hidden> wrote:
>
> Anyone know of a scripta way to set a Screen name to the host you're
> connected to rather than having it default to "Bash" ?
> --
> View this message in context: 
> http://old.nabble.com/How-to-set-screenname-automatically-to-hostname.-tp27026674p27026674.html
> Sent from the Gnu - Screen mailing list archive at Nabble.com.
>
>
>
> _______________________________________________
> screen-users mailing list
> address@hidden
> http://lists.gnu.org/mailman/listinfo/screen-users
>




reply via email to

[Prev in Thread] Current Thread [Next in Thread]