| I have a utility called SWING that allows one to "swing" from one
directory to the next without having to set def [.etc] and using
smokey, the arrows are not recognised, even though VMS treats the
arrows correctly. Why, I dunno, must be application dependant.
Jean
|
| If somebody wants to fix the keyboard so it sends 8 bit sequences
it shouldn't take too long.
Need to add:
In the routine that processes escape sequences, add code to
recognize ESC SP F where ESC is 27 decimal, SP is 32 decimal and
F is 70 decimal. That sequence should put the terminal in 7 bit
transmission mode. ESC SP G should put the terminal in 8 bit
transmission mode.
Need to modify:
The routine that sets the terminal level CSI Ps1; Ps2 " p
should look at Ps2 if Ps1 is greater than 61. Ps2 will be a
0 (default) or a 2 to put the terminal in 8 bit transmission mode.
Ps2 will be a 1 if the terminal should be put in 7 bit transmission
mode.
The routine toasc() should be modified to look for sequences
that start with ESC [. The ESC [ pair of characters is correct
in 7 bit mode. In 8 bit mode, it should be a CSI or 155 decimal.
if (c1trmode == 7) sendstring("\033[")
else sendchar("\233");
would be appropriate code.
If I had the time to get the sources from someone, edit the sources,
recompile, test, and upload, I would do this myself. But I have
already wasted more time than I have writing this note.
--Mike
|
| The reason seems to be that certain applications don't accept ESC O
as an introducer for an arrow key sequence. My VT200.INIT file sets
cursor key mode, which tells Smokey to send ESC O sequences for the
arrows instead of ESC [ sequences (ie, the 7-bit equivalents of SS3
instead of CSI). But SMG doesn't recognize ESC O.
The solution is simply to reset cursor key mode by toggling the
AppCur entry in the Keyboard menu or by changing the APPCUR line in
your init file.
- Cliff
|