home *** CD-ROM | disk | FTP | other *** search
- Path: sparky!uunet!gossip.pyramid.com!pyramid!unify!openlook!openlook-request
- From: sinan@Mtesol.boeing.com (Sinan Karasu)
- Newsgroups: comp.windows.open-look
- Subject: XView port on concurrent
- Message-ID: <i0mebhn@openlook.Unify.Com>
- Date: 11 Sep 92 19:58:04 GMT
- Sender: news@Unify.Com
- Distribution: world
- Lines: 65
-
-
- Hi,
- I've ported XView3 to a concurrent 7000 ( i'ts been a couple
- of months now) and have a couple of nuisances. Before I dig into
- the problem , I want to see if anybody have run into this on
- XView ports before..
- In the following the application is generated by devGuide
-
- 1) We have a text field that looks like the following
-
- Part No: _________________________
- Serial : _________________________
-
- Now when it comes up cursor is supposed to be on the
- Part No field and on a Sun it is. However on the
- concurrent we have to click on the Part No field for
- it to work. BTW the XView application is running under
- Motif. (Is this an Input Focus problem?)
- Where should I look?
- 2) When the application starts up we get the following message
-
- XView warning: Problems setting default modifier mapping(Server package)
- XView warning: Problems setting default modifier mapping(Server package)
-
- Any ideas ????
-
- 3) (This is a Motif question really)
- when the Application (outline) window comes up I have
- to position it with the cursor and click. I just want it to pop up
- to the coordinates specified by the application. How do I specify tha ?
-
- 4) When we generate a Term Pane with devGuide then that term pane gets all the
- stdout stuff. I guess this is done by setsid in tty_init routine
- well, concurrent does not have a setsid function.
- cflatter@nrao.edu (Chris Flatters) suggested that I should look at
- setpgrp() routine . So we created a function
-
- int setsid()
- { return setprgp(0,0);}
-
- The reason for 0,0 is that bsd specifies :
- .......................................
- SYNOPSIS
- int getpgrp(pid)
- int pid;
-
- int setpgrp(pid, pgrp)
- int pgrp;
- int pid;
-
- ......
- setpgrp() sets the process group of the specified process,
- (pid) to the process group specified by pgrp. If pid is
- zero, then the call applies to the current (calling) pro-
- cess. If pgrp is zero and pid refers to the calling pro-
- cess, setpgrp() behaves identically to setsid(2V).
- ......
-
- So anyway we did that and unfortunately on the concurrent it did not
- work... stdout stuff still goes to the xterm that launched the
- application... What am I doing wrong ???
-
- Please respond if you have the slightest idea as to what is happening....
-
- Sinan
-