From: SMTP%"RELAY-INFO-VAX@CRVAX.SRI.COM" 23-NOV-1993 09:22:27.18 To: EVERHART CC: Subj: Re: Decwindows/Motif Decterm menu bar? X-Newsgroups: comp.os.vms Subject: Re: Decwindows/Motif Decterm menu bar? Message-Id: <1993Nov22.031623.3135@vixvax.mgi.com> From: FRANCO@UDUNIV.CINECA.IT (FRANCESCO BRUNETTA) Date: 22 Nov 93 03:16:22 Distribution: world Organization: UNIVERSITY OF UDINE (ITALY) - COMPUTER CENTER Nntp-Posting-Host: uduniv.cineca.it X-News-Reader: VMS NEWS 1.24In-Reply-To: byron@stimpy.hsc.ucalgary.ca's message of Mon, 15 Nov 1993 16:47:01 GMTLines: 72 Lines: 72 To: Info-VAX@CRVAX.SRI.COM X-Gateway-Source-Info: USENET In <1993Nov15.104701.1@stimpy.hsc.ucalgary.ca> byron@stimpy.hsc.ucalgary.ca writes: > Is there a resource that can be set to turn off the menu bar in a Decterm > window? Something like "DECW$TERMINAL.main.terminal.menuBar: off" in the > resource file. While I'm on the subject, where can I get a complete list of > the resources that can be set in the resource file? In case it matters, I'm > using Decwindows/Motif. Thanks. > > :b > __ > Byron Draudson, Diagnostic Imaging, Foothills Hospital, Calgary,Alberta,Canada > DECnet: REN::BYRON Internet: Byron.Draudson@FhHosp.AB.CA Phone: 403-670-2442 The following was posted to INFO-VAX time ago. I've tested it with DECW/MOtif v.1.0, OpenVMS VAX 5.5-2, and it's OK: ------------------------------------------------------------------ Original from INFO-VAX (by gleeve@uunet.uu.net) ------------------------------------------------------------------ Original_From: raxco!galaxy.dnet!gleeve@UUNET.UU.NET Subject: Way to get rid of DECwindow menu bars Comments: To: info-vax@"crvax.sri.com@uunet.UU.NET" I've often wished to get rid of the DECwindow menu bars since they take so much space and I seldom use them. A friend (Lincoln Baxter) gave me this info yesterday: You can remove the menu bar from your screen by using a command similar to: $ if f$trnlnm( "DECW$DISPLAY" ) .nes. "" $ then $ create/terminal/nowait - /resource=sys$login:decw_nomenures.dat - /window=(title="Nonmenu Decwindow",icon_name="NomenuDecw") The magic resources file needed is (more or less) the following: ------------ decw_nomenures.dat ----------------- *decterm_mb*height: 1 *decterm_mb*resizeHeight: false *decterm_mb*resizeWidth: false DECW$TERMINAL.main.terminal.adjustFontSizes: off DECW$TERMINAL.main.terminal.saveLinesOffTop: 2048 DECW$TERMINAL.main.terminal.scrollVertical: off DECW$TERMINAL.main.terminal.cursorStyle: 1 DECW$TERMINAL.main.terminal.shareColormapEntries: on DECW$TERMINAL.main.terminal.autoResizeTerminal: off DECW$TERMINAL.main.terminal.condensedFont: off ----------- end of decw_nomenures.dat ----------------- The first 3 lines are the key to getting rid of the menu line by squashing it to 1 pixel. You can set other resources to get variations, select fonts, etc., but if you prefer to use the space the menu bar consumes for a couple more lines of text, this will do it. ------------------------------------------------------------------ END - END - END - END - END - END - END - END - END - END - END - ------------------------------------------------------------------ This should help you. Bye Franco ============================================================================== Francesco Brunetta, VAX/VMS System Manager, University of Udine, Italy Phone nr. +39 432 556705 =================================================== **************************** E-mail: Internet: FRANCO@UDUNIV.CINECA.IT ** The Lone Manager ! ** DECnet: UDUNIV::FRANCO (37963::FRANCO) ****************************==================================================