[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Strange Behaviour of Bash in debian/testing: can't type slash



Hi,

after an upgrade of my system (debian/testing, previous update at
June 2003) I found a strange behaviour in the bash: anytime I type the
slash character, I get a beep (more precisely a visual bell), but no '/'.

I suppose, this is a problem related to the configuration of the Bash
(libreadline?), because I get this error only in the bash (both in the
login shell and in an X terminal), but not in any other application,
including the tcsh.

I get this behaviour for every user on the system (including root).

Since I can't figure out which mistake I've done, I'm asking for help
here, hoping that someone can help me.

Here some settings which could be of interest:

thomas@scar:~$ echo $BASH_VERSION
2.05b.0(1)-release

thomas@scar:~$ uname -a
Linux scar 2.4.22 #1 Tue Jan 6 21:49:55 CET 2004 i686 GNU/Linux

homas@scar:~$ set
BASH=/bin/bash
BASH_VERSINFO=([0]="2" [1]="05b" [2]="0" [3]="1" [4]="release" [5]="i386-pc-linux-gnu")
BASH_VERSION='2.05b.0(1)-release'
COLORTERM=
COLUMNS=70
DIRSTACK=()
DISPLAY=:0.0
EDITOR=/usr/bin/vim
EUID=1000
GROUPS=()
GS_LIB=/home/thomas/.kde/share/fonts
GTK_RC_FILES=/etc/gtk/gtkrc:/home/thomas/.gtkrc:/home/thomas/.gtkrc-kde
HISTCONTROL=ignoredups
HISTFILE=/home/thomas/.bash_history
HISTFILESIZE=500
HISTSIZE=500
HOME=/home/thomas
HOSTNAME=scar
HOSTTYPE=i386
HUSHLOGIN=FALSE
HZ=100
IFS=$' \t\n'
KDE_MULTIHEAD=false
KONSOLE_DCOP='DCOPRef(konsole-1776,konsole)'
KONSOLE_DCOP_SESSION='DCOPRef(konsole-1776,session-1)'
LC_CTYPE=de_DE@euro
LC_MONETARY=de_DE@euro
LC_PAPER=de_DE@euro
LESS=-Q
LINES=24
LOGNAME=thomas
LS_COLORS='no=00:fi=00:di=01;34:ln=01;36:pi=40;33:so=01;35:do=01;35:bd=40;33;01:cd=40;33;01:or=40;31;01:ex=01;32:*.tar=01;31:*.tgz=01;31:*.arj=01;31:*.taz=01;31:*.lzh=01;31:*.zip=01;31:*.z=01;31:*.Z=01;31:*.gz=01;31:*.bz2=01;31:*.deb=01;31:*.rpm=01;31:*.jar=01;31:*.jpg=01;35:*.jpeg=01;35:*.gif=01;35:*.bmp=01;35:*.pbm=01;35:*.pgm=01;35:*.ppm=01;35:*.tga=01;35:*.xbm=01;35:*.xpm=01;35:*.tif=01;35:*.tiff=01;35:*.png=01;35:*.mpg=01;35:*.mpeg=01;35:*.avi=01;35:*.fli=01;35:*.gl=01;35:*.dl=01;35:*.xcf=01;35:*.xwd=01;35:*.ogg=01;35:*.mp3=01;35:*.wav=01;35:'
MACHTYPE=i386-pc-linux-gnu
MAIL=/home/thomas/Maildir
MAILCHECK=60
MANSECT=3:2:9:8:1:5:4:7:6:n
OPTERR=1
OPTIND=1
OSTYPE=linux-gnu
PATH=/home/thomas/bin:/usr/local/bin:/usr/bin:/bin:/usr/bin/X11:/usr/games
PIPESTATUS=([0]="0")
PPID=1776
PS1='\u@\h:\w\$ '
PS2='> '
PS4='+ '
PWD=/home/thomas
SESSION_MANAGER=local/scar:/tmp/.ICE-unix/1764
SHELL=/bin/bash
SHELLOPTS=braceexpand:emacs:hashall:histexpand:history:interactive-comments:monitor
SHLVL=4
SSH_AGENT_PID=1729
SSH_AUTH_SOCK=/tmp/ssh-gqVi1701/agent.1701
TERM=xterm
UID=1000
USER=thomas
XAUTHORITY=/home/thomas/.Xauthority
_='2.05b.0(1)-release'


thomas@scar:~$ shopt
cdable_vars     off
cdspell         off
checkhash       off
checkwinsize    on
cmdhist         on
dotglob         off
execfail        off
expand_aliases  on
extglob         off
histreedit      off
histappend      off
histverify      off
hostcomplete    on
huponexit       off
interactive_comments    on
lithist         off
login_shell     off
mailwarn        off
no_empty_cmd_completion off
nocaseglob      off
nullglob        off
progcomp        on
promptvars      on
restricted_shell        off
shift_verbose   off
sourcepath      on
xpg_echo        off



thomas@scar:~$ locale
LANG=POSIX
LC_CTYPE=de_DE@euro
LC_NUMERIC="POSIX"
LC_TIME="POSIX"
LC_COLLATE="POSIX"
LC_MONETARY=de_DE@euro
LC_MESSAGES="POSIX"
LC_PAPER=de_DE@euro
LC_NAME="POSIX"
LC_ADDRESS="POSIX"
LC_TELEPHONE="POSIX"
LC_MEASUREMENT="POSIX"
LC_IDENTIFICATION="POSIX"
LC_ALL=



thomas@scar:/$ sed -ne '\@^[^#]@p' etc/inputrc
/etc/inputrc - global inputrc for libreadline
set input-meta on
set output-meta on
set convert-meta off
set bell-style visible
$if mode=emacs
$endif

thomas@scar:/$ sed -ne '\@^[^#]@p' etc/profile
PATH="/usr/local/bin:/usr/bin:/bin:/usr/bin/X11:/usr/games"
if [ "$PS1" ]; then
  if [ "$BASH" ]; then
    PS1='\u@\h:\w\$ '
  else
    if [ "`id -u`" -eq 0 ]; then
      PS1='# '
    else
      PS1='$ '
    fi
  fi
fi
export PATH
umask 022



thomas@scar:/$ sed -ne '\@^[^#]@p' etc/bash.bashrc
shopt -s checkwinsize


thomas@scar:~$ sed -ne '\@^[^#]@p' ~thomas/.bash_profile
[ -f ~/.bashrc ] && source ~/.bashrc
[ -d ~/bin ] && PATH=~/bin:"${PATH}"
[ -d ~/man ] && MANPATH=~/man:"${MANPATH}"
export MAIL=/home/thomas/Maildir
shopt -s extglob progcomp


thomas@scar:~$ sed -ne '\@^[^#]@p' ~thomas/.bashrc
if [ "$PS1" ]; then
    export HISTCONTROL=ignoredups
    if [ "$TERM" != "dumb" ]; then
        eval `dircolors -b`
        alias ls='ls --color=auto'
    fi
    PS1='\u@\h:\w\$ '
fi
export MANSECT=3:2:9:8:1:5:4:7:6:n



Reply to: