Skip to content

Key/Character Coding Not Being Read After Using "Less" Command #461

Closed

Description

@ealexjordan

After using the "less" command, up, down, left, right, home, and end return alphabetically characters into the buffer instead of being read as special keys.

Guessing whatever is calling into "less" is setting some sort of character encoding that is not being set back, and then the caret or escape characters are being interpreted incorrectly.

"A" is being mapped to Up, "B" to down, "C" to left, "D" to right, "H" to home and "E" to end.

Activity

  1. andyleejordan commented on Jan 28, 2016

    @andyleejordan
    Member

    Likely to due with TERM getting set unexpectedly.

  2. andyleejordan commented on Jan 29, 2016

    @andyleejordan
    Member

    Any full-screen program executed within PowerShell causes this, e.g. vim as well.

  3. andyleejordan commented on Jan 29, 2016

    @andyleejordan
    Member

    Need to check what exactly is changing in the environment and TTY when new commands are issued, then send a repro to the CLR guys.

  4. andyleejordan commented on Feb 23, 2016

    @andyleejordan
    Member

    TERM and stty remain the same, note added to dotnet/corefx#5902.

  5. andyleejordan commented on Mar 1, 2016

    @andyleejordan
    Member

    This is also fixed by dotnet/corefx#6488. Waiting on packages.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Labels

Issue-BugIssue has been identified as a bug in the product

Type

No type

Projects

No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions