screen-users
[Top][All Lists]
Advanced

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

Re: how to run some screen command automaticly when attach a session


From: sunqiang
Subject: Re: how to run some screen command automaticly when attach a session
Date: Tue, 30 Oct 2007 09:27:01 +0800

thanks for re reply, I know the "screen -t" (from searching ther
archive of this mail list), but I don't know how to append encoding
here.
now, after i got screen -X here this morning. I write a little python
script for a temporary solve. the script run two threads.
first execute the system command "screen -x mysessionname",the second
thread sleep 1 second and execute the system command "screen -X
encoding gbk gbk".

On 10/30/07, Sonia Hamilton <address@hidden> wrote:
> On Sun, 28 Oct 2007 15:50:21 +0300, "Andrew Pantyukhin"
> <address@hidden> said:
> > On Sun, Oct 28, 2007 at 06:53:57PM +0800, envisage wrote:
> > > for example, is there a method whenever attach a session with screen
> > > -x /-r, execte a "ctrl+a : encoding gbk gbk".
>
> Don't know if this helps, but you can do this in your .screenrc:
>
> screen -t fred ssh fred.foo.com
> --
> Sonia Hamilton
>
>
>
> _______________________________________________
> 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]