holzschu / holzschu/a-shell

`less`: Garbled text without `-r` option (send input escape sequences to output) given

Open
#251 10 comments 0 reactions 0 assignees View on GitHub
fix committed
Dominant language
Perl
Stars
3.9k
Forks
213
Avg merge
1m
Merged PRs (30d)
1

Description

## Summary
* When running `less` or `man`, fragments of previous lines or words will be shown in unexpected places.
* See screenshots below.

## Screenshots

![jsi manpage](https://user-images.githubusercontent.com/46334387/121836501-63fbd880-cc88-11eb-8415-61cd7561bb39.jpeg)

![Help text of less](https://user-images.githubusercontent.com/46334387/121836231-eb951780-cc87-11eb-9a61-0df1a91eed87.jpeg)

Contributor guide

No contributing guide indexed for this repository

Research direction

Start by reproducing the garbled output when running `less` or `man` without `-r`, using the linked screenshots as the expected symptom. Trace how input escape sequences are handled and confirm that previous lines or words no longer appear in unexpected places.

Written by the indexing model from the issue text.

Assessment

Domain
cli
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.