home *** CD-ROM | disk | FTP | other *** search
- Path: sparky!uunet!caen!sol.ctr.columbia.edu!ursa!buzz
- From: buzz@bear.com (Buzz Moschetti)
- Newsgroups: comp.windows.open-look
- Subject: Re: Devguide's term pane
- Message-ID: <BUZZ.92Nov13095823@lion.bear.com>
- Date: 13 Nov 92 14:58:23 GMT
- References: <1992Nov12.160251.1527@eng.umd.edu>
- Sender: news@bear.com
- Reply-To: buzz@bear.com (Buzz Moschetti)
- Organization: Bear, Stearns & Co. - FAST
- Lines: 20
- In-reply-to: kelso@eng.umd.edu's message of 12 Nov 92 16:02:51 GMT
-
- In article <1992Nov12.160251.1527@eng.umd.edu> kelso@eng.umd.edu (John Kelso) writes:
- [...deleted...]
- I'm writing a program using Devguide 3.0. I'd like to have the program
- open a window and allow the user to enter some Unix commands, and have
- the program capture the window's contents.
- [...deleted...]
-
- It depends on how much power/privilege you want to give the user. If you
- want something like an xterm, then TTYTERM is the way to go, and yes, the
- O'Reilly doc is somewhat marginal in its coverage of the object attributes.
-
- If you don't want the users doing things like
- rm -fr * .*
- or
- telnet machine.interplanetary.mars
-
- then I suggest you create an input (text field|scrolling list) that you can
- parse/check/validate and a regular output TEXTSW to capture the output of
- the program specified in the input area. I have a nice package to do this
- called xrun(); let me know if you want it.
-