
On Sat, May 25, 2013 at 03:43:53PM +1000, Tim Connors wrote:
(I hope my dynamic resetting of PROMPT_COMMAND and writing things to the terminal windowtitle and icon title values doesn't end up toggling ctrl-O an even number of times - I did try to temporarily unset my automatic voodoo)
dunno, PROMPT_COMMAND is one of the things i disable from debian's .bashrc files. along with purging the bash-completion and command-not-found packages. some people like them but i find they're far more annoying than useful. command-not-found because it's verbose and i mistype things like ls as sl often enough to find it annoying; and bash-completion because i find the restrictions imposed by command-specific completion rules to be worse than the benefits (i.e. i'm happy with just default filename completion) - and quite often the rules are broken and I can't force it to complete a filename with an extension the broken rules don't like. worse, all three slow down my shell. that's just unforgivable.
running "reset" is also useful, and "stty sane" too, especially if the terminal is in non-echoing mode.
But reset worked, thanks. I wonder if there's a less drastic (ie, no screen & history clear) subset of what reset does that would help me. Unfortunately, I don't know how to toggle this xterm back into a fault state (since ctrl-O isn't working for me) to test.
depends on the terminal emulator - i reluctantly switched from mrxvt (excellent, but no unicode support) to roxterm (best of the libvt terms) and it has right-click menu options for "Reset" and "Reset & Clear". others might have similar. craig -- craig sanders <cas@taz.net.au> BOFH excuse #270: Someone has messed up the kernel pointers