[GRASS5] [bug #2036] (grass) SEC: UNCLASSIFIED RE: GRASS IRIX binary version was installed in SGI Fuel Systems but the 'ESC' and 'Enter' keys of keyboard are disfunctional. Is there any advice how to make it work.

this bug's URL: http://intevation.de/rt/webrt?serial_num=2036
-------------------------------------------------------------------------

Subject: SEC: UNCLASSIFIED RE: GRASS IRIX binary version was installed in SGI Fuel Systems but the 'ESC' and 'Enter' keys of keyboard are disfunctional. Is there any advice how to make it work.

Platform: Irix
grass obtained from: Mirror of Trento site
grass binary for platform: Downloaded precompiled Binaries
GRASS Version: 5.Opre3

Please enter error description here (and your name)

Enayet Ullah
Email: enayet.ullah@defence.gov.au

Hi GRASS users,

When GRASS5.Opre3 was run with the option '-text', the "Esc" key as well as some selection for "Enter" key is not accepted and the system hung. GRASS was installed on SGI Fuel system after downloading the binaries. The fuel envirnment options "env" shows LANG=C. I have contacted SGI to check the keyboard type and it has not been changed from the ONYX or Indigo keyboard. I would like to know, whether other Fuel users have been experiencing the same or is there any remedy for such a problem.

-------------------------------------------- Managed by Request Tracker

Request Tracker wrote:

When GRASS5.Opre3 was run with the option '-text', the "Esc" key as
well as some selection for "Enter" key is not accepted and the system
hung. GRASS was installed on SGI Fuel system after downloading the
binaries. The fuel envirnment options "env" shows LANG=C. I have
contacted SGI to check the keyboard type and it has not been changed
from the ONYX or Indigo keyboard. I would like to know, whether other
Fuel users have been experiencing the same or is there any remedy for
such a problem.

This usually indicates a bug in the system's "curses" library.

When curses receives an ESC character (code 27), it waits to see if it
is followed by other characters which constitute a recognised escape
sequence (e.g for cursor keys, function keys etc). It should only wait
for a short period; if no other codes are received within that period,
the ESC code should be reported as an individual key press.

However, some systems (and I think that includes some IRIX systems)
seem to wait forever.

One possibility: you could try explicitly enabling the timeout, by
adding the line:

  notimeout(stdscr, FALSE);

to src/libes/vask/V_init.c.

--
Glynn Clements <glynn.clements@virgin.net>

The problem was with the 5.0.0pre5 IRIX binaries. It seems to be a bug in
the keypad() function in the SGI implementation of the curses library and
occurs when running through the IRIX winterm. If you use another terminal
emulator, e.g. xterm or telnet into the machine, the Esc and Enter keys
work fine.

However the latest 5.0.2 IRIX binaries, which have been available for
several months now, do not have this problem as I manually disabled the
calls to the keypad() function before compiling the binaries.

So, two possible solutions:
1) Keep the 5.0.0pre5 and run through an xterm (for example)

2) Upgrade to the 5.0.2 binaries

Any further reports on the usability of the IRIX binaries would be welcome
as they do not get much testing.

Paul Kelly

On Thu, 24 Jul 2003, Request Tracker wrote:

this bug's URL: http://intevation.de/rt/webrt?serial_num=2036
-------------------------------------------------------------------------

Subject: SEC: UNCLASSIFIED RE: GRASS IRIX binary version was installed in SGI Fuel Systems but the 'ESC' and 'Enter' keys of keyboard are disfunctional. Is there any advice how to make it work.

Platform: Irix
grass obtained from: Mirror of Trento site
grass binary for platform: Downloaded precompiled Binaries
GRASS Version: 5.Opre3

Please enter error description here (and your name)

Enayet Ullah
Email: enayet.ullah@defence.gov.au

Hi GRASS users,

When GRASS5.Opre3 was run with the option '-text', the "Esc" key as well as some selection for "Enter" key is not accepted and the system hung. GRASS was installed on SGI Fuel system after downloading the binaries. The fuel envirnment options "env" shows LANG=C. I have contacted SGI to check the keyboard type and it has not been changed from the ONYX or Indigo keyboard. I would like to know, whether other Fuel users have been experiencing the same or is there any remedy for such a problem.

-------------------------------------------- Managed by Request Tracker

_______________________________________________
grass5 mailing list
grass5@grass.itc.it
http://grass.itc.it/mailman/listinfo/grass5

On Thu, 24 Jul 2003, Glynn Clements wrote:

...

However, some systems (and I think that includes some IRIX systems)
seem to wait forever.

One possibility: you could try explicitly enabling the timeout, by
adding the line:

  notimeout(stdscr, FALSE);

to src/libes/vask/V_init.c.

I think we tried that before and it didn't work:
http://grass.itc.it/pipermail/grass5/2002-December/004473.html

But maybe it is worth taking the issue up with the vendor as a bug. I
think our support contract with SGI here at QUB has expired, but if, as
the bug report implies, the problem is still there on the latest models,
somebody with a current support contract etc. could take it further.