| Newsgroups |
gmane.comp.emulators.hercules390.general |
| Message-ID |
<CAOVaYmOcgBDqjDDQ34ACYNY5z7ThLWEkxQwUWFD+2RYKjkCc-g@mail.gmail.com> |
Thank you, Fish and Jurgen.
I run Windows 7 on a Quad Core Intel i7 4.0GHz processor. I do not use
IND$FILE. I had five 3270 sessions when I noticed around 10 of these
messages on my console, with no other messages in between. I'm very pleased
with 4.2 as it is by far the fastest and most stable environment for my
testing. So I'll stick with it, until the next release.
Best regards,
On Fri, Aug 9, 2019 at 3:58 AM ''Fish' (David B. Trout)'
[email protected] [hercules-390] <[email protected]> wrote:
>
>
> Aaron Finerman wrote:
>
> > Hi, Anyway to avoid the message 'Switching from Fast
> > to Slow polling' and vice versa? My Hercules console
> > gets flooded with this message.
>
> Define "flooded".
>
> With SDL-Hyperion 4.2 you will see message HHC02917I appear periodically
> during normal operation (most typically when a tn3270 client is first
> connected and at the start and end of a IND$FILE transfer), but you should
> certainly NOT be "flooded" with such messages.
>
> Yes, I agree it is annoying to be constantly seeing them appear over and
> over again during normal operation, which is why I committed a change to
> suppress them during normal operation and only display them if "msglevel
> debug" is active.
>
> Unfortunately however, this fix was made *after* 4.2 was already released,
> so it's of course not in 4.2. (But it *will* obviously be in the next
> release.)
>
> If you're able (or willing) to build Hercules for yourself, here's the
> patch:
>
> diff --git a/console.c b/console.c
> index 871459c4..53ba0fa1 100644
> --- a/console.c
> +++ b/console.c
> @@ -3248,9 +3248,10 @@ static void calcto() // (calculate timeout)
> timeval_subtract( &previo, &currio, &diffio );
> timeout = (diffio.tv_sec > 0 || diffio.tv_usec > 100000) ?
> &slowpoll : &fastpoll;
> - if (timeout != prev_timeout)
> - WRMSG( HHC02917, "I", &slowpoll == prev_timeout ?
> - "slow to FAST" : "FAST to slow" );
> + if (MLVL( DEBUG ))
> + if (timeout != prev_timeout)
> + WRMSG( HHC02917, "D", &slowpoll == prev_timeout ?
> + "slow to FAST" : "FAST to slow" );
> }
>
> static void consio() // (console read)
>
> --
> "Fish" (David B. Trout)
> Software Development Laboratories
> http://www.softdevlabs.com
> mail: [email protected]
>
>
>