Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > gnu.bash.bug > #16655

bashbug's default editor

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 <mailman.375.1596200553.2739.bug-bash@gnu.org> (permalink)
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 <bug-bash.gnu.org>
List-Unsubscribe <https://lists.gnu.org/mailman/options/bug-bash>, <mailto:bug-bash-request@gnu.org?subject=unsubscribe>
List-Archive <https://lists.gnu.org/archive/html/bug-bash>
List-Post <mailto:bug-bash@gnu.org>
List-Help <mailto:bug-bash-request@gnu.org?subject=help>
List-Subscribe <https://lists.gnu.org/mailman/listinfo/bug-bash>, <mailto:bug-bash-request@gnu.org?subject=subscribe>
X-Mailman-Original-Message-ID <20200731101458.2102eada@delli.fritz.box>
Xref csiph.com gnu.bash.bug:16655

Show key headers only | View raw


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


Thread

bashbug's default editor jazz_fan@arcor.de - 2020-07-31 10:14 +0200

csiph-web