2.4. Setup environment variables

The CVSROOT and EDITOR environment variables should be setup for all users in /etc/profile. Of course, EDITOR can be whatever Unix text editor you prefer, such as vi, emacs, pico, or joe.

/etc/profile:

export CVSROOT=/rep
export EDITOR=vi


Note: You will need to logout/login for the profile changes to take effect.