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

Conference noted::motif

Title:"OSF/Motif" is a trademark
Notice:MOTIF kit note in 7.*
Moderator:GOOEY::GRASS
Created:Mon Aug 07 1989
Last Modified:Thu Jun 05 1997
Last Successful Update:Fri Jun 06 1997
Number of topics:5973
Total number of notes:24620

5963.0. "LITTLE_FONT and root image problems" by CSC32::D_BROWN (Dave Brown CSC-VSG/INTDRV) Thu May 15 1997 13:22

    
    
    	Motif 1.2-4 CDE on Alpha VMS V7.1
    
    	How does one get Motif to save the LITTLE_FONT window attribute in
    the session setup? I have tried 'everything' and still when I logout
    and log back in, all my DECterms come up at BIG_FONT.
    
    	Additionally, ever since specifying a root window image, I have not
    been able to get rid of it and go back to the standard backdrops. The
    only way I have found to prevent the image from being displayed is to
    rename the .JPG file so the session manager cannot find it. Of course
    it lets me know it can't find it.
    
    	Both of these nagging problems persist despite trying to reset my
    home session many times. What am I missing?
    
    	Thanks,
    
    	Dave
T.RTitleUserPersonal
Name
DateLines
5963.1GRIM::MESSENGERBob MessengerThu May 15 1997 15:043
Could you post your decw$terminal_default.dat file?

				-- Bob
5963.2Here it isCSC32::D_BROWNDave Brown CSC-VSG/INTDRVThu May 15 1997 15:2023
                                                   
    DECW$TERMINAL.main.terminal.applicationKeypadMode:      on
    DECW$TERMINAL.main.terminal.statusDisplayEnable:        on
    DECW$TERMINAL.main.terminal.displayWidthInc:    8
    DECW$TERMINAL.main.terminal.defaultIconName:    IRC
    DECW$TERMINAL.main.terminal.bitPlanes:  8
    DECW$TERMINAL.main.terminal.displayHeightInc:   15
    DECW$TERMINAL.main.terminal.screenMode: off
    DECW$TERMINAL.main.terminal.borderColor:        #ffffffffffff
    DECW$TERMINAL.main.terminal.fontSetSelection:   1
    DECW$TERMINAL.main.terminal.fontUsed:  -dec-terminal-medium-r-normal--14-100-100-100-c-8-iso8859-1
    DECW$TERMINAL.main.terminal.littleFontOtherName:       -dec-terminal-*-*-*--14-*-*-*-*-*-*-*
    DECW$TERMINAL.main.terminal.wmHintsBaseHeight:  38
    DECW$TERMINAL.main.terminal.displayWidth:       667
    DECW$TERMINAL.main.terminal.defaultTitle:       IRC
    DECW$TERMINAL.main.terminal.shareColormapEntries:       on
    DECW$TERMINAL.main.terminal.transcriptSize:     1000
    DECW$TERMINAL.main.terminal.gsFontOtherName:   -dec-terminal-*-*-*-gs-14-*-*-*-*-*-*-*
    DECW$TERMINAL.main.terminal.displayHeight:      386
    DECW$TERMINAL.main.terminal.bigFontOtherName:  -bitstream-terminal-*-*-*--18-*-*-*-*-*-*-*
    DECW$TERMINAL.title:    IRC
    DECW$TERMINAL.winGravity:       1
    DECW$TERMINAL.iconName: IRC
5963.3GRIM::MESSENGERBob MessengerFri May 16 1997 13:4938
I'm not sure why you're having trouble with the little font.  Your
decw$terminal_default.dat file looks fine: the fontSetSelection resource
has a value of 1, which is DECwLittleFont, and littleFontOtherName and
fontUsed have values which look like a little font.

Just to clarify: can you switch between the little and big fonts in the
Window Options dialog box?  In other words, is the problem only with
saving the font set selection or is there also a problem with displaying
the little font at all?

Make sure you aren't defining any font set selection resources in
decw$system_defaults:decw$xdefaults.dat, since these would take precedence
over the resources defined in decw$terminal_default.dat.

Normally saving a home session shouldn't have any effect on DECterm other
than making it start up at a particular place on the screen, since the way
to save DECterm's resources is with Save Options in DECterm's Options
menu.  If the command that was originally used to start DECterm specified
/BIG_FONT on the command line, though, this could have been saved when you
saved the home session and passed to DECterm windows created in the
restored session.  I think specifying /BIG_FONT on the CREATE/TERMINAL
command line overrides the fontSetSelection resource that is saved in
decw$terminal_default.dat.

Please post the contents of your [.dt.sessions.home]dt.session file,
assuming that you've really chosen to start up the home session and not
the current session (check this in the Style Manager's Startup dialog box.)

I'm not really familiar with changing the screen background in the New
Desktop so I don't know if I can help you with your second question.  Take
a look at the dt.resources, dt.session and dt.settings files in
[.dt.sessions.home] and, again, make sure you're starting the home session
and not the current session.

Using "Set Home Session..." in the Style Manager - Startup dialog box
isn't enough, you also have to click on Return to Home Session.

				-- Bob
5963.4Stuck on BIG_FONTCSC32::D_BROWNDave Brown CSC-VSG/INTDRVMon May 19 1997 13:54112
    
    
    	Yes, I can set the windows to LITTLE_FONT with the DECterm options
    window. Its just that when they first come up, they're in BIG_FONT.
    Here's my [.DT.SESSIONS.HOME]DT.SESSION; file which I just created with
    a Style Manager "Set Home Session" after I had set all my DECterms to
    LITTLE_FONT. Note that BIG_FONT is displayed anyway. I have even gone
    in and edited this file to LITTLE_FONT; they still come up as BIG_FONT.
    Notice too that I still have a root window image being specified; I
    cannot get rid of this at all! Even if I edit it out of the file, it
    comes back next time I save my home session.
                                                                               
    dtsmcmd -hints "-geometry 1x1+0+0 -state NormalState -cmd \"dtfile.exe
     -session dt000255 \"" -screen 0 -cmd "dtfile.exe -session dt000255"
    
    dtsmcmd -hints "-geometry 1x1+640+512 -state NormalState -cmd \"borg$d
    ka0:[sys0.syscommon.cde$defaults.system.][bin]dximageview.exe """"-exi
    t"""" """"-root"""" """"gal_2_big_sharp.jpg"""" \"" -screen 0 -cmd "bo
    rg$dka0:[sys0.syscommon.cde$defaults.system.][bin]dximageview.exe ""-e
    xit"" ""-root"" ""gal_2_big_sharp.jpg"""
    
    dtsmcmd -hints "-geometry 80x24+38+38 -state NormalState -workspaces \
    "ws1 \" -cmd \"$ create/TERMINAL/DETACH \"" -screen 0 -cmd "$ create/T
    ERMINAL/DETACH"
    
    dtsmcmd -hints "-geometry 321x465+904+81 -state IconicState -workspace
    s \"ws0 \" -cmd \"borg$dka0:[sys0.syscommon.][sysexe]decw$calc.exe \""
     -screen 0 -cmd "borg$dka0:[sys0.syscommon.][sysexe]decw$calc.exe"
    
    dtsmcmd -hints "-geometry 80x24+54+298 -state IconicState -workspaces
    \"ws0 \" -cmd \"$ create/TERM/DETACH/INSERT/BIG_FONT/APPLICATION_KEYPA
    D/WINDOW_ATTRIBUTES=(TITLE=BORG_VT_2,ICON_NAME=BORG2,INITIAL_STATE=ICO
    N)/PROCESS=BORG_VT_2 \"" -screen 0 -cmd "$ create/TERM/DETACH/INSERT/B
    IG_FONT/APPLICATION_KEYPAD/WINDOW_ATTRIBUTES=(TITLE=BORG_VT_2,ICON_NAM
    E=BORG2,INITIAL_STATE=ICON)/PROCESS=BORG_VT_2"
    
    dtsmcmd -hints "-geometry 80x24+78+509 -state IconicState -workspaces
    \"ws0 \" -cmd \"$ create/TERM/DETACH/INSERT/BIG_FONT/APPLICATION_KEYPA
    D/WINDOW_ATTRIBUTES=(TITLE=BORG_VT_1,ICON_NAME=BORG1,INITIAL_STATE=ICO
    N)/PROCESS=BORG_VT_1 \"" -screen 0 -cmd "$ create/TERM/DETACH/INSERT/B
    IG_FONT/APPLICATION_KEYPAD/WINDOW_ATTRIBUTES=(TITLE=BORG_VT_1,ICON_NAM
    E=BORG1,INITIAL_STATE=ICON)/PROCESS=BORG_VT_1"
    
    dtsmcmd -hints "-geometry 80x24+606+38 -state IconicState -workspaces
    \"ws0 \" -cmd \"$ create/TERM/DETACH/INSERT/BIG_FONT/APPLICATION_KEYPA
    D/WINDOW_ATTRIBUTES=(TITLE=GOLD,ICON_NAME=GOLD,INITIAL_STATE=ICON)/PRO
    CESS=GOLD \"" -screen 0 -cmd "$ create/TERM/DETACH/INSERT/BIG_FONT/APP
    LICATION_KEYPAD/WINDOW_ATTRIBUTES=(TITLE=GOLD,ICON_NAME=GOLD,INITIAL_S
    TATE=ICON)/PROCESS=GOLD"
    
    dtsmcmd -hints "-geometry 80x24+130+38 -state IconicState -workspaces
    \"ws0 \" -cmd \"$ create/TERM/DETACH/INSERT/BIG_FONT/APPLICATION_KEYPA
    D/WINDOW_ATTRIBUTES=(TITLE=GLDV,ICON_NAME=GLDV,INITIAL_STATE=ICON)/PRO
    CESS=GLDV \"" -screen 0 -cmd "$ create/TERM/DETACH/INSERT/BIG_FONT/APP
    LICATION_KEYPAD/WINDOW_ATTRIBUTES=(TITLE=GLDV,ICON_NAME=GLDV,INITIAL_S
    TATE=ICON)/PROCESS=GLDV"
    
    dtsmcmd -hints "-geometry 80x24+516+269 -state IconicState -workspaces
     \"ws0 \" -cmd \"$ create/TERM/DETACH/INSERT/BIG_FONT/APPLICATION_KEYP
    AD/WINDOW_ATTRIBUTES=(TITLE=EIRS,ICON_NAME=EIRS,INITIAL_STATE=ICON)/PR
    OCESS=EIRS \"" -screen 0 -cmd "$ create/TERM/DETACH/INSERT/BIG_FONT/AP
    PLICATION_KEYPAD/WINDOW_ATTRIBUTES=(TITLE=EIRS,ICON_NAME=EIRS,INITIAL_
    STATE=ICON)/PROCESS=EIRS"
    
    dtsmcmd -hints "-geometry 80x24+602+37 -state IconicState -workspaces
    \"ws0 \" -cmd \"$ create/TERM/DETACH/INSERT/BIG_FONT/APPLICATION_KEYPA
    D/WINDOW_ATTRIBUTES=(TITLE=HANC,ICON_NAME=HANC,INITIAL_STATE=ICON)/PRO
    CESS=HANC \"" -screen 0 -cmd "$ create/TERM/DETACH/INSERT/BIG_FONT/APP
    LICATION_KEYPAD/WINDOW_ATTRIBUTES=(TITLE=HANC,ICON_NAME=HANC,INITIAL_S
    TATE=ICON)/PROCESS=HANC"
    
    dtsmcmd -hints "-geometry 80x24+606+509 -state IconicState -workspaces
     \"ws0 \" -cmd \"$ create/TERM/DETACH/INSERT/BIG_FONT/APPLICATION_KEYP
    AD/WINDOW_ATTRIBUTES=(TITLE=IRC,ICON_NAME=IRC,INITIAL_STATE=ICON)/PROC
    ESS=IRC \"" -screen 0 -cmd "$ create/TERM/DETACH/INSERT/BIG_FONT/APPLI
    CATION_KEYPAD/WINDOW_ATTRIBUTES=(TITLE=IRC,ICON_NAME=IRC,INITIAL_STATE
    =ICON)/PROCESS=IRC"
    
    dtsmcmd -hints "-geometry 80x24+607+410 -state IconicState -workspaces
     \"ws0 \" -cmd \"$ create/TERM/DETACH/INSERT/BIG_FONT/APPLICATION_KEYP
    AD/WINDOW_ATTRIBUTES=(TITLE=QMON,ICON_NAME=QMON,INITIAL_STATE=ICON)/PR
    OCESS=QMON \"" -screen 0 -cmd "$ create/TERM/DETACH/INSERT/BIG_FONT/AP
    PLICATION_KEYPAD/WINDOW_ATTRIBUTES=(TITLE=QMON,ICON_NAME=QMON,INITIAL_
    STATE=ICON)/PROCESS=QMON"
    
    dtsmcmd -hints "-geometry 80x24+111+311 -state IconicState -workspaces
     \"ws0 \" -cmd \"$ create/TERM/DETACH/INSERT/BIG_FONT/APPLICATION_KEYP
    AD/WINDOW_ATTRIBUTES=(TITLE=BORG_VT_3,ICON_NAME=BORG3,INITIAL_STATE=IC
    ON)/PROCESS=BORG_VT_3 \"" -screen 0 -cmd "$ create/TERM/DETACH/INSERT/
    BIG_FONT/APPLICATION_KEYPAD/WINDOW_ATTRIBUTES=(TITLE=BORG_VT_3,ICON_NA
    ME=BORG3,INITIAL_STATE=ICON)/PROCESS=BORG_VT_3"
    
    dtsmcmd -hints "-geometry 80x24+602+34 -state IconicState -workspaces
    \"ws0 \" -cmd \"$ create/TERM/DETACH/INSERT/BIG_FONT/APPLICATION_KEYPA
    D/WINDOW_ATTRIBUTES=(TITLE=CSCTLS-2,ICON_NAME=CSCTLS-2,INITIAL_STATE=I
    CON)/PROCESS=CSCTLS-2 \"" -screen 0 -cmd "$ create/TERM/DETACH/INSERT/
    BIG_FONT/APPLICATION_KEYPAD/WINDOW_ATTRIBUTES=(TITLE=CSCTLS-2,ICON_NAM
    E=CSCTLS-2,INITIAL_STATE=ICON)/PROCESS=CSCTLS-2"
    
    dtsmcmd -hints "-geometry 80x24+245+459 -state IconicState -workspaces
     \"ws0 \" -cmd \"$ create/TERM/DETACH/INSERT/BIG_FONT/APPLICATION_KEYP
    AD/WINDOW_ATTRIBUTES=(TITLE=CSC32-2,ICON_NAME=CSC32-2,INITIAL_STATE=IC
    ON)/PROCESS=CSC32-2 \"" -screen 0 -cmd "$ create/TERM/DETACH/INSERT/BI
    G_FONT/APPLICATION_KEYPAD/WINDOW_ATTRIBUTES=(TITLE=CSC32-2,ICON_NAME=C
    SC32-2,INITIAL_STATE=ICON)/PROCESS=CSC32-2"
    
    dtsmcmd -hints "-geometry 80x24+134+36 -state IconicState -workspaces
    \"ws0 \" -cmd \"$ create/TERM/DETACH/INSERT/BIG_FONT/APPLICATION_KEYPA
    D/WINDOW_ATTRIBUTES=(TITLE=CSCTLS-1,ICON_NAME=CSCTLS-1,INITIAL_STATE=I
    CON)/PROCESS=CSCTLS-1 \"" -screen 0 -cmd "$ create/TERM/DETACH/INSERT/
    BIG_FONT/APPLICATION_KEYPAD/WINDOW_ATTRIBUTES=(TITLE=CSCTLS-1,ICON_NAM
    E=CSCTLS-1,INITIAL_STATE=ICON)/PROCESS=CSCTLS-1"5
5963.5GRIM::MESSENGERBob MessengerMon May 19 1997 14:1013
DECterm remembers the command line it was started with, so if you start
DECterm with CREATE/TERM/BIG_FONT then change the font to the little font,
save your options and then save your home session, the command that is
saved will be CREATE/TERM/BIG_FONT, not CREATE/TERM/LITTLE_FONT.

Try doing this: exit out of all of your DECterm windows, create them using
CREATE/TERM/DETACH/LITTLE_FONT ... or just CREATE/TERM/DETACH, then save
your home session and see whether it is saved correctly.

I'm not sure what's causing the problem with the screen background.  You
should probably enter a QAR.

				-- Bob
5963.6That did it!CSC32::D_BROWNDave Brown CSC-VSG/INTDRVThu May 29 1997 15:1511
    
    
    	Recreating all of my DECterms explicitly specifying LITTLE_FONT
    then saving my home session did the trick. Renaming my DT.DIR before
    saving my home session got rid of the root window problem. I then
    copied the applicable characteristic files over from my renamed
    directory to my newly created [.DT] directory.
    
    	Thanks,
    
    	Dave