home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #30 / NN_1992_30.iso / spool / comp / unix / amiga / 2571 < prev    next >
Encoding:
Internet Message Format  |  1992-12-16  |  2.4 KB

  1. Path: sparky!uunet!zaphod.mps.ohio-state.edu!cs.utexas.edu!usc!hacgate!SDFSERV!johnl
  2. From: johnl@SDFSERV.hac.com (John Lee)
  3. Newsgroups: comp.unix.amiga
  4. Subject: Re: Opening xterm under twm
  5. Message-ID: <24483@hacgate.SCG.HAC.COM>
  6. Date: 17 Dec 92 00:14:32 GMT
  7. References: <378@uiunix.ui.org>
  8. Sender: news@hacgate.SCG.HAC.COM
  9. Organization: Hughes Aircraft Company, El Segundo, CA
  10. Lines: 48
  11.  
  12. In article <378@uiunix.ui.org> md@ui.org (Mark Doran) writes:
  13. >
  14. >Does anyone out there recognise this symptom and know a cure??
  15. [...tvtwm menu configuration deleted...]
  16. >This is bound to button three.  I can successfully launch olterm and emacs
  17. >with no problem.  However, xterm will not, no way, no how, start.
  18. >
  19. >Frustrated, 'cos this ought to be simple I changed the xterm entry to:
  20. >
  21. > "new XT"        !"echo '/home/md/bin/mxterm' | /usr/bin/ksh > /tmp/zzz 2>&1 &"
  22. >
  23. >to try and figure out what's going wrong.  The output from this is:
  24. >
  25. >xterm: Error 14, errno 22: Invalid argument
  26. [...]
  27.  
  28. I have the same problem, and I suspect I know what's causing it.  If
  29. you switch back to your login console screen using the Alt-Esc screen
  30. menu, you should be seeing the xterm startup error there too.
  31.  
  32. I haven't the time to fix it yet, but here's how I get around it in the
  33. mean time:
  34.  
  35.     1)  Startup X with xinit, which launches tvtwm normally from
  36.         my .xinitrc.
  37.     2)  Exit tvtwm (I added an "Exit" entry on the tvtwm menu.)
  38.     3)  At this point, X should still be running without a window
  39.         manager, but with the login xterm window showing.
  40.     4)  Restart tvtwm from the login xterm with "tvtwm &".
  41.  
  42. At this point, you should be able to launch xterm as you would expect.
  43. You could probably comment out the launching of tvtwm from .xinitrc and
  44. just start it manually from the login xterm.
  45.  
  46. The problem, I suspect, is the faulty emulated BSD library supplied
  47. by AT&T, aka. USL.  xterm was rather heavy on BSDisms.  Fixing the BSD
  48. library and recompiling xterm might fix the problem.  Meanwhile, I use
  49. the above procedure, which seems to work.  Occasionally, even the login
  50. xterm won't startup and I have to kill the server and restart.
  51.  
  52. If anyone has a real solution to the problem, please post!
  53.  
  54. -------------------------------------------------------------------------------
  55. The crew faces deadly GURUs!  Next time on AmigaDOS: The Next Generation.
  56.     +--------+            John Lee
  57.     | HUGHES |
  58.     +--------+            Internet: jhlee@hac2arpa.hac.com    
  59. The above opinions are those of the user and not of those of this machine.
  60.