forked frompostgres/postgres
- Notifications
You must be signed in to change notification settings - Fork6
Commit48e0358
committed
Avoid reading ~/.inputrc in tab-completion test, and revert other changes.
The true explanation for Peter Geoghegan's trouble report turns outto be that he has a ~/.inputrc that affects readline's behaviorenough to break this test. Prevent readline from reading that file.Also, the best way to prevent TERM from affecting the results seemsto be to unset it altogether, not to set it to "xterm". The latterchoice licenses readline to emit xterm escape sequences, and there'sa lot of variation in exactly what it will emit.Revert changes that attempted to account exactly for xterm escapesequences. We shouldn't need that with TERM unset, and it was notlooking like a maintainable solution anyway.Discussion:https://postgr.es/m/23181.1578167938@sss.pgh.pa.us1 parent7e42478 commit48e0358
1 file changed
+13
-11
lines changedLines changed: 13 additions & 11 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
38 | 38 |
| |
39 | 39 |
| |
40 | 40 |
| |
41 |
| - | |
42 |
| - | |
43 |
| - | |
44 |
| - | |
45 |
| - | |
| 41 | + | |
| 42 | + | |
| 43 | + | |
| 44 | + | |
| 45 | + | |
| 46 | + | |
| 47 | + | |
| 48 | + | |
| 49 | + | |
| 50 | + | |
| 51 | + | |
46 | 52 |
| |
47 | 53 |
| |
48 | 54 |
| |
| |||
107 | 113 |
| |
108 | 114 |
| |
109 | 115 |
| |
110 |
| - | |
111 |
| - | |
112 |
| - | |
113 |
| - | |
114 |
| - | |
115 |
| - | |
| 116 | + | |
| 117 | + | |
116 | 118 |
| |
117 | 119 |
| |
118 | 120 |
| |
|
0 commit comments
Comments
(0)