[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
crashes in xterm doing vi style command history search
From: |
duane |
Subject: |
crashes in xterm doing vi style command history search |
Date: |
Thu, 10 May 2001 02:37:28 -0700 |
Configuration Information [Automatically generated, do not change]:
Machine: i686
OS: linux-gnu
Compiler: gcc
Compilation CFLAGS: -DPROGRAM='bash' -DCONF_HOSTTYPE='i686'
-DCONF_OSTYPE='linux-gnu' -DCONF_MACHTYPE='i686-pc-linux-gnu'
-DCONF_VENDOR='pc' -DSHELL -DHAVE_CONFIG_H -D_FILE_OFFSET_BITS=64 -I. -I.
-I./include -I./lib -I/usr/local/include -g -O2
uname output: Linux eldritch 2.4.4 #1 Tue May 1 14:38:56 PDT 2001 i686 unknown
Machine Type: i686-pc-linux-gnu
Bash Version: 2.05
Patch Level: 0
Release Status: release
Description:
When using vi-style commands (-o vi), and in a deep directory structure
that has
spaces in a directory name, doing a history search causes bash to crash
with a
segmenation fault if PS1 is set to echo pwd in the xterm titlebar and
in prompt.
Repeat-By:
Run this in an xterm or equivalent (I've tried it in xterm, Eterm,
and gnome-terminal, all with the same results)
# PS1="\[\033]0;\u@\h:\w\007\]\h:\w # "
# mkdir -p /thisis/aprettydeep/directory/structure/with\ some\
spaces/ornot
# cd /thisis/aprettydeep/directory/structure/with\ some\ spaces/ornot
# <esc>-k # enter history
# / # search
- crashes in xterm doing vi style command history search,
duane <=