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

Re: problem: GNU Screen within gnome-terminal



On Tue, Jun 10, 2008 at 08:13:42PM -0700, Daniel Burrows wrote:
> On Wed, Jun 11, 2008 at 10:29:36AM +0800, Canhua Chen <chencanhua@fudan.edu.cn> was heard to say:
> > On Tue, Jun 10, 2008 at 07:10:29AM -0700, Daniel Burrows wrote:
> > > On Tue, Jun 10, 2008 at 05:21:21PM +0800, Canhua Chen <chencanhua@fudan.edu.cn> was heard to say:
> > > > Today I find that my problem is probably  related
> > > > to the LC_CTYPE that I set as zh_CN.UTF-8.
> > > > When I set it as "C", the aptitude and mutt doesn't
> > > > show messed or corupted display any more.
> > > > 
> > > > Now I am still wondering how to have GNU Screen
> > > > work well with mutt and aptitude or any program
> > > > using termcap/info under LC_CTPE=zh_CN.UTF-8.
> > > 
> > >   I can use zh_CN.UTF-8 in screen; at least, aptitude looks no worse
> > > than in a normal terminal (I think I'm missing some Chinese fonts).  But
> > > if I run screen itself in a non-UTF-8 locale, it gets all messed up.
> > > Maybe you're doing something like that by accident?
> > > 
> > which terminal do you use? and what version of Debian?
> > I use gnome-terminal on lenny.
> > I suppose it is related to wide character library of ncurses.
> 
>   I use xterm on sid, but I get the same behavior with gnome-terminal.
> 
>   Does aptitude work when you run it outside screen?
>
>   What if you do
> 
>     LC_CTYPE=zh_CN.UTF-8 screen
> 
>   and run aptitude from there in zh_CN.UTF-8?

yes, it works on gnome-terminal outside Screen.  

My Locale has been always setting LC_CTYPE=zh_CN.UTF-8,
and I do invoke screen under this Locale.
But it fails for aptitude to work.


Reply to: