[comp.unix.xenix] xenix curses

phile@lgnp1.MASA.COM (Phil Eschallier) (11/24/88)

hey net-worlders ... a quick question.

using xenix/286 2.2.3, i am trying to port over some curses based programs
originally written on a at&t sys 5 rel 2 system.  i can't seem to get the
terminfo style curses to work quite right.  for some reason, when running
a program that uses the curses package, the it will not recognize a 'P'
(uppercase) but it will take any other character from the keyboard.  the
'P' comes across as a '^@' -- has anyone had this problem or know of a
fix?? (note: i went back to 2.2.1 and observed the same behavior!).

now if i use the termcap curses under xenix, all works well but the code
i am working with is very system 5 oriented to life would be much easier
if the terminfo curses could be made to work properly!

any help would be much appreciated.  response by email preferred.

---
phil eschallier                    sorry, no fancy signature!
phile@lgnp1

daveh@marob.MASA.COM (Dave Hammond) (11/27/88)

In article <91@lgnp1.MASA.COM> phile@lgnp1.MASA.COM (Phil Eschallier) writes:
>using xenix/286 2.2.3, i am trying to port over some curses based programs
>originally written on a at&t sys 5 rel 2 system.  i can't seem to get the
>terminfo style curses to work quite right.  for some reason, when running
>a program that uses the curses package, the it will not recognize a 'P'
>(uppercase) but it will take any other character from the keyboard.  the
>'P' comes across as a '^@' -- has anyone had this problem or know of a
>fix?? (note: i went back to 2.2.1 and observed the same behavior!).

The SCO Xenix getch() is just plain broken (try typing a lowercase 'd' to
your program, as well).  It can't be used reliably in any progam which needs
to read unstructured text (everything from entering filenames to editing text).

Dave Hammond
  UUCP: ...!uunet!masa.com!{marob,dsix2}!daveh
DOMAIN: daveh@marob.masa.com
----------------------------------------------------------------------------