Usenet comp.unix.osf.osf1 (1992-2004)
 help / color / mirror / Atom feed
* DXterm - removing the menu bar?
@ 1997-03-27  5:00 Steve Wyeth
  1997-03-27  5:00 ` Dave Greenwood
  0 siblings, 1 reply; 2+ messages in thread
From: Steve Wyeth @ 1997-03-27  5:00 UTC (permalink / raw)



I've got mwm neatly configured such that pressing the left mouse button
generates a list of machine names and each of these runs a command
of the form:

	xrlogin thingy &

where xrlogin is defined to use 'xterm'.

I've set up xterm to be what I want in terms of colours and lines
saved, but when I use it to log into VMS hosts and request that
the screen size be changed to 132 columns xterm does nothing
(probably can't handle it).

So I started experimenting with DXterm - and that does what I
want.  However it also has the DEC copyright message on the
title bar (which doesn't change in response to '-title' or '-name')
and I can't seem to remove the menu bar.

Once I have the options set the way that I want them, I won't
need the menu bar.

So...

How do I reliably change the title of the DXterm and how do I
remove the menu bar (preferably from .Xdefaults).

Best Wishes,

Steve W.



^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: DXterm - removing the menu bar?
  1997-03-27  5:00 DXterm - removing the menu bar? Steve Wyeth
@ 1997-03-27  5:00 ` Dave Greenwood
  0 siblings, 0 replies; 2+ messages in thread
From: Dave Greenwood @ 1997-03-27  5:00 UTC (permalink / raw)



In a previous article, stevew@dougal.logica.co.uk (Steve Wyeth) wrote:

> I've set up xterm to be what I want in terms of colours and lines
> saved, but when I use it to log into VMS hosts and request that
> the screen size be changed to 132 columns xterm does nothing
> (probably can't handle it).
>  
> So I started experimenting with DXterm - and that does what I
> want.  However it also has the DEC copyright message on the
> title bar (which doesn't change in response to '-title' or '-name')
> and I can't seem to remove the menu bar.
>  
> Once I have the options set the way that I want them, I won't
> need the menu bar.
>  
> So...
>  
> How do I reliably change the title of the DXterm and how do I
> remove the menu bar (preferably from .Xdefaults).

It's not clear to me whether you want to solve your problem with
VMS or some Unix variant.  Anyway, here's some info on VMS, xterm and
dxterm.

The VMS equivalent to .Xdefaults is DECW$XDEFAULTS.DAT.  By default
that's in your login directory although you can redefine the logical
DECW$USER_DEFAULTS to change the location.  Likewise, the VMS
equivalent to the XTerm resource file is XTERM.DAT.  Putting the line:

	XTerm*vt100.geometry:       132x40+500+400

in XTERM.DAT will give you a 132 column by 40 line vt100 window at
(500,400).  Alternately, the same command as in Unix:

	xterm -geometry 132x40+500+400

will yield the same results (assuming you have xterm defined as a
foreign command or you have VMS 6.2 or newer and the DCL$PATH logical
locates the image).  Since this is a VMS command, case isn't important
(unless you start playing games with quotes).  Case *is* important, of
course, in the resource file.

The VMS command for creating a DXterm is CREATE/TERMINAL.  You can
set the window title and icon name by adding

	/WINDOW_ATTRIBUTES=(TITLE:"Title",ICON_NAME:"icon")

(the quotes are required only if you want to preserve case or put
special characters in the title or icon name) or you can put

	DECW$TERMINAL.iconName: icon
	DECW$TERMINAL.title:    Title

in DECW$TERMINAL_DEFAULT.DAT (may also work in DECW$XDEFAULTS.DAT, I
don't know).  The title will replace the copyright on the first mouse
click in the window or after a few seconds.  You can also change the
title/icon on the fly by issuing appropriate escape sequences.

I don't know how to remove the menu bar.  I have an old message that
claims that:

	*decterm_mb*height:	1

in DECW$XDEFAULTS.DAT (or possibly DECW$TERMINAL_DEFAULT.DAT) should
work but I had no luck with it.

Btw, I'm assuming you have DECWindows Motif 1.2-3 or newer on your
VMS system.

Hth,
Dave
--------------
Dave Greenwood                Internet: Greenwoodde@ORNL.GOV
Oak Ridge National Lab        %STD-W-DISCLAIMER, I only speak for myself



^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~1997-03-27  5:00 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
1997-03-27  5:00 DXterm - removing the menu bar? Steve Wyeth
1997-03-27  5:00 ` Dave Greenwood

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox