emacs-pretest-bug
[Top][All Lists]
Advanced

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

Re: shell


From: Devon Sean McCullough
Subject: Re: shell
Date: Fri, 29 Jul 2005 00:52:33 -0400 (EDT)

Patch fails, I could patch it manually but I'd rather sync up ...

        http://www.gnu.org/software/emacs/windows/faq2.html
...
        The following commands should checkout the current version of the 
source:

        c:\>cvs -d:pserver:address@hidden:/cvsroot/emacs login
        c:\>cvs -d:pserver:address@hidden:/cvsroot/emacs checkout emacs

... fails, is the FAQ broken?

                Peace
                        --Devon

PS: Transcript follows ...

$ export CVS_RSH="ssh"
 12:51:44 Thu Jul 28

$ cvs -d:pserver:address@hidden:/cvsroot/emacs login
Logging in to :pserver:address@hidden:2401/cvsroot/emacs
CVS password: 
cvs [login aborted]: connect to subversions.gnu.org(199.232.41.3):2401 failed: 
Operation timed out
 12:57:08 Thu Jul 28

$ cvs -d:pserver:address@hidden:/cvsroot/emacs diff emacs
cvs [diff aborted]: connect to subversions.gnu.org(199.232.41.3):2401 failed: 
Operation timed out
 13:01:30 Thu Jul 28

... also tried ...

$ cvs -z3 -d:ext:address@hidden:/webcvs/emacs diff emacs
cvs server: I know nothing about emacs

... lose, lose.  Worked last year.

From: "Richard M. Stallman" <address@hidden>
To: Devon Sean McCullough <address@hidden>
CC: address@hidden
In-reply-to: <address@hidden> (message from Devon Sean
        McCullough on Mon, 25 Jul 2005 15:22:01 -0400 (EDT))
Subject: Re: shell
Reply-to: address@hidden
Date: Tue, 26 Jul 2005 09:21:28 -0400

    Sure, some hook runs when output goes to a shell buffer,
    which notices the time and whether or not the user can see it.
    Compare to earlier tempo and visibility.  When invisible,
    include the last line or so of output with the password prompt.

I think just the latter would be enough for now.
This seems to work--does it work for you?

*** comint.el   22 Jul 2005 00:55:52 -0400      1.328
--- comint.el   26 Jul 2005 08:44:15 -0400      
***************
*** 1935,1949 ****
  Security bug: your string can still be temporarily recovered with
  \\[view-lossage]; `clear-this-command-keys' can fix that."
    (interactive "P")                   ; Defeat snooping via C-x ESC ESC
!   (let ((proc (get-buffer-process (current-buffer))))
      (if proc
!       (let ((str (read-passwd (or prompt "Non-echoed text: "))))
          (if (stringp str)
              (progn
                (comint-snapshot-last-prompt)
                (funcall comint-input-sender proc str))
            (message "Warning: text will be echoed")))
!       (error "Current buffer has no process"))))
  
  (defun comint-watch-for-password-prompt (string)
    "Prompt in the minibuffer for password and send without echoing.
--- 1935,1955 ----
  Security bug: your string can still be temporarily recovered with
  \\[view-lossage]; `clear-this-command-keys' can fix that."
    (interactive "P")                   ; Defeat snooping via C-x ESC ESC
!   (let ((proc (get-buffer-process (current-buffer)))
!       (prefix
!        (if (eq (window-buffer (selected-window)) (current-buffer))
!            ""
!          (format "(In buffer %s) "
!                  (current-buffer)))))
      (if proc
!       (let ((str (read-passwd (concat prefix
!                                       (or prompt "Non-echoed text: ")))))
          (if (stringp str)
              (progn
                (comint-snapshot-last-prompt)
                (funcall comint-input-sender proc str))
            (message "Warning: text will be echoed")))
!       (error "Buffer %s has no process" (current-buffer)))))
  
  (defun comint-watch-for-password-prompt (string)
    "Prompt in the minibuffer for password and send without echoing.




reply via email to

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