thanks for the reply. screen -X seems useful to my question. when i use scren -x , i got a text garbled session. after execute "screen -X encoding gbk gbk " in a window of this session or from another login tty(by putty). the text garbled dismissed. I just want to know, however, how to execute this automaticly when I attach a session.
I have set defencoding param in my .screenrc as below. " defencoding gbk encoding gbk gbk " In fact, before i use these two lines, i needn't exectute "ctrl+a : encoding gbk gbk". to avoide text garbled. On the other hand, without these two lines. most content in screen session looks normaly(it's encoding is gbk),but can't handle character encoding with big5 properly.(both big5 and gbk are encoding of chinese char. ) after exectute "ctrl+a : encoding gbk gbk". both gbk and big5 content looks normaly in the same session's window. On 10/30/07, Andy Harrison <[EMAIL PROTECTED]> wrote: > -----BEGIN PGP SIGNED MESSAGE----- > Hash: SHA1 > > > > On 10/28/07, envisage wrote: > > for example, is there a method whenever attach a session with screen > > -x /-r, execte a "ctrl+a : encoding gbk gbk". > > > I believe you could also set the 'defencoding' param in your .screenrc file. > > > - -- > Andy Harrison > public key: 0x67518262 > -----BEGIN PGP SIGNATURE----- > Version: GnuPG v1.4.5 (GNU/Linux) > Comment: http://firegpg.tuxfamily.org > > iD8DBQFHJhL8NTm8fWdRgmIRAlKwAKCSlqbTWuoYh+7saecQ0iweheQCGQCg62sx > +x7Sh7pPJpotV+NetK2CXGA= > =em45 > -----END PGP SIGNATURE----- > _______________________________________________ screen-users mailing list [email protected] http://lists.gnu.org/mailman/listinfo/screen-users
