Slow the Terminal Down
Slow the terminal to the old rates with a pipe and perl:
1ff=/tmp/bashpipe
2mkfifo $ff
3( cat $ff | perl -We 'use Time::HiRes;$|++;while(read(STDIN,$c,1)){Time::HiRes::usleep(15000);print $c;}' ) & exec &> $ff
- Try running
diranddir -F! - Don't run interactive commands like
vimortop!
You can make it into a bash function by putting this into your ~/.bashrc:
1slow ()
2{
3 unset VISUAL;
4 EDITOR=ed;
5 alias ls='dir -F';
6 export PS1='[$?] \W $ ';
7 ff=/tmp/bashpipe_$(date +%s);
8 mkfifo $ff 2> /dev/null;
9 ( cat $ff | perl -We 'use Time::HiRes;$|++;while(read(STDIN,$c,1)){Time::HiRes::usleep(15000);print $c;}' ) & exec &> $ff;
10}
Then type:
1exec bash
2slow