Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Harmonization about the input buffer length #20

Open
ruv opened this issue Jan 22, 2025 · 0 comments
Open

Harmonization about the input buffer length #20

ruv opened this issue Jan 22, 2025 · 0 comments
Labels
inconsistency Something is inconsistent with something else

Comments

@ruv
Copy link
Collaborator

ruv commented Jan 22, 2025

When the standard refers to the input buffer length, it uses different wording, so it is unclear whether it means the same thing of different things.

There are two conceptions:

  • the actual size of the input buffer (in primitive characters, that are address units now), like in "size of the keyboard terminal input buffer".
  • the number of characters in the input buffer that the program is allowed to parse, like in "number of characters in the input buffer".

We can assume that the input buffer length is formally the same as the the number of characters in the input buffer, and use the same wording in all the cases.

For the terminal input buffer, we can say "the maximum length of the terminal input buffer" (is implementation defined).

@ruv ruv added the inconsistency Something is inconsistent with something else label Jan 22, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
inconsistency Something is inconsistent with something else
Projects
None yet
Development

No branches or pull requests

1 participant