screen-users
[Top][All Lists]
Advanced

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

Re: Argument query possible for use in bind with command or colon?


From: Sadrul Habib Chowdhury
Subject: Re: Argument query possible for use in bind with command or colon?
Date: Tue, 16 Feb 2010 16:39:48 -0500
User-agent: Mutt/1.5.18 (2008-05-17)

* Matt Ford had this to say on [28 Jan 2010, 15:23:41 +0000]:
> Hi All,
>
> My screen ssh wrapper doesn't work in some windows as I'm logged onto  
> another system.  To sort this I'd like to bind the following and have  
> the $HOST prompted for i.e.,
>
>   bind s screen -t $HOST ssh $HOST
>
> Is that possible?  Is it easier if we drop the need for substitution and  
> pop up the ex like mode for further input.  For example I tried
>
>   bind s colon screen ssh
>
> hoping that might let me then type in the hostname.

Try:
        bind s colon 'screen ssh '

You can then type in the hostname. However, note that it will not set
the window title to the entered hostname.

Sadrul





reply via email to

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