home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #26 / NN_1992_26.iso / spool / comp / windows / openloo / 4499 < prev    next >
Encoding:
Internet Message Format  |  1992-11-14  |  1.3 KB

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