Discussion:
vi or vim or vi(m) versus nano editor
(too old to reply)
Nicholas Saunders
2021-08-22 07:29:43 UTC
Permalink
When going to view text attachements, I'm getting vi or vim. Which is fine. But how do I specify nano?

(My alpine searches generally give me mostly results about running the alpine linux distro.)

thanks,

Nick
Carlos E.R.
2021-08-22 10:48:42 UTC
Permalink
Post by Nicholas Saunders
When going to view text attachements, I'm getting vi or vim. Which is fine. But how do I specify nano?
(My alpine searches generally give me mostly results about running the alpine linux distro.)
I was trying to find an email with a _text_ attachment vor checking, but
I failed. I /think/ I see those internally, but I have an idea: change
this line in the setup:


Editor = jstar



As you see, I use "jstar" as alternate editor. You may have "vi" there,
just change it to "nano".
--
Cheers, Carlos.
Roderick
2021-08-22 19:22:35 UTC
Permalink
Post by Nicholas Saunders
When going to view text attachements, I'm getting vi or vim. Which is fine. But how do I specify nano?
The "~/.mailcap" file specifies with what program attachments are read.

Rod.
Roderick
2021-08-22 19:31:50 UTC
Permalink
Post by Roderick
Post by Nicholas Saunders
When going to view text attachements, I'm getting vi or vim. Which is
fine. But how do I specify nano?
The "~/.mailcap" file specifies with what program attachments are read.
If you do not have a ~/.mailcap, you can see if you have a /etc/mailcap
or /usr/local/etc/mailcap in the system, copy it as ~/.mailcap and
edit it.

And if you do not have it, install metamail, then you get it sure,
and also a man page for "mailcap".

Rod.

Loading...