Brian McKee | 10 Jan 2007 22:50

Reset being sent 'automatically'


Hi All,	

I need to preface this with the fact that I know very little about AS/ 
400's so I'm sure my terminology is suspect.

Here's my issue.  We are currently using tn5250 (version 0.16.5) to  
connect to an AS400.
If a user hits a key that isn't appropriate e.g. hitting an undefined  
Function key
'X11' shows at the bottom of the screen and nothing further can be  
done until you hit Control-R to 'reset' it.
Using IBM's java applet the X11 shows up, but the 'reset' seems to  
happen automatically.  In other words you
can just keep going if you make a mistake.

Can I recreate that behaviour using tn5250?

And is there any major reason to upgrade to the current version?   
Other than the 'reset' issue the software is working great and has  
been for some time.

Comments appreciated

Brian
Scott Klement | 11 Jan 2007 01:15
Favicon

Re: Reset being sent 'automatically'


> If a user hits a key that isn't appropriate e.g. hitting an undefined
> Function key 'X11' shows at the bottom of the screen and nothing further c
> an be done until you hit Control-R to 'reset' it.

It's actually "X II" (II means "input inhibited") not X11 which is 
something else entirely :)

> Using IBM's java applet the X11 shows up, but the 'reset' seems to
> happen automatically.  In other words you
> can just keep going if you make a mistake.
>
> Can I recreate that behaviour using tn5250?

Sure.  Just set the +uninhibited config option.
--

-- 
This is the Linux 5250 Development Project (LINUX5250) mailing list
To post a message email: LINUX5250@...
To subscribe, unsubscribe, or change list options,
visit: http://lists.midrange.com/mailman/listinfo/linux5250
or email: LINUX5250-request@...
Before posting, please take a moment to review the archives
at http://archive.midrange.com/linux5250.

Brian McKee | 11 Jan 2007 15:52

Re: Reset being sent 'automatically'


On 10-Jan-07, at 7:15 PM, Scott Klement wrote:
>> If a user hits a key that isn't appropriate e.g. hitting an undefined
>> Function key 'X11' shows at the bottom of the screen and nothing  
>> further c
>> an be done until you hit Control-R to 'reset' it.
> It's actually "X II" (II means "input inhibited") not X11 which is
> something else entirely :)

Told you my terminology stunk :-)

>> Using IBM's java applet the X11 shows up, but the 'reset' seems to
>> happen automatically. Can I recreate that behaviour using tn5250?
> Sure.  Just set the +uninhibited config option.

That didn't work for me, but that option wasn't mentioned in the man  
page either.
Looking at the change log I'm guessing this is it
>  Add "uninhibited" flag to Tn5250Display, for automatic release of  
> Input
>   Inhibited state when movement keys and functions keys are used.
>   Defaults to false for compatibility with previous versions.

So I guess I'll have to update to the current version.
There was a .spec file in the tarball, so I tried to build an rpm  
from that and
ran into trouble.
> ==> rpmbuild -ta tn5250-0.17.3.tar.gz
> error: Name field must be present in package: (main package)
> error: Version field must be present in package: (main package)
(Continue reading)

Brian McKee | 11 Jan 2007 16:46

Re: Reset being sent 'automatically'


On 11-Jan-07, at 9:52 AM, Brian McKee wrote:
> On 10-Jan-07, at 7:15 PM, Scott Klement wrote:
>>> If a user hits a key that isn't appropriate e.g. hitting an  
>>> undefined
>>> Function key 'X11' shows at the bottom of the screen and nothing
>>> further c
>>> an be done until you hit Control-R to 'reset' it.
>> Sure.  Just set the +uninhibited config option.
> Looking at the change log I'm guessing this is it
>>  Add "uninhibited" flag to Tn5250Display, for automatic release of
>> Input
>>   Inhibited state when movement keys and functions keys are used.
>>   Defaults to false for compatibility with previous versions.

OK - so I built 0.17.3 and tried it - only to realize that change  
note referred to 0.17.4, which seems to be CVS only.

Before I get too much further here - I need this to be reliable - is  
current CVS suitable for everyday use?

Comments appreciated
Brian
Scott Klement | 11 Jan 2007 19:13
Favicon

Re: Reset being sent 'automatically'

> Looking at the change log I'm guessing this is it
>>  Add "uninhibited" flag to Tn5250Display, for automatic release of
>>  Input Inhibited state when movement keys and functions keys are
>>  used.  Defaults to false for compatibility with previous versions.

Yep, that's it. I didn't think to check your version against the one where 
that option was added.  Sorry for the confusion.

> So I guess I'll have to update to the current version.
> There was a .spec file in the tarball, so I tried to build an rpm
> from that and ran into trouble.
[SNIP]

Probably regression! It's been a few years since the last time anyone 
built an RPM (that I know of, anyway).  And I doubt that anyone is keeping 
the spec file up to date.

I'm not a Linux person, unfortunately, and I don't know much about RPMs. 
Maybe someone else can help?

--

-- 
This is the Linux 5250 Development Project (LINUX5250) mailing list
To post a message email: LINUX5250@...
To subscribe, unsubscribe, or change list options,
visit: http://lists.midrange.com/mailman/listinfo/linux5250
or email: LINUX5250-request@...
Before posting, please take a moment to review the archives
at http://archive.midrange.com/linux5250.

(Continue reading)

Scott Klement | 11 Jan 2007 19:14
Favicon

Re: Reset being sent 'automatically'


> OK - so I built 0.17.3 and tried it - only to realize that change
> note referred to 0.17.4, which seems to be CVS only.
>
> Before I get too much further here - I need this to be reliable - is
> current CVS suitable for everyday use?

As far as I know, the only difference between the current CVS and 0.17.3 
is bug fixes.  It should be more (not less) stable!
--

-- 
This is the Linux 5250 Development Project (LINUX5250) mailing list
To post a message email: LINUX5250@...
To subscribe, unsubscribe, or change list options,
visit: http://lists.midrange.com/mailman/listinfo/linux5250
or email: LINUX5250-request@...
Before posting, please take a moment to review the archives
at http://archive.midrange.com/linux5250.

Brian McKee | 11 Jan 2007 19:17

Re: Reset being sent 'automatically'


On 11-Jan-07, at 1:13 PM, Scott Klement wrote:
>> There was a .spec file in the tarball, so I tried to build an rpm
>> from that and ran into trouble.
> [SNIP]
> Probably regression! It's been a few years since the last time anyone
> built an RPM (that I know of, anyway).  And I doubt that anyone is  
> keeping
> the spec file up to date.
>
> I'm not a Linux person, unfortunately, and I don't know much about  
> RPMs.
> Maybe someone else can help?

Not something I can tackle either (although I should learn it one  
day...)
Building an rpm which checkinstall seemed to work ok as a substitute  
so I'll go that way if nobody volunteers.

Brian
Brian McKee | 11 Jan 2007 19:18

Re: Reset being sent 'automatically'


On 11-Jan-07, at 1:14 PM, Scott Klement wrote:
>
>> OK - so I built 0.17.3 and tried it - only to realize that change
>> note referred to 0.17.4, which seems to be CVS only.
>>
>> Before I get too much further here - I need this to be reliable - is
>> current CVS suitable for everyday use?
>
> As far as I know, the only difference between the current CVS and  
> 0.17.3
> is bug fixes.  It should be more (not less) stable!

Well, then I'm off try cvs then.

Thanks,
Brian

Jack J. Woehr | 22 Jan 2007 20:37

Trouble Connecting Sparc OpenBSD

I can telnet into a remote host, but tn5250 built fresh from OpenBSD  
ports
tree on Sparc (an Ultra 10) is not connecting. It's something silly  
I'm sure. I tried a trace
file but the timeout is announced and there's nothing in the trace  
file. Any tips how to proceed
to debug this connection failure?

-- 
Jack J. Woehr
Director of Development
Absolute Performance, Inc.
jwoehr@...
303-443-7000 ext. 527

--

-- 
This is the Linux 5250 Development Project (LINUX5250) mailing list
To post a message email: LINUX5250@...
To subscribe, unsubscribe, or change list options,
visit: http://lists.midrange.com/mailman/listinfo/linux5250
or email: LINUX5250-request@...
Before posting, please take a moment to review the archives
at http://archive.midrange.com/linux5250.

James Rich | 22 Jan 2007 20:52

Re: Trouble Connecting Sparc OpenBSD

On Mon, 22 Jan 2007, Jack J. Woehr wrote:

> I can telnet into a remote host, but tn5250 built fresh from OpenBSD
> ports
> tree on Sparc (an Ultra 10) is not connecting. It's something silly
> I'm sure. I tried a trace
> file but the timeout is announced and there's nothing in the trace
> file. Any tips how to proceed
> to debug this connection failure?

Perhaps your .tn5250rc specifies a SSL connection but the SSL port is 
firewalled?

James Rich

It's not the software that's free; it's you.
 	- billyskank on Groklaw
--

-- 
This is the Linux 5250 Development Project (LINUX5250) mailing list
To post a message email: LINUX5250@...
To subscribe, unsubscribe, or change list options,
visit: http://lists.midrange.com/mailman/listinfo/linux5250
or email: LINUX5250-request@...
Before posting, please take a moment to review the archives
at http://archive.midrange.com/linux5250.


Gmane