On 26-Oct-99, [EMAIL PROTECTED] wrote:
> I am curious the actual steps one takes to move the cursor up
> with the keyboard, for example.
Something like this, perhaps:
con: open/binary [scheme: 'console]
wait con
code: copy con
Now it's just a matter of examining the 'code contents. It's binary,
but thanslated into a string it's something like "^(1B)[A" (that's
up-arrow, all "special" codes are in %notes.html). If you want the
arrow keys to work as expected, you can simply output the same
string back to con, and the cursor should jump up by one line.
Before the virtual console I used telnet for "advanced" text output,
and interestingly enough I practically didn't have to change a line
of code to make it work with the new console instead, except for
opening a different port. Suddenly my old rogue-like project feels
meaningful again :)
--
Johan Forsberg