Path: utzoo!utgpu!news-server.csri.toronto.edu!cs.utexas.edu!uunet!mcsun!hp4nl!tuegate.tue.nl!al.ele.tue.nl!svin02!eba!wjw From: wjw@eba.eb.ele.tue.nl (Willem Jan Withagen) Newsgroups: comp.sys.apollo Subject: Re: DM from a shell Keywords: Dm, xdmc, wc Message-ID: <600@eba.eb.ele.tue.nl> Date: 5 Sep 90 13:44:16 GMT References: <25406.26e391cb@kuhub.cc.ukans.edu> Sender: news@eba.eb.ele.tue.nl (The News system) Organization: Eindhoven University of Technology, The Netherlands Lines: 37 In article <25406.26e391cb@kuhub.cc.ukans.edu> michal@kuhub.cc.ukans.edu (Merlin The Magician) writes: > > I need to run a program in a pad that creats a yet another pad >(grpahics). So I decided to do this. > xdmc '(600,500)dr; (1020,768) cp program -n name parameters' >This works well, but there is a few small obstacles I cannot seem to >get around. > 1. WHen program quits, pad gets closed but window remains. I need to > remove it using the exit key (or wc -q). > Any way to have the window blow from the display when program > finishes running ? (I tried wc -a, to no avail). I away use the following, which works on OS9.7 and OS10.2: xdmc '(600,500)dr; (1020,768) cp program -n name parameters;wc -a' This way the display manager knows that the wc -a goes with the last window. The other question also bugs me: One can set a range of window size to create. But on a regular basis does the DM decide that it'll make a different size. prefably of the size which was last recently used. I do not want this, how do we get ride of this ? Now as to some questions of the same type: Upon login a script is forked which puts up extra shells (in icons). This give faster login on DN3000, and after a while you still have all the windows you would like. Now the problem is that your cursor bounces around and certainly does not end up in the window where you were. So all keys go into the black hole and the DM gets upset and beeps at you. Is there a way to have the cursor end up in the window where it was before creating the extra icons. Regards, Willem Jan Eindhoven University of Technology DomainName: wjw@eb.ele.tue.nl Digital Systems Group, Room EH 10.10 BITNET: ELEBWJ@HEITUE5.BITNET P.O. 513 Tel: +31-40-473401 5600 MB Eindhoven The Netherlands