[comp.archives] [perl] Re: Curses and Perl

martelli@cadlab.sublink.ORG (Alex Martelli) (05/12/91)

Archive-name: unix/shell/shellforms/1991-05-05
Archive-directory: wuarchive.wustl.edu:/usenet/comp.sources.unix/volume14/shellforms/ [128.252.135.4]
Original-posting-by: martelli@cadlab.sublink.ORG (Alex Martelli)
Original-subject: Re: Curses and Perl
Reposted-by: emv@msen.com (Edward Vielmetti, MSEN)

jukoff@imram.net.com (Steve Jukoff) writes:
	...
:Is there an (ASCII) screen-oriented menu program in PD-land?

"shellforms", by Paul Lew, contributed in 1988 to comp.sources.misc (or was
it .unix?); simple to use, and functional; it can be embedded in a sh, csh,
or perl script.  Need a small patch to use with strict terminfo-based-curses:
a call to put_string must be exchanged to whatever-it-is-you-use-in-terminfo
for proper implementation of milliseconds delays, if you have them in your
terminfo description for the terminal you're using, or you end up with a 
screen full of '$<5>' etc; the only machine with this problem among the many
we use was the IBM RS6000, and the fix was easy to find, although I'm no
expert on SysV-curses; I can ferret it out if you need it.

May well not be the best solution for perl, but in our case we wanted to
enable people knowing only sh to quickly modify menu-based scripts, so sf
(shellforms) stood out a mile!

-- comp.archives file verification
wuarchive.wustl.edu
total 43
-rw-rw-r--  1 root        21967 Sep 11  1988 part02.Z
-rw-rw-r--  1 root        21146 Sep 11  1988 part01.Z
found shellforms ok
wuarchive.wustl.edu:/usenet/comp.sources.unix/volume14/shellforms/