home *** CD-ROM | disk | FTP | other *** search
- Path: sparky!uunet!uiunix!ui.org
- From: md@ui.org (Mark Doran)
- Newsgroups: comp.unix.amiga
- Subject: Opening xterm under twm
- Message-ID: <378@uiunix.ui.org>
- Date: 16 Dec 92 15:24:12 GMT
- Sender: md@uiunix.ui.org
- Organization: UNIX International, Parsippany, NJ 07054
- Lines: 52
-
-
- Does anyone out there recognise this symptom and know a cure??
-
- I have a .twmrc file with the following lines in the MENU section of the
- file:
-
- Menu "WindowOps" {
- "WindowOps" f.title
- "top" f.raise
- "bottom" f.lower
- "focus" f.focus
- "iconify" f.iconify
- "move" f.move
- "resize" f.resize
- "delete" f.destroy
- "new OL" !"olterm &"
- "new XT" !"xterm &"
- "xemacs" !"/usr/public/bin/xemacs &"
- "reset twm" f.restart
- }
-
- This is bound to button three. I can successfully launch olterm and emacs
- with no problem. However, xterm will not, no way, no how, start.
-
- Frustrated, 'cos this ought to be simple I changed the xterm entry to:
-
- "new XT" !"echo '/home/md/bin/mxterm' | /usr/bin/ksh > /tmp/zzz 2>&1 &"
-
- to try and figure out what's going wrong. The output from this is:
-
- xterm: Error 14, errno 22: Invalid argument
-
- Which I think means can't open /dev/tty 'cos open() fails with EINVAL.
- Now according to the man page for open, it doesn't set errno to EINVAL
- at all...
-
- At this point I gave up figuring that someone cleverer than me has probably
- already worked out what to do here.
-
- Although I suppose I could use olterm, I would rather use xterm if I can
- make it work. So if you know how to fix this problem, please let me know.
-
- Thanks in advance!
-
- Cheers,
-
- Mark.
- --
- Mark Doran ATT: +1 201 263 8400 x 265
- Project Manager UUCP: m.doran@ui.org
- UNIX International FAX: +1 201 263 8401
-
-