I recall someone mentioning an issue where a Linux system was ignoring
use of the zero key on the user's keyboard. I have personally seen
this with a VMware image that was moved from another system with a
different keyboard type but I believe someone else remarked on a
similar situation recently under different circumstances.
We have a user who seems to have hit the same issue. If anyone can
shed light on this strange problem, it would be very much appreciated.
2009/6/13 Martin Phillips <MartinPhill...@ladybridge.com>:
> Hi all,
> I recall someone mentioning an issue where a Linux system was ignoring > use of the zero key on the user's keyboard. I have personally seen > this with a VMware image that was moved from another system with a > different keyboard type but I believe someone else remarked on a > similar situation recently under different circumstances.
Okay, usual information that's always required with a problem repost.
What OS and version? What connection method (telnet, console, ssh etc) ? How is the problem seen (TCL, SED, INPUT etc)?
> Okay, usual information that's always required with a problem repost.
My query was deliberately vague as I don't know who saw it before or under what conditions.
For the user that has hit the problem now, all I know is that it is some form of Linux system running under VMware. Further information provided over the weekend says that the problem only happens in an SSH connection and only inside QM, not at the shell command prompt. This tends to suggest that it is in some way connected with the specific API used to read the data (the read() function in this case).
I have personally seen this with UV on a VMware system in the past. What I am looking for is some suggestion of why it happens.
Thanks.
Martin Phillips Ladybridge Systems Ltd 17b Coldstream Lane, Hardingstone, Northampton, NN4 6DB +44-(0)1604-709200
2009/6/15 Martin Phillips <martinphill...@ladybridge.com>:
> Hi Ashley,
>> Okay, usual information that's always required with a problem repost.
> My query was deliberately vague as I don't know who saw it before or under
> what conditions.
> For the user that has hit the problem now, all I know is that it is some
> form of Linux system running under VMware.
I'll happily take a look at the problem, both to replicate the issue,
and also to debug the code. But I do need to know what "some form of
linux" is specifically. Also, it would be good to know what versions
of QM the problem has been seen with.
C'mon Martin. You know better than to ask vague questions. :-)
Further information provided over
> the weekend says that the problem only happens in an SSH connection and only
> inside QM, not at the shell command prompt.
I would think that some part of the read logic is doing the C equivalent of:-
input s,1
if s then string := s
Which should be rewritten as
input s,1
if len(s) then string := s
Otherwise "0" will be discarded .
I suspect that there may be a problem with the casts in linuxio.c, but
that's just a wild guess at the moment.
Thanks for the offer of help but we can debug the problem directly with the customer. My reason for posting the query was simply that I recall seeing this being mentioned recently somewhere. Perhaps it was not even in the context of QM at all as I have seen it with UV. I was just hoping that someone would know the answer without needing to do any research.
Martin Phillips Ladybridge Systems Ltd 17b Coldstream Lane, Hardingstone, Northampton, NN4 6DB +44-(0)1604-709200
2009/6/15 Martin Phillips <martinphill...@ladybridge.com>:
> Hi Ashley,
> Thanks for the offer of help but we can debug the problem directly with the
> customer. My reason for posting the query was simply that I recall seeing
> this being mentioned recently somewhere. Perhaps it was not even in the
> context of QM at all as I have seen it with UV. I was just hoping that
> someone would know the answer without needing to do any research.
Okay, well do come back if you hit a roadblock. I've got several test
systems that I can inflict it on.
If you do find the bug, I'll be interested to know where it is. Can
you keep us informed?
> Martin Phillips
> Ladybridge Systems Ltd
> 17b Coldstream Lane, Hardingstone, Northampton, NN4 6DB
> +44-(0)1604-709200