On Tue, 17 Apr 2001, Jason Bechtel wrote:

> 0.16.1 has the same problem.  :(
> 

Hmmm... I'm looking at the code that you said was causing the assert in
version 0.16.1.   This is what I see (in tn5250_wtd_context_write_field,
around line #360):

      /* Put the field control word(s). */
      if (field->FCW != 0) {
         tn5250_wtd_context_putc (This, (unsigned char)(field->FCW >> 8));
         tn5250_wtd_context_putc (This, (unsigned char)(field->FCW & 0x00ff));
      }
   }  

   /* Put the screen attribute. */
   /* FIXME: Re-enable assert: TN5250_ASSERT (tn5250_attribute (attr)); */
   tn5250_wtd_context_putc (This, attr);


You'll note that the assert that's failing is commented out.   How could
that assertion fail if the assert is commented out?!

Does your copy of 0.16.1 have that assert commented out?  Maybe we're not
looking at the same code...


> > > application that my client is using.  I've counted and it takes about 68
> > > keystrokes to ge the point in the application where the emulator
> > > crashes.
> > 
> > Hmmm... this makes it more difficult for me to try to come up with a fix.
> > A tracefile might help, but I'm not familiar with them. :(
> 
> How do I generate a tracefile?

tn5250 trace=/path/to/somefile.txt . . .

Beware!  The tracefile will contain everything that happens in your tn5250
session, and therefore will contain your password.  I'd recommend creating
a "test" account to reproduce the problem with, create the tracefile,
then delete the test account.

> > If the problem persists after upgrading tn5250, maybe I'll take a look at
> > that... or give Mike access to my AS/400 to see if he can figure it out :)
> 
> That would be nice...  :)
> 

I can do that, but without knowing how to reproduce the problem, it 
wouldn't help. :)


+---
| This is the LINUX5250 Mailing List!
| To submit a new message, send your mail to [EMAIL PROTECTED]
| To subscribe to this list send email to [EMAIL PROTECTED]
| To unsubscribe from this list send email to [EMAIL PROTECTED]
| Questions should be directed to the list owner/operator: [EMAIL PROTECTED]
+---

Reply via email to