× 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: Re: Packed Fields bug
  • From: Scott Klement <klemscot@xxxxxxxxxxxx>
  • Date: Sun, 22 Apr 2001 03:22:25 -0500 (CDT)



On Sat, 21 Apr 2001 kolmann@attglobal.net wrote:

> Pardon my ignorance, I am only learning LINUX and still
> have not succussfully installed TN5250, but I have some
> small experience with 5250 data streams and what I do
> is replace characters 'ONLY IN THE DATA USUALLY
> AFTER a SF ORDER' that are less that X'40' (EBCDIC)
> (perhaps the test could be done better)
> with X'1F' (EBCDIC). This prevents the packed fields
> being incorrectly interpreted as control chars.
> If I knew more about C I would try to isolate the code.
> Sorry
> Frank Kolmann
> 

Frank... 

We've already made considerable effort to fix these types of problems,
but you won't be able to take advantage of these fixes if you're running
a version of tn5250 that was released before the changes!

That's why Mike asked what version of tn5250 he's running.  All the 
updates in the world won't help if he's using a version made prior to
the updates!

this is a quote from ChangeLog in the current source distribution:

2000-06-21 Mike Madore <mmadore@turbolinux.com>
- Fixed off by one errors when checking screen position validity.
  Emulator was erroneously sending negative responses when output was to
  the last row of the screen.
- Add more validity checking of orders and commands.  The emualtor now
  produces the same error messages as a real terminal while running Scott
  Klement's test program.

2000-06-20 Mike Madore <mmadore@turbolinux.com>
- Modified the following functions so that they now send a negative 
  response when they encounter illegal parameters:
     start_of_header
     repeat_to_address
     insert_cursor
     and others...
  This fixes a number of the assertions when viewing 'non-printable'
  characters.  There are still several of these cases to code for, so it's
  possible to get assertions if you view binary data.

2000-04-27 Mike Madore <mmadore@turbolinux.com>
- Applied Scott Klement's patches to improve handling of undisplayable
  characters.

To the best of my knowledge at this time, all undisplayable characters
are being treated the same way that they are on a "real IBM Terminal".

However, much of these changes are not available, even in 0.16.1.  
Unless you're running the developement sources newer than 2000-06-21,
you won't be taking advantage of them!

Mike/Jay...  can more of this stuff be merged into the stable source?  
Can we make a newer release for these people?   Can we eradicate all 
the old releases? :)



+---
| 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 ...

Replies:

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.