[Contents] [Index] [Help] [Retrace] [Browse <] [Browse >]

Command              Operation
-------              ---------
cd_askdefaultkeymap  get the current default keymap.

cd_askkeymap         get the current key map structure for this console.

cd_setdefaultkeymap  set the current default keymap.

cd_setkeymap         set the current key map structure for this console.

cmd_clear            remove any reports waiting to satisfy read requests
                     from the console input buffer.

cmd_read             read the next input, generally from the keyboard.
                     The form of this input is as an ANSI byte stream.

cmd_write            write a text record to the display interpreting
                     any ANSI control characters in the record.


Console Device Function
-----------------------
cdinputhandler()     handle an input event for the console device.

rawkeyconvert()      decode raw input classes and convert input events of
                     type IECLASS_RAWKEY to ANSI bytes based on the keymap
                     in use.


Exec Functions as Used in This Chapter
--------------------------------------
abortio()            abort an i/o request to the console device.

checkio()            return the status of an i/o request.

closedevice()        relinquish use of the console device.  all requests
                     must be complete before closing.

doio()               initiate a command and wait for completion
                     (synchronous request).

getmsg()             get the next message from the reply port.

opendevice()         obtain use of the console device.  you specify the
                     type of unit and its characteristics in the call to
                     OpenDevice().

openlibrary()        gain access to a library.

openwindow()         open an intuition window.

sendio()             initiate a command and return immediately
                     (asynchronous request).

wait()               wait for one or more signals.

waitio()             wait for completion of an i/o request and remove it
                     from the reply port.

waitport()           wait for the reply port to be non-empty. does not
                     remove the message from port.


Exec Support Functions as Used in This Chapter
----------------------------------------------
createextio()        create an extended i/o request structure for use in
                     communicating with the console device.

createport()         create a message port for reply messages from the
                     console device.  Exec will signal a task when a
                     message arrives at the port.

deleteextio()        delete the extended i/o request structure created by
                     createextio().

deleteport()         delete the message port created by createport().