Artificial intelligent assistant

fish + script -> chaos, what options? The fish shell uses many escape sequences as you type, especially if you ever make a mistake or use completion. 'script' just captures them literally, making quite a mess. More of a mess than `col -b` can repair. Is there some other way to record command lines and their results (other than just using an emacs shell buffer, which I might resort to)? Is there a way to configure fish to, ahem, scale back it's fancy display?

You'll lose many of the nice features of fish - colourisation, autosuggestions, etc., but you can start `script` with the environment variable `TERM` set to `dumb`. This will result in a much cleaner output. `script` really is a dumb terminal - the manpage suggests that it is supposed to emulate an old-style hardcopy terminal!


env TERM=dumb script

xcX3v84RxoQ-4GxG32940ukFUIEgYdPy 55f23a41cdf1fe4f45e8e1357409f8f6