|
1 To: [email protected] |
|
2 Subject: Patch 7.2.001 |
|
3 Fcc: outbox |
|
4 From: Bram Moolenaar <[email protected]> |
|
5 Mime-Version: 1.0 |
|
6 Content-Type: text/plain; charset=ISO-8859-1 |
|
7 Content-Transfer-Encoding: 8bit |
|
8 ------------ |
|
9 |
|
10 Patch 7.2.001 |
|
11 Problem: Mac: pseudo-ttys don't work properly on Leopard, resulting in the |
|
12 shell not to have a prompt, CTRL-C not working, etc. |
|
13 Solution: Don't use SVR4 compatible ptys, even though they are detected. |
|
14 (Ben Schmidt) |
|
15 Files: src/pty.c |
|
16 |
|
17 |
|
18 *** ../vim-7.2.000/src/pty.c Wed Aug 6 19:04:29 2008 |
|
19 --- src/pty.c Fri Aug 15 04:00:34 2008 |
|
20 *************** |
|
21 *** 270,278 **** |
|
22 } |
|
23 #endif |
|
24 |
|
25 ! #if defined(HAVE_SVR4_PTYS) && !defined(PTY_DONE) && !defined(hpux) |
|
26 |
|
27 ! /* NOTE: Even though HPUX can have /dev/ptmx, the code below doesn't work! */ |
|
28 #define PTY_DONE |
|
29 int |
|
30 OpenPTY(ttyn) |
|
31 --- 270,279 ---- |
|
32 } |
|
33 #endif |
|
34 |
|
35 ! #if defined(HAVE_SVR4_PTYS) && !defined(PTY_DONE) && !defined(hpux) && !defined(MACOS_X) |
|
36 |
|
37 ! /* NOTE: Even though HPUX can have /dev/ptmx, the code below doesn't work! |
|
38 ! * Same for Mac OS X Leopard. */ |
|
39 #define PTY_DONE |
|
40 int |
|
41 OpenPTY(ttyn) |
|
42 *** ../vim-7.2.000/src/version.c Sat Aug 9 19:37:37 2008 |
|
43 --- src/version.c Sun Aug 17 22:56:25 2008 |
|
44 *************** |
|
45 *** 678,679 **** |
|
46 --- 678,681 ---- |
|
47 { /* Add new patch number below this line */ |
|
48 + /**/ |
|
49 + 1, |
|
50 /**/ |
|
51 |
|
52 -- |
|
53 ARTHUR: Now stand aside worthy adversary. |
|
54 BLACK KNIGHT: (Glancing at his shoulder) 'Tis but a scratch. |
|
55 ARTHUR: A scratch? Your arm's off. |
|
56 "Monty Python and the Holy Grail" PYTHON (MONTY) PICTURES LTD |
|
57 |
|
58 /// Bram Moolenaar -- [email protected] -- http://www.Moolenaar.net \\\ |
|
59 /// sponsor Vim, vote for features -- http://www.Vim.org/sponsor/ \\\ |
|
60 \\\ download, build and distribute -- http://www.A-A-P.org /// |
|
61 \\\ help me help AIDS victims -- http://ICCF-Holland.org /// |