Shell command history (was: Useless Use Of Regexes)

Liste des GroupesRevenir à col misc 
Sujet : Shell command history (was: Useless Use Of Regexes)
De : geoff (at) *nospam* clare.See-My-Signature.invalid (Geoff Clare)
Groupes : comp.os.linux.misc
Date : 09. Apr 2025, 13:26:48
Autres entêtes
Message-ID : <8l5icl-uad.ln1@ID-313840.user.individual.net>
References : 1 2 3 4 5 6 7 8
User-Agent : Pan/0.154 (Izium; 517acf4)
c186282 wrote:

On 4/8/25 9:16 PM, Lawrence D'Oliveiro wrote:
On Tue, 08 Apr 2025 15:39:47 +0300, Anssi Saari wrote:
 
The only time I've had to use vi command history editing was with some
old version of VxWorks. It was the only kind included by default. I
ended up teaching some colleagues on how to edit the command line, vi
style.
 
Seems a bit dumb, having to go into insert mode every time you actually
want to type a command.

That's not how it works.  After the shell writes a command prompt,
it is in insert mode, so you just type a command as normal.  To edit
the current command, or search the history, you type ESC to get out
of insert mode and then perform the edit or search just like in vi
(except that RETURN executes the edited command instead of moving to
the next "line").

   It's terrible - and was obsolete already by 1985.

It became an IEEE standard in 1992 (and ISO in 1993) for
POSIX-conforming shells, and has remained standard to this day.
IEEE chose not to include emacs mode, so effectively it is emacs
mode that was treated as obsolete (in 1992).

--
Geoff Clare <netnews@gclare.org.uk>

Date Sujet#  Auteur
24 Mar 25 * Useless Use Of Regexes66Lawrence D'Oliveiro
24 Mar 25 +* Re: Useless Use Of Regexes29Pancho
24 Mar 25 i+- Re: Useless Use Of Regexes1The Natural Philosopher
24 Mar 25 i+* Re: Useless Use Of Regexes26Lawrence D'Oliveiro
25 Mar 25 ii+* Re: Useless Use Of Regexes3Marc Haber
26 Mar 25 iii`* Re: Useless Use Of Regexes2Lawrence D'Oliveiro
26 Mar 25 iii `- Re: Useless Use Of Regexes1Marc Haber
25 Mar 25 ii+* Re: Useless Use Of Regexes21Anssi Saari
25 Mar 25 iii`* Re: Useless Use Of Regexes20Marc Haber
26 Mar 25 iii +* Re: Useless Use Of Regexes16Lawrence D'Oliveiro
26 Mar 25 iii i`* Re: Useless Use Of Regexes15Marc Haber
26 Mar 25 iii i `* Re: Useless Use Of Regexes14Lawrence D'Oliveiro
26 Mar 25 iii i  +* Re: Useless Use Of Regexes12Marc Haber
27 Mar 25 iii i  i`* Re: Useless Use Of Regexes11Lawrence D'Oliveiro
27 Mar 25 iii i  i `* Re: Useless Use Of Regexes10Marc Haber
27 Mar 25 iii i  i  `* Re: Useless Use Of Regexes9Lawrence D'Oliveiro
27 Mar 25 iii i  i   `* Re: Useless Use Of Regexes8Marc Haber
27 Mar 25 iii i  i    `* Re: Useless Use Of Regexes7Lawrence D'Oliveiro
28 Mar 25 iii i  i     +* Re: Useless Use Of Regexes5marrgol
28 Mar 25 iii i  i     i+* Re: Useless Use Of Regexes3Chris Ahlstrom
28 Mar 25 iii i  i     ii`* Re: Useless Use Of Regexes2rbowman
29 Mar 25 iii i  i     ii `- Re: Useless Use Of Regexes1Chris Ahlstrom
28 Mar 25 iii i  i     i`- Re: Useless Use Of Regexes1Lawrence D'Oliveiro
1 Apr 25 iii i  i     `- Re: Useless Use Of Regexes1Wayne
27 Mar 25 iii i  `- Re: Useless Use Of Regexes1c186282
26 Mar 25 iii `* Re: Useless Use Of Regexes3c186282
26 Mar 25 iii  `* Re: Useless Use Of Regexes2rbowman
27 Mar 25 iii   `- Re: Useless Use Of Regexes1c186282
25 Mar 25 ii`- Re: Useless Use Of Regexes1Pancho
30 Mar 25 i`- Re: Useless Use Of Regexes1Stéphane CARPENTIER
25 Mar 25 +- Re: Useless Use Of Regexes1Ben Collver
30 Mar 25 `* Re: Useless Use Of Regexes35Stéphane CARPENTIER
30 Mar 25  `* Re: Useless Use Of Regexes34Lawrence D'Oliveiro
30 Mar 25   `* Re: Useless Use Of Regexes33Stéphane CARPENTIER
31 Mar 25    `* Re: Useless Use Of Regexes32Lawrence D'Oliveiro
6 Apr 25     `* Re: Useless Use Of Regexes31Stéphane CARPENTIER
7 Apr 25      `* Re: Useless Use Of Regexes30Lawrence D'Oliveiro
8 Apr 25       +- Re: Useless Use Of Regexes1c186282
8 Apr 25       +* Re: Useless Use Of Regexes21Eli the Bearded
8 Apr 25       i+- Re: Useless Use Of Regexes1c186282
8 Apr 25       i+- Re: Useless Use Of Regexes1Lawrence D'Oliveiro
8 Apr 25       i+* Re: Useless Use Of Regexes17Anssi Saari
9 Apr 25       ii`* Re: Useless Use Of Regexes16Lawrence D'Oliveiro
9 Apr 25       ii +* Re: Useless Use Of Regexes13c186282
9 Apr 25       ii i`* Shell command history (was: Useless Use Of Regexes)12Geoff Clare
12 Apr 25       ii i `* Re: Shell command history (was: Useless Use Of Regexes)11Lawrence D'Oliveiro
13 Apr 25       ii i  +- Re: Shell command history (was: Useless Use Of Regexes)1Eli the Bearded
14 Apr 25       ii i  `* Re: Shell command history9Nuno Silva
14 Apr 25       ii i   `* Re: Shell command history8Lawrence D'Oliveiro
16 Apr 25       ii i    +* Re: Shell command history6Eli the Bearded
16 Apr 25       ii i    i+- Re: Shell command history1Andreas Eder
16 Apr 25       ii i    i`* Re: Shell command history4Lawrence D'Oliveiro
18 Apr 25       ii i    i `* Re: Shell command history3Eli the Bearded
19 Apr 25       ii i    i  `* Re: Shell command history2Lawrence D'Oliveiro
20 Apr 25       ii i    i   `- Re: Shell command history1Eli the Bearded
18 Apr 25       ii i    `- Re: Shell command history1Nuno Silva
9 Apr 25       ii `* Re: Useless Use Of Regexes2Anssi Saari
12 Apr 25       ii  `- Re: Useless Use Of Regexes1Lawrence D'Oliveiro
12 Apr 25       i`- Re: Useless Use Of Regexes1Stéphane CARPENTIER
12 Apr 25       `* Re: Useless Use Of Regexes7Stéphane CARPENTIER
13 Apr 25        `* Re: Useless Use Of Regexes6Lawrence D'Oliveiro
13 Apr 25         +* Re: Useless Use Of Regexes4Stéphane CARPENTIER
14 Apr 25         i`* Re: Useless Use Of Regexes3Lawrence D'Oliveiro
17 Apr 25         i `* Re: Useless Use Of Regexes2Stéphane CARPENTIER
18 Apr 25         i  `- Re: Useless Use Of Regexes1Lawrence D'Oliveiro
13 Apr 25         `- Re: Useless Use Of Regexes1candycanearter07

Haut de la page

Les messages affichés proviennent d'usenet.

NewsPortal