hschumann2/TempleOS-Source-Code
0838
1 2There are no streams in the traditional sense. The cmd line output gets sent to3the cursor location of a document being edited and by using cursor keys, text4can be injected all over the document. Sprites can be injected and are not5serialized! Furthermore, the input can come from triggering macro widgets. See6Doc Overview and Doc Routines.7 8If you had a remote term and sent key Scan Codes, the user would press <CTRL-m>9to access his Personal Menu to trigger his macros. However, the local10~/PersonalMenu.DD might differ from the remote, causing loss of sync between11local and remote sessions. Also, the window size of local and remote might12differ, so word-wrapped text would be different. Injecting output text with13different windows sizes would cause remote and local documents to not be in14sync.15 16See Char Overview and Char Routines.17 18You can send characters into StdIn. See In(), XTalk() and InFile.19 