On Linux within
bash the Pseudo Terminal window (
terminator) as well as the Terminal itself "freezes" when trying to use autocomplete (TAB) as well as after getting an error message using
So far this only happens with
- after getting an error message (own fault, typos, etc.)
- using autocomplete
CTRL+C somehow solves the problem in so far as I can work on and have (up to now) no problems with other commands EXCEPT
tar. Thus, the problem is repeatable. I would very much appreciate help from here on.
I can isolate the problem further, as it had a "comback": As hinted in a comment,
un commenting the following section in
# if ! shopt -oq posix; then # if [ -f /usr/share/bash-completion/bash_completion ]; then # . /usr/share/bash-completion/bash_completion # elif [ -f /etc/bash_completion ]; then # . /etc/bash_completion # fi # fi
helped in so far as trying to use autocomplete
still sends the Terminal Emulation (
pts) into deep freeze when using TAB after the first occurrence of
--until CTRL+C ends it
the real terminal (
tty) seems to ignore
tar. I could live that and a long face, but then … really?
The other config file (I know) for completion would be
/etc/bash.bashrc which would turn completion off completely I guess. Not good. The config files for the terminal emulator doesn't have any settings for autocomplete or such
I can type some characters and then the Terminal freezes – takes no more keystrokes. This happens both in an emulated terminal window (
pts) in the GUI and also "real" promt (
I work from a keyboard connected via USB, and not on a laptop or the like.
What would be a proper way to kill a terminal session like: »kill
tty2« because this is exactly what I'm stuck here!