util-linux.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Stanislav Brabec <sbrabec@suse.cz>
To: Lubomir Rintel <lkundrak@v3.sk>, Karel Zak <kzak@redhat.com>
Cc: util-linux@vger.kernel.org
Subject: Re: [PATCH v2] agetty: don't put the VC into canonical mode
Date: Fri, 19 Oct 2018 15:08:28 +0200	[thread overview]
Message-ID: <cc6f95bb-6dc6-cb34-fb7e-505da29e61f1@suse.cz> (raw)
In-Reply-To: <52ebddaca50ed8d5f498bdf56b02ae4640af369a.camel@v3.sk>

Dne 19. 10. 18 v 8:09 Lubomir Rintel napsal(a):
> On Tue, 2018-10-16 at 09:40 +0200, Karel Zak wrote:
>> On Tue, Oct 16, 2018 at 08:41:49AM +0200, Lubomir Rintel wrote:
>>> Seems like zero lflags do the job just fine on a Linux VT. Reset it
>>> to
>>> canonical mode before running login.
>>
>> What about Del/Backspace keys when user is typing login name? :-)
> 
> They seem to work the same as they used to?
> 
> From Stanislav's message I notice that there's supposed to be some
> problem with them -- I'm not seeing that. Either the patch does
> something different or I'm not looking at the right thing.
> 
> (I haven't looked at Stanislav's patch -- but I surely intend to give
> it a try.)
I am writing about non-canonical mode. It was partially used in past.

Now agetty uses canonical mode. It handles Backspace by itself, but it
makes impossible to implement "stop reloads when at least one character
is entered". So we will have to switch to a non-canonical mode.

-- 
Best Regards / S pozdravem,

Stanislav Brabec
software developer
---------------------------------------------------------------------
SUSE LINUX, s. r. o.                         e-mail: sbrabec@suse.com
Křižíkova 148/34 (Corso IIa)                  tel: +49 911 7405384547
186 00 Praha 8-Karlín                          fax:  +420 284 084 001
Czech Republic                                    http://www.suse.cz/
PGP: 830B 40D5 9E05 35D8 5E27 6FA3 717C 209F A04F CD76

  reply	other threads:[~2018-10-19 13:08 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2018-10-16  6:41 [PATCH v2] agetty: don't put the VC into canonical mode Lubomir Rintel
2018-10-16  7:40 ` Karel Zak
2018-10-18 19:25   ` Stanislav Brabec
2018-10-19  7:53     ` Karel Zak
2018-10-19  6:09   ` Lubomir Rintel
2018-10-19 13:08     ` Stanislav Brabec [this message]
2018-10-19 13:48       ` Lubomir Rintel
2018-10-19 20:08         ` Stanislav Brabec
2018-10-22  9:23           ` Karel Zak

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=cc6f95bb-6dc6-cb34-fb7e-505da29e61f1@suse.cz \
    --to=sbrabec@suse.cz \
    --cc=kzak@redhat.com \
    --cc=lkundrak@v3.sk \
    --cc=util-linux@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).