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