[lkml]   [2005]   [May]   [17]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
Messages in this thread
SubjectRe: [PATCH] Fix to virtual terminal UTF-8 mode handling
On Tue, May 17, 2005 at 07:58:48PM -0700, Andrew Morton wrote:
> Paul LeoNerd Evans <> wrote:
> >
> > This patch fixes a bug in the virtual terminal driver, whereby the UTF-8
> > mode is reset to "off" following a console reset, such as might be
> > delivered by mingetty, screen, vim, etc...
> Is it a bug? What did earlier kernels do? 2.4.x?

I'd be inclined to think that this is more of a terminfo issue. If you
want your terminal to reset into UTF-8, use a terminfo entry with the
appropriate command string instead of the current one - this would be
the 'rs1' capability:


That's reset console to default, reset palette.

> Presumably userspace knows what mode the user wants the terminal to be
> using. Shouldn't userspace be resetting that mode after a reset?

There's no standard way to represent this in userspace. But yeah.

Daniel Jacobowitz
CodeSourcery, LLC
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to
More majordomo info at
Please read the FAQ at

 \ /
  Last update: 2005-05-18 05:14    [W:0.040 / U:0.236 seconds]
©2003-2018 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site