ComCheckActivity

Prev Next Home Home Table Of Contents Index

ComCheckActivity

ComCheckActivity will check the serial ports and keyboard and route characters if anything needs to be routed. It is typically used in the main process loop of communication programs to make it run fast.

MarxMenu uses commands like ComEchoRecChar, ComEchoSendChar and ComLocalInput on host programs and ComWriteRecChar and ComSendKbdChar on terminal programs to route characters comming in from various places to other places. This creates a character piping arangement within MarxMenu communication programs. Calling ComCheckActivity allows MarxMenu to move any characters pending from input devices to their output devices.

If a character is received at the serial port then ComLastChar is set. If a character wasn't received then ComLastChar is empty.

If a character is typed at the keyboard then LastKey is set. If a character wasn't typed then LastKey is empty.

See Also: ComSendKbdChar ComWriteRecChar ComEchoRecChar
ComEchoSendChar ComLocalInput

Category: Modem

Prev Next Home Home Table Of Contents Index

Sponsors
Shopping
Forum
Forum
email
EMail
Index
Index
Home
Home