home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #16 / NN_1992_16.iso / spool / comp / sys / sun / admin / 5095 < prev    next >
Encoding:
Internet Message Format  |  1992-07-30  |  3.5 KB

  1. Path: sparky!uunet!olivea!decwrl!sdd.hp.com!zaphod.mps.ohio-state.edu!moe.ksu.ksu.edu!ux1.cso.uiuc.edu!news.cso.uiuc.edu!jacobson
  2. From: jacobson@fred.isgs.uiuc.edu (Russ Jacobson)
  3. Newsgroups: comp.sys.sun.admin
  4. Subject: Got openwindows/macx to work!!!
  5. Message-ID: <jacobson-300792102218@jacobson.isgs.uiuc.edu>
  6. Date: 30 Jul 92 15:24:44 GMT
  7. Sender: usenet@news.cso.uiuc.edu (Net Noise owner)
  8. Followup-To: comp.sys.sun.admin
  9. Organization: Illinois State Geological Survey
  10. Lines: 68
  11.  
  12.  
  13. Just to let you know I got the following which got MacX and Openwindows
  14. working for me. And now am able to also do ARC programs with pulldown menus
  15. just fine. Others on the net may find it of interest.  First I run an Xterm
  16. session from MacX
  17.  
  18.  
  19. Script to run an xterm sessin from which I do the following
  20.  
  21.  /sgs/openwin/bin/xterm  -ls -title "(host xterm" -sb -display  "(display"
  22. -geometry 580x350+0+17
  23.  
  24.  Once I execute the first 3 lines I get an openwindows session in my rooted
  25. Xterm window. I don't seem to get the Openwindow menus though with mouse
  26. control and the settings that MacX allows for the other two buttons. But
  27. for what I wanted to do that does not appear to be a problem. The xterm
  28. window becomes a window on the Openwindows desktop by the way from where I
  29. type my next commands. One crucial thing. When I typed Arc6 to run Arc 6.0
  30. I found that the pathname to my arc libraries was now not running probably
  31. because of the setenv command for the Openwindows libarry. I thought well
  32. perhaps I needed another csh to to that (sorta off the top of my head don't
  33. ask me why that came to me <grin>) I typed csh and the command window
  34. (which had been the xterm window that became a window on the rooted
  35. openwindows screen now was a csh and arc6 ran fine, no lockup like we
  36. experienced. I then typed my program in arc to (an aml) to run my
  37. editsession in arcedit and it ran (som message about limited colors) and
  38. then put openwindow pulldown menus, and I am editing just fine so far with
  39. no problems in arcedit!!!!. The only thing Is that I don't know yet what
  40. will happen when I exit all this and try to quit openwindows since I don't
  41. appear to get the openwindows pulldown menus. Will have to work on that I
  42. guess. Probably need to execut a command to do it perhaps?
  43.  
  44. =============begin post from Lauri Valsta===================
  45.  
  46. Date: Tue, 28 Jul 92 08:42:24+030
  47. From: valsta@salava.metla.fi (Lauri Valsta)
  48. To: jacobson@fred.isgs.uiuc.edu
  49. Subject: RE: MacX Window Types?
  50. Cc: valsta@kuusi.metla.fi
  51.  
  52. Hi,
  53.  
  54. Here's a listing of my script with which I start olwm and two applications.
  55. Before executing this script, I have made a connection from mac to sun
  56. by invoking an xterm window in MacX.
  57.  
  58. setenv OPENWINHOME /usr/openwin
  59. setenv LD_LIBRARY_PATH $OPENWINHOME/lib
  60. $OPENWINHOME/bin/olwm -single &
  61. toolwait mailtool -Wp 0 0 -Ws 585 206 -WP 26 698  -Wi
  62. toolwait printtool -Wp 30 30 -Ws 416 433 -WP 107 701  -Wi  -P " PrintServer
  63. 20 Postscript"
  64.  
  65. It is important to run olwm in the -single mode.
  66.  
  67. Hope this helps.
  68.  
  69. ===========end post by Lauri==========================
  70.  
  71. Hope this info is of help to others here
  72.  
  73.  =-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
  74.   Russ Jacobson                     INTERNET:jacobson@fred.isgs.uiuc.edu
  75.   Illinois Geological Survey        FIDONET: 1:233/11 and 1:233/14        
  76.   Champaign, IL 61820               Narnia BBS  217-384-3128 (Telefinder)  
  77.                    
  78.   217-244-2425                      Home Phone: 217-384-6983
  79.  =-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
  80.