<<< Date Index >>>     <<< Thread Index >>>

Re: w3m can't show html mail with charset: gb2312



On 14:04 Thu 21 Jul     , Gary Johnson wrote:
> On 2005-07-21, bxuefeng <phyrster@xxxxxxxxx> wrote:
> > On 11:51 Wed 20 Jul     , Gary Johnson wrote:
> > > On 2005-07-21, bxuefeng <phyrster@xxxxxxxxx> wrote:
> > > 
> > > > Setting vim as pager does not appear to be a wise move for me. I am 
> > > > wondering
> > > > whether there are other pagers which can be used for this task. But 
> > > > this is
> > > > for body only. 
> > > 
> > > Actually, setting vim to be your pager may not be such a bad idea.  
> > > There is a script in the vim distribution, 
> > > $VIMRUNTIME/macros/less.sh, that makes vim behave very much like the 
> > > pager less, but with the added features of vim.
> > 
> > Thanks for the tip. I use
> > set pager="/usr/share/vim/vim63/macros/less.sh"
> > in muttrc file and it worked great. 
> > 
> > But by using less.sh brings another problem. When I press 'q' and quit, bash
> > prompts:
> > 
> > ---------------
> > phyrster@Badger:~$ mutt
> > Command:
> > ---------------
> > 
> > and I have to send another keystroke to go back to index view. Is there a 
> > way
> > to fix this?
> 
> I don't normally use less.sh, but I set my pager to the version that 
> comes with vim 6.3 and it worked fine:  typing 'q' to exit less.sh 
> returned immediately to mutt's index menu.
> 
> I think I found the problem:  I have the mutt variable 
> 'prompt_after' set to "no"; I'll bet yours is set to "yes".  Try 
> setting it to "no" and see if that works better for you.


Exactly. That's the default mutt configuration. Thank you for making me an
even more happier mutt user. :)


bxuef