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