Evan Martin (evan) wrote in evan_tech,
Evan Martin
evan
evan_tech

terminal emulation

When you run script (see man 1 script if you're not familiar with it) it logs every keystroke you type, including backspacing over typos. Val asked today: how can you format that output so that it appears as the result? I found it interesting to think about. You'd imagine there'd be some way to run terminal emulation (?) and then somehow pipe that through cat. It's an interesting mixing of levels; I started running my mouth off about screen and vte but didn't come to a good conclusion.

Along those lines, it made me think of this interesting thread in which "cmd --color" produces escape codes while "cmd --color | cat" produces colored output. (Try to guess the circumstances before you read the other side of that link!)
Subscribe

  • dremel

    They published a paper on Dremel, my favorite previously-unpublished tool from the Google toolchest. Greg Linden discusses it: "[...] it is capable…

  • google ime

    Japanophiles might be interested to learn that Google released a Japanese IME. IME is the sort of NLP problem that Google is nearly uniquely…

  • ghc llvm

    I read this thesis on an LLVM backend for GHC, primarily because I was curious to learn more about GHC internals. The thesis serves well as an…

  • Post a new comment

    Error

    default userpic
    When you submit the form an invisible reCAPTCHA check will be performed.
    You must follow the Privacy Policy and Google Terms of use.
  • 5 comments