Re: Making a debian CD
On Mon, 15 Dec 1997, Carlos Barros wrote:
> And Other thing is that by default 'less' use as editor other than
> 'vi' (I think that 'vi' is the standart editor in unix), may be 'ae'(
> don't remember).
yes, this is very annoying, isn't it. because of some debian policies
(which do make some sense even if they are inconvenient at times -
although i still think that it is braindead for vipw and visudo and the
v key in less to call any editor other than vi), the only convenient way
to fix this is to edit /etc/profile and add the lines:
while you're doing that, you may as well as add the following as well.
man is a lot more usable when the pager is less.
if you're running a recent version of less (i.e. from hamm) then you
can set up less so that it automatically detects various file types
(e.g. gzipped files and tar files etc) and pre-processes them before
displaying them. Add the following to /etc/profile:
earlier versions of less required you to write your own script and set the
LESSOPEN and/or LESSCLOSE variables yourself. see the less documentation
these instructions only work for sh-like shells (bash, zsh, ksh). if you
use csh or tcsh then you'll have to modify them to work with csh. i think
you use /etc/cshrc instead of /etc/profile and 'setenv' rather than
'export' or something like that.
BTW, this belongs on debian-user, not on debian-admintool.
TO UNSUBSCRIBE FROM THIS MAILING LIST: e-mail the word "unsubscribe" to
Trouble? e-mail to firstname.lastname@example.org .