9fans - fans of the OS Plan 9 from Bell Labs
 help / color / mirror / Atom feed
From: Robert Raschke <rrplan9@tombob.com>
To: 9fans@cse.psu.edu
Subject: Re: [9fans] 'Kdel' : undeclared identifier in screen-win.c of drawterm
Date: Fri,  7 Jan 2005 14:28:41 +0000	[thread overview]
Message-ID: <40c627e1bcce0d831f48fd25395e8a4b@tombob.com> (raw)
In-Reply-To: <eeb5f15ae7f6a19501a663b783e0c91d@tombob.com>

I wrote:
> Kdel seems to be a drawterm specific enum value.  There are a whole
> bunch of them defined in the drawterm code: Khome, Kup, Kpgup, Kprint,
> Kleft, Kright, Kdown, Kview, Kpgdown, Kins, Kend, Kalt, Kshift, Kctl.
> I believe they are Runes (aka unicode wide char), but located in (as
> the comment in keyboard.h states) private Unicode space.
> 
> Hmm, checking similar code in the real kernel finds a lot of similar
> enum values in /sys/src/9/pc/kbd.c . and one of them is:
> 	Del=		0x7F,
> 
> I'll try adding a Kdel=0x7F into keyboard.h and see what happens.

Just to say that adding Kdel=0x7F into keyboard.h seems to have
worked.  At least I haven't yet seen any ill effects and my hardwired
drawterm is working nicely.

Robby



      reply	other threads:[~2005-01-07 14:28 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2005-01-07 11:02 [9fans] 'Kdel' : undeclared identifier in screen-win.c of drawterm? Robert Raschke
2005-01-07 13:05 ` Sergey Reva
2005-01-07 13:52   ` [9fans] 'Kdel' : undeclared identifier in screen-win.c of Robert Raschke
2005-01-07 14:28     ` Robert Raschke [this message]

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=40c627e1bcce0d831f48fd25395e8a4b@tombob.com \
    --to=rrplan9@tombob.com \
    --cc=9fans@cse.psu.edu \
    /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).