mathisdt
11.04.06, 23:03
Hallo,
ich benutze schon geraume Zeit ausschließlich die Bash, jetzt treten leider komische Verhaltensweisen auf: Wenn ich mehr als eine Zeile (ohne Backslash-Return getrennt) tippe, geht der Cursor nicht auf eine neue Zeile, sondern überschreibt die aktuelle von Spalte 1 an. Bei Aterm und Gnome-Console ist das so, aber bei den "echten" tty1-6 nicht, darum denke ich es könnte an der .bashrc liegen (die wird ja bei tty1-6 nicht ausgeführt, sondern nur bei Nicht-Login-Shells, oder?). Wisst Ihr Rat?
Grüße,
Mathis
PS: shopt -s checkwinsize auskommentieren hat keinen Effekt!
Meine .bashrc:
export PATH=$PATH:/var/bin
# If running interactively, then:
if [ "$PS1" ]; then
# don't put duplicate lines in the history. See bash(1) for more options
export HISTCONTROL=ignoredups
export HISTFILESIZE=10000
export HISTSIZE=10000
# check the window size after each command and, if necessary,
# update the values of LINES and COLUMNS.
shopt -s checkwinsize
# enable color support of ls and also add handy aliases
if [ "$TERM" != "dumb" ]; then
eval `dircolors -b`
alias ls='ls --color=auto'
fi
alias ssh='ssh -X'
alias l='ls -la'
alias gamma='xgamma -gamma'
alias grep='grep --color=auto'
alias mp='mplayer -fs -ao alsa'
alias mp43='mplayer -aspect 4:3 -fs -ao alsa'
alias mp169='mplayer -aspect 16:9 -fs -ao alsa'
# set a fancy prompt
PS1='(\h) \w # '
# If this is an xterm set the title to user@host:dir
case $TERM in
xterm*)
PROMPT_COMMAND='echo -ne "\033]0;${USER}@${HOSTNAME}: ${PWD}\007"'
;;
*)
;;
esac
# enable programmable completion features (you don't need to enable
# this, if it's already enabled in /etc/bash.bashrc).
#if [ -f /etc/bash_completion ]; then
# . /etc/bash_completion
#fi
fi
umask 022
ich benutze schon geraume Zeit ausschließlich die Bash, jetzt treten leider komische Verhaltensweisen auf: Wenn ich mehr als eine Zeile (ohne Backslash-Return getrennt) tippe, geht der Cursor nicht auf eine neue Zeile, sondern überschreibt die aktuelle von Spalte 1 an. Bei Aterm und Gnome-Console ist das so, aber bei den "echten" tty1-6 nicht, darum denke ich es könnte an der .bashrc liegen (die wird ja bei tty1-6 nicht ausgeführt, sondern nur bei Nicht-Login-Shells, oder?). Wisst Ihr Rat?
Grüße,
Mathis
PS: shopt -s checkwinsize auskommentieren hat keinen Effekt!
Meine .bashrc:
export PATH=$PATH:/var/bin
# If running interactively, then:
if [ "$PS1" ]; then
# don't put duplicate lines in the history. See bash(1) for more options
export HISTCONTROL=ignoredups
export HISTFILESIZE=10000
export HISTSIZE=10000
# check the window size after each command and, if necessary,
# update the values of LINES and COLUMNS.
shopt -s checkwinsize
# enable color support of ls and also add handy aliases
if [ "$TERM" != "dumb" ]; then
eval `dircolors -b`
alias ls='ls --color=auto'
fi
alias ssh='ssh -X'
alias l='ls -la'
alias gamma='xgamma -gamma'
alias grep='grep --color=auto'
alias mp='mplayer -fs -ao alsa'
alias mp43='mplayer -aspect 4:3 -fs -ao alsa'
alias mp169='mplayer -aspect 16:9 -fs -ao alsa'
# set a fancy prompt
PS1='(\h) \w # '
# If this is an xterm set the title to user@host:dir
case $TERM in
xterm*)
PROMPT_COMMAND='echo -ne "\033]0;${USER}@${HOSTNAME}: ${PWD}\007"'
;;
*)
;;
esac
# enable programmable completion features (you don't need to enable
# this, if it's already enabled in /etc/bash.bashrc).
#if [ -f /etc/bash_completion ]; then
# . /etc/bash_completion
#fi
fi
umask 022