TE
TechEcho
Home24h TopNewestBestAskShowJobs
GitHubTwitter
Home

TechEcho

A tech news platform built with Next.js, providing global tech news and discussions.

GitHubTwitter

Home

HomeNewestBestAskShowJobs

Resources

HackerNews APIOriginal HackerNewsNext.js

© 2025 TechEcho. All rights reserved.

Is backspace supposed to be 0x08 or 0x7f?

5 pointsby freedrullalmost 14 years ago

3 comments

freedrullalmost 14 years ago
One of the posts mentions:<p>"Most of the Linux distributions make changes as needed to make the terminal emulators send ^? for "backspace", while almost everyone else uses ^H. They should also modify the terminfo entries in ncurses, but not all of the Linux distributions do _that_."<p>Almost every ncurses program I've seen seems to hack around this by checking for the ncurses definition of KEY_BACKSPACE as well as 0x7f.
teiloalmost 14 years ago
This is elementary TERMINFO stuff. Nothing significant about this at all.
gte910halmost 14 years ago
Why is this important? I don't see the significance.