| T.R | Title | User | Personal Name
 | Date | Lines | 
|---|
| 2778.1 |  | HANNAH::MESSENGER | Bob Messenger | Thu May 17 1990 11:21 | 9 | 
|  | 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.2 | Thanks | BLKPUD::WILLOUGHBYD | Help! I'm frowning. | Tue Jun 12 1990 14:28 | 4 | 
|  |     Thanks alot Bob, I should now be able to enhance my login so its just
    about perfect.
    
    Dave.
 | 
| 2778.3 | Problems setting those fonts | BLKPUD::WILLOUGHBYD | Help! I'm frowning. | Fri Aug 17 1990 13:19 | 29 | 
|  | >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.4 |  | HANNAH::MESSENGER | Bob Messenger | Fri Aug 17 1990 16:07 | 15 | 
|  | 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.5 | Still having problems | BLKPUD::WILLOUGHBYD | Help! I'm frowning. | Mon Aug 20 1990 05:00 | 25 | 
|  | >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.6 | WAG: | UFP::MURPHY | A bug? Use the source, Luke! | Tue Aug 21 1990 07:18 | 4 | 
|  |     re: .-1:
    Try
    DECW$TERMINAL*condensedFont:on
    	-Rick 
 | 
| 2778.7 | Still no joy | BLKPUD::WILLOUGHBYD | Help! I'm frowning. | Tue Aug 21 1990 09:31 | 8 | 
|  | >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.8 |  | HANNAH::MESSENGER | Bob Messenger | Tue Aug 21 1990 10:55 | 9 | 
|  | 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.9 |  | BLKPUD::WILLOUGHBYD | Help! I'm frowning. | Tue Aug 21 1990 12:12 | 3 | 
|  | Still normal sized...
Dave.
 | 
| 2778.10 | Try this | NECSC::LEVY | Nothin's gonna bring him back | Fri Sep 21 1990 15:24 | 76 | 
|  | 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.11 |  | DECWIN::MESSENGER | Bob Messenger | Tue Sep 25 1990 12:59 | 6 | 
|  | Re: .10
displayWidth, displayWidthInc, displayHeightInc, fontUsed and width are
all computed at run time, so setting those resources should have no effect.
				-- Bob
 | 
| 2778.12 | too obvious | DEMON3::CLEVELAND | Notes - fun or satanic cult? | Tue Sep 25 1990 21:29 | 6 | 
|  | 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?
 |