STN Termcap.sh program

Bruce Easton bruce at stn.com
Wed Apr 29 10:21:55 PDT 2009


Bill Campbell wrote Wednesday,
April 29, 2009 12:40 PM:
> 
> On Wed, Apr 29, 2009, Doug Luurs
wrote:
> >I've been trying to get ahold of
STN for the last few day to 
> see if I 
> >can get ahold of a copy of their
termcap.sh program.
> >( REF: STN Filepro Development
Guide 4th Ed - Page 167 )
> >
> >Does anyone at STN read the list
.. and might I a copy of 
> the program please ?
> >(or anyone else for that matter)
> 
> What does this program do?  I
have several perl or python 
> routines that do termcap
manipulation on *nix boxen.
> 
> Bill
> -- 
> INTERNET:   bill at celestial.com
Bill Campbell; Celestial Software
LLC

Bill - our book says this program
will "take the code [termcap]
apart, and display it in readable
form."  Looks like it asks 
for the name of the termcap file
and a terminal type and then 
outputs a list with entries like:

.
.
G1  ^A\277   Graphics - Upper-right
G2  ^A\332   Graphics - Upper-left
.
.
PC  \E[X     filePro - redraw
screen
. 
.
etc.

So the shell program is accompanied
by a library file 
that has the descriptions for the
different kinds of
possible entries.

I notice it has a sizeable sed
command in the middle - 
I'd have to have a Sudafed to
understand it more.  
I sent Doug the program and lib
files.

Bruce

Bruce Easton
STN, Inc.
  



More information about the Filepro-list mailing list