× The internal search function is temporarily non-functional. The current search engine is no longer viable and we are researching alternatives.
As a stop gap measure, we are using Google's custom search engine service.
If you know of an easy to use, open source, search engine ... please contact support@midrange.com.


  • Subject: Here's a fix for the sysreq problem
  • From: Scott Klement <klemscot@xxxxxxxxxxxx>
  • Date: Fri, 30 Jun 2000 10:31:03 -0500 (CDT)


The problem with SYSREQ not working just looks like a "silly" mistake.  
in session.c, the "header.h5250.flags" variable is being set twice, and
the "opcode" variable isn't being set at all. 

(from session.c, the "tn5250_session_handle_aidkey" function:)

   case TN5250_SESSION_AID_SYSREQ:
      This->read_opcode = 0; /* We are out of the read */
 
      header.h5250.flowtype = TN5250_RECORD_FLOW_DISPLAY;
      header.h5250.flags    = TN5250_RECORD_H_SRQ;
      header.h5250.flags    = TN5250_RECORD_OPCODE_NO_OP;
  
see the problem?  it should be:

      header.h5250.flowtype = TN5250_RECORD_FLOW_DISPLAY;
      header.h5250.flags    = TN5250_RECORD_H_SRQ;
      header.h5250.opcode   = TN5250_RECORD_OPCODE_NO_OP;
                  --------  <--- opcode rather than flags.

Can someone put this in CVS?


+---
| This is the LINUX5250 Mailing List!
| To submit a new message, send your mail to LINUX5250@midrange.com.
| To subscribe to this list send email to LINUX5250-SUB@midrange.com.
| To unsubscribe from this list send email to LINUX5250-UNSUB@midrange.com.
| Questions should be directed to the list owner/operator: david@midrange.com
+---

As an Amazon Associate we earn from qualifying purchases.

This thread ...

Follow-Ups:

Follow On AppleNews
Return to Archive home page | Return to MIDRANGE.COM home page

This mailing list archive is Copyright 1997-2024 by midrange.com and David Gibbs as a compilation work. Use of the archive is restricted to research of a business or technical nature. Any other uses are prohibited. Full details are available on our policy page. If you have questions about this, please contact [javascript protected email address].

Operating expenses for this site are earned using the Amazon Associate program and Google Adsense.