[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

19990317: Garp/Ntrans X-win display at 600X800



>From: Michael Voss <address@hidden>
>Organization: .
>Keywords: 199903172037.NAA23409

>Hello,
>
>I am running LDM/Gempak 5.4 on a Sun Ultra 1. Everything runs great and has fo
> r years....thanks! I also run X-windows emulators on PC's with no problem. No
> w I have a problem you might be able to help with. I have a projection displa
> y system hooked up to a PC, but its max capability on resolution is 600X800, 
> therefore I must set the PC resolution to 600X800. When I do X-window emulati
> on the windows end up being too big...too big even to move the window enough 
> to hit the display button. So, basically I am unable to project (to large aud
> iences) the fine products available via GEMPAK.
>
>Any ideas on how I might resolve this problem? I'm not exactly a computer wiza
> rd, so I may not have tried the obvious.
>
>Thanks for your help,
>
>Mike
>--------------------------------------------------------------
>Michael Voss                             address@hidden
>Department of Meteorology   www.innetix.com/~voss/weather.html
>San Jose State University                        (408)924-5204
>One Washington Square                    fax (408)924-5191        
>San Jose, CA 95192-0104                
>--------------------------------------------------------------
>

Michael,

When you use the DEVICE=xw parameter in the command line programs, the
default window size is 900x700. The DEVICE parameter allows you to
set the window size however. As described in the "phelp" section for
device:
DEVICE = device | name | xsize ; ysize | color type

So, to set the display window to 450x350 for example:
DEVICE = xw||450;350

To configure the GUIs to use a smaller screen, you will need to edit the
sizes defined in $NAWIPS/resource. Garp comes with a configuration for
a small screen in $GARPHOME/config/Garp2.small. Use this in place
of $NAWIPS/resource/Garp2. In the nwx resources, you can
edit the size for Nwx*textwin.height to 400 which should probably fit.

I'll atatch two other files, Nsat.tiny and Ntrans2.tiny which I pulled out of
the support archives from previous questions on this matter. These were 
primarily
aimed at users of small PC windows with 1024x768 displays, but they will serve
as examples of what to configure compared to the resource files in
$NAWIPS/resource.

Steve Chiswell
Unidata User Support

************************Ntrans2.tiny**********************************

! This is a copy of the Ntrans2 resource file that has been
! configured to be very small.  It uses small fonts and a 
! small basic window size. 
!
! This resource file may be useful for sites using a PC for
! the NTRANS display.  
!
! Note that you may INCREASE the size of the NTRANS windows
! to fill your screen by adjusting the "width" and "height"
! resources.  The numbers given are in pixels.  You may want
! to experiment to find the largest viewable window size.
!
! To use this file, simply put it in a directory listed in
! your $XUSERFILESEARCHPATH environment variable, and change
! the name to Ntrans2.  Be careful that you don't overwrite
! the existing file $NAWIPS/resource/Ntrans2.
! 
! This resource file was contributed by Steve Chiswell of
! the Unidata Program Center.
!
! 7/16/96 P.Bruehl
!-----------------------------------------------------------
!
Ntrans2.geometry:               +112+0
!
!       graphic window size
!
Ntrans2*drawing_widget.width:           700
Ntrans2*drawing_widget.height:          500
!
!       file selection  
!
Ntrans2*select_meta_file.dialogTitle:   Select Metafile
!
!       model selection 
!
Ntrans2*ModelSelect.dialogTitle:        Select Model
!
!       frame selection 
!
Ntrans2*frameselect.dialogTitle:        Select Frame
Ntrans2*FrameSelectRc.spacing:          40
Ntrans2*FrameSelectRc.marginWidth:      65
!
!       menubar 
!
Ntrans2*topmenubar.rightPosition:        70
Ntrans2*topmenubar.spacing:             6
Ntrans2*topmenubar.shadowThickness:      0
Ntrans2*buttonrc.spacing:                10
Ntrans2*buttonrc.marginWidth:            10
Ntrans2*topmenubar.Help.mnemonic:       H
Ntrans2*topmenubar.Exit.mnemonic:       E
Ntrans2*topmenubar.File.mnemonic:       F
Ntrans2*topmenubar.Arrange.mnemonic:    A
Ntrans2*topmenubar.Tools.mnemonic:      T
Ntrans2*topmenubar.View.mnemonic:       V
Ntrans2*topmenubar*Open.mnemonic:       O
Ntrans2*topmenubar*Exit.mnemonic:       E
!
!       Info menu       
!
Ntrans2*InfoMenu.marginHeight:          10
Ntrans2*InfoMenu.marginWidth:           15
Ntrans2*InfoMenu.spacing:               7
!
!       file menu       
!
Ntrans2*FileMenu.marginHeight:          10
Ntrans2*FileMenu.marginWidth:           15
Ntrans2*FileMenu.spacing:               7
!
!       edit menu       
!
Ntrans2*EditMenu.marginHeight:          10
Ntrans2*EditMenu.marginWidth:           15
Ntrans2*EditMenu.spacing:               7
!
!       view menu       
!
Ntrans2*ViewMenu.marginHeight:          10
Ntrans2*ViewMenu.marginWidth:           10
Ntrans2*ViewMenu.spacing:               7
!
!       tool menu       
!
Ntrans2*ToolMenu.marginHeight:          10
Ntrans2*ToolMenu.marginWidth:           10
Ntrans2*ToolMenu.spacing:               7
!
!       drawing widget  
!
Ntrans2*drawing_widget.background:      black
!
!       colorbar        
!
Ntrans2*colrbar.height:         40
!
!       file selection box      
!
Ntrans2*select_meta_file.listVisibleItemCount:            25
!
!       local product selection 
!
Ntrans2*LocalProduct.dialogTitle:       Local Products
Ntrans2*LocalProduct.noResize:            True
Ntrans2*LocalProduct.allowOverlap:        False
Ntrans2*LocalProduct.defaultPosition:     False
Ntrans2*LocalProduct.x:                 5       
Ntrans2*LocalProduct.y:                 500
Ntrans2*LocalProduct.width:             280
Ntrans2*LocalProduct.height:            400
!
!       group selection 
!
Ntrans2*groupselect.noResize:           False
Ntrans2*groupselect.allowOverlap:       True
Ntrans2*groupselect.defaultPosition:    False
Ntrans2*groupselect.x:                  122
Ntrans2*groupselect.y:                  102
Ntrans2*groupselect.width:              300
Ntrans2*groupselect.dialogTitle:   Group Selection
Ntrans2*fileLb.fontList: -adobe-courier-*-r-normal-*-10-*-*-*-m-90-iso8859-1
Ntrans2*group_list.visibleItemCount:  5
Ntrans2*Model_Group.x:                10
Ntrans2*Model_Group.y:                0
Ntrans2*Model_Group.spacing:          10
Ntrans2*mpanelBLb.x:                5
Ntrans2*mpanelBLb.y:                650
Ntrans2*mpanelBRc.x:                130
Ntrans2*mpanelBRc.y:                55
Ntrans2*LoadGrpList.x:  5
Ntrans2*LoadGrpList.y:  10
Ntrans2*SaveGrpList.x:  170
Ntrans2*SaveGrpList.y:  10
Ntrans2*validtimeLb.x: 5
Ntrans2*validtimeLb.y: 15
Ntrans2*validtimeRc.x: 120
Ntrans2*validtimeRc.y: 0
Ntrans2*validtimeRc.spacing: 20
Ntrans2*validtimeInfo.x: 5
Ntrans2*validtimeInfo.y: 50
Ntrans2*validtimeInfo.foreground:               red
Ntrans2*validtimeInfo.fontList: 
-adobe-courier-*-r-normal-*-10-*-*-*-m-90-iso8859-1
Ntrans2*structureLb.x:  85
Ntrans2*structureLb.y:  0
Ntrans2*patternsRc.x:  50
Ntrans2*patternsRc.y:  35
Ntrans2*rowLb.x:  5
Ntrans2*rowLb.y:  75
Ntrans2*rowRc.x:  120
Ntrans2*rowRc.y:  70
Ntrans2*rowTxt.x:       250
Ntrans2*rowTxt.y:       65
Ntrans2*colLb.x:  5
Ntrans2*colLb.y:  120
Ntrans2*colRc.x:  120
Ntrans2*colRc.y:  95
Ntrans2*columnTxt.x:    250
Ntrans2*columnTxt.y:    95
Ntrans2*mpanelSelLb.leftPosition:  30
Ntrans2*mpanelSelLb.topPosition:  2
Ntrans2*group_list.translations:        #override\n\
        <Btn1Up>(2):    ok_select() \n\
        <Btn1Down>, <Btn1Up>:   ListBeginSelect() ListEndSelect()
Ntrans2*groupfile.translations: #override\n\
        <Key>Return:    save_group()
!
!       frame selection 
!
Ntrans2*frameselect.noResize:           True
Ntrans2*frameselect.allowOverlap:       False
Ntrans2*frameselect.defaultPosition:    False
Ntrans2*frameselect.x:                  20
Ntrans2*frameselect.y:                  150
!
!       group generation panel  
!
Ntrans2*group_panel.noResize:           false
Ntrans2*group_panel.allowOverlap:       true
Ntrans2*group_panel.defaultPosition:    False
Ntrans2*group_panel.x:                  20
Ntrans2*group_panel.y:                  150
Ntrans2*group_panel.width:              300
Ntrans2*group_panel.dialogTitle:   Group Generation
Ntrans2*frame_list.visibleItemCount: 15
Ntrans2*group_nameW.columns:         25
Ntrans2*GroupNameRc.topPosition:     80
Ntrans2*GroupNameRc.leftPosition:     2
Ntrans2*AddGroupListB.topPosition:     92
Ntrans2*AddGroupListB.leftPosition:     10
Ntrans2*AddDisplayB.topPosition:     92
Ntrans2*AddDisplayB.leftPosition:     30
Ntrans2*DeleteGroupB.topPosition:     82
Ntrans2*DeleteGroupB.leftPosition:    78
Ntrans2*LoadGroupListB.topPosition:     90
Ntrans2*LoadGroupListB.leftPosition:     70
Ntrans2*SaveGroupListB.topPosition:     90
Ntrans2*SaveGroupListB.leftPosition:     85
Ntrans2*ManualGroupCtrbRc.marginWidth:   350
Ntrans2*ManualGroupCtrbRc.spacing:       100
Ntrans2*frame_listW.scrollBarDisplayPolicy:  XmAS_NEEDED        
Ntrans2*frame_listW.scrollingPolicy:  XmAUTOMATIC       
Ntrans2*frame_list.translations:        #override\n\
        <Btn1Up>(2):    view_frame() \n\
        <Btn1Down>, <Btn1Up>:   ListBeginSelect() ListEndSelect()
Ntrans2*search_nameW.translations:      #override\n\
        <Key>Return:    set_mode1() Search_Callback()
Ntrans2*Inc_textW.translations: #override\n\
        <Key>Return:    set_mode0() Search_Callback()
Ntrans2*group_nameW.translations:       #override\n\
        <Key>Return:    AddGpList_Callback()
!
!       model selection panel   
!
Ntrans2*ModelSelect.noResize:            True
Ntrans2*ModelSelect.allowOverlap:        False
Ntrans2*ModelSelect.defaultPosition:     False
Ntrans2*ModelSelect.x:                  459     
Ntrans2*ModelSelect.y:                  102
Ntrans2*model_list.visibleItemCount:    8
Ntrans2*model_list.background:          wheat
Ntrans2*ModelRC.numColumns:              4
!
!       printer panel   
!
Ntrans2*printer_panel.noResize:                 True
Ntrans2*printer_panel.allowOverlap:             False
Ntrans2*printer_panel.dialogTitle:              Printer...
Ntrans2*PrtName.columns:                                19
Ntrans2*PrtName.value:                          PS file only
Ntrans2*PsflName.columns:                       20
Ntrans2*PsflName.value:                         ps.plt
!
!       toplevel_form colors
!
Ntrans2*background:                     grey75
Ntrans2*foreground:                     black
Ntrans2*CascadeButtonGadget.foreground: black
Ntrans2*fontList: -adobe-times-bold-r-normal-*-18-180-75-75-p-*-iso8859-1
!
!       help background colors
!
Ntrans2*Helpw.background:                       wheat
!
!       group panel colors
!
Ntrans2*Mode*selectColor:               blue
Ntrans2*PrtOptions*selectColor:         red
Ntrans2*frame_list.background:          wheat
Ntrans2*search_nameW.background:        wheat
Ntrans2*Inc_textW.background:           wheat
Ntrans2*group_nameW.background:         wheat
!
!       group selection panel colors
!
Ntrans2*group_list.background:          wheat
Ntrans2*popuptext.background:           wheat
!
!       printer background colors
!
Ntrans2*Printer*selectColor:            blue
Ntrans2*PrtName.background:             wheat
Ntrans2*PsflName.background:            wheat
!
!       looping control 
!
Ntrans2*drawing_widget.translations:    #override\n\
        <Key>minus:     NxmAnimationStepBackward() \n\
        <Key>plus:      NxmAnimationStepForeward() \n\
        <Key>underscore:        NxmAnimationStepBackward() \n\
        <Key>equal:     NxmAnimationStepForeward() \n\
        <Key>L:         NxmAnimationLoopForeward() \n\
        <Key>l:         NxmAnimationLoopForeward() \n\
        <Key>!:         NxmAnimationLoopForewardBackward() \n\
        <Key>w:         toggle_menuWindow() \n\
        <Btn3Down>, <Btn3Up>:   toggle_menuWindow()
!
!       legend area 
!
Ntrans2*legend.height:                  30
Ntrans2*legendform.background:                  wheat
Ntrans2*framelabel.background:                  wheat
Ntrans2*filelabel.background:                   wheat
Ntrans2*grouplabel.background:                  wheat
Ntrans2*legend.foreground:                      black
Ntrans2*framelabel.fontList: -adobe-courier-*-r-normal-*-10-*-*-*-m-90-iso8859-1
Ntrans2*filelabel.fontList: -adobe-courier-*-r-normal-*-10-*-*-*-m-90-iso8859-1
Ntrans2*filelabel.leftPosition: 2
Ntrans2*grouplabel.fontList: -adobe-courier-*-r-normal-*-10-*-*-*-m-90-iso8859-1
Ntrans2*grouplabel.leftPosition: 50
Ntrans2*filelabel.labelString:                  File:
Ntrans2*grouplabel.labelString:         Group:
Ntrans2*fontList: -adobe-courier-*-r-normal-*-10-*-*-*-m-90-iso8859-1




************************Nsat.tiny*********************************

Nsat.geometry:               +112+0
!
!       file selection  
!
Nsat*fileSelectBox.dialogTitle: User File Select
!
!       model selection 
!
Nsat*ModelSelect.dialogTitle:   Select Model
!
!       frame selection 
!
Nsat*frameselect.dialogTitle:   Select Frame
Nsat*FrameSelectRc.spacing:             40
Nsat*FrameSelectRc.marginWidth: 65
!
!       menubar 
!
Nsat*topmenubar.rightPosition:        70
Nsat*topmenubar.spacing:                6
Nsat*topmenubar.shadowThickness:      0
Nsat*buttonrc.spacing:                10
Nsat*buttonrc.marginWidth:            10
Nsat*topmenubar.Help.mnemonic:  H
Nsat*topmenubar.Exit.mnemonic:  E
Nsat*topmenubar.File.mnemonic:  F
Nsat*topmenubar.Arrange.mnemonic:       A
Nsat*topmenubar.Tools.mnemonic: T
Nsat*topmenubar.View.mnemonic:  V
Nsat*topmenubar*Open.mnemonic:  O
Nsat*topmenubar*Exit.mnemonic:  E
!
!       Info menu       
!
Nsat*InfoMenu.marginHeight:             10
Nsat*InfoMenu.marginWidth:              15
Nsat*InfoMenu.spacing:          7
!
!       file menu       
!
Nsat*ds_rowcol.numColumns:              3
Nsat*ds_rowcol.packing:         XmPACK_COLUMN
!Nsat*FileMenu.marginHeight:            10
!Nsat*FileMenu.marginWidth:             15
!Nsat*FileMenu.spacing:         7
!
!       edit menu       
!
Nsat*EditMenu.marginHeight:             10
Nsat*EditMenu.marginWidth:              15
Nsat*EditMenu.spacing:          7
!
!       view menu       
!
Nsat*ViewMenu.marginHeight:             10
Nsat*ViewMenu.marginWidth:              10
Nsat*ViewMenu.spacing:          7
!
!       tool menu       
!
Nsat*ToolMenu.marginHeight:             10
Nsat*ToolMenu.marginWidth:              10
Nsat*ToolMenu.spacing:          7
!
!       drawing widget  
!
Nsat*drawing_widget.background: black
!
! NCEP Default
Nsat*drawing_widget.width:              800
Nsat*drawing_widget.height:             600
!
! Smaller version
!Nsat*drawing_widget.width:             1050
!Nsat*drawing_widget.height:            740
!
!  Few pixels left at the bottom.
!Nsat*drawing_widget.width:            1150
!Nsat*drawing_widget.height:           805
!
!
!       colorbar        
!
Nsat*colorbarW.height:  25
!
!       enhancement
!
Nsat*enhance_list_toplevel.dialogTitle: Enh_list
Nsat*enhance_list_toplevel.noResize:                True
Nsat*enhance_list_toplevel.defaultPosition: False
Nsat*enhance_list_toplevel.x:   0
Nsat*enhance_list_toplevel.y:   0
Nsat*enhanceLabel.x:                    20
Nsat*enhanceLabel.y:                    10
Nsat*enhanceList.visibleItemCount:      15
Nsat*enhanceList.fontList:      
-adobe-times-bold-r-normal-*-12-140-75-75-p-*-iso8859-1
Nsat*enhanceClose.x:                    25
Nsat*enhanceClose.y:                    300
!
!       file selection box      
!
Nsat*dataSelectPop.defaultPosition: False
Nsat*dataSelectPop.x:   125
Nsat*dataSelectPop.y:   105
Nsat*dirFramelabel.fontList: 
-adobe-times-bold-r-normal-*-12-140-75-75-p-*-iso8859-1
!
!       preference panel
!
! quick pick in data selection popup
!
Nsat*LoadImageOptionRc.x:               10
Nsat*LoadImageOptionRc.y:               0
Nsat*LoadImageOptionLb1.x:              10
Nsat*LoadImageOptionLb1.y:              65
Nsat*LoadImageOptionTxt.x:              115
Nsat*LoadImageOptionTxt.y:              55
Nsat*LoadImageOptionLb2.x:              170
Nsat*LoadImageOptionLb2.y:              65
Nsat*LatlonOnOffOptionLb.x:             5
Nsat*LatlonOnOffOptionLb.y:             105
Nsat*LatlonOnOffOptionRc.spacing:       10
Nsat*LatlonOnOffOptionRc.x:             120
Nsat*LatlonOnOffOptionRc.y:             98
Nsat*LatlonOnOffOptionRc*.fontList: 
-adobe-times-bold-r-normal-*-12-140-75-75-p-*-iso8859-1
Nsat*AutoUpdateOnOffOptionLb.x:         5
Nsat*AutoUpdateOnOffOptionLb.y:         135
Nsat*AutoUpdateOnOffOptionRc.spacing:   5
Nsat*AutoUpdateOnOffOptionRc.x:         120
Nsat*AutoUpdateOnOffOptionRc.y:         130
Nsat*AutoUpdateOnOffOptionRc*.fontList: 
-adobe-times-bold-r-normal-*-12-140-75-75-p-*-iso8859-1
!
Nsat*PreferencePanel.noResize:          True
Nsat*PreferencePanel.dialogTitle:       Preferences
Nsat*MapOverlayOptionLb.x:              45
Nsat*MapOverlayOptionRc.y:              45
Nsat*LatIncLb.x:                        35
Nsat*LatIncLb.y:                        65
Nsat*LatlonInc1.x:                      205
Nsat*LatlonInc1.y:                      55
Nsat*LonIncLb.x:                        35
Nsat*LonIncLb.y:                        115
Nsat*LatlonInc2.x:                      205
Nsat*LatlonInc2.y:                      105
Nsat*latlonSelectionRc.x:               55
Nsat*latlonSelectionRc.y:               155
Nsat*UpdateIntervalOptionLb.x:          65
!Nsat*AutoUpdateOptionRc.x:             75
!Nsat*AutoUpdateOptionRc.y:             35
Nsat*UpdateInt.x:                       65
Nsat*UpdateInt.y:                       55
Nsat*UpdateLb.x:                        165
Nsat*UpdateLb.y:                        60
Nsat*updateQuickbRc.x:                  55
Nsat*updateQuickbRc.y:                  100
Nsat*PreferCBtnRc.x:                    20
Nsat*PreferCBtnRc.spacing:              10
!
!       toplevel_form colors
!
Nsat*background:                        grey75
Nsat*foreground:                        black
Nsat*CascadeButtonGadget.foreground:    black
!Nsat*fontList: -adobe-courier-bold-r-normal--18-180-75-75-m-110-iso8859-1
Nsat*fontList: -adobe-times-bold-r-normal-*-12-180-75-75-p-*-iso8859-1
!
!       looping control 
!
Nsat*drawing_widget.translations:       #override\n\
        <Btn3Down>, <Btn3Up>:   toggle_dataPopup() \n\
        <Key>minus:     NxmAnimationStepBackward() \n\
        <Key>plus:      NxmAnimationStepForeward() \n\
        <Key>underscore:        NxmAnimationStepBackward() \n\
        <Key>equal:     NxmAnimationStepForeward() \n\
        <Key>L:         NxmAnimationLoopForeward() \n\
        <Key>l:         NxmAnimationLoopForeward()
        <Key>!:         NxmAnimationLoopForewardBackward()
!       <Key>exclam:    NxmAnimationLoopForewardBackward()
!
!       legend area 
!
Nsat*legendform.height:                 20
Nsat*SourceLabel.leftPosition:          2
Nsat*slabel.leftPosition:               11
Nsat*AreaLabel.leftPosition:            28
Nsat*alabel.leftPosition:               35
Nsat*DateLabel.leftPosition:            55
Nsat*dlabel.leftPosition:               62
Nsat*HourLabel.leftPosition:            80
Nsat*hlabel.leftPosition:               87
Nsat*legendform.background:             wheat
Nsat*SourceLabel.background:            wheat
Nsat*slabel.background:                 wheat
Nsat*AreaLabel.background:              wheat
Nsat*alabel.background:                 wheat
Nsat*DateLabel.background:              wheat
Nsat*dlabel.background:                 wheat
Nsat*HourLabel.background:              wheat
Nsat*hlabel.background:                 wheat
Nsat*legendform.foreground:                     black
Nsat*AreaLabel.fontList: -adobe-courier-*-r-normal-*-10-*-*-*-m-90-iso8859-1
!Nsat*SourceLabel.leftPosition: 2
Nsat*SourceLabel.fontList: -adobe-courier-*-r-normal-*-10-*-*-*-m-90-iso8859-1
Nsat*slabel.fontList: -adobe-courier-*-r-normal-*-10-*-*-*-m-90-iso8859-1
Nsat*AreaLabel.fontList: -adobe-courier-*-r-normal-*-10-*-*-*-m-90-iso8859-1
Nsat*alabel.fontList: -adobe-courier-*-r-normal-*-10-*-*-*-m-90-iso8859-1
Nsat*DateLabel.fontList: -adobe-courier-*-r-normal-*-10-*-*-*-m-90-iso8859-1
Nsat*dlabel.fontList: -adobe-courier-*-r-normal-*-10-*-*-*-m-90-iso8859-1
Nsat*HourLabel.fontList: -adobe-courier-*-r-normal-*-10-*-*-*-m-90-iso8859-1
Nsat*hlabel.fontList: -adobe-courier-*-r-normal-*-10-*-*-*-m-90-iso8859-1
Nsat*sty_set.fontList:-adobe-courier-bold-r-normal-*-12-*-*-*-m-110-iso8859-1
!
Nsat*mainw_latlonLabel.fontList: 
-adobe-times-bold-r-normal-*-12-*-75-75-p-*-iso8859-1