tech-userlevel archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
Re: mail(1) editline defaults to vi mode?
Robert Elz wrote in
<1017.1676698016%jacaranda.noi.kre.to@localhost>:
| Date: Sat, 18 Feb 2023 05:18:22 +0300
| From: Valery Ushakov <uwe%stderr.spb.ru@localhost>
| Message-ID: <Y/A1bsK5YSh0qRfQ%pony.stderr.spb.ru@localhost>
|
|| I think no program should ever init editline to vi mode,
|
|This is BSD, everything should default to vi mode!!!
|
|If you want some perversion from elsewhere, you need
|to ask ecplicitly (perhaps even different ways for
|different programs), let's make it as unfriendly as
|possible!
|
|kre
|
|ps Mouse: no, this should not be in the kernel ... asking the
|kernel to search back and get text from something you entered
|3 weeks (and several reboots) ago is just unreasonable.
I think Mouse refers to a thread on TUHS (where all the old hands
of UNIX are, and some idiots, too, but the thread i cannot find,
must be within the last six months but whee).
Ah have it, for example Rob Pike said in [1]
t just seems much more natural to me to have line editing provided at some
fundamental level. Putting it in the shell or some library means some tools
get it but some don't. Why should sh have editing but mail not? But then
there's glob.
Do it once, do it well, and do it for everything, where "it" is a wildcard
that refers to every important detail.
[1] https://www.tuhs.org/pipermail/tuhs/2023-January/027189.html
--End of <1017.1676698016%jacaranda.noi.kre.to@localhost>
--steffen
|
|Der Kragenbaer, The moon bear,
|der holt sich munter he cheerfully and one by one
|einen nach dem anderen runter wa.ks himself off
|(By Robert Gernhardt)
Home |
Main Index |
Thread Index |
Old Index