Path: utzoo!utgpu!news-server.csri.toronto.edu!rpi!think.com!snorkelwacker.mit.edu!ira.uka.de!smurf!flatlin!cutie!pmh From: pmh@cutie.ka.sub.org (Patrick M. Hausen) Subject: Re: requirements to use VDI Newsgroups: comp.sys.atari.st.tech Message-ID: <4656643@cutie.ka.sub.org> References: <1991Jun19.112606.20682@convex.com> <1991Jun19.161901.1808@informatik.uni-erlangen.de> <1991Jun20.124043.8248@imada.ou.dk> <3149@cod.NOSC.MIL> Date: 25 Jun 91 19:22:04 GMT Distribution: world Organization: private Atari-ST site X-Version: Rodney's UUCP modules 02/11/90 V1.18 Lines: 25 In article <3149@cod.NOSC.MIL> healy@cod.NOSC.MIL (Mike Healy) writes: > I can give you one good reason I determined empirically. A while back I > posted a plea for help because a program would run fine from the Laser C > shell, but evnt_multi calls would not respond to the mouse, even though > they caught keyboard activity. It turned out that the program would also > run fine under gulam. But not the desktop. This program was a .ttp that > called appl_init and used vdi calls. I renamed it to .prg and voila!, > it now runs ok from the desktop. The mouse is now caught by evnt_multi. > > Since my program is a port from unix and wants a parameter string, I > think I'll just create a .ttp front end to pick up the parameters and > shel_write them, then Pexec the .prg . Is there a better way? If you run it from a shell just leave it named .prg. A program doesnt have to be named .ttp to take parameters. You can pass them anyway. This is only difficult if you try to do it from the desktop. Cheers, PMH -- ||| Patrick M. Hausen | phone : +49 721 699234 (voice and carrier) ||| Gerwigstr. 11 | e-mail: pmh@cutie.ka.sub.org (UUCP) / | \ D-7500 Karlsruhe 1, Germany | uk9u@dkauni2 (BITNET) "Well they say your folks are telling you to be a super star, but I tell you just be satisfied to stay right where you are. Keep yourself alive." (QUEEN)