🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.sys.atari.st
Article #27426

Re: Control-F1, Alt-F1 ??? - (nf)

#27426
From: ger
Date: Mon, 29 Jun 1987 10:35
19 lines
1316 bytes
	in article <19400005@qtecmuc.UUCP>, ger@qtecmuc.UUCP says:
	> does anyone know, if there is a way to distinguish between
	> Functionkey F1, ALT-F1 and CTRL-F1 using C (MWC).
	> All routines like Bconin or Crawcin don't make a difference at all.
	...
	state when the key was hit.  You tell the OS to put the shift
	key state in that byte by setting bit 3 in the (published)
	system variable "conterm" to 1 (that is, *(char *)0x484 |=
	4;).  Better clear it again before your program exits, though,
	because the desktop might not be able to handle it (use *(char
	*)0x484 &= ~4;).

Thank you, it (almost) works fine !!!
But it should be '|= 8' and '&= ~8' in your examples.
                     ^           ^

Gerhard Pehland
UUCP:  ...!seismo!unido!qtecmuc!ger
Technical Details
Message-ID: <19400007@qtecmuc.UUCP>
Path: arc1-ca.pugleaf.net!utzoo!mnetor!seismo!mcvax!unido!qtecmuc!ger
References: <19400005@qtecmuc.UUCP>

Show Full Headers
Complete Article Headers
Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP
Path: arc1-ca.pugleaf.net!utzoo!mnetor!seismo!mcvax!unido!qtecmuc!ger
From: ger@qtecmuc.UUCP
Newsgroups: comp.sys.atari.st
Subject: Re: Control-F1, Alt-F1 ??? - (nf)
Message-ID: <19400007@qtecmuc.UUCP>
Date: Mon, 29-Jun-87 06:35:00 EDT
Article-I.D.: qtecmuc.19400007
Posted: Mon Jun 29 06:35:00 1987
Date-Received: Fri, 3-Jul-87 05:13:46 EDT
References: <19400005@qtecmuc.UUCP>
Lines: 19
Nf-ID: #R:qtecmuc:19400005:qtecmuc:19400007:000:761
Nf-From: qtecmuc!ger    Jun 29 11:35:00 1987