Mercurial > vim
annotate runtime/termcap @ 34146:23bb675796f0 v9.1.0034
patch 9.1.0034: Window scrolls unexpectedly when 'scrollbind' is set
Commit: https://github.com/vim/vim/commit/ac4cffc6d9d307778d8a2945adab70244470bbb8
Author: Christian Brabandt <cb@256bit.org>
Date: Tue Jan 16 17:22:38 2024 +0100
patch 9.1.0034: Window scrolls unexpectedly when 'scrollbind' is set
Problem: Window may unexpectedly scroll when 'scrollbind' is set
and setting a buffer-local option using setbufvar()
(Boris Staletic)
Solution: Save and restore the windows topline before opening the
popup window.
fixes: #13863
closes: #13869
Signed-off-by: Christian Brabandt <cb@256bit.org>
author | Christian Brabandt <cb@256bit.org> |
---|---|
date | Tue, 16 Jan 2024 17:30:10 +0100 |
parents | 4027cefc2aab |
children |
rev | line source |
---|---|
7 | 1 # |
2 # Demonstration of a termcap file (for the Amiga and Archimedes) | |
3 # | |
32770
4027cefc2aab
Farewell to Bram and dedicate upcoming Vim 9.1 to him (#12749)
Christian Brabandt <cb@256bit.org>
parents:
7
diff
changeset
|
4 # Maintainer: The Vim Project <https://github.com/vim/vim> |
4027cefc2aab
Farewell to Bram and dedicate upcoming Vim 9.1 to him (#12749)
Christian Brabandt <cb@256bit.org>
parents:
7
diff
changeset
|
5 # Last Change: 2023 Aug 10 |
4027cefc2aab
Farewell to Bram and dedicate upcoming Vim 9.1 to him (#12749)
Christian Brabandt <cb@256bit.org>
parents:
7
diff
changeset
|
6 # Former Maintainer: Bram Moolenaar <Bram@vim.org> |
7 | 7 # |
8 sx|ansi|any ansi terminal with pessimistic assumptions:\ | |
9 :co#80:li#24:cl=50\E[;H\E[2J:bs:am:cm=\E[%i%d;%dH:\ | |
10 :nd=\E[C:up=\E[A:ce=\E[K:ho=\E[H:pt: | |
11 | |
12 Mu|sun|Sun Microsystems Workstation console:\ | |
13 :am:bs:km:mi:ms:pt:li#34:co#80:cl=^L:cm=\E[%i%d;%dH:\ | |
14 :ce=\E[K:cd=\E[J:\ | |
15 :so=\E[7m:se=\E[m:us=\E[4m:ue=\E[m:rs=\E[s:\ | |
16 :md=\E[1m:mr=\E[7m:me=\E[m:\ | |
17 :al=\E[L:dl=\E[M:im=:ei=:ic=\E[@:dc=\E[P:\ | |
18 :AL=\E[%dL:DL=\E[%dM:IC=\E[%d@:DC=\E[%dP:\ | |
19 :up=\E[A:nd=\E[C:ku=\E[A:kd=\E[B:kr=\E[C:kl=\E[D:\ | |
20 :k1=\E[224z:k2=\E[225z:k3=\E[226z:k4=\E[227z:k5=\E[228z:\ | |
21 :k6=\E[229z:k7=\E[230z:k8=\E[231z:k9=\E[232z: | |
22 | |
23 M-|sun-e|sun-nic|sune|Sun Microsystems Workstation without insert character:\ | |
24 :ic@:im@:ei@:tc=sun: | |
25 Mu|sun-s|Sun Microsystems Workstation window with status line:\ | |
26 :hs:ts=\E]l:fs=\E\\:ds=\E]l\E\\:tc=sun: | |
27 Mu|sun-e-s|sun-s-e|Sun Microsystems Workstation with status hacked for emacs:\ | |
28 :hs:ts=\E]l:fs=\E\\:ds=\E]l\E\\:tc=sun-e: | |
29 M0|sun-48|Sun 48-line window:\ | |
30 :li#48:co#80:tc=sun: | |
31 M1|sun-34|Sun 34-line window:\ | |
32 :li#34:co#80:tc=sun: | |
33 M2|sun-24|Sun 24-line window:\ | |
34 :li#24:co#80:tc=sun: | |
35 M3|sun-17|Sun 17-line window:\ | |
36 :li#17:co#80:tc=sun: | |
37 | |
38 v9|925a|tvi925a|TeleVideo Model 925:\ | |
39 :al=\EE:am:bs:bt=\EI:bw:cd=\EY:ce=\ET:cl=^Z:cm=\E=%+ %+ :co#80:dc=\EW:\ | |
40 :dl=\ER:do=^V:ei=:ic=\EQ:if=/usr/share/lib/tabset/std:im=:kb=^H:kd=^V:\ | |
41 :kh=^^:kl=^H:kn#12:kr=^L:ku=^K:li#24:nd=^L:pt:se=\EG0:sg#1:so=\EG4:\ | |
42 :ue=\EG0:ug#1:ul:up=^K:us=\EG8:is=\El\ | |
43 :vb=\Eb\200\200\200\200\200\200\200\200\200\200\200\200\200\200\Ed:\ | |
44 :ve=\E.4:vs=\E.2: | |
45 | |
46 d0|vt100|vt100-am|vt100am|dec vt100:\ | |
47 :do=^J:co#80:li#24:cl=50\E[;H\E[2J:sf=5\ED:\ | |
48 :le=^H:bs:am:cm=5\E[%i%d;%dH:nd=2\E[C:up=2\E[A:\ | |
49 :ce=3\E[K:cd=50\E[J:so=2\E[7m:se=2\E[m:us=2\E[4m:ue=2\E[m:\ | |
50 :md=2\E[1m:mr=2\E[7m:mb=2\E[5m:me=2\E[m:is=\E[1;24r\E[24;1H:\ | |
51 :rf=/usr/share/lib/tabset/vt100:\ | |
52 :rs=\E>\E[?3l\E[?4l\E[?5l\E[?7h\E[?8h:ks=\E[?1h\E=:ke=\E[?1l\E>:\ | |
53 :ku=\EOA:kd=\EOB:kr=\EOC:kl=\EOD:kb=^H:\ | |
54 :ho=\E[H:k1=\EOP:k2=\EOQ:k3=\EOR:k4=\EOS:pt:sr=5\EM:vt#3:xn:\ | |
55 :sc=\E7:rc=\E8:cs=\E[%i%d;%dr: | |
56 | |
57 # Amiga termcap by Bram Moolenaar | |
58 AA|amiga|Amiga ANSI:\ | |
59 :co#80:li#25:am:do=\E[B:ce=\E[K:cd=\E[J:\ | |
60 :cl=\014:ku=\233A:kd=\233B:kl=\233D:kr=\233C:kb=^H:\ | |
61 :#4=\233 A:%i=\233 @:%1=\233?~:\ | |
62 :k1=\2330~:k2=\2331~:k3=\2332~:k4=\2333~:k5=\2334~:\ | |
63 :k6=\2335~:k7=\2336~:k8=\2337~:k9=\2338~:k;=\2339~:\ | |
64 :F1=\23310~:F2=\23311~:F3=\23312~:F4=\23313~:F5=\23314~:\ | |
65 :F6=\23315~:F7=\23316~:F8=\23317~:F9=\23318~:FA=\23319~:\ | |
66 :al=\E[L:AL=\E[%dL:dl=\E[M:DL=\E[%dM:le=^H:cm=\E[%i%d;%dH:\ | |
67 :nd=\E[C:RI=\E[%dC:up=\E[A:\ | |
68 :ce=\E[K:ho=\E[H:dc=\E[P:ic=\E[@:vi=\E[0 p:ve=\E[1 p:\ | |
69 :so=\E[2m:se=\E[m:us=\E[4m:ue=\E[m:mr=\E[7m:mb=\E[7;2m:me=\E[m: | |
70 | |
71 # Acorn VDU | |
72 # For non-green text, change the ^B in the :cl= line to | |
73 # your favourite control code. | |
74 a0|acorn0|Acorn VDU Driver Mode 0:\ | |
75 :cl=^V\200^S^A^B\200\200\200:\ | |
76 :is=^C^F^D^O^V\200^S^A^B\200\200\200:\ | |
77 :tc=acorn_generic | |
78 | |
79 ag|acorn_generic|Acorn Generic VDU driver:\ | |
80 :li#32:\ | |
81 :co#80:\ | |
82 :am:\ | |
83 :bs:\ | |
84 :bw:\ | |
85 :bl=^G:\ | |
86 :ce=^W^H^E^F\200\200\200\200\200\200:\ | |
87 :cl=^L:\ | |
88 :cm=^_%r%.%.:\ | |
89 :ho=^^:\ | |
90 :le=\010:\ | |
91 :cr=\015:\ | |
92 :me=^W^Q^E\200\200\200\200\200\200\200:\ | |
93 :mr=^W^Q^E\200\200\200\200\200\200\200:\ | |
94 :sb=^W^G^A^B\200\200\200\200\200\200:\ | |
95 :se=^W^Q^E\200\200\200\200\200\200\200:\ | |
96 :sf=^W^G^A^C\200\200\200\200\200\200:\ | |
97 :so=^W^Q^E\200\200\200\200\200\200\200:\ | |
98 :sr=^W^G^A^B\200\200\200\200\200\200:\ | |
99 :up=^K:\ | |
100 :vb=^R^C^G^Y^D\200\200\200\200^Ye\200^E\200^D^Ye\200\200\200\200:\ | |
101 :vi=^W^A\200\200\200\200\200\200\200\200:\ | |
102 :ve=^W^A^A\200\200\200\200\200\200\200:\ | |
103 :ku=\317:\ | |
104 :kd=\316:\ | |
105 :kl=\314:\ | |
106 :kr=\315:\ | |
107 :kP=\337:\ | |
108 :kN=\336:\ | |
109 :kh=\036:\ | |
110 :kH=\313:\ | |
111 :su=\337:\ | |
112 :sd=\336:\ | |
113 :#4=\334:\ | |
114 :%i=\335:\ | |
115 :k1=\301:\ | |
116 :k2=\302:\ | |
117 :k3=\303:\ | |
118 :k4=\304:\ | |
119 :k5=\305:\ | |
120 :k6=\306:\ | |
121 :k7=\307:\ | |
122 :k8=\310:\ | |
123 :k9=\311:\ | |
124 :F1=\321:\ | |
125 :F2=\322:\ | |
126 :F3=\323:\ | |
127 :F4=\324:\ | |
128 :F5=\325:\ | |
129 :F6=\326:\ | |
130 :F7=\327:\ | |
131 :F8=\330:\ | |
132 :F9=\331 | |
133 | |
134 # | |
135 # END OF TERMCAP | |
136 # |