StdIn

There are no streams in the traditional sense. The cmd line output gets sent to the cursor location of a document being edited and by using cursor keys, text can be injected all over the document. Sprites can be injected and are not serialized! Furthermore, the input can come from triggering macro widgets. See Doc Overview and Doc Routines. If you had a remote term and sent key Scan Codes, the user would press <CTRL-m> to access his Personal Menu to trigger his macros. However, the local ~/PersonalMenu.DD might differ from the remote, causing loss of sync between local and remote sessions. Also, the window size of local and remote might differ, so word-wrapped text would be different. Injecting output text with different windows sizes would cause remote and local documents to not be in sync. See Char Overview and Char Routines. You can send characters into StdIn. See In(), XTalk() and InFile. AreYouSure Funct Print "Are you sure" and waits for Y or N. CKbdStateGlbls Class class CKbdStateGlbls GetChar Funct Waits for non-zero ASCII key. GetDate Funct Prompt user for date expression. (Use Now() if you want current time.) GetF64 Funct Prompt user for F64 expression. GetI64 Funct Prompt user for I64 expression. GetKey Funct Waits for MSG_KEY_DOWN message and returns ASCII. GetS Funct Prompt into fixed length string. Size must include terminator. GetStr Funct Returns a MAlloc()ed prompted string. See Flags. KbdMsEvtTime Funct Timestamp of last key or mouse event. KbdTypeMatic Funct Set speed of repeated keys. PressAKey Funct Print "Press a key" and wait for non-zero ASCII key. ScanChar Funct Checks for MSG_KEY_DOWN and returns 0 immediately if no key. ScanKey Funct Checks for MSG_KEY_DOWN and returns FALSE immediately if no key. YorN Funct Wait for user to answer Y or N. kbd GlbVar CKbdStateGlbls kbd;

StdIn/DolDoc

DocForm Funct User input. Supply a class name that has format definitions. DocMenu Funct Run menu chooser doc. Returns menu doc unlocked. DocScanLine Funct Start at entry in doc,make and return one line as str. FileNameForm Funct Text filename form in cur win, not PopUp. PopUp1 Funct Make PopUp win task with one bttn. PopUp2 Funct Make PopUp win task with two bttns. PopUpCancelOk Funct Make PopUp win task CANCEL/OKAY bttns. PopUpFileName Funct Filename chooser. Uses form, not FileMgr(). PopUpForm Funct See ::/Demo/DolDoc/Form.HC and ::/Demo/LastClass.HC. PopUpGetF64 Funct Prompt for F64 text expression in PopUp win task. PopUpGetI64 Funct Prompt for I64 text expression in PopUp win task. PopUpGetStr Funct Prompt for text str in PopUp win task. PopUpMenu Funct Run menu chooser doc in PopUp win task. PopUpNoYes Funct Make PopUp win task with NO/YES bttns. PopUpOk Funct Make PopUp win task with OKAY bttn. PopUpPickDefineSub Funct Prompt for Define lst entry in PopUp win task. PopUpPickDir Funct File dir name chooser. Uses FileMgr(). PopUpPickFile Funct Filename chooser. Uses FileMgr(). PopUpPickLst Funct Prompt for lst entry in PopUp win task. PopUpRangeF64 Funct Evenly-spaced F64 range chooser in PopUp win task. PopUpRangeF64Exp Funct Exp-spaced F64 range chooser in PopUp win task. PopUpRangeF64Log Funct Log-spaced F64 range chooser in PopUp win task. PopUpRangeI64 Funct Evenly-spaced I64 range chooser in PopUp win task.

StdIn/InFile

In Funct Send text to own input buffer. See ::/Demo/AcctExample/TOS/TOSDistro.HC. InFile Funct Send InFile code file to self. InStr Funct Send InFile code to self. XTalk Funct Sends text to other task. See ::/Misc/OSTestSuite.HC. XTalkStr Funct Send InFile code to other task. XTalkStrWait Funct Send InFile code to other task and wait for it to idle. XTalkWait Funct Send text to other task and wait for it to idle.