[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Preferred editor and pager



I think it's OK to provide a /bin/editor and /bin/pager, but they should
be shell programs with this behavior:

	If $VISUAL or $EDITOR is set, and set to something other than
	"editor" or "/bin/editor", execute what is found in them.
	Likewise for $PAGER.

	If the above fails, run the default editor (or pager) from
	/etc/alternatives/editor.

We should continue to encourage maintainers to have their programs use
the environment variables $VISUAL, $EDITOR, and $PAGER.

	Bruce
--
Bruce Perens K6BP   Bruce@Pixar.com   510-215-3502
Finger bruce@master.Debian.org for PGP public key.
PGP fingerprint = 88 6A 15 D0 65 D4 A3 A6  1F 89 6A 76 95 24 87 B3 


Reply to: