9fans - fans of the OS Plan 9 from Bell Labs
 help / color / mirror / Atom feed
* [9fans] 'Kdel' : undeclared identifier in screen-win.c of drawterm?
@ 2005-01-07 11:02 Robert Raschke
  2005-01-07 13:05 ` Sergey Reva
  0 siblings, 1 reply; 4+ messages in thread
From: Robert Raschke @ 2005-01-07 11:02 UTC (permalink / raw)
  To: 9fans

Hi,

I'm attempting to build my own version of drawterm under Windows XP. I
want to hardwire some options.  But I'm running into one problem:

screen-win.c(408) : error C2065: 'Kdel' : undeclared identifier

( /sys/src/cmd/unix/drawterm/screen-win.c:408 )

The definition of the other K.* symbols lives in
/sys/src/cmd/unix/drawterm/keyboard.h:

enum {
	KF=	0xF000,	/* Rune: beginning of private Unicode space */
	Spec=	0xF800,
	/* KF|1, KF|2, ..., KF|0xC is F1, F2, ..., F12 */
	Khome=	KF|0x0D,
	Kup=	KF|0x0E,
	Kpgup=	KF|0x0F,
	Kprint=	KF|0x10,
	Kleft=	KF|0x11,
	Kright=	KF|0x12,
	Kdown=	Spec|0x00,
	Kview=	Spec|0x00,
	Kpgdown=	KF|0x13,
	Kins=	KF|0x14,
	Kend=	KF|0x18,

	Kalt=		KF|0x15,
	Kshift=	KF|0x16,
	Kctl=		KF|0x17,
};

Does anyone have a hint as to what value Kdel needs to be?

Also, I am assuming that the drawterm sources in the distribution are
up to date (with respect to various changes over the last year or so,
I remember changes introducing ssl).  If this wrong, please let me
know.

Thanks,
Robby



^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2005-01-07 14:28 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
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     ` [9fans] 'Kdel' : undeclared identifier in screen-win.c of drawterm Robert Raschke

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).