home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #18 / NN_1992_18.iso / spool / comp / lang / tcl / 1239 < prev    next >
Encoding:
Internet Message Format  |  1992-08-20  |  1.2 KB

  1. Path: sparky!uunet!paladin.american.edu!darwin.sura.net!cs.ucf.edu!tarpit!fang!att!ulysses!vek
  2. From: vek@allegra.att.com (Van Kelly)
  3. Newsgroups: comp.lang.tcl
  4. Subject: Request: Anybody have a tk-based "Tcl Listener" implemented?
  5. Message-ID: <VEK.92Aug20161320@rover.allegra.att.com>
  6. Date: 20 Aug 92 20:13:20 GMT
  7. Sender: netnews@ulysses.att.com
  8. Distribution: comp
  9. Organization: AT&T Bell Laboratories, Murray Hill, NJ, USA
  10. Lines: 24
  11.  
  12.  
  13. I am using TclX and Tk2.2.
  14.  
  15. Right in the middle of a wish-based application, I'd like the ability
  16. to create a window for a Tcl read-eval-print loop, similar to the what
  17. the TclX commandloop provides for non-window applications.  For the
  18. fumble-fingered like myself, some line-editing of commands prior to
  19. submitting them would be nice, too.
  20.  
  21. Before I spend a day (??) whacking one of these together, can anyone
  22. give pointers to extant similar implementations (maybe with the new
  23. 2.2 text widget).  I'd slightly prefer an all-Tcl approach instead of
  24. a Tcl/C combination.
  25.  
  26. I realize I can simply hack wish's main() to ALWAYS provide an stdin
  27. file handler regardless of whether a startup filename is given or not.
  28. But this gives less functionality than I want (e.g., line editing).
  29.  
  30. Thanks,
  31.  
  32. Van Kelly
  33.  
  34. AT&T Bell Laboratories
  35. vek@allegra.att.com
  36.