1SENSIBLE-EDITOR(1)          General Commands Manual         SENSIBLE-EDITOR(1)
2
3
4

NAME

6       sensible-editor - sensible editing
7

SYNOPSIS

9       sensible-editor [OPTIONS...]
10

DESCRIPTION

12       sensible-editor makes sensible decisions on which editor to call.  Pro‐
13       grams in Debian can use this script as their default editor.  sensible-
14       editor try to do in the following order:
15
16       1      if VISUAL environment variable exists, execute VISUAL [OPTIONS]
17
18       2      if EDITOR environment variable exists, execute EDITOR [OPTIONS]
19
20       3      source  the  contents  of  file  ~/.selected_editor  and, if SE‐
21              LECTED_EDITOR environment variable exists execute  SELECTED_EDI‐
22              TOR [OPTIONS]
23
24       4      run editor [OPTIONS] command
25
26       5      finally run nano-tiny [OPTIONS] command
27

SEE ALSO

29       environ(7) for documentation of the EDITOR, VISUAL variables
30       select-editor(1) for changing a user's default editor.
31       editor(1) for default system wide editor.
32

BUGS

34       This command is protected against trivial fork bomb, when user set EDI‐
35       TOR=sensible-editor wider loops are still possible.
36

STANDARD

38       Documentation of behavior of sensible-utils under a  debian  system  is
39       available  under  section 11.4 of debian-policy usually installed under
40       /usr/share/doc/debian-policy (you might need to install debian-policy)
41
42
43
44Debian                            14 Nov 2018               SENSIBLE-EDITOR(1)
Impressum