Patch 8.2.3502 (after 8.2.2919)
Problem:    Cannot enter password in shell command.
Solution:   Revert patch 8.2.2919.
Files:      src/os_unix.c


*** ../vim-8.2.3501/src/os_unix.c       2021-10-03 19:29:44.279938580 +0100
--- src/os_unix.c       2021-10-13 10:01:28.276058236 +0100
***************
*** 4806,4811 ****
--- 4806,4816 ----
                    // push stream discipline modules
                    if (options & SHELL_COOKED)
                        setup_slavepty(pty_slave_fd);
+ #  ifdef TIOCSCTTY
+                   // Try to become controlling tty (probably doesn't work,
+                   // unless run by root)
+                   ioctl(pty_slave_fd, TIOCSCTTY, (char *)NULL);
+ #  endif
                }
  # endif
                set_default_child_environment(FALSE);
*** ../vim-8.2.3501/src/version.c       2021-10-12 13:58:15.596198565 +0100
--- src/version.c       2021-10-13 10:03:08.717447764 +0100
***************
*** 759,760 ****
--- 759,762 ----
  {   /* Add new patch number below this line */
+ /**/
+     3502,
  /**/

-- 
I wish there was a knob on the TV to turn up the intelligence.
There's a knob called "brightness", but it doesn't seem to work. 

 /// Bram Moolenaar -- [email protected] -- http://www.Moolenaar.net   \\\
///                                                                      \\\
\\\        sponsor Vim, vote for features -- http://www.Vim.org/sponsor/ ///
 \\\            help me help AIDS victims -- http://ICCF-Holland.org    ///

-- 
-- 
You received this message from the "vim_dev" maillist.
Do not top-post! Type your reply below the text you are replying to.
For more information, visit http://www.vim.org/maillist.php

--- 
You received this message because you are subscribed to the Google Groups 
"vim_dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/vim_dev/20211013090617.89DCAC80054%40moolenaar.net.

Raspunde prin e-mail lui