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