comp.lang.ada
 help / color / mirror / Atom feed
From: amlombardi@vms4.sci.csupomona.edu
Subject: Unbuffered Keyboard -- revisited
Date: 10 Feb 95 22:01:35 PDT
Date: 1995-02-10T22:01:35-07:00	[thread overview]
Message-ID: <1995Feb10.220135.1@clstcs> (raw)

Well, I was perusing through the SMG package for the VAX ADA 83 thanx to
someone on this newsgroup who directed me to it..  I found a command for
getting a key from the keyboard ... 
			GET_KEYPRESS(STATUS : COND_VALUE_TYPE;
				     KEYBOARD_ID : UNSIGNED_LONGWORD;
				     KEY : UNSIGNED_WORD);

and before I believe you have to assign a virtual keyboard
			CREATE_VIRTUAL_KEYBOARD(STATUS : COND_VALUE_TYPE;
					     KEYBOARD_ID : UNSIGNED_LONGWORD)
i don't quite remember if these were the exact way they are called but you 
get the idea...  problem is... when I create the keyboard it waits for a key
before it continues the rest of the program (which sucks) and I can't quite
figure out how to get PUT statements to work still.. question is how do I get
rid of that keypress it needs and how do I use SMG to write to the screen
instead of text_io ... thanx alot in advance, any help is appreciated ..
		E-mail me at :AMLOMBARDI@CSUPOMONA.EDU



                 reply	other threads:[~1995-02-11  5:01 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed
replies disabled

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox