Re: [tkined] my menu

Juergen Schoenwaelder (schoenw@ibr.cs.tu-bs.de)
Tue, 17 Mar 1998 18:19:33 +0100

>>>>> Damiano Peres writes:

Damiano> Hi, I have write an application to interface my C program
Damiano> with Scotty. My trouble is that when i save and reload the
Damiano> result of my program in Scotty, the menu that i have create
Damiano> do not appear. I need to restart my menω.

Yes. You first have to create a Tcl script which should be evaluated
when a map file is loaded. You usually create such a script on the
fly. This script needs to be written to tkined using the `ined
restart' command (see the ined(n) man page for a description). A
process which has saved a restart command using `ined restart' will be
restarted when a tkined map file is loaded. Take a look at the
ip_monitor.tcl script if you need an example. (I was never proud of
this hack and I agree that it is not very obvious to use.)

Juergen

-- 
Juergen Schoenwaelder  schoenw@ibr.cs.tu-bs.de http://www.cs.tu-bs.de/~schoenw
Technical University Braunschweig, Dept. Operating Systems & Computer Networks
Bueltenweg 74/75, 38106 Braunschweig, Germany.        (Tel. +49 531 / 391 3283)
--
!! This message is brought to you via the `tkined & scotty' mailing list.
!! Please do not reply to this message to unsubscribe. To subscribe or
!! unsubscribe, send a mail message to <tkined-request@ibr.cs.tu-bs.de>.
!! See http://wwwsnmp.cs.utwente.nl/~schoenw/scotty/ for more information.