The Unix Heritage Society mailing list
 help / color / mirror / Atom feed
From: will.senn@gmail.com (Will Senn)
Subject: stty erase '^?' in v7
Date: Fri, 13 Oct 2017 21:59:25 -0500	[thread overview]
Message-ID: <8de0efc7-0a45-02f2-5db3-7b3bbbe4b815@gmail.com> (raw)

Does anyone know why stty won't accept '^?' in v7? It will accept '^h', 
but then the shell expects ^h to "backspace". I am trying to get the 
delete key on my mac to do the backing up and it's '^?'. # isn't my 
favorite since it's used in C programs, but pressing CTRL-h to backup is 
a pain too. If you've read this far, I have three more questions:

1. How do you escape # in order to write a C program if # is the erase 
character in the terminal?
2. How do you enter a literal character in the v7 shell (I am used to 
CTRL-v CTRL-DEL to enter the delete character on other unices)?
3. Is there a way to echo the ascii value of a keypress in v7?

Thanks,

Will

-- 
GPG Fingerprint: 68F4 B3BD 1730 555A 4462  7D45 3EAA 5B6D A982 BAAF



             reply	other threads:[~2017-10-14  2:59 UTC|newest]

Thread overview: 15+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2017-10-14  2:59 Will Senn [this message]
2017-10-14  4:08 ` Grant Taylor
2017-10-14  4:39 ` Random832
2017-10-14  5:03   ` Will Senn
2017-10-16 14:46     ` Random832
2017-10-14  4:25 Noel Chiappa
2017-10-14  4:48 ` Will Senn
2017-10-14  6:31 ` Dave Horsfall
2017-10-14 14:03   ` Will Senn
2017-10-14 22:01     ` Dave Horsfall
2017-10-14 12:52 Noel Chiappa
2017-10-14 14:40 ` Clem Cole
2017-10-14 14:44   ` Ronald Natalie
2017-10-15 13:10     ` Don Hopkins
2017-10-15 14:39 Noel Chiappa

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=8de0efc7-0a45-02f2-5db3-7b3bbbe4b815@gmail.com \
    --to=will.senn@gmail.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).