Re: [gembud] typo corrected Solution - "How to change the default pixel size of an NMAP2 window?"

  • To: "gembud@xxxxxxxxxxxxxxxx" <gembud@xxxxxxxxxxxxxxxx>
  • Subject: Re: [gembud] typo corrected Solution - "How to change the default pixel size of an NMAP2 window?"
  • From: "Manousos, Peter C" <pmanousos@xxxxxxxxxxxxxxxxxxx>
  • Date: Fri, 2 Aug 2019 14:33:02 +0000
  • Arc-authentication-results: i=1; 1;spf=pass;dmarc=pass action=none;dkim=pass;arc=none
  • Arc-message-signature: i=1; a=rsa-sha256; c=relaxed/relaxed;; s=arcselector9901; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=wTpgPSLHWmOIVBlbwf9/gZomi2KOgPfShvoSrU/R5VQ=; b=DUrO95/dZTxuyTJXEa1nSsKjJid5/slA0A8ntnuA25nU2Zx4pt96QVWjq8QEzAVvgNXgE0Hv27YkDCFMm0m5TEExN8Rc4zGQeuLK99dOk0PxeMHgfKTX1U8WAnVE/yf3Gi4OmUcN4I8mj8JqX2Akr7/Wsp9Z335Ufiw0wMUOlw+a53q3byVHD8Om3hvT06q5LSAxfCYnb5Wknp/1dAO3g5Ox2yO/iDKj0aaksEfpHY+mUIp75vK90OUu8+DC19FwapNkN68ChC/OgPNuMDVMG2/koMVuJCGm8cMUtVF1S8T+tm0AsV++GnLWEuw+lwT2u+vKaySRIbFBAEHLo1aIDg==
  • Arc-seal: i=1; a=rsa-sha256; s=arcselector9901;; cv=none; b=GPQZvRo1gMByeWVz1jzOwOsFvnfeFmL1Trtb1qMt2B5Shx0e6XuDJoKpJ849fXVbFUsw6SeSUzbUkGFLlly4IEIz4qmRHoWn82BrUUAJYT0gbNU8lU0X7EKwn6fwgRBqKF8vVd99gOCVupZioLsrS8W+AX4hfnDHEHj2Pg53Bzf/ea+rOQBt86LPhJYyIBR15Q0znKV89UBPoApV6g3l9HtVrjPPIaGwxxG1LC0F62SY4hsZP6Fo1iUNcS7UQ8v3iAmC5oIetr9SB6aRzY9nFCpGu+GN+4Z38tz4/NwGrLwnuSgpTG1rWXdX7gE/PE08LYweLu9A/EjGuHubLgymkg==
  • Authentication-results: spf=none (sender IP is ) smtp.mailfrom=pmanousos@xxxxxxxxxxxxxxxxxxx;
  • Ironport-sdr: /G6WXslioNCQrlkRSrHPO0JpM3nnDRVrjfzlFmo8C4i3pKDJYmlmPy7HHxrm7HkHmKexCHlqNx yhtl1pgTVgMw==
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
To: gembud@xxxxxxxxxxxxxxxx
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 
this example)
  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
To: gembud@xxxxxxxxxxxxxxxx<mailto:gembud@xxxxxxxxxxxxxxxx>
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.
  • 2019 messages navigation, sorted by:
    1. Thread
    2. Subject
    3. Author
    4. Date
    5. ↑ Table Of Contents
  • Search the gembud archives: