Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > gnu.bash.bug > #16655
| From | jazz_fan@arcor.de |
|---|---|
| Newsgroups | gnu.bash.bug |
| Subject | bashbug's default editor |
| Date | 2020-07-31 10:14 +0200 |
| Message-ID | <mailman.375.1596200553.2739.bug-bash@gnu.org> (permalink) |
| References | <20200731101458.2102eada@delli.fritz.box> |
Configuration Information [Automatically generated, do not change]:
Machine: x86_64
OS: linux-gnu
Compiler: gcc
Compilation CFLAGS: -O2 -Wall -D_FORTIFY_SOURCE=2 -fstack-protector-strong -funwind-tables -fasynchronous-unwind-tables -fstack-clash-protection -Werror=return-type -flto=auto -g -D_GNU_SOURCE -DRECYCLES_PIDS -Wall -g -Wuninitialized -Wextra -Wno-switch-enum -Wno-unused-variable -Wno-unused-parameter -Wno-parentheses -ftree-loop-linear -pipe -DBNC382214=0 -DIMPORT_FUNCTIONS_DEF=0 -Wno-parentheses -Wno-format-security
uname output: Linux delli 5.7.9-1-default #1 SMP Thu Jul 16 09:40:08 UTC 2020 (a010166) x86_64 x86_64 x86_64 GNU/Linux
Machine Type: x86_64-suse-linux-gnu
Bash Version: 5.0
Patch Level: 17
Release Status: release
Description: bashbug doesn't use vi as default editor
Repeat-By:
unset EDITOR
bashbug
Usually I have set my $EDITOR to /usr/bin/vim. For testing purposes I
commented out that setting and forgot to uncomment it later. Because of
the recent bug report "command bashbug does not work and something
moreā¦" I entered the command and was surprised to find myself in the
unfamiliar emacs editor (which it took me a while to leave). However,
according to the man page:
ENVIRONMENT
bashbug will utilize the following environment variables if they exist:
EDITOR Specifies the preferred editor. If EDITOR is not set, bashbug attempts to locate a
number of alternative editors, including emacs, and defaults to vi.
bashbug should open vi.
Back to gnu.bash.bug | Previous | Next | Find similar
bashbug's default editor jazz_fan@arcor.de - 2020-07-31 10:14 +0200
csiph-web