[Thread Prev][Thread Next][Index]

Re: [ferret_users] pager



Hi Marco,

The problem is that your system gets less predictable: if you type
`more` you get `less` (no pun intended).

If you really need to preserve the original "more" command, and if you have some time to kill :-)  you can produce a Ferret wrapper like this:

#!/bin/sh
export PATH=$HOME/bin/special:$PATH
exec /usr/local/ferret/bin/ferret "$@"

and call this script "ferret" and put it in your $HOME/bin;  and create a symlink in your ~/bin/special directory

cd ~/bin
mkdir special
cd special
ln -s /usr/bin/less more

I'm assuming the "system" command honors PATH.

Cheers,

Ryo

[Thread Prev][Thread Next][Index]
Contact Us
Dept of Commerce / NOAA / OAR / PMEL / Ferret

Privacy Policy | Disclaimer | Accessibility Statement