[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <alpine.LFD.2.20.1704031603160.1847@knanqh.ubzr>
Date: Mon, 3 Apr 2017 16:09:38 -0400 (EDT)
From: Nicolas Pitre <nicolas.pitre@...aro.org>
To: Adam Borowski <kilobyte@...band.pl>
cc: Andi Kleen <andi@...stfloor.org>,
Andy Shevchenko <andy.shevchenko@...il.com>,
Greg Kroah-Hartman <gregkh@...uxfoundation.org>,
Jiri Slaby <jslaby@...e.com>,
"linux-serial@...r.kernel.org" <linux-serial@...r.kernel.org>,
"linux-kernel@...r.kernel.org" <linux-kernel@...r.kernel.org>,
linux-arm Mailing List <linux-arm-kernel@...ts.infradead.org>
Subject: Re: [PATCH v2 0/5] minitty: a minimal TTY layer alternative for
embedded systems
On Mon, 3 Apr 2017, Adam Borowski wrote:
> On Mon, Apr 03, 2017 at 08:31:03AM -0700, Andi Kleen wrote:
> > Except for that (and possibly VT) it is unlikely that people really
> > rely on the obsolete terminal features from the 70ies. So it's a kind
> > of cleanup.
>
> But... but... but what shall we do without OLCUC?!?
>
> I guess sending these features to the pasture would be nice even in
> mainstream TTY. Probably even without a Kconfig option to restore them.
Thing is... those arcane features don't take much code at all:
if (O_OLCUC(tty))
c = toupper(c);
That's it. I didn't make the minitty code 5x smaller just by omitting
those. ;-)
Nicolas
Powered by blists - more mailing lists