Trent W. Buck wrote:
> On Tue, May 27, 2008 at 10:57:59AM +0100, Stephane Chazelas wrote:
>> On Tue, May 27, 2008 at 07:51:58PM +1000, Chris Henderson wrote:
>>> I ssh to a lot of servers and every time I have to do C-a A to rename
>>> the screen session to the hostname I ssh to. Is there anyway screen
>>> can automatically change the name to the host I am connected to?
>> [...]
>>
>> ssh() { screen -X title "[EMAIL PROTECTED]"; command ssh "$@"; }
> 
> I think the OP wants to change the session name, not the screen
> (window) title.

Well, the OP explicitly mentioned C-a A...

-- 
Micah J. Cowan
Programmer, musician, typesetting enthusiast, gamer,
and GNU Wget Project Maintainer.
http://micah.cowan.name/


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

Reply via email to