See below - typo corrected ($GEMPAK/NAWIPS should be $NAWIPS and
/pathtoGEMPAK/NAWIPS should be /pathtoNAWIPS) my bad and I apologize.
From: Manousos, Peter C
Sent: Friday, August 02, 2019 10:12 AM
Subject: Solution - "How to change the default pixel size of an NMAP2 window?"
Thanks to Steve Chiswell for the tip.
1. Brute force method - before launching nmap2 edit
$GEMPAK/NAWIPS/resource/Nawips and change the values of Nmap*mainw_canvas.width
and height to your preferred dimensions
1. Because this edit will henceforth impact ALL instances of nmap2 that are
launched, if you want just your own instance(s) of nmap2's dimensions modified
without impacting anyone else who launches nmap2 on your system, here is a
1. One time: cp -r $NAWIPS/resource $NAWIPS/resource.temp (resource.temp
can be whatever name you want, I just named it as such for obvious reasons in
2. One time: edit $NAWIPS/resource.temp/Nawips and change the values of
Nmap*mainw_canvas.width and height to your preferred dimensions
3. Any time: prior to launching nmap2, set your env variable
XUSERFILESEARCHPATH to /pathtoNAWIPS/resource.temp/%N (you can reset back to
/pathtoNAWIPS/resource/%N whenever you wish to flip back to default dimensions)
LMK if you have any questions, and again thanks to Steve for the tip.
From: Manousos, Peter C
Sent: Thursday, August 01, 2019 3:59 PM
Subject: How to change the default pixel size of an NMAP2 window?
Greetings - am attempting unsuccessfully to launch NMAP2 with different pixel
dimensions than its default using window manager (example: nmap2 -- -geometry
1600x1200+0+0) and get Seg fault/core dumped.
I can locate the nmap2 window using this method say 100 pixels over and down
(example: nmap2 -- -geometry +100+100), but no luck with resizing.
After numerous greps through the $GEMTBL dir and searching on GEMBUD and google
to see if this is configurable (and many trial/error iterations) still no luck.
Anyone know if there is a table that dictates the default size (dimensions)
nmap2 opens or a way to modify its size without manually doing so with the
For what its worth, a screen capture of the nmap2 window reveals it opens at a
default dimension of 1166x1012 pixels. And btw get a core dump when I do a
nmap2 -- -geometry 1166x1012
The information contained in this message is intended only for the personal and
confidential use of the recipient(s) named above. If the reader of this message
is not the intended recipient or an agent responsible for delivering it to the
intended recipient, you are hereby notified that you have received this
document in error and that any review, dissemination, distribution, or copying
of this message is strictly prohibited. If you have received this communication
in error, please notify us immediately, and delete the original message.