Learn from an experimental physicist

Aug 31, 2016 learning terminal

Very often the backspace key in your terminal prints strange characters instead of deleting a letter on the left. The historic reason is explained in this article. Basically, you need to dump the current terminfo to stdout, fix some keys using sed and save the result into a text file:

$ infocmp | sed 's/kbs=^H/kbs=\\177/'> ti.src

Compile the src file and save it to ~/.terminfo:

$ tic ti.src

Blogs on physics research and educational activities of Jing LIU, an assistant professor in physics at the University of South Dakota. He is an experimental physicist developing novel particle detectors for astroparticle physics and civil use.