OSR6, Office Portfolio, and signals



I posted about this issue on the SCO legend mailing list but no solution was forthcoming, so I'm trying here.


We're upgrading from OSR5 to OSR6, and SCO Office Portfolio is having issues running on OSR6. We've been using OP since SCO Unix 3.2v4.2, around 1995..

Office Portfolio is a menuing/office productivity system, composed of scosh running on top of JSB Multiview. Multiview is similar in function to facetterm; it allows you to open multiple sessions on a single terminal or telnet connection, then hotkey between them.

OP was discontinued long ago, so I don't expect to find anyone too familiar with it, but hope someone will recognize the signal behaviour.


The basic problem is, keyboard generated intr/quit signals are being passed as character data instead of as signals, to any app running within OP. Here's an example:

$ stty intr ^? # set intr to the delete key
$ op # start up OP
- start up a shell (sh, ksh, etc) from within OP
- press the delete key a few times, then press Enter. ^? appears once
for each time I pressed delete
- run the "hd" command
- press delete 3 times, then enter, then control-d
- the output of hd is "0000 7f 7f 7f 0a " confirming the keyboard
is sending the correct keycode, but something, the terminal driver,
OS, etc., is not interpreting it as a signal.

The above is true regardless of what program I start from OP. If I run filepro, which relies on the intr signal for various functions, filepro gets the \0x7f, and not the signal, when delete is pressed.

The setting of the intr character doesn't matter. The above also fails if it's set to ^C.

If I send a signal to the process from another terminal, e.g.:
kill -int <pid>
the process receives the signal and not the character.

So it appears something is mangling the signal handling. Does anyone have any suggestions or how to fix or debug?
.



Relevant Pages

  • Re: Asynchronous design
    ... I am designing a peripheral interface IO chip which is also the Intel i82C55 chip. ... THe problem I have is I want to change a interrupt signal INTR to '1' at the rising edge of a strobe input and then later change INTR to '0' when the read signal arrives. ... It seems that this is a bad synchronous design. ... my INTR signal to respond to STB and RD signals? ...
    (comp.arch.fpga)
  • Re: deadlocks with intr NFS mounts and ^Z (or: PCATCH and sleepable locks)
    ... with the sleep/lock system. ... When the mount is set intr, this is an interruptible sleep, so ... that interrupting signals can abort the sleep. ... Script started on Sat Jun 20 02:32:51 2009 ...
    (freebsd-arch)
  • Re: OSR6, Office Portfolio, and signals
    ... However we are running SCO ... keyboard generated intr/quit signals are being passed ... # set intr to the delete key ... The setting of the intr character doesn't matter. ...
    (comp.unix.sco.misc)
  • Re: OSR6, Office Portfolio, and signals
    ... keyboard generated intr/quit signals are being passed ... as character data instead of as signals, to any app running within OP. ... # set intr to the delete key ... I am not a SCO ...
    (comp.unix.sco.misc)
  • OT - line disciplines [was: Re: What IS THIS]
    ... which usually makes the operating system stop it (you can set ... >up signals to catch this, but again, thats not for this group). ... each input stream may be interpreted by a "line discipline" ... processing might include echoing the character as well as buffering it, ...
    (comp.lang.c)