bugGNU Screen - Bugs: bug #29535, Doc addenum to command license


bug #29535: Doc addenum to command license

Submitted by:  Curtis Brown <mrbrown8>
Submitted on:  Tue 13 Apr 2010 05:04:54 AM UTC  
Category:  Documentation Severity:  3 - Normal
Priority:  5 - Normal Status:  None
Privacy:  Public Assigned to:  None
Open/Closed:  Open Release:  Cur Dev Sources
Fixed Release:  None Planned Release:  4.1.0
Work Required:  None

Add a New Comment (Rich Markup)

You are not logged in

Please log in, so followups can be emailed to you.


Tue 13 Apr 2010 05:04:54 AM UTC, original submission:  

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.

Curtis Brown <mrbrown8>


(Note: upload size limit is set to 16384 kB, after insertion of the required escape characters.)

Attach Files:

Attached Files


Depends on the following items: None found

Items that depend on this one: None found


Carbon-Copy List
  • -email is unavailable- added by mrbrown8 (Submitted the item)

    Do you think this task is very important?
    If so, you can add your encouragement to it.
    This task has 0 encouragements so far.

    Only logged-in users can vote.




    Follows 1 latest change.

    Date Changed by Updated Field Previous Value => Replaced by
    2010-04-13 mrbrown8 Attached File- => Added patch_doc_addenum_license_and_help_c.diff, #20209

    Back to the top

    Powered by Savane 3.5