When you switched the Terminal preference from Delete is Control-H to unchecked, did you try creating a new Terminal session? Or even quitting and restarting Terminal? Sometimes preferences such as this affect the Next Terminal session. Just want to turn over every possible "Rock".
My python is the Mac OS X 10.5.8 version
/usr/bin/python
My
locale is I assume the default for American English. The
locale command says says
locale
LANG=
LC_COLLATE="C"
LC_CTYPE="C"
LC_MESSAGES="C"
LC_MONETARY="C"
LC_NUMERIC="C"
LC_TIME="C"
LC_ALL=
I DO NOT have a .inputrc (no readline customization).
My keyboard is the MacBook keyboard.
Just checking if you are getting 0x7F as the delete key. This is a situation where to only way out is to close the Terminal Window or Tab.
stty raw; hexdump
now just keep hitting the
Delete key until you get a line of output (16 Deletes should do it):
0000000 7f 7f 7f 7f 7f 7f 7f 7f 7f 7f 7f 7f 7f 7f 7f 7f
But because you put your session into
Raw mode, you can not kill the hexdump command. So the only way out is to just close the Terminal session (Command-W), or Quit Terminal.
If you can think of any other variables we could check, I'll be glad to provide what I can.
Or maybe someone else will just provide a solution 🙂
Message was edited by: BobHarris