editor.eselect

Section: eselect (5)
Updated: September 2012
Page Index
 

NAME

editor.eselect - The EDITOR management module for Gentoo's eselect  

SYNOPSIS

eselect editor [help|usage|version]
eselect editor list
eselect editor set target
eselect editor show
eselect editor update  

DESCRIPTION

eselect is Gentoo's configuration and management tool. It features modules that care for the individual administrative tasks.  

ACTION: LIST

eselect editor list
List available targets for the EDITOR variable.

# eselect editor list
Available targets for the EDITOR variable:

  [1]   /bin/nano *
  [2]   /usr/bin/emacs
  [3]   /usr/bin/vi
  [ ]   (free form)  

ACTION: SET

eselect editor set target
Set the EDITOR variable in the system profile. target can be either an identification number given by eselect editor list or the name of an installed text editor.

# eselect editor set emacs
Setting EDITOR to /usr/bin/emacs ...
Run ". /etc/profile" to update the variable in your shell.  

ACTION: SHOW

eselect editor show
Show the value of the EDITOR variable in the system profile.

# eselect editor show
EDITOR variable in profile:

  /usr/bin/emacs  

ACTION: UPDATE

eselect editor update
Update the EDITOR variable if it is unset or invalid.  

FILES

/etc/env.d/99editor
Configuration file where the variable is stored.
 

AUTHOR

Ulrich Müller <ulm@gentoo.org>  

SEE ALSO

eselect(1), visual.eselect(5), environ(7)


 

Index

NAME
SYNOPSIS
DESCRIPTION
ACTION: LIST
ACTION: SET
ACTION: SHOW
ACTION: UPDATE
FILES
AUTHOR
SEE ALSO
LinuxReviews : manual page archive : man5