weird behaviour with 'less'

Matt Morgan minxmertzmomo at gmail.com
Fri Apr 8 20:29:52 UTC 2005


On Apr 8, 2005 3:53 PM, Gustavo Seabra <gustavo.seabra at gmail.com> wrote:
> Hi all,
> 
> I am experiencing a weird behaviour of the 'less' command. I wonder if
> anyone else has it. It looks to me that everytime I invoke less, like
> 
> > less somefile.txt
> 
> it re-sources my .cshrc before executing. For example,
> 
> > less dyson.F
> 
> [prints stuff that rolls out of view, then shows me the file. After I
> quit (q), my screen has:
> 
> > less dyson.F
> 
> KeyChain 2.5.1; http://www.gentoo.org/proj/en/keychain/
> Copyright 2002-2004 Gentoo Foundation; Distributed under the GPL
> 
>  * Found existing ssh-agent (5263)
>  * Found existing gpg-agent (5352)
>  * Known ssh key: /home/seabra/.ssh/id_dsa
> 
> (The stuff above is supposed to appear whenever I start a shell).
> Also, if I try to put something like ' echo "Ready!" ' in the end of
> .cshrc, less will only show me the "Ready!" string!
> 
> Does anybody else sees this? Is there a solution for it?

Did you maybe alias 'less' to something funny? Does it behave normally
when you explicitly run /usr/bin/less?

This isn't happening to me but I don't run csh or have a .cshrc.




More information about the fedora-list mailing list