[gembud] Arrow keys with GEMPAK

  • To: gembud@xxxxxxxxxxxxxxxx
  • Subject: [gembud] Arrow keys with GEMPAK
  • From: Steve Decker <sgdecker@xxxxxxxxxxxxxxxxxx>
  • Date: Thu, 6 Aug 2020 15:37:53 -0400
  • Authentication-results: unidata.ucar.edu; dkim=none (message not signed) header.d=none;unidata.ucar.edu; dmarc=none action=none header.from=envsci.rutgers.edu;
Hi gembud folks,

Since it isn't clear to me if/when the Unidata GEMPAK repository will be updated, I took the liberty of creating a fork that includes a few bug fixes and one new feature.  I added GNU Readline support to the GEMPAK prompt (Linux only), so that you can indeed now use the arrow keys (and other shortcuts like Ctrl-a, etc.,) to your heart's content.

You can checkout my 'develop' branch if you are interested:
https://github.com/sgdecker/gempak/tree/develop

I don't anticipate making any further changes myself, but would certainly entertain pull requests.  Note that the way I added Readline support probably broke the build for anything but gfortran on Linux.

I have been testing this branch (in a very loose sense of the word test) over the last few weeks, and it seems OK, but I should probably be clear: Use at your own risk!

Sincerely,
Steve

--
Steve Decker, Associate Teaching Professor
Director, Meteorology Undergraduate Program
Department of Environmental Sciences           Phone: (848) 932-5750
Rutgers University                               Fax: (732) 932-8644
14 College Farm Rd                  Email: decker@xxxxxxxxxxxxxxxxxx
New Brunswick, NJ  08901-8551