Bug 2088493 - more command prints blanks after end of file
Summary: more command prints blanks after end of file
Keywords:
Status: POST
Alias: None
Product: Fedora
Classification: Fedora
Component: util-linux
Version: 38
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: Karel Zak
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2022-05-19 14:43 UTC by Matthew Saltzman
Modified: 2023-05-05 16:04 UTC (History)
2 users (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed:
Type: Bug
Embargoed:


Attachments (Terms of Use)

Description Matthew Saltzman 2022-05-19 14:43:18 UTC
Description of problem:
After paging through a file to the end, more continues printing pages of blank lines until terminated manually.

Version-Release number of selected component (if applicable):
util-linux-core-2.38-0.2.fc36.x86_64

How reproducible:
Always

Steps to Reproduce:
1. more <filename>
2. page to end of file
3. keep paging forever

Actual results:
Pages of blank lines after EOF

Expected results:
Shell prompt after paging past EOF

Additional info:

Comment 1 Karel Zak 2022-06-15 08:12:33 UTC
Fixed in the upstream tree. The change will be available in v2.38.1 (ASAP).
https://github.com/util-linux/util-linux/commit/28b391ce7e58f8327c092b3911c05f526d0ad586

Comment 2 Ben Cotton 2023-04-25 18:26:34 UTC
This message is a reminder that Fedora Linux 36 is nearing its end of life.
Fedora will stop maintaining and issuing updates for Fedora Linux 36 on 2023-05-16.
It is Fedora's policy to close all bug reports from releases that are no longer
maintained. At that time this bug will be closed as EOL if it remains open with a
'version' of '36'.

Package Maintainer: If you wish for this bug to remain open because you
plan to fix it in a currently maintained version, change the 'version' 
to a later Fedora Linux version. Note that the version field may be hidden.
Click the "Show advanced fields" button if you do not see it.

Thank you for reporting this issue and we are sorry that we were not 
able to fix it before Fedora Linux 36 is end of life. If you would still like 
to see this bug fixed and are able to reproduce it against a later version 
of Fedora Linux, you are encouraged to change the 'version' to a later version
prior to this bug being closed.

Comment 3 Matthew Saltzman 2023-04-25 21:12:22 UTC
Still an issue in Fedora 38 with util-linux-2.38.1-4.fc38.x86_64. Also note that ^-C does not kill the task.

(I don't see a way to for me to change the Fedora version.)

Comment 4 Matthew Saltzman 2023-05-05 16:04:14 UTC
Huh. Now I see the version update.


Note You need to log in before you can comment on or make changes to this bug.