On Tue, Dec 04, 2001 at 07:13:45AM +0530, Ajitabh Pandey wrote:
>
> > From: USM Bish <[EMAIL PROTECTED]>
> > If you have gpm installed, cut section with mouse.Often this
> > causes problems! I view my mails with elvis (vi clone). This
> > is capable of displaying HTML mails directly. Secondly it
> > gives me the option of marking a section, and saving to a
> > text file for later use. I suppose vim will also do the same
> > (without HTML viewing capability). Same for nvi.
> >
> What are the entries in muttrc to be changed for using elvis.
> Please also specify any options which is to be used with elvis
> for viewing html files.
>
Note, if you are using (and used to) VIM, keep using it as the
main editor. Change of habits may confuse you. Do NOT change
your $PAGER or $EDITOR. If you have elvis installed, and want
it to read mail and do HTML viewing, the following may be set
in your .muttrc (depending upon your preferences):
set pager="elvis -R" # external pager
set pager_stop # don't move to next message automati-
# cally
set noprompt_after # ask me for a command after the ext-
# ernal pager exits
The -R switch is for read-only. It is optional. If you want to
use it for cutting out text and saving, omit -R switch.
In case you have auto_view option set to convert HTML to text
via settings in ~/.mailcap and ~/.mime_types, you may like to
consider disabling this, since elvis can view/ edit HTML.
Note: for HTML, in case the first line is blank or does not
have the <HTML> label, you may get all html tags, and regular
text display of a HTML file ... In which case you can "force"
HTML with ':display html'.
There are no changes needed to elvis for reading or editing a
HTML file. All HTML files are edited directly. If you want to
edit in text mode you need to do ':display normal'. No changes
in .exrc needed.
HTH
Bish
--
:
####[ Linux One Stanza Tip (LOST) ]###########################
Sub : Sha-bang ! LOST #163
The sha-bang (#!) at the beginning of a script is actually a 2
byte "magic number" which designates an executable script. See
'man magic' for details. Tells the system that ensuing lines
are to be fed to the command interpreter indicated.
####<[EMAIL PROTECTED]>####################################
:
_______________________________________________
linux-india-help mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/linux-india-help