Skip to content

Instantly share code, notes, and snippets.

@ehanneken
ehanneken / uv7patch.sh
Last active April 7, 2020 00:53
Make the backspace key work in the Unix V7 terminal
cd /usr
ed ./src/cmd/getty.c <<'EOE'
12c
struct tchars tchars = { '\003', '\034', '\021', '\023', '\004', '\377' };
.
8,9c
#define ERASE '\177'
#define KILL '\025'
.

Keybase proof

I hereby claim:

  • I am ehanneken on github.
  • I am erichanneken (https://keybase.io/erichanneken) on keybase.
  • I have a public key ASAZe9g33j3nPQ0q_ioutNmQUSKUFpg93VAK5ma_uV1Nnwo

To claim this, I am signing this object: