[Search for users] [Overall Top Noters] [List of all Conferences] [Download this site]

Conference bulova::decw_jan-89_to_nov-90

Title:DECWINDOWS 26-JAN-89 to 29-NOV-90
Notice:See 1639.0 for VMS V5.3 kit; 2043.0 for 5.4 IFT kit
Moderator:STAR::VATNE
Created:Mon Oct 30 1989
Last Modified:Mon Dec 31 1990
Last Successful Update:Fri Jun 06 1997
Number of topics:3726
Total number of notes:19516

2778.0. "CREATE/TERM /CONDENSED_FONT ?" by BLKPUD::WILLOUGHBYD (Help! I'm frowning.) Thu May 17 1990 06:52

Apologies if this has been addressed before, or if its a case of RTFM.

Is there any way to fire off a decterm on your workstation from a remote node 
using a condensed font ? It seems stange that there's a qualifier to control
big or regular font but none for condensed.

It would be preferable if I could control each window rather than setting up a
general DECTERM default.

Thanks in advance,

Dave.
T.RTitleUserPersonal
Name
DateLines
2778.1HANNAH::MESSENGERBob MessengerThu May 17 1990 12:219
Re: .0

Yes, there should be a /CONDENSED_FONT qualifier, but we didn't think of it
in time.  You can either use /WINDOW_ATTRIBUTES=(FONT=xxxx), if you don't
mind typing the complete font name (see Appendix D in the Guide to Xlib
Programming for a list of fonts), or you can create a resource file for
each window with *DECterm.condensedFont: on and use /RESOURCE_FILE.

				-- Bob
2778.2ThanksBLKPUD::WILLOUGHBYDHelp! I'm frowning.Tue Jun 12 1990 15:284
    Thanks alot Bob, I should now be able to enhance my login so its just
    about perfect.
    
    Dave.
2778.3Problems setting those fontsBLKPUD::WILLOUGHBYDHelp! I'm frowning.Fri Aug 17 1990 14:1929
>Yes, there should be a /CONDENSED_FONT qualifier, but we didn't think of it
>in time.  You can either use /WINDOW_ATTRIBUTES=(FONT=xxxx), if you don't
>mind typing the complete font name (see Appendix D in the Guide to Xlib
>Programming for a list of fonts), or you can create a resource file for
>each window with *DECterm.condensedFont: on and use /RESOURCE_FILE.


I tried the resource file. I copied the default one and called it 
DECW$TERMINAL_MARVEL.DAT and inserted *decterm.condensedFont: on , the decterm 
started OK but it was the default size. After trying several variations I gave 
up and decided to try the other way specifying a font and the same result. Here
is the command file I am using:


$ CREATE/TERM/DETACH/PROCESS=(DAVE_CHAMPS) -
/WINDOW_ATTRIBUTES=( -
ICON_NAME= "MARVEL", -
TITLE="CHAMPS", -
INITIAL="WINDOW", -
FONT=-DEC-Terminal-Bold-R-Normal--28-280-75-75-C-160-DEC-DECtech, -
x_pos=5, -
y_pos=30) -

I ought to mention that recently I've just changed to using MOTIF (still under
VMS) , and hadn't had chance to try this before, could this be the reason ?

What have I done wrong ?

Dave
2778.4HANNAH::MESSENGERBob MessengerFri Aug 17 1990 17:0715
Re: .3

>I tried the resource file. I copied the default one and called it 
>DECW$TERMINAL_MARVEL.DAT and inserted *decterm.condensedFont: on

It's case sensitive; you have to say *DECterm.condensedFont: on.

>FONT=-DEC-Terminal-Bold-R-Normal--28-280-75-75-C-160-DEC-DECtech, -

You should have asked for Narrow instead of Normal.  However, I think
DECterm will over-ride the fields that ask for Bold, Narrow and DECtech,
and you'll get the normal (non-condensed) double high font.  You should
go with the resource file solution.

				-- Bob
2778.5Still having problemsBLKPUD::WILLOUGHBYDHelp! I'm frowning.Mon Aug 20 1990 06:0025
>It's case sensitive; you have to say *DECterm.condensedFont: on.


I still can't seem to get it going. I tried removing a couple of lines from the 
resource file which related to size, and this is how it looks now:

DECW$TERMINAL.title:    SHAW03
DECW$TERMINAL.main.terminal.shareColormapEntries:       on
DECW$TERMINAL.main.terminal.bitPlanes:  2
DECW$TERMINAL.main.terminal.defaultTitle:       MARVEL
DECW$TERMINAL.main.terminal.defaultIconName:    MARVEL
DECW$TERMINAL.borderWidth:      1
DECW$TERMINAL.iconName: SHAW03
*DECterm.condensedFont: on


I then typed the command:

create/term/det/resource=disk$users1:[willoughbyd]decw$terminal_marvel.dat

and it still created a normal sized window.

?

Dave
2778.6WAG:UFP::MURPHYA bug? Use the source, Luke!Tue Aug 21 1990 08:184
    re: .-1:
    Try
    DECW$TERMINAL*condensedFont:on
    	-Rick 
2778.7Still no joyBLKPUD::WILLOUGHBYDHelp! I'm frowning.Tue Aug 21 1990 10:318
>DECW$TERMINAL*condensedFont:on

Thanks for the suggestion....still no luck though 

I've also checked that it's reading the resource file by changing the name of 
the title and iconname. 

Dave
2778.8HANNAH::MESSENGERBob MessengerTue Aug 21 1990 11:559
Try this:

	*DECterm.condensedFont: on
	*DECterm.adjustFontSizes: off

If adjustFontSizes is on, DECterm will switch between the condensed and
normal font based on whether the window has 80 columns or more.

				-- Bob
2778.9BLKPUD::WILLOUGHBYDHelp! I'm frowning.Tue Aug 21 1990 13:123
Still normal sized...

Dave.
2778.10Try thisNECSC::LEVYNothin's gonna bring him backFri Sep 21 1990 16:2476
Well, I tried the seemingly untested method of setting a terminal to condensed
and saving settings as DECW$TERMINAL_CONDENSED.DAT.  Here's the diff of the
two resource files:

Ezwind� diff
_File 1: decw$terminal_ezwind.dat
_File 2: decw$terminal_condensed.dat
************
File USER$:[LEVY]DECW$TERMINAL_EZWIND.DAT;15
    2   DECW$TERMINAL.title:    Easy Wind
******
File USER$:[LEVY]DECW$TERMINAL_CONDENSED.DAT;1
    2   DECW$TERMINAL.initialState:     3
    3   DECW$TERMINAL.title:    Easy Wind
************
************
File USER$:[LEVY]DECW$TERMINAL_EZWIND.DAT;15
    6   DECW$TERMINAL.main.terminal.displayHeight:      386
    7   DECW$TERMINAL.main.terminal.autoResizeTerminal: on
    8   DECW$TERMINAL.main.terminal.bitPlanes:  4
    9   DECW$TERMINAL.main.terminal.background: #a8a8a8a8a8a8
   10   DECW$TERMINAL.main.terminal.borderColor:        #000000000000
   11   DECW$TERMINAL.main.terminal.defaultTitle:       Easy Wind
   12   DECW$TERMINAL.main.terminal.defaultIconName:    Easy Wind
   13   DECW$TERMINAL.main.terminal.statusDisplayEnable:        on
   14   DECW$TERMINAL.main.terminal.y:  20
   15   DECW$TERMINAL.main.terminal.lockUserFeatures:   on
   16   DECW$TERMINAL.main.terminal.height:     386
   17   DECW$TERMINAL.borderWidth:      1
******
File USER$:[LEVY]DECW$TERMINAL_CONDENSED.DAT;1
    7   DECW$TERMINAL.main.terminal.displayWidth:       507
    8   DECW$TERMINAL.main.terminal.displayHeight:      336
    9   DECW$TERMINAL.main.terminal.displayWidthInc:    6
   10   DECW$TERMINAL.main.terminal.displayHeightInc:   13
   11   DECW$TERMINAL.main.terminal.fontUsed:   -DEC-Terminal-Medium-R-Narrow--1
4-
   12   DECW$TERMINAL.main.terminal.autoResizeTerminal: on
   13   DECW$TERMINAL.main.terminal.bitPlanes:  4
   14   DECW$TERMINAL.main.terminal.condensedFont:      on
   15   DECW$TERMINAL.main.terminal.defaultTitle:       Easy Wind
   16   DECW$TERMINAL.main.terminal.defaultIconName:    Easy Wind
   17   DECW$TERMINAL.main.terminal.adjustFontSizes:    off
   18   DECW$TERMINAL.main.terminal.background: #a8a8a8a8a8a8
   19   DECW$TERMINAL.main.terminal.statusDisplayEnable:        on
   20   DECW$TERMINAL.main.terminal.borderColor:        #000000000000
   21   DECW$TERMINAL.main.terminal.y:  20
   22   DECW$TERMINAL.main.terminal.width:      507
   23   DECW$TERMINAL.main.terminal.height:     336
   24   DECW$TERMINAL.main.terminal.lockUserFeatures:   on
   25   DECW$TERMINAL.borderWidth:      1
************

Number of difference sections found: 2
Number of difference records found: 19

DIFFERENCES /IGNORE=()/MERGED=1-
    USER$:[LEVY]DECW$TERMINAL_EZWIND.DAT;15-
    USER$:[LEVY]DECW$TERMINAL_CONDENSED.DAT;1


Off-hand, I'd say that the following resources made the difference:

DECW$TERMINAL.main.terminal.displayWidth:       507
DECW$TERMINAL.main.terminal.displayWidthInc:    6
DECW$TERMINAL.main.terminal.displayHeightInc:   13
DECW$TERMINAL.main.terminal.fontUsed:   -DEC-Terminal-Medium-R-Narrow--14-140-75
-75-C-6-ISO8859-1
DECW$TERMINAL.main.terminal.condensedFont:      on
DECW$TERMINAL.main.terminal.adjustFontSizes:    off
DECW$TERMINAL.main.terminal.width:      507


Good luck,

	- Dave
2778.11DECWIN::MESSENGERBob MessengerTue Sep 25 1990 13:596
Re: .10

displayWidth, displayWidthInc, displayHeightInc, fontUsed and width are
all computed at run time, so setting those resources should have no effect.

				-- Bob
2778.12too obviousDEMON3::CLEVELANDNotes - fun or satanic cult?Tue Sep 25 1990 22:296
These two did the trick for me:
    
DECW$TERMINAL.main.terminal.condensedFont:      on
DECW$TERMINAL.main.terminal.adjustFontSizes:    off

Gee, why didn't I think of save settings?