[wget-notify] [bug #23281] Consider using custom facility for password-prompt

Micah Cowan INVALID.NOREPLY at gnu.org
Sat May 17 13:06:53 PDT 2008


URL:
  <http://savannah.gnu.org/bugs/?23281>

                 Summary: Consider using custom facility for password-prompt
                 Project: GNU Wget
            Submitted by: micahcowan
            Submitted on: Saturday 05/17/2008 at 13:06
                Category: Program Logic
                Severity: 2 - Minor
                Priority: 5 - Normal
                  Status: Needs Discussion
                 Privacy: Public
             Assigned to: None
         Originator Name: 
        Originator Email: 
             Open/Closed: Open
         Discussion Lock: Any
                 Release: None
        Operating System: None
         Reproducibility: None
           Fixed Release: None
         Planned Release: 1.12
              Regression: None
           Work Required: 0 - Hours
          Patch Included: None

    _______________________________________________________

Details:

gnu_getpass has some shortcomings.
 * It ignores SIGINT, whereas I'd want it to exit out.
 * It treats EOF and an empty line as the same, whereas I'd wish to treat the
former as an exit condition, and the latter as an empty password.
 * When it gets EOF, it doesn't append an extra newline, allowing the prompt
to appear immediately after the prompt, rather than on a line on its own. This
is difficult to address, because it's difficult to determine where getpass's
output went (freshly opened /dev/tty, or stderr?).




    _______________________________________________________

Reply to this item at:

  <http://savannah.gnu.org/bugs/?23281>

_______________________________________________
  Message sent via/by Savannah
  http://savannah.gnu.org/



More information about the wget-notify mailing list