Path: csiph.com!goblin2!goblin1!goblin.stu.neva.ru!usenet.stanford.edu!not-for-mail From: jazz_fan@arcor.de Newsgroups: gnu.bash.bug Subject: bashbug's default editor Date: Fri, 31 Jul 2020 10:14:58 +0200 Lines: 42 Approved: bug-bash@gnu.org Message-ID: References: <20200731101458.2102eada@delli.fritz.box> NNTP-Posting-Host: lists.gnu.org Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable X-Trace: usenet.stanford.edu 1596200553 5822 209.51.188.17 (31 Jul 2020 13:02:33 GMT) X-Complaints-To: action@cs.stanford.edu To: bug-bash@gnu.org Envelope-to: bug-bash@gnu.org X-VADE-STATUS: LEGIT Received-SPF: pass client-ip=153.92.174.89; envelope-from=jazz_fan@arcor.de; helo=vsmx011.vodafonemail.xion.oxcs.net X-detected-operating-system: by eggs.gnu.org: First seen = 2020/07/31 04:15:01 X-ACL-Warn: Detected OS = Linux 2.2.x-3.x (no timestamps) [generic] X-Spam_score_int: -35 X-Spam_score: -3.6 X-Spam_bar: --- X-Spam_report: (-3.6 / 5.0 requ) BAYES_00=-1.9, FREEMAIL_FROM=0.001, RCVD_IN_DNSWL_LOW=-0.7, RCVD_IN_MSPIKE_H2=-1, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-Mailman-Approved-At: Fri, 31 Jul 2020 09:02:32 -0400 X-BeenThere: bug-bash@gnu.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: Bug reports for the GNU Bourne Again SHell List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-Mailman-Original-Message-ID: <20200731101458.2102eada@delli.fritz.box> Xref: csiph.com gnu.bash.bug:16655 Configuration Information [Automatically generated, do not change]: Machine: x86_64 OS: linux-gnu Compiler: gcc Compilation CFLAGS: -O2 -Wall -D_FORTIFY_SOURCE=3D2 -fstack-protector-stron= g -funwind-tables -fasynchronous-unwind-tables -fstack-clash-protection -We= rror=3Dreturn-type -flto=3Dauto -g -D_GNU_SOURCE -DRECYCLES_PIDS -Wall -g = -Wuninitialized -Wextra -Wno-switch-enum -Wno-unused-variable -Wno-unused-p= arameter -Wno-parentheses -ftree-loop-linear -pipe -DBNC382214=3D0 -DIMPORT= _FUNCTIONS_DEF=3D0 -Wno-parentheses -Wno-format-security uname output: Linux delli 5.7.9-1-default #1 SMP Thu Jul 16 09:40:08 UTC 20= 20 (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=E2=80=A6" 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 exi= st: 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.