On my Gutsy installation, this already works as intended. Perhaps the problem is actually bug 162890 (but I guess not, since you reported that too).
comint-output-filter-functions is a variable defined in `comint.el'. Its value is (shell-filter-ctrl-a-ctrl-b t) Permanently local in buffer *shell*; global value is (comint-postoutput-scroll-to-bottom comint-watch-for-password-prompt) Documentation: Functions to call after output is inserted into the buffer. One possible function is `comint-postoutput-scroll-to-bottom'. These functions get one argument, a string containing the text as originally inserted. Note that this might not be the same as the buffer contents between `comint-last-output-start' and the buffer's `process-mark', if other filter functions have already modified the buffer. See also `comint-preoutput-filter-functions'. You can use `add-hook' to add functions to this list either globally or locally. [back] I guess the "t" at the end of the local value means to fall back to the global value, and run those hooks as well; if I remove it, passwords are echoed. Here's what I did to repro, in a M-x shell buffer: [EMAIL PROTECTED]:~/Desktop$ echo -n "password: "; read fnord password: [EMAIL PROTECTED]:~/Desktop$ # change the local value to remove "t" from hook [EMAIL PROTECTED]:~/Desktop$ echo -n "password: "; read fnord password: input is echoed now [EMAIL PROTECTED]:~/Desktop$ Here's what I did to remove the "t" value: M-: (setq comint-output-filter-functions (list #'shell-filter-ctrl-a-ctrl-b)) -- comint-watch-for-password-prompt should be default https://bugs.launchpad.net/bugs/162894 You received this bug notification because you are a member of Ubuntu Bugs, which is a direct subscriber. -- ubuntu-bugs mailing list [email protected] https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
