bug-bash
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

reporting a bug: output of a long line, longer than fits on winow-size,


From: Anton Wessel
Subject: reporting a bug: output of a long line, longer than fits on winow-size, breakes bash
Date: Sun, 10 Jul 2022 14:35:40 +0200
User-agent: AquaMail/1.37.0 (build: 103700163)

I am working with Kubuntu 22.04 and KNOPPIX 9.1, bash version is reported by KNOPPIX:

5.1.4(1)-release (i686-pc-linux-gnu)


My bash script contains many bash one-liners and comments.

The one-liners are put into the history list by code like:

history -s ': # <command>'

After this script had been run once, I can scroll back in the lines of history list.
I can stop scrolling when found a line, e.g.:

: # ps -Flwwc --sort=start_time -t $(tty)

Then I can remove the four characters at beginning of the line:

": # "

and can execute this command.


So far ok.


When a one-liner is long, longer than fits on current window size, then problems in bash occure.

This has nothing to do with what is the contents of the long line.

Bash is broken by the fact that window size is exceeded.

I can come to the end of the long line, but I cannot come to the beginning of the line.

The scrolling on the screen, in German "Verlauf", by CTRL-SHIFT-F does not work any more.

The movement of the cursor by the arrow keys is in the upper part of the window confused.

Regards

Anton_Wessel@t-online.de



reply via email to

[Prev in Thread] Current Thread [Next in Thread]