HELP with 
Author Message
 HELP with

Here's hoping one or more of y'all can help me out (again)!

I've written several scripts which members of the campus
community will use to request library services.  The
scripts run under inetd so that the users can select
a particular service from menus on several other boxes.
For example, selecting such a service from one such
menu would cause

telnet host <port>

and host fires up the script associated with that port.

The scripts prompt users for specific information,
and the input is evaluated for completeness/validity.
Then the script opens a pico buffer so that users
can append free form comments to their requests.

Everything works fine until the script tries to
start pico.  The error message "Incomplete termcap
statement" is generated and the script continues
without opening pico.  I'm assuming that because
pico is a full screen editor and no terminal
type is established because there is no 'login'
per se -- that that is the source of my problem.

I've been trying to use to get the terminal
characteristics from termcap but thus far without

Ideally, I'd like to be able to do a standard

Please enter terminal type -- press ENTER for vt100

sort of thing -- and get the appropriate info
from the termcap database.  Can anyone give me
an idea how to do this?

If it matters -- I'm using
perl 4.036
RS6000 running AIX 3.?

and connections will be coming from other
RS6000 boxes and (hopefully) a VAX (so
it would be really useful to be able to get
vt220 or 320 capabilities when called for.)

Thanks --

         Steve Rafferty, Systems Dept., Health Sciences Library
          111 S. Greene St., Baltimore, MD 21201  410-706-1814

Sun, 23 Nov 1997 03:00:00 GMT  
 [ 1 post ] 

 Relevant Pages 

1. perl5a4 bug and fix

2. example in Perl

3. Insecure dependency in

4. still buggy

5. more problems & a quick question

6. Bug in

7. modifications

8. help with

9. Help: problem with and

10. program to parse termcap file?

11. Termcap library

12. Calling TERMCAP manually


Powered by phpBB® Forum Software