zopencommunity / zopencommunity/bashport

ctrl+arrow isn't handled

Open
#52 1 comment 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
Groovy
Stars
12
Forks
7
PR merge metrics
No merged PRs in 30d

Description

I like to use the key combinations of ctrl+left arrow and ctrl+right arrow in bash to move the cursor between words. This has never worked on the z/OS bash ports, and does not work on the zOpen one either. It sure would be nice if this key combo worked properly.

Instead of moving the cursor, they key combos just print the below "garbage" characters. 5C and 5D are for left and right. 5A and 5B are for up and down.

angio@pkstnp8 ~> afdsads  afdssfdsfa;5D;5D;5C;5C;5A;5B;5D;5D;5D 

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Reproduce the issue in the zOpen bash port using Ctrl+Left and Ctrl+Right, and observe the emitted escape or garbage characters. Trace the existing cursor and key-sequence handling from the relevant bash entry point; done means both combinations move between words without printing characters.

Written by the indexing model from the issue text.

Assessment

Tech stack
bash
Domain
cli
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
42/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.