Re: [cc65] Escape keys

Date view Thread view Subject view

From: Groepaz (groepaz_at_gmx.net)
Date: 2002-12-14 16:22:27


On Saturday 14 December 2002 13:12, Ullrich von Bassewitz wrote:

> Above proposal will give us three separate types of codes:
>
>   1. Output characters:   CH_ESC, CH_HLINE, CH_VLINE
>
>   2. Input key codes:     KEY_ESC, KEY_F1, KEY_F2
>
>   3. Key functions:       KF_ABORT, KF_HELP, KF_SAVE
>
> Only 1. and 2. are defined by conio.
>
> To support writing of portable programs, it may be an idea, to develop some
> guidelines, which key codes to use for a program function. This may also
> help developers, since many programmers people just know one or two
> platforms really well. But, because these guidelines cover a higher layer,
> they would not be part of conio.

mmmh, thats still not really a reason not to define KEY_ESC with the code 
ctrl+[ produces no? IMHO it would be a major annoyance if such (regulary 
used) keys arent available everywhere. (i agree however, that only a choosen 
few keys should be substituted like this)

-- 
          ___ ___ .___________________ .___________ _______.
    c=64 /   |   \|   \__    ___/     \ \_   _____/ \      \ [groepaz]
     gb /    '    \   | |    | /  \ /  \ |    __)_  /   |   \ gp32
    cgb \    .    /   | |    |/    '    \|        \/    |    \ psx
     gba \___|_  /|___| |____|\____|__  /_______  /\____|__  / dc
          -----\/-----'---------------\/--------\/---------\/
       http://www.hitmen-console.org    Hitmen WWW Headquarters
       http://fly.to/hitmen-groepaz     my personal playground
       http://rr.c64.org/silversurfer   home of the RR debugger
       ftp.musoftware.de/pub/groepaz    cc65 dump site

----------------------------------------------------------------------
To unsubscribe from the list send mail to majordomo_at_musoftware.de with
the string "unsubscribe cc65" in the body(!) of the mail.


Date view Thread view Subject view

This archive was generated by hypermail 2.1.3 : 2002-12-14 16:25:59 CET