0.9.0 --- the keystrokes this console keeps for itself are a position now - #25
Merged
Merged
Conversation
… now openkal 0.14 adds KAL_TERM_PASS_CONTROL, and this implementation reads and writes it as ENABLE_PROCESSED_INPUT, inverted. This environment keeps the keystrokes it reserves --- the interrupt, and the pair that stops and starts output --- behind one flag, where the two termios environments spread the same reservation over three of their own. The position asks one question on either side: does the environment reserve anything at all. That is why it is one position and not one per class of keystroke, which this environment could not answer (clause 6.4). The rule the specification states beside set_mode --- that a position whose requested value is the one in effect is not written --- binds an implementation whose position stands for several mechanisms. Here it stands for one, and assigning it from the mode word is the same act as leaving it alone.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
跟随 openkal 0.14(mcpplibs/openkal#38):模式字第三个位
KAL_TERM_PASS_CONTROL的读写,以及规范在set_mode旁新增的两条规则。ISIG|IXON|IEXTEN;console:ENABLE_PROCESSED_INPUT),否则同一个模式字在两个系统上含义不同。kal_stream_read会报出一个不是输入结束的 0(条款 7.4)。依赖:openkal 0.14.0。各仓库同名分支
openkal-0.14,CI 会检出同名规范分支。端到端验证(^C以 0x03 到达、^S不冻结、恢复后终端回到原样)在 openkal-musl 的 pty 探针里与宿主 C 库对照。