home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #19 / NN_1992_19.iso / spool / comp / sys / amiga / applicat / 6712 < prev    next >
Encoding:
Internet Message Format  |  1992-08-23  |  2.1 KB

  1. Path: sparky!uunet!usc!sol.ctr.columbia.edu!destroyer!ubc-cs!bcsystems!ewilts
  2. From: ewilts@galaxy.gov.bc.ca (Ed Wilts)
  3. Newsgroups: comp.sys.amiga.applications
  4. Subject: Re: WShell menu's
  5. Message-ID: <1992Aug23.163425.896@galaxy.gov.bc.ca>
  6. Date: 23 Aug 92 16:34:25 -0700
  7. References: <2208@fnnews.fnal.gov> <121B@p12.f7.n242.z2.fidonet.org>
  8. Reply-To: EWILTS@GALAXY.GOV.BC.CA
  9. Organization: BC Systems Corporation
  10. Lines: 44
  11.  
  12. In article <121B@p12.f7.n242.z2.fidonet.org>, Martin_Steppler@mowgli.fido.de (Martin Steppler) writes:
  13. > gd> I've had WShell for a while now and I've tried several times to attach a
  14. > gd> menu to a shell with no luck. Hope someone can tell me what I'm doing 
  15. > wrong.gd>
  16. > gd> My menu file is very simple:
  17. > gd>
  18. > gd> 1 LABEL "Project"
  19. > gd>  2 LABEL "New Shell" DATA "newshell*N"
  20. > gd>  2 LABEL "Quit" DATA "*E[11]"
  21. > gd>
  22. > gd> file is called "MyMenu"
  23. > gd>
  24. > gd> Then my shell startup is:
  25. > gd> DHOpts PIP: CNC:0/11/666/418/New/CLOSE MENU S:MyMenu
  26. > gd>
  27. > gd> Is this all I need ??? If it is, it doesn't work. Can any one tell me
  28. > gd> what I'm doing wrong ???
  29. > You must supply the MENU option in order to attach a menu to a shell.
  30. > newwsh CNC:MENU#S:MyMenu
  31.  
  32. I've seen several followups and all say that you have to supply the MENU option 
  33. on the newwsh command.  Interestingly enough, I don't specify this and my menus
  34. attach.  Here's the relevant lines out of my user-startup:
  35. DHOpts PIP: 
  36. DHOpts CNN://670/350/AmigaShell/Close/HLINES#50/FONT#Topaz.font/FONTSIZE#11/MENU#CNN-Menus
  37. DHOpts MENU S:CNN-Menus
  38. ; Start the filename-completer
  39. FComp >nil:
  40. ; Install WShell as the User Shell
  41. resident Shell L:WshellSeg system pure
  42. ; Make WShell available as the custom shell "WShell"
  43. resident WShell L:WshellSeg system pure
  44. Qmouse mblank=10 cmd="NewShell CNN: from S:WShell-Startup"
  45.  
  46. When I use Qmouse to pop up a new shell, the menus are there!  Note that I do
  47. not have to explicity give the menu specification again.  Qmouse is currently
  48. v2.02.  WShell is v2.0.
  49.  
  50. -- 
  51.  
  52. Ed Wilts, BC Systems Corp., 4000 Seymour Place, Victoria, B.C., Canada, V8X 4S8
  53. EWilts@Galaxy.Gov.BC.CA   |   Ed.Wilts@BCSystems.Gov.BC.CA   |   (604) 389-3430
  54.