Opened 23 months ago

Last modified 20 months ago

#18222 new enhancement

BSD extensions to termios.c_cc

Reported by: pulkomandy Owned by: nobody
Priority: normal Milestone: Unscheduled
Component: System/POSIX Version: R1/beta4
Keywords: Cc:
Blocked By: Blocking:
Platform: All

Description

We don't have support for VREPRINT, VWERASE and VLNEXT in termios. These are available in both BSD and glibc and provide some extra control characters to reprint the current line, erase a word, and escape the next character.

Extending the c_cc array would break existing apps, how should we go about that? Is it ok to do it for all non-gcc2 ABIs and rebuild all affected software?

Change History (4)

comment:1 by X512, 23 months ago

What is motivation of adding it? Is it a part of official POSIX spec? Any important software need it?

comment:2 by pulkomandy, 23 months ago

It is needed by neovim. I'm just taking note here after a discussion on IRC with someone trying to compile that.

Not part of POSIX, I think the ticket title is pretty clear about that?

comment:3 by X512, 23 months ago

Is it possible to patch neovim to not use API extensions? Breaking ABI just for one program seems bad idea.

comment:4 by pulkomandy, 20 months ago

Type: bugenhancement
Note: See TracTickets for help on using tickets.