Submitted 11-Jun-00 by Werner E. Niebel:
> Hi folks,
> 
> I just installed Mandrake 7.1 on a hard drive on my machine.  Ive tried
> to do any man from the command line in tcsh like:
> 
> > man ls
> 
> It returns an error with less saying something to the effect of -= not
> supported.
> 
> doing the same thing in bash, it works fine...
> 
> Any suggestions as to what is wrong?

Haven't gotten around to learning tcsh, but I did track down the
problem :) 

In bash, the environment variable LESS is set to -MM, while in a tcsh
login shell it is being set to -MM=

The error is in /etc/profile.d/inputrc.csh:
.
.
setenv LESS=-MM
.
.

Note the equal sign that should be a space (I have no idea why the
equal sign gets tacked onto the end of it, but in my test shell it did
the same thing)

Newer versions of the initscripts rpm (available on cooker) don't have
this error in the inputrc.csh and also add some keybindngs because
tcsh doesn't use inputrc

So, you can either just remove the eual sign or upgrade your
initscripts :)

HTH

-- 
       _
     _|_|_
      ( )   *    Anton Graham
      /v\  /     <[EMAIL PROTECTED]>
    /(   )X
     (m_m)       GPG ID: 18F78541
Penguin Powered!

Reply via email to