HP3000-L Archives

January 1997, Week 5

HP3000-L@RAVEN.UTC.EDU

Options: Use Monospaced Font
Show Text Part by Default
Show All Mail Headers

Message: [<< First] [< Prev] [Next >] [Last >>]
Topic: [<< First] [< Prev] [Next >] [Last >>]
Author: [<< First] [< Prev] [Next >] [Last >>]

Print Reply
Subject:
From:
Steve BARRETT <[log in to unmask]>
Reply To:
Steve BARRETT <[log in to unmask]>
Date:
Fri, 31 Jan 1997 10:28:00 +0000
Content-Type:
text/plain
Parts/Attachments:
text/plain (103 lines)
Per.Ostberg wrote:

I've been seeing a lot of these lately (on my PC, running r1win 5.10):
------example------------
:nmmgr
<at least 20 sec delay>
Terminal is of incorrect type or cannot be opened.  (NMGRERR 1))
The terminal status request failed.
:?008000
Invalid first character in command name. (CIERR 9090)).
:
---------end example--------------
R1win (connected with NS/VT) says the terminal is set to HP2392A, when I
do
:input termid;wait=2;prompt="![chr(27)]*s^"
the terminal respons is '2392A'. It has happened with homegrown (VPlus)
apps as well as NMMGR (although the output is a bit different). I
understand this is related to VPLUS(?), but is the error in VPLUS
(nah..) or Reflection, and does anyone know what causes it? Also, the
command '?008000' that gets 'executed' just after the abort (it shows up
on the redo-stack), just what is it? terminal respons to some other kind
of status request vplus does?
clues? anyone?

TIA
/per

btw
The :input termid;wait=2;prompt="![chr(27)]*s^"-trick was contributed by
someone on this list some time ago, thanks a lot! (sorry, can't remember
who). Just shows how valueable this list is...

-----------------------------Reply Separator---------------------------------

The '?008000' is the string returned from your HP terminal device as
a result of issuing the escape sequence 'chr(27)*s^'.  The 'prompt'
parameter of your 'input' statement issues the escape sequence to the
terminal and the terminal responds with a string indicating the
terminal type.

The reason the string is showing up at the ':' prompt and then being
interpreted as some sort of bogus input is probally due to a timing
problem.  The request is being issued across a datalink and depending
on the speed of the link the result may not be available for
processing by your CI program at the appropriate time.

You might try adjusting the 'wait' time in the input statement or try
pauses before(?) or after(?) the 'input' statement.

Steve B.

--------------------------Message Separator----------------------------

(this bounced twice, sorry if anyone gets more than one copy)
I wrote:
> I've been seeing a lot of these lately (on my PC, running r1win 5.10):
> ------example------------
> :nmmgr
> <at least 20 sec delay>
> Terminal is of incorrect type or cannot be opened.  (NMGRERR 1))
> The terminal status request failed.
> :?008000
> Invalid first character in command name. (CIERR 9090)).
> :
> ---------end example--------------
Thanks for all the answers, it turned out that, opposed to some answers,
hptypeahead was my problem. It was enabled for the offending session and
the problem went away when I changed it. Now I'm curious about what/who
set HPTYPEAHEAD true.. ..
/per

------------------------Additional Reply Separator---------------------

I prepared the above reply before reading through a day's worth of
HP3000-L e-mail in anticipation of sending it after reading what
others had to say. I'm leaving my original reply in this response
because I think it demonstrates how valuable the listserv is.

I spent a good amount of time working with a logon UDC that would
determine whether a user was accessing our Library system using an HP
terminal or other (DEC).  As a result of determining the term type I
intended to log them in either to a VPlus application (if HP) or
to a character based application (if DEC).  I never put this into
production because of its occassional failure.

I am now encouraged to revisit this project based on the simple but illusive
solution I found here.

Thanks again,
Steve B.


   ============================================================
   = Steven P. Barrett    [log in to unmask] =
   = Systems Analyst                                          =
   = Fairfax County Public Library     (703) 222-3132 - Voice =
   = Technical Operations Center       (703) 222-3135 - FAX   =
   = 4000 Stringfellow Rd.                                    =
   = Chantilly, VA  20151                                     =
   =                                                          =
   = --- The opinions expressed here are mine alone . ---     =
   ============================================================

ATOM RSS1 RSS2