URL: <http://savannah.gnu.org/bugs/?29535>
Summary: Doc addenum to command license Project: GNU Screen Submitted by: mrbrown8 Submitted on: Mon 12 Apr 2010 11:04:54 PM MDT Category: Documentation Severity: 3 - Normal Priority: 5 - Normal Status: None Privacy: Public Assigned to: None Open/Closed: Open Discussion Lock: Any Release: Cur Dev Sources Fixed Release: None Planned Release: 4.1.0 Work Required: None _______________________________________________________ Details: Sadrul, I would like to thank you for expanding the license command to show some of the capabilites that have been compiled into any particular version or distribution of screen. I want to take advantage of this further. I wrote some addition documentation to explain where to look when referencing about compiling screen ("See license command"), but also I tried to expand what capabilities were shown by adding more ifdef's to help.c. Overall, I thought this would help users learn how capable their particular binaries were but also might help developers learn what a user might be up against when trying to explain a bug. The one thing this patch is not working on is the displaying the value of MAXWIN inside help.c. I thought the C preprocessor should pick this up and replace it accordingly. The string is a static const char[]. I don't understand enough about C strings to know if the preprocessor pays attention to that or not. I tried adding extra code like: static char maxwinstr[10]; sprintf(maxwinstr, "%d", MAXWIN); but that wasn't working for me either. If this patch is acceptable, I'd like to learn what I'm not doing right. Thanks in advance. _______________________________________________________ File Attachments: ------------------------------------------------------- Date: Mon 12 Apr 2010 11:04:54 PM MDT Name: patch_doc_addenum_license_and_help_c.diff Size: 5kB By: mrbrown8 <http://savannah.gnu.org/bugs/download.php?file_id=20209> _______________________________________________________ Reply to this item at: <http://savannah.gnu.org/bugs/?29535> _______________________________________________ Message sent via/by Savannah http://savannah.gnu.org/