rc, .screenrc and preeexec.bash over to
>the remote system, so the files are identical, but as to why this wont
>work is eluding me. How can the fact that i come from a remote host, with
>the same setting, be in the way of sending the dynamic title? Can any one
>shed some light on
screen server to achieve dynamic
title.
in .bashrc :
PROMPT_COMMAND='if [ $TERM = "screen" ]; then printf
"\033k${HOSTNAME%%.*}\033\\" ; fi'
in .ssh/config :
# this won't work unless your screen server has openssh 5.1 or above
host *
PermitLocalCommand yes
, System Admin
>> >> wrote:
>> >>>
>> >>> On Tue, 2 Jun 2009, Asif Iqbal wrote:
>> >>>
>> >>>> On Tue, Jun 2, 2009 at 4:44 PM, Dan Mahoney, System Admin
>> >>>> wrote:
>> >>
ue, 2 Jun 2009, Asif Iqbal wrote:
> >>>
> >>>> On Tue, Jun 2, 2009 at 4:44 PM, Dan Mahoney, System Admin
> >>>> wrote:
> >>>>>
> >>>>> On Tue, 2 Jun 2009, Asif Iqbal wrote:
> >>>>>
> >>>&g
On Tue, Jun 2, 2009 at 4:44 PM, Dan Mahoney, System Admin
>>>> wrote:
>>>>>
>>>>> On Tue, 2 Jun 2009, Asif Iqbal wrote:
>>>>>
>>>>>> This is what I have done on the screen server to achieve dynamic
>>>>
server to achieve dynamic title.
in .bashrc :
PROMPT_COMMAND='if [ $TERM = "screen" ]; then printf
"\033k${HOSTNAME%%.*}\033\\" ; fi'
in .ssh/config :
# this won't work unless your screen server has openssh 5.1 or above
host *
PermitLocalCommand yes
LocalCom
This is what I have done on the screen server to achieve dynamic title.
>>>>
>>>> in .bashrc :
>>>>
>>>> PROMPT_COMMAND='if [ $TERM = "screen" ]; then printf
>>>> "\033k${HOSTNAME%%.*}\033\\" ; fi'
>>>>
On Tue, 2 Jun 2009, Asif Iqbal wrote:
On Tue, Jun 2, 2009 at 4:44 PM, Dan Mahoney, System Admin
wrote:
On Tue, 2 Jun 2009, Asif Iqbal wrote:
This is what I have done on the screen server to achieve dynamic title.
in .bashrc :
PROMPT_COMMAND='if [ $TERM = "screen" ]; the
On Tue, Jun 2, 2009 at 4:44 PM, Dan Mahoney, System Admin
wrote:
> On Tue, 2 Jun 2009, Asif Iqbal wrote:
>
>> This is what I have done on the screen server to achieve dynamic title.
>>
>> in .bashrc :
>>
>> PROMPT_COMMAND='if [ $TERM = "screen"
On Tue, 2 Jun 2009, Asif Iqbal wrote:
This is what I have done on the screen server to achieve dynamic title.
in .bashrc :
PROMPT_COMMAND='if [ $TERM = "screen" ]; then printf
"\033k${HOSTNAME%%.*}\033\\" ; fi'
in .ssh/config :
# this won't work unless yo
This is what I have done on the screen server to achieve dynamic title.
in .bashrc :
PROMPT_COMMAND='if [ $TERM = "screen" ]; then printf
"\033k${HOSTNAME%%.*}\033\\" ; fi'
in .ssh/config :
# this won't work unless your screen server has openssh 5.1 or above
On Mon, Jun 1, 2009 at 05:47, Asif Iqbal wrote:
> On Thu, May 28, 2009 at 5:25 PM, Alan Young wrote:
>> On Wed, May 27, 2009 at 20:17, Asif Iqbal wrote:
>>> How do I change the title of a screen window (tab) dynamically, to
>>> match the hostname I ssh to ?
I do this as follows:
in .screenrc:
On Thu, May 28, 2009 at 5:25 PM, Alan Young wrote:
> On Wed, May 27, 2009 at 20:17, Asif Iqbal wrote:
>> How do I change the title of a screen window (tab) dynamically, to
>> match the hostname I ssh to ?
>
> I created a file of aliases for all of the servers I connect to:
>
> alias server='echo
On Wed, May 27, 2009 at 20:17, Asif Iqbal wrote:
> How do I change the title of a screen window (tab) dynamically, to
> match the hostname I ssh to ?
I created a file of aliases for all of the servers I connect to:
alias server='echo -e "\ekservername\e\\" && ssh server
&& echo -e "\ekbash\e\\"
How do I change the title of a screen window (tab) dynamically, to
match the hostname I ssh to ?
so ctrl-a c; ssh hostname and title now says bash.
I read "Dynamic Titles" of screen's user manual, but not sure how to
apply that in my case.
A complete example with ssh would really help me move f
15 matches
Mail list logo