Re: [PATCH] vt: Expose system-wide UTF-8 default setting via sysfs

2007-04-06 Thread H. Peter Anvin
Pavel Machek wrote: You could do that... during development series. But this is userspace-visible API change, and those are not allowed during stable. Only if you change the default setting. -hpa - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of

Re: [PATCH] vt: Expose system-wide UTF-8 default setting via sysfs

2007-04-06 Thread Paul LeoNerd Evans
On Wed, Apr 04, 2007 at 10:01:40AM +0200, Pavel Machek wrote: > You could do that... during development series. But this is > userspace-visible API change, and those are not allowed during stable. > > ...and having /sysctl configuring inital state for reset is just plain > ugly. Well, how else wo

Re: [PATCH] vt: Expose system-wide UTF-8 default setting via sysfs

2007-04-06 Thread Pavel Machek
Hi! > > > HPA is right... this should be fixed in userland. Reset should reset a > > > console, and if you want utf-8, do \ec\ewhatever to get it. > > > > As I've already said elsewhere, does anything say that "reset" means > > that UTF-8 is turned off, or merely reset back to some known state? I

Re: [PATCH] vt: Expose system-wide UTF-8 default setting via sysfs

2007-04-03 Thread Antonino A. Daplas
On Tue, 2007-04-03 at 17:35 +0100, Paul LeoNerd Evans wrote: > On Tue, Apr 03, 2007 at 04:20:52PM +, Pavel Machek wrote: > > HPA is right... this should be fixed in userland. Reset should reset a > > console, and if you want utf-8, do \ec\ewhatever to get it. > > As I've already said elsewhere

Re: [PATCH] vt: Expose system-wide UTF-8 default setting via sysfs

2007-04-03 Thread Paul LeoNerd Evans
On Tue, Apr 03, 2007 at 04:20:52PM +, Pavel Machek wrote: > HPA is right... this should be fixed in userland. Reset should reset a > console, and if you want utf-8, do \ec\ewhatever to get it. As I've already said elsewhere, does anything say that "reset" means that UTF-8 is turned off, or mer

Re: [PATCH] vt: Expose system-wide UTF-8 default setting via sysfs

2007-04-03 Thread Pavel Machek
Hi! > Create a variable, default_utf8, that defines the system-wide default UTF-8 > setting. This variable can be altered via sysfs. If the variable is properly > set, this should mimimize breakage of UTF-8 encoded consoles when doing a > reset or echo -e '\033c' and of newly opened/allocated con

Re: [PATCH] vt: Expose system-wide UTF-8 default setting via sysfs

2007-04-02 Thread Antonino A. Daplas
On Tue, 2007-04-03 at 10:06 +0600, Alexander E. Patrakov wrote: > Antonino A. Daplas wrote: > > Create a variable, default_utf8, that defines the system-wide default UTF-8 > > setting. This variable can be altered via sysfs. If the variable is > > properly > > set, this should mimimize breakage o

Re: [PATCH] vt: Expose system-wide UTF-8 default setting via sysfs

2007-04-02 Thread Alexander E. Patrakov
Antonino A. Daplas wrote: Create a variable, default_utf8, that defines the system-wide default UTF-8 setting. This variable can be altered via sysfs. If the variable is properly set, this should mimimize breakage of UTF-8 encoded consoles when doing a reset or echo -e '\033c' and of newly opene

[PATCH] vt: Expose system-wide UTF-8 default setting via sysfs

2007-04-02 Thread Antonino A. Daplas
Create a variable, default_utf8, that defines the system-wide default UTF-8 setting. This variable can be altered via sysfs. If the variable is properly set, this should mimimize breakage of UTF-8 encoded consoles when doing a reset or echo -e '\033c' and of newly opened/allocated consoles. This