[ < ] | [ > ] | [ << ] | [ Up ] | [ >> ] | [Top] | [Contents] | [Index] | [ ? ] |
7.2.1 Choosing your Editor
You can customize No value for GDBN to use any editor you want
(4).
By default, it is ‘/bin/ex’, but you can change this
by setting the environment variable EDITOR
before using
No value for GDBN. For example, to configure No value for GDBN to use the
vi
editor, you could use these commands with the sh
shell:
EDITOR=/usr/bin/vi export EDITOR gdb … |
or in the csh
shell,
setenv EDITOR /usr/bin/vi gdb … |