To: vim_dev@googlegroups.com Subject: Patch 8.2.3502 Fcc: outbox From: Bram Moolenaar Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit ------------ 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 -- Bram@Moolenaar.net -- http://www.Moolenaar.net \\\ /// \\\ \\\ sponsor Vim, vote for features -- http://www.Vim.org/sponsor/ /// \\\ help me help AIDS victims -- http://ICCF-Holland.org ///