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

Remove var viraw #865

Closed
wants to merge 1 commit into from
Closed

Remove var viraw #865

wants to merge 1 commit into from

Conversation

krader1961
Copy link
Contributor

While working on lint cleanups I noticed that viraw is now a constant
thanks to oclint warning about constant if() expressions. We no longer
support the vi CLI editor mode without support for putting the tty in
"raw" mode. So eliminate the symbol. And update the documentation to
explain that the option no longer has any effect.

Fixes #864

While working on lint cleanups I noticed that viraw is now a constant
thanks to oclint warning about constant if() expressions. We no longer
support the vi CLI editor mode without support for putting the tty in
"raw" mode. So eliminate the symbol. And update the documentation to
explain that the option no longer has any effect.

Fixes #864
@@ -19,6 +19,7 @@ None at this time.

## Notable non-backward compatible changes

- Vi raw mode is now the default and cannot be disabled (issue #864).
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

It does not look like a backward incompatible change to me. I see this entry in RELEASE file:

01-11-26 +The default has compilation mode has been changes so that
              viraw mode will always be on.

I can not disable viraw mode in version of ksh that is shipped with RHEL.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Note that "the default compilation mode" simply means that viraw was enabled by default. The second clause of that sentence seems to be independent of the first clause. And looking at the source in the legacy ast.master and ast.beta branches it is not at all obvious you can't disable viraw behavior. Nonetheless, I'm happy to move this statement about viraw to the "Other significant changes" section.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants