Da gibt es ein beispielprogramm für das Cursortasten-Gefummel.
https://www.roboternetz.de/wiki/pmwi....TermANSIIGame
das steht als source auch im Download
-Bereich
https://www.roboternetz.de/phpBB2/dl...le&file_id=243

Vielleicht hilft dir das