On 14/12/24 11:21, Tim via users wrote:
Greg:This is by no means an issue. The program you use to display the man page, let's assume man, formats the man page source code, using the groff program in turn. Part of the formatting is making intervals between the words on a line more or less equal by adding/removing blanks where deemed appropriate.Stephen Morris:But why is it doing only for my text and nothing else in the file, and why only in the first 3 or 4 words in a line and not the rest? Could there be an issue that the lines I've typed in are longer than the other lines in the file?Perhaps if I re-word what Greg said... Usually man pages are wrapped and "justified" so that each line of text is the same length (just under the current width of the viewing window). It does the justifying by adding extra spaces between some words, and hyphenating others. Does that describe what you're seeing? Personally, I dislike this. While it may make a block of text look neater, it makes it more difficult to read.
I've looked again an the text I have added is exhibiting the insertion of blanks throughout the long lines, but this "alignment" is more extensive after shortening the lines I put in the man file. I'm not getting any dashes inserted in any of what I have added, but the original text does, and what I've only noticed now is the original text has additional blanks inserted. Having said this though, that aligning only occurs for lines that are longer than the physical width of the display window, having this though, with expanding the konsole window to almost 2160 wide the insertion of blanks became more obvious and I am now getting the insertion of a dash in one of the words for the text I have added. Also what I've noticed is the insertion of blanks, etc, doesn't occur in lines that are shorter in length than the width of the konsole window.
I'm not sure things are working correctly with installed packages. I've tried displaying the man page for the repository installed symlinks package as opposed to my changes via INFO, and it displays the information with all the alignment that happens when the page is displayed with the MAN command, so it looks like it is not the MAN process that is doing the alignment, and, it may just be me but I never noticed this alignment happening in F40. Where info doesn't seem to be working correctly, if I issue the command "info symlinks" it shows the information for that package as the command "man symlinks" does, but if I issue the command "info symlinks.1" the info command displays brief summary information for what looks like every package installed, where command "man symlinks.1" displays the man page as normal. I've put some sample output from the INFO issue below.
File: dir, Node: Top, This is the top of the INFO tree.
This is the Info main menu (aka directory node).
A few useful Info commands:
'q' quits;
'H' lists all Info commands;
'h' starts the Info tutorial;
'mTexinfo RET' visits the Texinfo manual, etc.
* Menu:
Archiving
* Cpio: (cpio). Copy-in-copy-out archiver to tape or disk.
* Tar: (tar). Making tape (or disk) archives.
Basics
* Bash: (bash). The GNU Bourne-Again SHell.
* Common options: (coreutils)Common options.
* Coreutils: (coreutils). Core GNU (file, text, shell) utilities.
* Date input formats: (coreutils)Date input formats.
* Ed: (ed). The GNU line editor
* File permissions: (coreutils)File permissions.
Access modes.
* Finding files: (find). Operating on files matching certain criteria.
* Time: (time). GNU time utility.
C++ Libraries
* Source-highlight-lib: (source-highlight-lib).
Highlights contents
Compression
* Gzip: (gzip). General (de)compression of files (lzw).
regards,
Steve
Attachment:
OpenPGP_0x1EBE7C07B0F7242C.asc
Description: OpenPGP public key
Attachment:
OpenPGP_signature.asc
Description: OpenPGP digital signature
-- _______________________________________________ users mailing list -- users@xxxxxxxxxxxxxxxxxxxxxxx To unsubscribe send an email to users-leave@xxxxxxxxxxxxxxxxxxxxxxx Fedora Code of Conduct: https://docs.fedoraproject.org/en-US/project/code-of-conduct/ List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines List Archives: https://lists.fedoraproject.org/archives/list/users@xxxxxxxxxxxxxxxxxxxxxxx Do not reply to spam, report it: https://pagure.io/fedora-infrastructure/new_issue