[CentOS] Setenv missing

Thu Jan 17 17:06:28 UTC 2008
Bill Campbell <centos at celestial.com>

On Thu, Jan 17, 2008, Ern jura wrote:
>
>   When I tried to use the setenv command to set the default text editor
>   for subversion, I found it was missing how can I install it or enable
>   it in CentOS 5

The setenv command is used in csh and its descendants.

The corresponding command(s) that works on /bin/sh, bash, ksh, etc.  is:

# this works on /bin/sh and all it's children
PAGER='vim'
export PAGER

# this works on most, but not all
export PAGER='vim'

One can also use something like:

PAGER='vim' some_command

Bill
--
INTERNET:   bill at celestial.com  Bill Campbell; Celestial Software LLC
URL: http://www.celestial.com/  PO Box 820; 6641 E. Mercer Way
FAX:            (206) 232-9186  Mercer Island, WA 98040-0820; (206) 236-1676

Independent self-reliant people would be a counterproductive anachronism
in the collective society of the future where people will be defined by
their associations.  1896 John Dewey, educational philosopher, proponent
of modern public schools.