From mboxrd@z Thu Jan 1 00:00:00 1970 X-Spam-Checker-Version: SpamAssassin 3.4.4 (2020-01-24) on polar.synack.me X-Spam-Level: X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00,FREEMAIL_FROM autolearn=ham autolearn_force=no version=3.4.4 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 103376,b4ef614edc05202a X-Google-Attributes: gid103376,public X-Google-ArrivalTime: 2002-07-10 13:18:04 PST Path: archiver1.google.com!news1.google.com!newsfeed.stanford.edu!news-spur1.maxwell.syr.edu!news.maxwell.syr.edu!newsfeed.icl.net!newsfeed.fjserv.net!newsfeed.freenet.de!news.freenet.de!not-for-mail From: Jan Prazak Subject: Re: urgent glide question Date: Wed, 10 Jul 2002 22:19:03 -0100 Newsgroups: comp.lang.ada Message-ID: References: User-Agent: Pan/0.11.2 (Unix) Mime-Version: 1.0 Content-Type: text/plain; charset=iso885915 Content-Transfer-Encoding: 8bit X-Comment-To: "Simon Wright" NNTP-Posting-Host: 213.7.143.22 X-Trace: 1026332282 news.freenet.de 27018 213.7.143.22 X-Complaints-To: abuse@freenet.de Xref: archiver1.google.com comp.lang.ada:26999 Date: 2002-07-10T22:19:03-01:00 List-Id: On Wed, 10 Jul 2002 17:58:23 -0100, Simon Wright wrote: > I think you have to C-c C-c (ie, ctrl-c _twice_). That doesn't work, it just beeps. > Running the application (menu Ada->Run): [Help] (run_cmd) > [INS][DEL] cd ${build_dir} > [INS][DEL] ${main} > [INS] > > If you change the ${main} line to xterm -e ${main} > ... OK, it works, thanks! But I had to edit the .adp file, because when I changed the line under the Ada-Tab in emacs, and clicked on "save", nothing has actually been saved (I don't know why). So I added the following line to ledit.adp (that't the project name) run_cmd=cd ${build_dir} && konsole -e ${main} xterm would be ok, but I don't know how to change the colors there, and black on white doesn't look good. But there is still a little problem, after the program has finished, the terminal window closes immediately. I think I will have to add some line at the end of each program, which waits for a key-press. Or is there a utility in Linux which does the same? Of course I could also write my own one. Happy coding! Jan