Help should fit in a 80 columns terminal

Alain Portal alain.portal at free.fr
Sat Jan 23 19:11:29 GMT 2010


Le samedi 23 janvier 2010 19:15:41, Pino Toscano a écrit :

> > What do you think about this suggestion?
> 
> More than that, I guess it would make more sense using the UNIX terminal
> ioctl() API to get the size of the terminal, and adapt/reflow the help text
>  of the options to it.

I'm not sure this is a good solution as every "\n" character in the help 
string will indent the new line at the column 29, which is the best readable 
solution.

Regards,
Alain
-- 
Les pages de manuel Linux en français
http://manpagesfr.free.fr
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 198 bytes
Desc: This is a digitally signed message part.
URL: <http://mail.kde.org/pipermail/kde-core-devel/attachments/20100123/56a3e581/attachment.sig>


More information about the kde-core-devel mailing list