Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.debian.user > #231584

Re: Incorrect password Debian 10.8 after installation

From Greg Wooledge <wooledg@eeg.ccf.org>
Newsgroups linux.debian.user
Subject Re: Incorrect password Debian 10.8 after installation
Date 2021-02-10 13:40 +0100
Message-ID <BGWWK-6Ge-9@gated-at.bofh.it> (permalink)
References (4 earlier) <BGqWR-3nn-11@gated-at.bofh.it> <BGvDb-6y5-5@gated-at.bofh.it> <BGvMR-6B3-3@gated-at.bofh.it> <BGx2i-7mb-3@gated-at.bofh.it> <BGJG9-6Wa-3@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


On Tue, Feb 09, 2021 at 05:23:45PM -0500, Stefan Monnier wrote:
> You can also try `C-v` instead of `C-q` to quote the next key (not sure
> where this comes from, but it works in bash and zsh, IIUC), i.e. use
> `C-v TAB` to insert a TAB character.

It's deeper than just shells.  It's also in the "canonical" processing
layer of the terminal driver.

unicorn:~$ stty -a | grep lnext
werase = ^W; lnext = ^V; discard = ^O; min = 1; time = 0;

unicorn:~$ man stty | grep -A1 lnext
       * lnext CHAR
              CHAR will enter the next character quoted

unicorn:~$ man termios | grep -A3 VLNEXT
       VLNEXT (not in POSIX; 026, SYN, Ctrl-V) Literal next  (LNEXT).   Quotes
              the  next  input  character,  depriving it of a possible special
              meaning.  Recognized when IEXTEN is set, and then not passed  as
              input.

You can see its behavior, for example, by running "cat" with no
arguments in a terminal.  Type some stuff, then press Ctrl-V and Enter,
and you should see ^M (a token representing a carriage return) in your
typed input.

Shells don't operate in canonical mode, but they emulate this feature
because it's useful and expected.

Back to linux.debian.user | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread


Thread

Incorrect password Debian 10.8 after installation John Berden <john.berden4@gmail.com> - 2021-02-08 03:50 +0100
  Re: Incorrect password Debian 10.8 after installation Andrei POPESCU <andreimpopescu@gmail.com> - 2021-02-08 09:30 +0100
  Re: Incorrect password Debian 10.8 after installation Marco Möller <talby@debianlists.mobilxpress.net> - 2021-02-08 09:50 +0100
    Re: Incorrect password Debian 10.8 after installation Keith Bainbridge <ke1thrboz@gmx.com> - 2021-02-08 10:50 +0100
    Re: Incorrect password Debian 10.8 after installation David Christensen <dpchrist@holgerdanske.com> - 2021-02-08 22:10 +0100
      Re: Incorrect password Debian 10.8 after installation David Wright <deblis@lionunicorn.co.uk> - 2021-02-09 00:20 +0100
        Re: Incorrect password Debian 10.8 after installation David Christensen <dpchrist@holgerdanske.com> - 2021-02-09 03:30 +0100
          Re: Incorrect password Debian 10.8 after installation Anssi Saari <as@sci.fi> - 2021-02-09 08:30 +0100
            Re: Incorrect password Debian 10.8 after installation David Christensen <dpchrist@holgerdanske.com> - 2021-02-09 08:40 +0100
              Re: Incorrect password Debian 10.8 after installation <tomas@tuxteam.de> - 2021-02-09 10:00 +0100
                Re: Incorrect password Debian 10.8 after installation Anssi Saari <as@sci.fi> - 2021-02-09 17:30 +0100
                Re: Incorrect password Debian 10.8 after installation David Christensen <dpchrist@holgerdanske.com> - 2021-02-09 23:00 +0100
                Re: Incorrect password Debian 10.8 after installation Erwan David <erwan@rail.eu.org> - 2021-02-10 07:50 +0100
                Re: Incorrect password Debian 10.8 after installation Stefan Monnier <monnier@iro.umontreal.ca> - 2021-02-09 23:30 +0100
                Re: Incorrect password Debian 10.8 after installation Greg Wooledge <wooledg@eeg.ccf.org> - 2021-02-10 13:40 +0100
          Re: Incorrect password Debian 10.8 after installation Greg Wooledge <wooledg@eeg.ccf.org> - 2021-02-09 13:50 +0100
            Re: Incorrect password Debian 10.8 after installation David Christensen <dpchrist@holgerdanske.com> - 2021-02-09 23:00 +0100
              Re: Incorrect password Debian 10.8 after installation David <bouncingcats@gmail.com> - 2021-02-09 23:20 +0100
          Re: Incorrect password Debian 10.8 after installation David Wright <deblis@lionunicorn.co.uk> - 2021-02-09 16:40 +0100
            Re: Incorrect password Debian 10.8 after installation David Christensen <dpchrist@holgerdanske.com> - 2021-02-10 00:00 +0100

csiph-web