home *** CD-ROM | disk | FTP | other *** search
- Path: sparky!uunet!zaphod.mps.ohio-state.edu!cs.utexas.edu!usc!hacgate!SDFSERV!johnl
- From: johnl@SDFSERV.hac.com (John Lee)
- Newsgroups: comp.unix.amiga
- Subject: Re: Opening xterm under twm
- Message-ID: <24483@hacgate.SCG.HAC.COM>
- Date: 17 Dec 92 00:14:32 GMT
- References: <378@uiunix.ui.org>
- Sender: news@hacgate.SCG.HAC.COM
- Organization: Hughes Aircraft Company, El Segundo, CA
- Lines: 48
-
- In article <378@uiunix.ui.org> md@ui.org (Mark Doran) writes:
- >
- >Does anyone out there recognise this symptom and know a cure??
- [...tvtwm menu configuration deleted...]
- >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
- [...]
-
- I have the same problem, and I suspect I know what's causing it. If
- you switch back to your login console screen using the Alt-Esc screen
- menu, you should be seeing the xterm startup error there too.
-
- I haven't the time to fix it yet, but here's how I get around it in the
- mean time:
-
- 1) Startup X with xinit, which launches tvtwm normally from
- my .xinitrc.
- 2) Exit tvtwm (I added an "Exit" entry on the tvtwm menu.)
- 3) At this point, X should still be running without a window
- manager, but with the login xterm window showing.
- 4) Restart tvtwm from the login xterm with "tvtwm &".
-
- At this point, you should be able to launch xterm as you would expect.
- You could probably comment out the launching of tvtwm from .xinitrc and
- just start it manually from the login xterm.
-
- The problem, I suspect, is the faulty emulated BSD library supplied
- by AT&T, aka. USL. xterm was rather heavy on BSDisms. Fixing the BSD
- library and recompiling xterm might fix the problem. Meanwhile, I use
- the above procedure, which seems to work. Occasionally, even the login
- xterm won't startup and I have to kill the server and restart.
-
- If anyone has a real solution to the problem, please post!
-
- -------------------------------------------------------------------------------
- The crew faces deadly GURUs! Next time on AmigaDOS: The Next Generation.
- +--------+ John Lee
- | HUGHES |
- +--------+ Internet: jhlee@hac2arpa.hac.com
- The above opinions are those of the user and not of those of this machine.
-