bug-bash
[Top][All Lists]
Advanced

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

help text per column instead of per row [patch]


From: Benno Schulenberg
Subject: help text per column instead of per row [patch]
Date: Tue, 12 Dec 2006 22:47:52 +0100
User-agent: KMail/1.9.5

Hi,

Currently the 'help' command prints the synopses of all the builtin 
commands in two columns, but does this row by row, making it hard 
to see whether a specific command is present or not, as the columns 
aren't arranged alphabetically.  Also, the text uses a total width 
of only 70 characters, whereas almost all terminals are at least 80 
positions wide nowadays.

Attached patch prints the builtin commands alphabetically per column 
and uses a total width of 80 characters.  (Better yet would be to 
use the full width of the current terminal, up to a certain limit, 
but I don't know how to get that.)

Of course the patch is ugly, but if you agree this is a good change, 
I can attempt to make it cleaner and shorter.

Benno

Attachment: bash--vertical-and-wider-help.patch
Description: Text Data


reply via email to

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