- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
hi, from intel python console, when i try to delete using BACKSPACE, the console prints ^H
and i have to drop the whole command line with ctrl+C
how should i fix this?
Link Copied
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi Mingfei,
I think your terminal is sending control H instead of DEL. You could check this by doing
cat > /dev/null
Hit enter, type a few keys, and then hit the backspace key. If you see ^H then that is your problem.
Intel Python does not include readline, because it is GPL, and readline may be mapping control H to delete a character. Here is a discussion of the problem and fixes: http://web.archive.org/web/20120621035133/http://www.ibb.net/~anne/keyboard/keyboard.html
Another option is to use a cpython with readline, and intel python packages for everything else. Here is how you do it : suggestion: https://software.intel.com/en-us/forums/intel-distribution-for-python/topic/704018
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
thanks, Robert,
you are right, my console is sending ^H for backspace and the remote is expecting ^?
i followed this thread https://unix.stackexchange.com/questions/43103/backspace-tab-not-working-in-terminal-using-ssh
and the problem is solved.
thanks for helping.
Mingfei.

- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page