[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Newbie questions

On Mon, Mar 10, 2003 at 12:12:03PM +0800, Robert Storey wrote:
> I'm nominating Kevin and Brian jointly to share an award for "Debian's
> hot tip of the month." I unstalled "most," then used
> "update-alternatives" to config my pager, and my man pages now look
> spectacular. Now if only Debian had a tool to make me look this good.


Anyone tell me how to make the default editor of most to nano?  Most is 
using vi at the moment.  & I'm not sure where to change it.  my default 
editor is:

zork:/usr/share/doc/most# update-alternatives --display editor
editor - status is manual.
 link currently points to /usr/bin/nano
/usr/bin/nvi - priority 19
 slave editor.1.gz: /usr/share/man/man1/nvi.1.gz
/bin/ed - priority -100
/usr/bin/nano - priority 40
 slave editor.1.gz: /usr/share/man/man1/nano.1.gz
Current `best' version is /usr/bin/nano.

I also tried:
# MOST_EDITOR='nano %s'
# SLANG_EDITOR="nano %s"     #not sure re: quotes vs tick marks
				I tried both ways.

Thanks for any input.

Reply to: