[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [MiNT] Arrow keys in nano



Vincent Rivière <vincent.riviere@freesbee.fr> writes:

> I believe that the IEXTEN flag is related to the kernel terminal driver,

POSIX sez:

    11.1.9 Special Characters
    [...]
    A special character is recognized not only by its value, but also by its
    context; for example, an implementation may support multi-byte sequences
    that have a meaning different from the meaning of the bytes when
    considered individually. Implementations may also support additional
    single-byte functions. These implementation-defined multi-byte or
    single-byte functions shall be recognized only if the IEXTEN flag is
    set; otherwise, data is received without interpretation, except as
    required to recognize the special characters defined in this section.

    [XSI] [Option Start] If IEXTEN is set, the ERASE, KILL, and EOF
    characters can be escaped by a preceding <backslash> character, in which
    case no special function shall occur. [Option End]


    11.2.5 Local Modes
    [...]
    If IEXTEN is set, implementation-defined functions shall be
    recognized from the input data. It is implementation-defined how
    IEXTEN being set interacts with ICANON, ISIG, IXON, or IXOFF. If
    IEXTEN is not set, implementation-defined functions shall not be
    recognized and the corresponding input characters are processed as
    described for ICANON, ISIG, IXON, and IXOFF.

Andreas.

-- 
Andreas Schwab, schwab@linux-m68k.org
GPG Key fingerprint = 58CA 54C7 6D53 942B 1756  01D3 44D5 214B 8276 4ED5
"And now for something completely different."