* Want DECwindows Customizations (via Resources???)
@ 1992-07-28 23:51 Jym Dyer
1992-07-29 19:12 ` Gerard Stafleu
0 siblings, 1 reply; 2+ messages in thread
From: Jym Dyer @ 1992-07-28 23:51 UTC (permalink / raw)
=o= Here's the scenario: My workstation is a Sun SPARCstation.
I spend a good chunk of my time doing VMS development, so I tend
to have a VMS window or two on my workstation. Our VMS systems
are running Multinet, so I'm using a TCPIP protocol.
=o= I can run DECwindows applications such as DECterm and
BOOKREADER on the VAX, using my SPARCstation's screen as the
display. The fit is not perfect; I'd like some advice on
improving it.
Problem 1 These applications tend to take up a lot of real
~~~~~~~~~ estate on my screen. I'd like to minimize that.
I'd like to get the menu bar and the pull-down menus -- in
fact, perhaps *all* the "Work Area Menu Widget" and pushbutton
goodies -- to use a smaller and nicer font (say, New Century
Schoolbook Roman 8). Are these settable resources? How can
they be set?
Problem 2 I hate those meeses to pieces. I've set up my window
~~~~~~~~~ manager (twm) to use an icon box, with function keys
that let me change focus from window to window by stepping
through the icons. DECterm doesn't buy this, though, and I keep
having to move the mouse cursor into the DECterm window to use
it. Shouldn't DECterm be a little more respectful of the window
manager's (customized) paradigm? Is there any way I can get it
to do so?
Problem 3 DECterm won't actually let me use the status line
~~~~~~~~~ unless I do a hard reset on it (by transmitting
"<ESC>c"). Yuck. Is there any way to set it up so that I won't
have to do that?
Problem 4 Backup plan if I can't get any of the above to work:
~~~~~~~~~ Does anyone have a public domain xterm-like client
that (1) has a status line and/or (2) lets you "clear lines off
top" like DECterm does?
Problem 5 Has anyone figured out how to have multiple default
~~~~~~~~~ title and icon names that aren't "DECterm <n>"?
<_Jym_>
^ permalink raw reply [flat|nested] 2+ messages in thread* Re: Want DECwindows Customizations (via Resources???)
1992-07-28 23:51 Want DECwindows Customizations (via Resources???) Jym Dyer
@ 1992-07-29 19:12 ` Gerard Stafleu
0 siblings, 0 replies; 2+ messages in thread
From: Gerard Stafleu @ 1992-07-29 19:12 UTC (permalink / raw)
> Problem 5 Has anyone figured out how to have multiple default
> ~~~~~~~~~ title and icon names that aren't "DECterm <n>"?
Assum that the symbol Pwin has the title in it you want for the window,
and Picon for the icon:
$ dev_type = F$getdvi("TT","DEVTYPE")
$ IF dev_type .EQ. 112 !DECterm window
$ THEN
$ OSC[0,8] = 157
$ ST[0,8] = 156
$ WRITE SYS$OUTPUT OSC,"21;''Pwin'",ST !set window name
$ WRITE SYS$OUTPUT OSC,"2L;''Picon'",ST !set icon name
$ ELSE ! Something else, presumably Xterm
$ write sys$output "<ESC>]2;"+ "''pwin'" +"^G"
$ ENDIF
[<ESC> is the Escape character]
The ELSE part works for Xterm windows (I don't know if you can do
icons). I discovered that that code will hang up a DECterm, hence the
check on device type. That is a bit of a workaround, as type 112 is
something like a VT340. I don't know of any way to find out if your
terminal is a DECterm. Xterms are VT100's, so the trick works.
----
Gerard Stafleu
email: gerard@uwo.ca
CCS, NSC 202, University of Western Ontario,
London, Ontario, Canada N6A 5B7
(519)661-2151
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~1992-07-29 19:12 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
1992-07-28 23:51 Want DECwindows Customizations (via Resources???) Jym Dyer
1992-07-29 19:12 ` Gerard Stafleu
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox