home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #27 / NN_1992_27.iso / spool / comp / sys / sun / misc / 5343 < prev    next >
Encoding:
Text File  |  1992-11-19  |  1.1 KB  |  30 lines

  1. Newsgroups: comp.sys.sun.misc
  2. Path: sparky!uunet!ftpbox!mothost!white!sapphire.rtsg.mot.com!coal1!hocking
  3. From: hocking@rtsg.mot.com (Richard Hocking)
  4. Subject: Sending data to a window (TTY) as though from keyboard
  5. Message-ID: <hocking.722185273@coal1>
  6. Sender: news@rtsg.mot.com
  7. Nntp-Posting-Host: coal1
  8. Reply-To: uunet!motcid!hocking
  9. Organization: Motorola Inc., Cellular Infrastructure Group
  10. Distribution: usa
  11. Date: Thu, 19 Nov 1992 15:01:13 GMT
  12. Lines: 16
  13.  
  14. Is there an easy way to send data to a TTY window created with
  15. "window_create(frame, TTY, ...)" as though the data came from
  16. the keyboard ?
  17.  
  18. When the TTY is created it starts a shell.  I need help finding a
  19. means of sending data, say "ls" to the window such that the shell then
  20. executes the "ls" as though it was typed in.
  21.  
  22. Help anyone ?
  23.  
  24.  
  25. -- 
  26. =-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-= \+/ =-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
  27. "Why be awkward ?"                       |  Richard Hocking  708 632-7092
  28. "With a little more effort you could     |    ...!uunet!motcid!hocking
  29. be  !#%@#&!  impossible !!!"             |  ** Standard disclaimers apply **
  30.