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 <zachary.hat...@gmail.com> 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
> screen-users@gnu.org
> http://lists.gnu.org/mailman/listinfo/screen-users
>


_______________________________________________
screen-users mailing list
screen-users@gnu.org
http://lists.gnu.org/mailman/listinfo/screen-users

Reply via email to