Re: Where is my editor?

Robert Elz <[email protected]>
Newsgroups gmane.mail.nmh.devel
Message-ID <[email protected]>
    Date:        18 Jan 2024 23:20:11 -0700
    From:        "Andy Bradford" <[email protected]>
    Message-ID:  <[email protected]>

  | Ahh, I  didn't read  the fine  print... you said  "mh's default",  but I
  | misunderstood it for "nmh's default".

Yes, I have had the "editor" line in my profile since MH days, (I
have been a user since almost forever) so what nmh did as default
I never knew, which is why I avoided saying that...

I assume the change you indicated happened is to avoid building a
choice of default editors into nmh - prompter is part of the MH
world, so always exists, even though ex/vi is POSIX std, there
really is no guarantee it will exist on every system in the world
(even less for emacs/jove/nano/vim/...) and having "ed" as the default
would simply irritate people.

I hope it is back working like you expected it now.

Another profile entry worth having is

	prompter-next: vi
				(or perhaps even ed, or horrors, emacs)

There are odd occasions where starting with prompter can be
easier that a real editor, then you just end the prompter session
(send EOF), and when it asks "What now?" you just "e" and then
you get your real editor (prompter-next) to finish.
	comp -editor prompter
will do that once you have the "editor" profile entry and so
prompter is no longer the default.

kre
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.