Retro video games delivered to your door every month!
Click above to get retro games delivered to your door ever month!
X-Hacker.org- Telepathy Communications Library - <b>tp_tsend()</b> - terminal emulator send http://www.X-Hacker.org [<<Previous Entry] [^^Up^^] [Next Entry>>] [Menu] [About The Guide]
   tp_tsend() - terminal emulator send

   nError := tp_tsend(cString)

   cString     Character string.

   Returns     Error code.

   This function can only be called from within an emulator exception
   handler, or a notification handler when an emulator is running.  It
   sends the string cString as if it had been typed at the keyboard.
   tp_tsend() differs from tp_send() in several ways:

       It does not take an nPort parameter, but uses the current
       emulator's serial port.

       It does not take an nTimeout parameter.  The timeout value is
       always 0.

       If TF_ECHO is enabled by tp_tflags(), the text is displayed in
       the emulator window as it is sent.

   Example:

       // Move the cursor up 1 line
       tp_tsend(chr(27) + "[A")

See Also: tp_tflags() tp_tsay() Terminal Emulators

Online resources provided by: http://www.X-Hacker.org --- NG 2 HTML conversion by Dave Pearson