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 <[EMAIL PROTECTED]> wrote: > On Sun, 28 Oct 2007 15:50:21 +0300, "Andrew Pantyukhin" > <[EMAIL PROTECTED]> 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 > [email protected] > http://lists.gnu.org/mailman/listinfo/screen-users > _______________________________________________ screen-users mailing list [email protected] http://lists.gnu.org/mailman/listinfo/screen-users
