290 KB
reproducibleA vs.
reproducibleB-extended
290 KB
reproducibleA/tmp vs.
reproducibleB-extended/tmp
290 KB
reproducibleA/tmp/deploy vs.
reproducibleB-extended/tmp/deploy
93.6 KB
reproducibleA/tmp/deploy/deb vs.
reproducibleB-extended/tmp/deploy/deb
93.5 KB
reproducibleA/tmp/deploy/deb/core2-64 vs.
reproducibleB-extended/tmp/deploy/deb/core2-64
93.5 KB
reproducibleA/tmp/deploy/deb/core2-64/libedit-doc_20240808-3.1-r0_amd64.deb vs.
reproducibleB-extended/tmp/deploy/deb/core2-64/libedit-doc_20240808-3.1-r0_amd64.deb
367 B
file list
    
Offset 1, 3 lines modifiedOffset 1, 3 lines modified
1 -rw-r--r--···0········0········0········4·2024-08-08·18:10:52.000000·debian-binary1 -rw-r--r--···0········0········0········4·2024-08-08·18:10:52.000000·debian-binary
2 -rw-r--r--···0········0········0······504·2024-08-08·18:10:52.000000·control.tar.xz2 -rw-r--r--···0········0········0······504·2024-08-08·18:10:52.000000·control.tar.xz
3 -rw-r--r--···0········0········0····15908·2024-08-08·18:10:52.000000·data.tar.xz3 -rw-r--r--···0········0········0····14348·2024-08-08·18:10:52.000000·data.tar.xz
93.0 KB
data.tar.xz
92.9 KB
data.tar
2.32 KB
file list
    
Offset 1, 17 lines modifiedOffset 1, 17 lines modified
1 drwxrwxrwx···0·root·········(0)·root·········(0)········0·2024-08-08·18:10:52.000000·./1 drwxrwxrwx···0·root·········(0)·root·········(0)········0·2024-08-08·18:10:52.000000·./
2 drwxr-xr-x···0·root·········(0)·root·········(0)········0·2024-08-08·18:10:52.000000·./usr/2 drwxr-xr-x···0·root·········(0)·root·········(0)········0·2024-08-08·18:10:52.000000·./usr/
3 drwxr-xr-x···0·root·········(0)·root·········(0)········0·2024-08-08·18:10:52.000000·./usr/share/3 drwxr-xr-x···0·root·········(0)·root·········(0)········0·2024-08-08·18:10:52.000000·./usr/share/
4 drwxr-xr-x···0·root·········(0)·root·········(0)········0·2024-08-08·18:10:52.000000·./usr/share/man/4 drwxr-xr-x···0·root·········(0)·root·········(0)········0·2024-08-08·18:10:52.000000·./usr/share/man/
5 drwxr-xr-x···0·root·········(0)·root·········(0)········0·2024-08-08·18:10:52.000000·./usr/share/man/man3/5 drwxr-xr-x···0·root·········(0)·root·········(0)········0·2024-08-08·18:10:52.000000·./usr/share/man/man3/
6 -rw-r--r--···0·root·········(0)·root·········(0)····24118·2024-08-08·18:10:52.000000·./usr/share/man/man3/editline.36 -rw-r--r--···0·root·········(0)·root·········(0)····23827·2024-08-08·18:10:52.000000·./usr/share/man/man3/editline.3
7 drwxr-xr-x···0·root·········(0)·root·········(0)········0·2024-08-08·18:10:52.000000·./usr/share/man/man5/7 drwxr-xr-x···0·root·········(0)·root·········(0)········0·2024-08-08·18:10:52.000000·./usr/share/man/man5/
8 -rw-r--r--···0·root·········(0)·root·········(0)·····7143·2024-08-08·18:10:52.000000·./usr/share/man/man5/editrc.58 -rw-r--r--···0·root·········(0)·root·········(0)·····3598·2024-08-08·18:10:52.000000·./usr/share/man/man5/editrc.5
9 drwxr-xr-x···0·root·········(0)·root·········(0)········0·2024-08-08·18:10:52.000000·./usr/share/man/man7/9 drwxr-xr-x···0·root·········(0)·root·········(0)········0·2024-08-08·18:10:52.000000·./usr/share/man/man7/
10 -rw-r--r--···0·root·········(0)·root·········(0)····33721·2024-08-08·18:10:52.000000·./usr/share/man/man7/editline.710 -rw-r--r--···0·root·········(0)·root·········(0)····33136·2024-08-08·18:10:52.000000·./usr/share/man/man7/editline.7
11 lrwxrwxrwx···0·root·········(0)·root·········(0)········0·2024-08-08·18:10:52.000000·./usr/share/man/man3/el_deletestr.3·->·editline.311 lrwxrwxrwx···0·root·········(0)·root·········(0)········0·2024-08-08·18:10:52.000000·./usr/share/man/man3/el_deletestr.3·->·editline.3
12 lrwxrwxrwx···0·root·········(0)·root·········(0)········0·2024-08-08·18:10:52.000000·./usr/share/man/man3/el_end.3·->·editline.312 lrwxrwxrwx···0·root·········(0)·root·········(0)········0·2024-08-08·18:10:52.000000·./usr/share/man/man3/el_end.3·->·editline.3
13 lrwxrwxrwx···0·root·········(0)·root·········(0)········0·2024-08-08·18:10:52.000000·./usr/share/man/man3/el_get.3·->·editline.313 lrwxrwxrwx···0·root·········(0)·root·········(0)········0·2024-08-08·18:10:52.000000·./usr/share/man/man3/el_get.3·->·editline.3
14 lrwxrwxrwx···0·root·········(0)·root·········(0)········0·2024-08-08·18:10:52.000000·./usr/share/man/man3/el_getc.3·->·editline.314 lrwxrwxrwx···0·root·········(0)·root·········(0)········0·2024-08-08·18:10:52.000000·./usr/share/man/man3/el_getc.3·->·editline.3
15 lrwxrwxrwx···0·root·········(0)·root·········(0)········0·2024-08-08·18:10:52.000000·./usr/share/man/man3/el_gets.3·->·editline.315 lrwxrwxrwx···0·root·········(0)·root·········(0)········0·2024-08-08·18:10:52.000000·./usr/share/man/man3/el_gets.3·->·editline.3
16 lrwxrwxrwx···0·root·········(0)·root·········(0)········0·2024-08-08·18:10:52.000000·./usr/share/man/man3/el_history.3·->·editline.316 lrwxrwxrwx···0·root·········(0)·root·········(0)········0·2024-08-08·18:10:52.000000·./usr/share/man/man3/el_history.3·->·editline.3
17 lrwxrwxrwx···0·root·········(0)·root·········(0)········0·2024-08-08·18:10:52.000000·./usr/share/man/man3/el_history_end.3·->·editline.317 lrwxrwxrwx···0·root·········(0)·root·········(0)········0·2024-08-08·18:10:52.000000·./usr/share/man/man3/el_history_end.3·->·editline.3
36.1 KB
./usr/share/man/man3/editline.3
    
Offset 1, 1020 lines modifiedOffset 1, 1172 lines modified
 1 .TH·EDITLINE·3·"August·15,·2021"·""
1 .\"»    $NetBSD:·editline.3,v·1.102·2024/02/04·18:47:27·andvar·Exp·$ 
2 .\" 
3 .\"·Copyright·(c)·1997-2014·The·NetBSD·Foundation,·Inc. 
4 .\"·All·rights·reserved. 
5 .\" 
6 .\"·This·file·was·contributed·to·The·NetBSD·Foundation·by·Luke·Mewburn. 
7 .\" 
8 .\"·Redistribution·and·use·in·source·and·binary·forms,·with·or·without 
9 .\"·modification,·are·permitted·provided·that·the·following·conditions 
10 .\"·are·met: 
11 .\"·1.·Redistributions·of·source·code·must·retain·the·above·copyright 
12 .\"····notice,·this·list·of·conditions·and·the·following·disclaimer. 
13 .\"·2.·Redistributions·in·binary·form·must·reproduce·the·above·copyright 
14 .\"····notice,·this·list·of·conditions·and·the·following·disclaimer·in·the 
15 .\"····documentation·and/or·other·materials·provided·with·the·distribution. 
16 .\" 
17 .\"·THIS·SOFTWARE·IS·PROVIDED·BY·THE·NETBSD·FOUNDATION,·INC.·AND·CONTRIBUTORS 
18 .\"·``AS·IS''·AND·ANY·EXPRESS·OR·IMPLIED·WARRANTIES,·INCLUDING,·BUT·NOT·LIMITED 
19 .\"·TO,·THE·IMPLIED·WARRANTIES·OF·MERCHANTABILITY·AND·FITNESS·FOR·A·PARTICULAR 
20 .\"·PURPOSE·ARE·DISCLAIMED.··IN·NO·EVENT·SHALL·THE·FOUNDATION·OR·CONTRIBUTORS 
21 .\"·BE·LIABLE·FOR·ANY·DIRECT,·INDIRECT,·INCIDENTAL,·SPECIAL,·EXEMPLARY,·OR 
22 .\"·CONSEQUENTIAL·DAMAGES·(INCLUDING,·BUT·NOT·LIMITED·TO,·PROCUREMENT·OF 
23 .\"·SUBSTITUTE·GOODS·OR·SERVICES;·LOSS·OF·USE,·DATA,·OR·PROFITS;·OR·BUSINESS 
24 .\"·INTERRUPTION)·HOWEVER·CAUSED·AND·ON·ANY·THEORY·OF·LIABILITY,·WHETHER·IN 
25 .\"·CONTRACT,·STRICT·LIABILITY,·OR·TORT·(INCLUDING·NEGLIGENCE·OR·OTHERWISE) 
26 .\"·ARISING·IN·ANY·WAY·OUT·OF·THE·USE·OF·THIS·SOFTWARE,·EVEN·IF·ADVISED·OF·THE 
27 .\"·POSSIBILITY·OF·SUCH·DAMAGE. 
28 .\" 
29 .Dd·August·15,·2021 
30 .Dt·EDITLINE·3 
31 .Os 
32 .Sh·NAME2 .SH·NAME
33 .Nm·editline·, 
34 .Nm·el_init·, 
35 .Nm·el_init_fd·, 
36 .Nm·el_end·, 
37 .Nm·el_reset·, 
38 .Nm·el_gets·, 
39 .Nm·el_wgets·, 
40 .Nm·el_getc·, 
41 .Nm·el_wgetc·, 
42 .Nm·el_push·, 
43 .Nm·el_wpush·, 
44 .Nm·el_parse·, 
45 .Nm·el_wparse·, 
46 .Nm·el_set·, 
47 .Nm·el_wset·, 
48 .Nm·el_get·, 
49 .Nm·el_wget·, 
50 .Nm·el_source·, 
51 .Nm·el_resize·, 
52 .Nm·el_cursor·, 
53 .Nm·el_line·, 
54 .Nm·el_wline·, 
55 .Nm·el_insertstr·, 
56 .Nm·el_winsertstr·, 
57 .Nm·el_deletestr·, 
58 .Nm·el_wdeletestr·, 
59 .Nm·history_init·, 
60 .Nm·history_winit·, 
61 .Nm·history_end·, 
62 .Nm·history_wend·, 
63 .Nm·history·, 
64 .Nm·history_w·, 
65 .Nm·tok_init·, 
66 .Nm·tok_winit·, 
67 .Nm·tok_end·, 
68 .Nm·tok_wend·, 
69 .Nm·tok_reset·, 
70 .Nm·tok_wreset·, 
71 .Nm·tok_line·, 
72 .Nm·tok_wline·, 
73 .Nm·tok_str·, 
74 .Nm·tok_wstr3 \fBeditline\fP,
 4 \fBel_init\fP,
 5 \fBel_init_fd\fP,
 6 \fBel_end\fP,
 7 \fBel_reset\fP,
 8 \fBel_gets\fP,
 9 \fBel_wgets\fP,
 10 \fBel_getc\fP,
 11 \fBel_wgetc\fP,
 12 \fBel_push\fP,
 13 \fBel_wpush\fP,
 14 \fBel_parse\fP,
 15 \fBel_wparse\fP,
 16 \fBel_set\fP,
 17 \fBel_wset\fP,
 18 \fBel_get\fP,
 19 \fBel_wget\fP,
 20 \fBel_source\fP,
 21 \fBel_resize\fP,
 22 \fBel_cursor\fP,
 23 \fBel_line\fP,
 24 \fBel_wline\fP,
 25 \fBel_insertstr\fP,
 26 \fBel_winsertstr\fP,
 27 \fBel_deletestr\fP,
 28 \fBel_wdeletestr\fP,
 29 \fBhistory_init\fP,
 30 \fBhistory_winit\fP,
 31 \fBhistory_end\fP,
 32 \fBhistory_wend\fP,
 33 \fBhistory\fP,
 34 \fBhistory_w\fP,
 35 \fBtok_init\fP,
 36 \fBtok_winit\fP,
 37 \fBtok_end\fP,
 38 \fBtok_wend\fP,
 39 \fBtok_reset\fP,
 40 \fBtok_wreset\fP,
 41 \fBtok_line\fP,
 42 \fBtok_wline\fP,
 43 \fBtok_str\fP,
 44 \fBtok_wstr\fP
75 .Nd·line·editor,·history·and·tokenization·functions45 \-·line·editor,·history·and·tokenization·functions
76 .Sh·LIBRARY46 .SH·LIBRARY
77 .Lb·libedit47 Command·Line·Editor·Library·(libedit,·-ledit)
78 .Sh·SYNOPSIS48 .SH·SYNOPSIS
79 .In·histedit.h 
80 .Ft·EditLine·* 
81 .Fn·el_init·"const·char·*prog"·"FILE·*fin"·"FILE·*fout"·"FILE·*ferr" 
82 .Ft·EditLine·* 
83 .Fn·el_init_fd·"const·char·*prog"·"FILE·*fin"·"FILE·*fout"·"FILE·*ferr"·"int·fdin"·"int·fdout"·"int·fderr" 
84 .Ft·void 
85 .Fn·el_end·"EditLine·*e" 
... Open expanded diff ...
7.56 KB
./usr/share/man/man5/editrc.5
    
Offset 1, 326 lines modifiedOffset 1, 142 lines modified
 1 .TH·EDITRC·5·"May·22,·2016"·""
1 .\"»    $NetBSD:·editrc.5,v·1.34·2022/12/06·00:59:20·uwe·Exp·$ 
2 .\" 
3 .\"·Copyright·(c)·1997-2000·The·NetBSD·Foundation,·Inc. 
4 .\"·All·rights·reserved. 
5 .\" 
6 .\"·This·file·was·contributed·to·The·NetBSD·Foundation·by·Luke·Mewburn. 
7 .\" 
8 .\"·Redistribution·and·use·in·source·and·binary·forms,·with·or·without 
9 .\"·modification,·are·permitted·provided·that·the·following·conditions 
10 .\"·are·met: 
11 .\"·1.·Redistributions·of·source·code·must·retain·the·above·copyright 
12 .\"····notice,·this·list·of·conditions·and·the·following·disclaimer. 
13 .\"·2.·Redistributions·in·binary·form·must·reproduce·the·above·copyright 
14 .\"····notice,·this·list·of·conditions·and·the·following·disclaimer·in·the 
15 .\"····documentation·and/or·other·materials·provided·with·the·distribution. 
16 .\" 
17 .\"·THIS·SOFTWARE·IS·PROVIDED·BY·THE·NETBSD·FOUNDATION,·INC.·AND·CONTRIBUTORS 
18 .\"·``AS·IS''·AND·ANY·EXPRESS·OR·IMPLIED·WARRANTIES,·INCLUDING,·BUT·NOT·LIMITED 
19 .\"·TO,·THE·IMPLIED·WARRANTIES·OF·MERCHANTABILITY·AND·FITNESS·FOR·A·PARTICULAR 
20 .\"·PURPOSE·ARE·DISCLAIMED.··IN·NO·EVENT·SHALL·THE·FOUNDATION·OR·CONTRIBUTORS 
21 .\"·BE·LIABLE·FOR·ANY·DIRECT,·INDIRECT,·INCIDENTAL,·SPECIAL,·EXEMPLARY,·OR 
22 .\"·CONSEQUENTIAL·DAMAGES·(INCLUDING,·BUT·NOT·LIMITED·TO,·PROCUREMENT·OF 
23 .\"·SUBSTITUTE·GOODS·OR·SERVICES;·LOSS·OF·USE,·DATA,·OR·PROFITS;·OR·BUSINESS 
24 .\"·INTERRUPTION)·HOWEVER·CAUSED·AND·ON·ANY·THEORY·OF·LIABILITY,·WHETHER·IN 
25 .\"·CONTRACT,·STRICT·LIABILITY,·OR·TORT·(INCLUDING·NEGLIGENCE·OR·OTHERWISE) 
26 .\"·ARISING·IN·ANY·WAY·OUT·OF·THE·USE·OF·THIS·SOFTWARE,·EVEN·IF·ADVISED·OF·THE 
27 .\"·POSSIBILITY·OF·SUCH·DAMAGE. 
28 .\" 
29 .Dd·May·22,·2016 
30 .Dt·EDITRC·5 
31 .Os 
32 .Sh·NAME2 .SH·NAME
33 .Nm·editrc3 \fBeditrc\fP
34 .Nd·configuration·file·for·editline·library4 \-·configuration·file·for·editline·library
35 .Sh·SYNOPSIS5 .SH·SYNOPSIS
36 .Nm6 .br
 7 \fBeditrc\fP
37 .Sh·DESCRIPTION8 .SH·DESCRIPTION
38 The9 The
39 .Nm10 \fBeditrc\fP
40 file·defines·various·settings·to·be·used·by·the11 file·defines·various·settings·to·be·used·by·the
41 .Xr·editline·312 \fBeditline\fP(3)
42 library.13 library.
43 .Pp 
44 The·format·of·each·line·is:14 The·format·of·each·line·is:
45 .Pp 
46 .D1·Oo·Ar·prog·Ns·Ic·\&:·Oc·Ns·Ar·command·Oo·Ar·arg·...·Oc 
47 .Pp 
48 .Ar·command 
49 is·one·of·the15 is·one·of·the
50 .Xr·editline·3 
51 builtin·commands.16 builtin·commands.
52 Refer·to17 Refer·to
53 .Sx·BUILTIN·COMMANDS 
54 for·more·information.18 for·more·information.
55 .Pp 
56 .Ar·prog 
57 is·the·program·name·string·that·a·program·defines·when·it·calls19 is·the·program·name·string·that·a·program·defines·when·it·calls
58 .Xr·el_init·3 
59 to·set·up20 to·set·up
60 .Xr·editline·3·, 
61 which·is·usually21 which·is·usually
62 .Va·argv·Ns·Li·[0]·. 
63 .Ar·command 
64 will·be·executed·for·any·program·which·matches22 will·be·executed·for·any·program·which·matches
65 .Ar·prog·. 
66 .Pp 
67 .Ar·prog 
68 may·also·be·a23 may·also·be·a
69 .Xr·regex·3 
70 style24 style
71 regular·expression,·in·which·case25 regular·expression,·in·which·case
72 .Ar·command 
73 will·be·executed·for·any·program·that·matches·the·regular·expression.26 will·be·executed·for·any·program·that·matches·the·regular·expression.
74 .Pp 
75 If27 If
76 .Ar·prog 
77 is·absent,28 is·absent,
78 .Ar·command 
79 is·executed·for·all·programs.29 is·executed·for·all·programs.
80 .Sh·BUILTIN·COMMANDS 
81 The30 The
82 .Nm·editline 
83 library·has·some·builtin·commands,·which·affect·the·way31 library·has·some·builtin·commands,·which·affect·the·way
84 that·the·line·editing·and·history·functions·operate.32 that·the·line·editing·and·history·functions·operate.
85 These·are·based·on·similar·named·builtins·present·in·the33 These·are·based·on·similar·named·builtins·present·in·the
86 .Xr·tcsh·1 
87 shell.34 shell.
88 .Pp 
89 The·following·builtin·commands·are·available:35 The·following·builtin·commands·are·available:
90 .Bl·-tag·-width·4n 
91 .It·Ic·bind·Oo·Fl·aeklrsv·Oc·Op·Ar·key·Op·Ar·command 
92 Without·options·and·arguments,·list·all·bound·keys·and·macros,·and36 Without·options·and·arguments,·list·all·bound·keys·and·macros,·and
93 the·editor·command·or·input·string·to·which·each·one·is·bound.37 the·editor·command·or·input·string·to·which·each·one·is·bound.
94 If·only38 If·only
95 .Ar·key 
96 is·supplied,·show·the·binding·for·that·key·or·macro.39 is·supplied,·show·the·binding·for·that·key·or·macro.
97 If40 If
98 .Ar·key·command 
99 is·supplied,·bind·the·editor41 is·supplied,·bind·the·editor
100 .Ar·command 
101 to·that·key·or·macro.42 to·that·key·or·macro.
102 .Pp 
103 The·options·are·as·follows:43 The·options·are·as·follows:
104 .Bl·-tag·-width·4n 
105 .It·Fl·a 
106 List·or·change·key·bindings·in·the44 List·or·change·key·bindings·in·the
107 .Xr·vi·1 
108 mode·alternate·(command·mode)·key·map.45 mode·alternate·(command·mode)·key·map.
109 .It·Fl·e 
110 Bind·all·keys·to·the·standard46 Bind·all·keys·to·the·standard
111 .Tn·GNU 
112 Emacs-like·bindings.47 Emacs-like·bindings.
113 .It·Fl·k 
114 .Ar·key 
115 is·interpreted·as·a·symbolic·arrow·key·name,·which·may·be·one·of48 is·interpreted·as·a·symbolic·arrow·key·name,·which·may·be·one·of
116 .Ic·up·, 
117 .Ic·down·, 
118 .Ic·left 
119 or49 or
120 .Ic·right·. 
121 .It·Fl·l 
122 List·all·editor·commands·and·a·short·description·of·each.50 List·all·editor·commands·and·a·short·description·of·each.
123 .It·Fl·r 
124 Remove·the·binding·of·the·key·or·macro51 Remove·the·binding·of·the·key·or·macro
125 .Ar·key·. 
... Open expanded diff ...
47.0 KB
./usr/share/man/man7/editline.7
    
Offset 1, 935 lines modifiedOffset 1, 1001 lines modified
 1 .TH·EDITLINE·7·"April·6,·2024"·""
1 .\"»    $NetBSD:·editline.7,v·1.6·2024/04/06·13:36:11·christos·Exp·$ 
2 .\"»    $OpenBSD:·editline.7,v·1.1·2016/04/20·01:11:45·schwarze·Exp·$ 
3 .\" 
4 .\"·Copyright·(c)·2016·Ingo·Schwarze·<schwarze@openbsd.org> 
5 .\" 
6 .\"·Permission·to·use,·copy,·modify,·and·distribute·this·software·for·any 
7 .\"·purpose·with·or·without·fee·is·hereby·granted,·provided·that·the·above 
8 .\"·copyright·notice·and·this·permission·notice·appear·in·all·copies. 
9 .\" 
10 .\"·THE·SOFTWARE·IS·PROVIDED·"AS·IS"·AND·THE·AUTHOR·DISCLAIMS·ALL·WARRANTIES 
11 .\"·WITH·REGARD·TO·THIS·SOFTWARE·INCLUDING·ALL·IMPLIED·WARRANTIES·OF 
12 .\"·MERCHANTABILITY·AND·FITNESS.·IN·NO·EVENT·SHALL·THE·AUTHOR·BE·LIABLE·FOR 
13 .\"·ANY·SPECIAL,·DIRECT,·INDIRECT,·OR·CONSEQUENTIAL·DAMAGES·OR·ANY·DAMAGES 
14 .\"·WHATSOEVER·RESULTING·FROM·LOSS·OF·USE,·DATA·OR·PROFITS,·WHETHER·IN·AN 
15 .\"·ACTION·OF·CONTRACT,·NEGLIGENCE·OR·OTHER·TORTIOUS·ACTION,·ARISING·OUT·OF 
16 .\"·OR·IN·CONNECTION·WITH·THE·USE·OR·PERFORMANCE·OF·THIS·SOFTWARE. 
17 .\" 
18 .Dd·April·6,·2024 
19 .Dt·EDITLINE·7 
20 .Os 
21 .Sh·NAME2 .SH·NAME
22 .Nm·editline3 \fBeditline\fP
23 .Nd·line·editing·user·interface4 \-·line·editing·user·interface
24 .Sh·DESCRIPTION5 .SH·DESCRIPTION
25 When·a·program·using·the6 When·a·program·using·the
26 .Xr·editline·37 \fBeditline\fP(3)
27 library·prompts·for·an·input·string·using·the·function8 library·prompts·for·an·input·string·using·the·function
28 .Xr·el_wgets·3·,9 \fBel_wgets\fP(3),
29 it·reads·characters·from·the·terminal.10 it·reads·characters·from·the·terminal.
30 Invalid·input·bytes·that·do·not·form·characters·are·silently11 Invalid·input·bytes·that·do·not·form·characters·are·silently
31 discarded.12 discarded.
32 For·each·character·read,·one·editor·command·is·executed.13 For·each·character·read,·one·editor·command·is·executed.
33 The·mapping·of·input·characters·to·editor·commands·depends·on·the14 The·mapping·of·input·characters·to·editor·commands·depends·on·the
34 editing·mode.15 editing·mode.
35 There·are·three·editing·modes:·vi·insert·mode,·vi·command·mode,16 There·are·three·editing·modes:·vi·insert·mode,·vi·command·mode,
36 and·emacs·mode.17 and·emacs·mode.
37 The·default·is·vi·insert·mode.18 The·default·is·vi·insert·mode.
38 The·program·can·switch·the·default·to·emacs·mode·by·using·the19 The·program·can·switch·the·default·to·emacs·mode·by·using·the
39 .Xr·el_set·320 \fBel_set\fP(3)
40 or21 or
41 .Xr·el_parse·322 \fBel_parse\fP(3)
42 functions,·and·the·user·can·switch·to·emacs·mode·either·in·the23 functions,·and·the·user·can·switch·to·emacs·mode·either·in·the
43 .Xr·editrc·524 \fBeditrc\fP(5)
44 configuration·file·or·interactively·with·the25 configuration·file·or·interactively·with·the
45 .Ic·ed-command26 \fBed-command\fP
46 editor·command,·in·all·three·cases·executing·the27 editor·command,·in·all·three·cases·executing·the
47 .Ic·bind·Fl·e28 \fBbind·Fl·e\fP
48 builtin·command.29 builtin·command.
49 .Pp 
50 If·trying·to·read·from·the·terminal·results·in·end·of·file·or·an30 If·trying·to·read·from·the·terminal·results·in·end·of·file·or·an
51 error,·the·library·signals·end·of·file·to·the·program·and·does·not31 error,·the·library·signals·end·of·file·to·the·program·and·does·not
52 return·a·string.32 return·a·string.
53 .Ss·Input·character·bindings33 .SS·Input·character·bindings
54 All·default·bindings·described·below·can·be·overridden·by·individual34 All·default·bindings·described·below·can·be·overridden·by·individual
55 programs·and·can·be·changed·with·the35 programs·and·can·be·changed·with·the
56 .Xr·editrc·5 
57 .Ic·bind36 \fBeditrc\fP(5)
 37 \fBbind\fP
58 builtin·command.38 builtin·command.
59 .Pp 
60 In·the·following·tables,39 In·the·following·tables,
61 .Sq·Ctrl-40 `Ctrl-'
62 indicates·a·character·with·the·bit·0x40·flipped,·and41 indicates·a·character·with·the·bit·0x40·flipped,·and
63 .Sq·Meta-42 `Meta-'
64 indicates·a·character·with·the·bit·0x80·set.43 indicates·a·character·with·the·bit·0x80·set.
65 In·vi·insert·mode·and·in·emacs·mode,·all·Meta-characters·considered44 In·vi·insert·mode·and·in·emacs·mode,·all·Meta-characters·considered
66 printable·by·the·current45 printable·by·the·current
67 .Xr·locale·146 \fBlocale\fP(1)
68 are·bound·to47 are·bound·to
69 .Ic·ed-insert48 \fBed-insert\fP
70 instead·of·to·the·editor·command·listed·below.49 instead·of·to·the·editor·command·listed·below.
71 Consequently,·in·UTF-8·mode,·most·of·the·Meta-characters·are·not50 Consequently,·in·UTF-8·mode,·most·of·the·Meta-characters·are·not
72 directly·accessible·because·their·code·points·are·occupied·by51 directly·accessible·because·their·code·points·are·occupied·by
73 printable·Unicode·characters,·and·Meta-characters·are·usually·input52 printable·Unicode·characters,·and·Meta-characters·are·usually·input
74 using·the53 using·the
75 .Ic·em-meta-next54 \fBem-meta-next\fP
76 editor·command.55 editor·command.
77 For·example,·to·enter56 For·example,·to·enter
78 .Sq·Meta-B57 `Meta-B'
79 in·order·to·call·the58 in·order·to·call·the
80 .Ic·ed-prev-word59 \fBed-prev-word\fP
81 editor·command·in·emacs·mode,·call60 editor·command·in·emacs·mode,·call
82 .Ic·em-meta-next61 \fBem-meta-next\fP
83 by·pressing·and·releasing·the·escape·key·(or·equivalently,·Ctrl-[),62 by·pressing·and·releasing·the·escape·key·(or·equivalently,·Ctrl-[),
84 then·press·and·release·the63 then·press·and·release·the
85 .Sq·B64 `B'
86 key.65 key.
87 If·you·have·configured·a·Meta-key·on·your·keyboard,·for·example66 If·you·have·configured·a·Meta-key·on·your·keyboard,·for·example
88 with67 with
89 .Ql·setxkbmap·-option·altwin:left_meta_win·,68 `setxkbmap'·-option·altwin:left_meta_win·,
90 the·Ctrl-Meta-characters·are·directly·accessible.69 the·Ctrl-Meta-characters·are·directly·accessible.
91 For·example,·to·enter70 For·example,·to·enter
92 .Sq·Ctrl-Meta-H71 `Ctrl-Meta-H'
93 in·order·to·call·the72 in·order·to·call·the
94 .Ic·ed-delete-prev-word73 \fBed-delete-prev-word\fP
95 editor·command·in·emacs·mode,·hold·down·the·keys74 editor·command·in·emacs·mode,·hold·down·the·keys
96 .Sq·Ctrl·, 
97 .Sq·Meta·,75 `Ctrl',
 76 `Meta',
98 and77 and
99 .Sq·H78 `H'
100 at·the·same·time.79 at·the·same·time.
101 Alternatively,·press·and·release·the·escape·key,·then·press·and80 Alternatively,·press·and·release·the·escape·key,·then·press·and
102 release81 release
103 .Sq·Ctrl-H·. 
104 .Pp82 `Ctrl-H'.
  
105 In·vi·input·mode,·input·characters·are·bound·to·the·following·editor83 In·vi·input·mode,·input·characters·are·bound·to·the·following·editor
106 commands·by·default:84 commands·by·default:
107 .Bl·-column·-offset·indent·"Ctrl-Z,·TSTP"·"ed-search-next-history" 
108 .It·Ctrl-D,·EOF·Ta·Ic·vi-list-or-eof85 It·Ctrl-D,·EOF·Ta·\fBvi-list-or-eof\fP
109 .It·Ctrl-H,·BS·Ta·Ic·vi-delete-prev-char86 It·Ctrl-H,·BS·Ta·\fBvi-delete-prev-char\fP
110 .It·Ctrl-J,·LF·Ta·Ic·ed-newline87 It·Ctrl-J,·LF·Ta·\fBed-newline\fP
111 .It·Ctrl-M,·CR·Ta·Ic·ed-newline88 It·Ctrl-M,·CR·Ta·\fBed-newline\fP
112 .It·Ctrl-Q·Ta·Ic·ed-tty-start-output89 It·Ctrl-Q·Ta·\fBed-tty-start-output\fP
113 .It·Ctrl-S·Ta·Ic·ed-tty-stop-output90 It·Ctrl-S·Ta·\fBed-tty-stop-output\fP
114 .It·Ctrl-U·Ta·Ic·vi-kill-line-prev91 It·Ctrl-U·Ta·\fBvi-kill-line-prev\fP
115 .It·Ctrl-V·Ta·Ic·ed-quoted-insert92 It·Ctrl-V·Ta·\fBed-quoted-insert\fP
116 .It·Ctrl-W·Ta·Ic·ed-delete-prev-word93 It·Ctrl-W·Ta·\fBed-delete-prev-word\fP
117 .It·Ctrl-[,·ESC·Ta·Ic·vi-command-mode94 It·Ctrl-[,·ESC·Ta·\fBvi-command-mode\fP
118 .It·Ctrl-\e,·QUIT·Ta·Ic·ed-tty-sigquit95 It·Ctrl-\e,·QUIT·Ta·\fBed-tty-sigquit\fP
119 .It·Ctrl-?,·DEL·Ta·Ic·vi-delete-prev-char96 It·Ctrl-?,·DEL·Ta·\fBvi-delete-prev-char\fP
  
120 .El 
121 .Pp 
122 All·other·input·characters·except·the·NUL·character·(Ctrl-@)·are97 All·other·input·characters·except·the·NUL·character·(Ctrl-@)·are
... Open expanded diff ...
94.3 KB
reproducibleA/tmp/deploy/ipk vs.
reproducibleB-extended/tmp/deploy/ipk
94.3 KB
reproducibleA/tmp/deploy/ipk/core2-64 vs.
reproducibleB-extended/tmp/deploy/ipk/core2-64
94.2 KB
reproducibleA/tmp/deploy/ipk/core2-64/libedit-doc_20240808-3.1-r0_core2-64.ipk vs.
reproducibleB-extended/tmp/deploy/ipk/core2-64/libedit-doc_20240808-3.1-r0_core2-64.ipk
369 B
file list
    
Offset 1, 3 lines modifiedOffset 1, 3 lines modified
1 ?rw-r--r--···0········0········0········4·1970-01-01·00:00:00.000000·debian-binary1 ?rw-r--r--···0········0········0········4·1970-01-01·00:00:00.000000·debian-binary
2 ?rw-r--r--···0········0········0······420·1970-01-01·00:00:00.000000·control.tar.gz2 ?rw-r--r--···0········0········0······420·1970-01-01·00:00:00.000000·control.tar.gz
3 ?rw-r--r--···0········0········0····18667·1970-01-01·00:00:00.000000·data.tar.zst3 ?rw-r--r--···0········0········0····16929·1970-01-01·00:00:00.000000·data.tar.zst
93.7 KB
data.tar.zst
93.6 KB
data.tar
3.03 KB
file list
    
Offset 1, 12 lines modifiedOffset 1, 12 lines modified
1 drwxr-xr-x···0·root·········(0)·root·········(0)········0·2024-08-08·18:10:52.000000·./usr/1 drwxr-xr-x···0·root·········(0)·root·········(0)········0·2024-08-08·18:10:52.000000·./usr/
2 drwxr-xr-x···0·root·········(0)·root·········(0)········0·2024-08-08·18:10:52.000000·./usr/share/2 drwxr-xr-x···0·root·········(0)·root·········(0)········0·2024-08-08·18:10:52.000000·./usr/share/
3 drwxr-xr-x···0·root·········(0)·root·········(0)········0·2024-08-08·18:10:52.000000·./usr/share/man/3 drwxr-xr-x···0·root·········(0)·root·········(0)········0·2024-08-08·18:10:52.000000·./usr/share/man/
4 drwxr-xr-x···0·root·········(0)·root·········(0)········0·2024-08-08·18:10:52.000000·./usr/share/man/man3/4 drwxr-xr-x···0·root·········(0)·root·········(0)········0·2024-08-08·18:10:52.000000·./usr/share/man/man3/
5 -rw-r--r--···0·root·········(0)·root·········(0)····24118·2024-08-08·18:10:52.000000·./usr/share/man/man3/editline.35 -rw-r--r--···0·root·········(0)·root·········(0)····23827·2024-08-08·18:10:52.000000·./usr/share/man/man3/editline.3
6 lrwxrwxrwx···0·root·········(0)·root·········(0)········0·2024-08-08·18:10:52.000000·./usr/share/man/man3/el_deletestr.3·->·editline.36 lrwxrwxrwx···0·root·········(0)·root·········(0)········0·2024-08-08·18:10:52.000000·./usr/share/man/man3/el_deletestr.3·->·editline.3
7 lrwxrwxrwx···0·root·········(0)·root·········(0)········0·2024-08-08·18:10:52.000000·./usr/share/man/man3/el_end.3·->·editline.37 lrwxrwxrwx···0·root·········(0)·root·········(0)········0·2024-08-08·18:10:52.000000·./usr/share/man/man3/el_end.3·->·editline.3
8 lrwxrwxrwx···0·root·········(0)·root·········(0)········0·2024-08-08·18:10:52.000000·./usr/share/man/man3/el_get.3·->·editline.38 lrwxrwxrwx···0·root·········(0)·root·········(0)········0·2024-08-08·18:10:52.000000·./usr/share/man/man3/el_get.3·->·editline.3
9 lrwxrwxrwx···0·root·········(0)·root·········(0)········0·2024-08-08·18:10:52.000000·./usr/share/man/man3/el_getc.3·->·editline.39 lrwxrwxrwx···0·root·········(0)·root·········(0)········0·2024-08-08·18:10:52.000000·./usr/share/man/man3/el_getc.3·->·editline.3
10 lrwxrwxrwx···0·root·········(0)·root·········(0)········0·2024-08-08·18:10:52.000000·./usr/share/man/man3/el_gets.3·->·editline.310 lrwxrwxrwx···0·root·········(0)·root·········(0)········0·2024-08-08·18:10:52.000000·./usr/share/man/man3/el_gets.3·->·editline.3
11 lrwxrwxrwx···0·root·········(0)·root·········(0)········0·2024-08-08·18:10:52.000000·./usr/share/man/man3/el_history.3·->·editline.311 lrwxrwxrwx···0·root·········(0)·root·········(0)········0·2024-08-08·18:10:52.000000·./usr/share/man/man3/el_history.3·->·editline.3
12 lrwxrwxrwx···0·root·········(0)·root·········(0)········0·2024-08-08·18:10:52.000000·./usr/share/man/man3/el_history_end.3·->·editline.312 lrwxrwxrwx···0·root·········(0)·root·········(0)········0·2024-08-08·18:10:52.000000·./usr/share/man/man3/el_history_end.3·->·editline.3
Offset 40, 10 lines modifiedOffset 40, 10 lines modified
40 lrwxrwxrwx···0·root·········(0)·root·········(0)········0·2024-08-08·18:10:52.000000·./usr/share/man/man3/el_wgets.3·->·editline.340 lrwxrwxrwx···0·root·········(0)·root·········(0)········0·2024-08-08·18:10:52.000000·./usr/share/man/man3/el_wgets.3·->·editline.3
41 lrwxrwxrwx···0·root·········(0)·root·········(0)········0·2024-08-08·18:10:52.000000·./usr/share/man/man3/el_winsertstr.3·->·editline.341 lrwxrwxrwx···0·root·········(0)·root·········(0)········0·2024-08-08·18:10:52.000000·./usr/share/man/man3/el_winsertstr.3·->·editline.3
42 lrwxrwxrwx···0·root·········(0)·root·········(0)········0·2024-08-08·18:10:52.000000·./usr/share/man/man3/el_wline.3·->·editline.342 lrwxrwxrwx···0·root·········(0)·root·········(0)········0·2024-08-08·18:10:52.000000·./usr/share/man/man3/el_wline.3·->·editline.3
43 lrwxrwxrwx···0·root·········(0)·root·········(0)········0·2024-08-08·18:10:52.000000·./usr/share/man/man3/el_wparse.3·->·editline.343 lrwxrwxrwx···0·root·········(0)·root·········(0)········0·2024-08-08·18:10:52.000000·./usr/share/man/man3/el_wparse.3·->·editline.3
44 lrwxrwxrwx···0·root·········(0)·root·········(0)········0·2024-08-08·18:10:52.000000·./usr/share/man/man3/el_wpush.3·->·editline.344 lrwxrwxrwx···0·root·········(0)·root·········(0)········0·2024-08-08·18:10:52.000000·./usr/share/man/man3/el_wpush.3·->·editline.3
45 lrwxrwxrwx···0·root·········(0)·root·········(0)········0·2024-08-08·18:10:52.000000·./usr/share/man/man3/el_wset.3·->·editline.345 lrwxrwxrwx···0·root·········(0)·root·········(0)········0·2024-08-08·18:10:52.000000·./usr/share/man/man3/el_wset.3·->·editline.3
46 drwxr-xr-x···0·root·········(0)·root·········(0)········0·2024-08-08·18:10:52.000000·./usr/share/man/man5/46 drwxr-xr-x···0·root·········(0)·root·········(0)········0·2024-08-08·18:10:52.000000·./usr/share/man/man5/
47 -rw-r--r--···0·root·········(0)·root·········(0)·····7143·2024-08-08·18:10:52.000000·./usr/share/man/man5/editrc.547 -rw-r--r--···0·root·········(0)·root·········(0)·····3598·2024-08-08·18:10:52.000000·./usr/share/man/man5/editrc.5
48 drwxr-xr-x···0·root·········(0)·root·········(0)········0·2024-08-08·18:10:52.000000·./usr/share/man/man7/48 drwxr-xr-x···0·root·········(0)·root·········(0)········0·2024-08-08·18:10:52.000000·./usr/share/man/man7/
49 -rw-r--r--···0·root·········(0)·root·········(0)····33721·2024-08-08·18:10:52.000000·./usr/share/man/man7/editline.749 -rw-r--r--···0·root·········(0)·root·········(0)····33136·2024-08-08·18:10:52.000000·./usr/share/man/man7/editline.7
36.1 KB
./usr/share/man/man3/editline.3
    
Offset 1, 1020 lines modifiedOffset 1, 1172 lines modified
 1 .TH·EDITLINE·3·"August·15,·2021"·""
1 .\"»    $NetBSD:·editline.3,v·1.102·2024/02/04·18:47:27·andvar·Exp·$ 
2 .\" 
3 .\"·Copyright·(c)·1997-2014·The·NetBSD·Foundation,·Inc. 
4 .\"·All·rights·reserved. 
5 .\" 
6 .\"·This·file·was·contributed·to·The·NetBSD·Foundation·by·Luke·Mewburn. 
7 .\" 
8 .\"·Redistribution·and·use·in·source·and·binary·forms,·with·or·without 
9 .\"·modification,·are·permitted·provided·that·the·following·conditions 
10 .\"·are·met: 
11 .\"·1.·Redistributions·of·source·code·must·retain·the·above·copyright 
12 .\"····notice,·this·list·of·conditions·and·the·following·disclaimer. 
13 .\"·2.·Redistributions·in·binary·form·must·reproduce·the·above·copyright 
14 .\"····notice,·this·list·of·conditions·and·the·following·disclaimer·in·the 
15 .\"····documentation·and/or·other·materials·provided·with·the·distribution. 
16 .\" 
17 .\"·THIS·SOFTWARE·IS·PROVIDED·BY·THE·NETBSD·FOUNDATION,·INC.·AND·CONTRIBUTORS 
18 .\"·``AS·IS''·AND·ANY·EXPRESS·OR·IMPLIED·WARRANTIES,·INCLUDING,·BUT·NOT·LIMITED 
19 .\"·TO,·THE·IMPLIED·WARRANTIES·OF·MERCHANTABILITY·AND·FITNESS·FOR·A·PARTICULAR 
20 .\"·PURPOSE·ARE·DISCLAIMED.··IN·NO·EVENT·SHALL·THE·FOUNDATION·OR·CONTRIBUTORS 
21 .\"·BE·LIABLE·FOR·ANY·DIRECT,·INDIRECT,·INCIDENTAL,·SPECIAL,·EXEMPLARY,·OR 
22 .\"·CONSEQUENTIAL·DAMAGES·(INCLUDING,·BUT·NOT·LIMITED·TO,·PROCUREMENT·OF 
23 .\"·SUBSTITUTE·GOODS·OR·SERVICES;·LOSS·OF·USE,·DATA,·OR·PROFITS;·OR·BUSINESS 
24 .\"·INTERRUPTION)·HOWEVER·CAUSED·AND·ON·ANY·THEORY·OF·LIABILITY,·WHETHER·IN 
25 .\"·CONTRACT,·STRICT·LIABILITY,·OR·TORT·(INCLUDING·NEGLIGENCE·OR·OTHERWISE) 
26 .\"·ARISING·IN·ANY·WAY·OUT·OF·THE·USE·OF·THIS·SOFTWARE,·EVEN·IF·ADVISED·OF·THE 
27 .\"·POSSIBILITY·OF·SUCH·DAMAGE. 
28 .\" 
29 .Dd·August·15,·2021 
30 .Dt·EDITLINE·3 
31 .Os 
32 .Sh·NAME2 .SH·NAME
33 .Nm·editline·, 
34 .Nm·el_init·, 
35 .Nm·el_init_fd·, 
36 .Nm·el_end·, 
37 .Nm·el_reset·, 
38 .Nm·el_gets·, 
39 .Nm·el_wgets·, 
40 .Nm·el_getc·, 
41 .Nm·el_wgetc·, 
42 .Nm·el_push·, 
43 .Nm·el_wpush·, 
44 .Nm·el_parse·, 
45 .Nm·el_wparse·, 
46 .Nm·el_set·, 
47 .Nm·el_wset·, 
48 .Nm·el_get·, 
49 .Nm·el_wget·, 
50 .Nm·el_source·, 
51 .Nm·el_resize·, 
52 .Nm·el_cursor·, 
53 .Nm·el_line·, 
54 .Nm·el_wline·, 
55 .Nm·el_insertstr·, 
56 .Nm·el_winsertstr·, 
57 .Nm·el_deletestr·, 
58 .Nm·el_wdeletestr·, 
59 .Nm·history_init·, 
60 .Nm·history_winit·, 
61 .Nm·history_end·, 
62 .Nm·history_wend·, 
63 .Nm·history·, 
64 .Nm·history_w·, 
65 .Nm·tok_init·, 
66 .Nm·tok_winit·, 
67 .Nm·tok_end·, 
68 .Nm·tok_wend·, 
69 .Nm·tok_reset·, 
70 .Nm·tok_wreset·, 
71 .Nm·tok_line·, 
72 .Nm·tok_wline·, 
73 .Nm·tok_str·, 
74 .Nm·tok_wstr3 \fBeditline\fP,
 4 \fBel_init\fP,
 5 \fBel_init_fd\fP,
 6 \fBel_end\fP,
 7 \fBel_reset\fP,
 8 \fBel_gets\fP,
 9 \fBel_wgets\fP,
 10 \fBel_getc\fP,
 11 \fBel_wgetc\fP,
 12 \fBel_push\fP,
 13 \fBel_wpush\fP,
 14 \fBel_parse\fP,
 15 \fBel_wparse\fP,
 16 \fBel_set\fP,
 17 \fBel_wset\fP,
 18 \fBel_get\fP,
 19 \fBel_wget\fP,
 20 \fBel_source\fP,
 21 \fBel_resize\fP,
 22 \fBel_cursor\fP,
 23 \fBel_line\fP,
 24 \fBel_wline\fP,
 25 \fBel_insertstr\fP,
 26 \fBel_winsertstr\fP,
 27 \fBel_deletestr\fP,
 28 \fBel_wdeletestr\fP,
 29 \fBhistory_init\fP,
 30 \fBhistory_winit\fP,
 31 \fBhistory_end\fP,
 32 \fBhistory_wend\fP,
 33 \fBhistory\fP,
 34 \fBhistory_w\fP,
 35 \fBtok_init\fP,
 36 \fBtok_winit\fP,
 37 \fBtok_end\fP,
 38 \fBtok_wend\fP,
 39 \fBtok_reset\fP,
 40 \fBtok_wreset\fP,
 41 \fBtok_line\fP,
 42 \fBtok_wline\fP,
 43 \fBtok_str\fP,
 44 \fBtok_wstr\fP
75 .Nd·line·editor,·history·and·tokenization·functions45 \-·line·editor,·history·and·tokenization·functions
76 .Sh·LIBRARY46 .SH·LIBRARY
77 .Lb·libedit47 Command·Line·Editor·Library·(libedit,·-ledit)
78 .Sh·SYNOPSIS48 .SH·SYNOPSIS
79 .In·histedit.h 
80 .Ft·EditLine·* 
81 .Fn·el_init·"const·char·*prog"·"FILE·*fin"·"FILE·*fout"·"FILE·*ferr" 
82 .Ft·EditLine·* 
83 .Fn·el_init_fd·"const·char·*prog"·"FILE·*fin"·"FILE·*fout"·"FILE·*ferr"·"int·fdin"·"int·fdout"·"int·fderr" 
84 .Ft·void 
85 .Fn·el_end·"EditLine·*e" 
... Open expanded diff ...
7.56 KB
./usr/share/man/man5/editrc.5
    
Offset 1, 326 lines modifiedOffset 1, 142 lines modified
 1 .TH·EDITRC·5·"May·22,·2016"·""
1 .\"»    $NetBSD:·editrc.5,v·1.34·2022/12/06·00:59:20·uwe·Exp·$ 
2 .\" 
3 .\"·Copyright·(c)·1997-2000·The·NetBSD·Foundation,·Inc. 
4 .\"·All·rights·reserved. 
5 .\" 
6 .\"·This·file·was·contributed·to·The·NetBSD·Foundation·by·Luke·Mewburn. 
7 .\" 
8 .\"·Redistribution·and·use·in·source·and·binary·forms,·with·or·without 
9 .\"·modification,·are·permitted·provided·that·the·following·conditions 
10 .\"·are·met: 
11 .\"·1.·Redistributions·of·source·code·must·retain·the·above·copyright 
12 .\"····notice,·this·list·of·conditions·and·the·following·disclaimer. 
13 .\"·2.·Redistributions·in·binary·form·must·reproduce·the·above·copyright 
14 .\"····notice,·this·list·of·conditions·and·the·following·disclaimer·in·the 
15 .\"····documentation·and/or·other·materials·provided·with·the·distribution. 
16 .\" 
17 .\"·THIS·SOFTWARE·IS·PROVIDED·BY·THE·NETBSD·FOUNDATION,·INC.·AND·CONTRIBUTORS 
18 .\"·``AS·IS''·AND·ANY·EXPRESS·OR·IMPLIED·WARRANTIES,·INCLUDING,·BUT·NOT·LIMITED 
19 .\"·TO,·THE·IMPLIED·WARRANTIES·OF·MERCHANTABILITY·AND·FITNESS·FOR·A·PARTICULAR 
20 .\"·PURPOSE·ARE·DISCLAIMED.··IN·NO·EVENT·SHALL·THE·FOUNDATION·OR·CONTRIBUTORS 
21 .\"·BE·LIABLE·FOR·ANY·DIRECT,·INDIRECT,·INCIDENTAL,·SPECIAL,·EXEMPLARY,·OR 
22 .\"·CONSEQUENTIAL·DAMAGES·(INCLUDING,·BUT·NOT·LIMITED·TO,·PROCUREMENT·OF 
23 .\"·SUBSTITUTE·GOODS·OR·SERVICES;·LOSS·OF·USE,·DATA,·OR·PROFITS;·OR·BUSINESS 
24 .\"·INTERRUPTION)·HOWEVER·CAUSED·AND·ON·ANY·THEORY·OF·LIABILITY,·WHETHER·IN 
25 .\"·CONTRACT,·STRICT·LIABILITY,·OR·TORT·(INCLUDING·NEGLIGENCE·OR·OTHERWISE) 
26 .\"·ARISING·IN·ANY·WAY·OUT·OF·THE·USE·OF·THIS·SOFTWARE,·EVEN·IF·ADVISED·OF·THE 
27 .\"·POSSIBILITY·OF·SUCH·DAMAGE. 
28 .\" 
29 .Dd·May·22,·2016 
30 .Dt·EDITRC·5 
31 .Os 
32 .Sh·NAME2 .SH·NAME
33 .Nm·editrc3 \fBeditrc\fP
34 .Nd·configuration·file·for·editline·library4 \-·configuration·file·for·editline·library
35 .Sh·SYNOPSIS5 .SH·SYNOPSIS
36 .Nm6 .br
 7 \fBeditrc\fP
37 .Sh·DESCRIPTION8 .SH·DESCRIPTION
38 The9 The
39 .Nm10 \fBeditrc\fP
40 file·defines·various·settings·to·be·used·by·the11 file·defines·various·settings·to·be·used·by·the
41 .Xr·editline·312 \fBeditline\fP(3)
42 library.13 library.
43 .Pp 
44 The·format·of·each·line·is:14 The·format·of·each·line·is:
45 .Pp 
46 .D1·Oo·Ar·prog·Ns·Ic·\&:·Oc·Ns·Ar·command·Oo·Ar·arg·...·Oc 
47 .Pp 
48 .Ar·command 
49 is·one·of·the15 is·one·of·the
50 .Xr·editline·3 
51 builtin·commands.16 builtin·commands.
52 Refer·to17 Refer·to
53 .Sx·BUILTIN·COMMANDS 
54 for·more·information.18 for·more·information.
55 .Pp 
56 .Ar·prog 
57 is·the·program·name·string·that·a·program·defines·when·it·calls19 is·the·program·name·string·that·a·program·defines·when·it·calls
58 .Xr·el_init·3 
59 to·set·up20 to·set·up
60 .Xr·editline·3·, 
61 which·is·usually21 which·is·usually
62 .Va·argv·Ns·Li·[0]·. 
63 .Ar·command 
64 will·be·executed·for·any·program·which·matches22 will·be·executed·for·any·program·which·matches
65 .Ar·prog·. 
66 .Pp 
67 .Ar·prog 
68 may·also·be·a23 may·also·be·a
69 .Xr·regex·3 
70 style24 style
71 regular·expression,·in·which·case25 regular·expression,·in·which·case
72 .Ar·command 
73 will·be·executed·for·any·program·that·matches·the·regular·expression.26 will·be·executed·for·any·program·that·matches·the·regular·expression.
74 .Pp 
75 If27 If
76 .Ar·prog 
77 is·absent,28 is·absent,
78 .Ar·command 
79 is·executed·for·all·programs.29 is·executed·for·all·programs.
80 .Sh·BUILTIN·COMMANDS 
81 The30 The
82 .Nm·editline 
83 library·has·some·builtin·commands,·which·affect·the·way31 library·has·some·builtin·commands,·which·affect·the·way
84 that·the·line·editing·and·history·functions·operate.32 that·the·line·editing·and·history·functions·operate.
85 These·are·based·on·similar·named·builtins·present·in·the33 These·are·based·on·similar·named·builtins·present·in·the
86 .Xr·tcsh·1 
87 shell.34 shell.
88 .Pp 
89 The·following·builtin·commands·are·available:35 The·following·builtin·commands·are·available:
90 .Bl·-tag·-width·4n 
91 .It·Ic·bind·Oo·Fl·aeklrsv·Oc·Op·Ar·key·Op·Ar·command 
92 Without·options·and·arguments,·list·all·bound·keys·and·macros,·and36 Without·options·and·arguments,·list·all·bound·keys·and·macros,·and
93 the·editor·command·or·input·string·to·which·each·one·is·bound.37 the·editor·command·or·input·string·to·which·each·one·is·bound.
94 If·only38 If·only
95 .Ar·key 
96 is·supplied,·show·the·binding·for·that·key·or·macro.39 is·supplied,·show·the·binding·for·that·key·or·macro.
97 If40 If
98 .Ar·key·command 
99 is·supplied,·bind·the·editor41 is·supplied,·bind·the·editor
100 .Ar·command 
101 to·that·key·or·macro.42 to·that·key·or·macro.
102 .Pp 
103 The·options·are·as·follows:43 The·options·are·as·follows:
104 .Bl·-tag·-width·4n 
105 .It·Fl·a 
106 List·or·change·key·bindings·in·the44 List·or·change·key·bindings·in·the
107 .Xr·vi·1 
108 mode·alternate·(command·mode)·key·map.45 mode·alternate·(command·mode)·key·map.
109 .It·Fl·e 
110 Bind·all·keys·to·the·standard46 Bind·all·keys·to·the·standard
111 .Tn·GNU 
112 Emacs-like·bindings.47 Emacs-like·bindings.
113 .It·Fl·k 
114 .Ar·key 
115 is·interpreted·as·a·symbolic·arrow·key·name,·which·may·be·one·of48 is·interpreted·as·a·symbolic·arrow·key·name,·which·may·be·one·of
116 .Ic·up·, 
117 .Ic·down·, 
118 .Ic·left 
119 or49 or
120 .Ic·right·. 
121 .It·Fl·l 
122 List·all·editor·commands·and·a·short·description·of·each.50 List·all·editor·commands·and·a·short·description·of·each.
123 .It·Fl·r 
124 Remove·the·binding·of·the·key·or·macro51 Remove·the·binding·of·the·key·or·macro
125 .Ar·key·. 
... Open expanded diff ...
47.0 KB
./usr/share/man/man7/editline.7
    
Offset 1, 935 lines modifiedOffset 1, 1001 lines modified
 1 .TH·EDITLINE·7·"April·6,·2024"·""
1 .\"»    $NetBSD:·editline.7,v·1.6·2024/04/06·13:36:11·christos·Exp·$ 
2 .\"»    $OpenBSD:·editline.7,v·1.1·2016/04/20·01:11:45·schwarze·Exp·$ 
3 .\" 
4 .\"·Copyright·(c)·2016·Ingo·Schwarze·<schwarze@openbsd.org> 
5 .\" 
6 .\"·Permission·to·use,·copy,·modify,·and·distribute·this·software·for·any 
7 .\"·purpose·with·or·without·fee·is·hereby·granted,·provided·that·the·above 
8 .\"·copyright·notice·and·this·permission·notice·appear·in·all·copies. 
9 .\" 
10 .\"·THE·SOFTWARE·IS·PROVIDED·"AS·IS"·AND·THE·AUTHOR·DISCLAIMS·ALL·WARRANTIES 
11 .\"·WITH·REGARD·TO·THIS·SOFTWARE·INCLUDING·ALL·IMPLIED·WARRANTIES·OF 
12 .\"·MERCHANTABILITY·AND·FITNESS.·IN·NO·EVENT·SHALL·THE·AUTHOR·BE·LIABLE·FOR 
13 .\"·ANY·SPECIAL,·DIRECT,·INDIRECT,·OR·CONSEQUENTIAL·DAMAGES·OR·ANY·DAMAGES 
14 .\"·WHATSOEVER·RESULTING·FROM·LOSS·OF·USE,·DATA·OR·PROFITS,·WHETHER·IN·AN 
15 .\"·ACTION·OF·CONTRACT,·NEGLIGENCE·OR·OTHER·TORTIOUS·ACTION,·ARISING·OUT·OF 
16 .\"·OR·IN·CONNECTION·WITH·THE·USE·OR·PERFORMANCE·OF·THIS·SOFTWARE. 
17 .\" 
18 .Dd·April·6,·2024 
19 .Dt·EDITLINE·7 
20 .Os 
21 .Sh·NAME2 .SH·NAME
22 .Nm·editline3 \fBeditline\fP
23 .Nd·line·editing·user·interface4 \-·line·editing·user·interface
24 .Sh·DESCRIPTION5 .SH·DESCRIPTION
25 When·a·program·using·the6 When·a·program·using·the
26 .Xr·editline·37 \fBeditline\fP(3)
27 library·prompts·for·an·input·string·using·the·function8 library·prompts·for·an·input·string·using·the·function
28 .Xr·el_wgets·3·,9 \fBel_wgets\fP(3),
29 it·reads·characters·from·the·terminal.10 it·reads·characters·from·the·terminal.
30 Invalid·input·bytes·that·do·not·form·characters·are·silently11 Invalid·input·bytes·that·do·not·form·characters·are·silently
31 discarded.12 discarded.
32 For·each·character·read,·one·editor·command·is·executed.13 For·each·character·read,·one·editor·command·is·executed.
33 The·mapping·of·input·characters·to·editor·commands·depends·on·the14 The·mapping·of·input·characters·to·editor·commands·depends·on·the
34 editing·mode.15 editing·mode.
35 There·are·three·editing·modes:·vi·insert·mode,·vi·command·mode,16 There·are·three·editing·modes:·vi·insert·mode,·vi·command·mode,
36 and·emacs·mode.17 and·emacs·mode.
37 The·default·is·vi·insert·mode.18 The·default·is·vi·insert·mode.
38 The·program·can·switch·the·default·to·emacs·mode·by·using·the19 The·program·can·switch·the·default·to·emacs·mode·by·using·the
39 .Xr·el_set·320 \fBel_set\fP(3)
40 or21 or
41 .Xr·el_parse·322 \fBel_parse\fP(3)
42 functions,·and·the·user·can·switch·to·emacs·mode·either·in·the23 functions,·and·the·user·can·switch·to·emacs·mode·either·in·the
43 .Xr·editrc·524 \fBeditrc\fP(5)
44 configuration·file·or·interactively·with·the25 configuration·file·or·interactively·with·the
45 .Ic·ed-command26 \fBed-command\fP
46 editor·command,·in·all·three·cases·executing·the27 editor·command,·in·all·three·cases·executing·the
47 .Ic·bind·Fl·e28 \fBbind·Fl·e\fP
48 builtin·command.29 builtin·command.
49 .Pp 
50 If·trying·to·read·from·the·terminal·results·in·end·of·file·or·an30 If·trying·to·read·from·the·terminal·results·in·end·of·file·or·an
51 error,·the·library·signals·end·of·file·to·the·program·and·does·not31 error,·the·library·signals·end·of·file·to·the·program·and·does·not
52 return·a·string.32 return·a·string.
53 .Ss·Input·character·bindings33 .SS·Input·character·bindings
54 All·default·bindings·described·below·can·be·overridden·by·individual34 All·default·bindings·described·below·can·be·overridden·by·individual
55 programs·and·can·be·changed·with·the35 programs·and·can·be·changed·with·the
56 .Xr·editrc·5 
57 .Ic·bind36 \fBeditrc\fP(5)
 37 \fBbind\fP
58 builtin·command.38 builtin·command.
59 .Pp 
60 In·the·following·tables,39 In·the·following·tables,
61 .Sq·Ctrl-40 `Ctrl-'
62 indicates·a·character·with·the·bit·0x40·flipped,·and41 indicates·a·character·with·the·bit·0x40·flipped,·and
63 .Sq·Meta-42 `Meta-'
64 indicates·a·character·with·the·bit·0x80·set.43 indicates·a·character·with·the·bit·0x80·set.
65 In·vi·insert·mode·and·in·emacs·mode,·all·Meta-characters·considered44 In·vi·insert·mode·and·in·emacs·mode,·all·Meta-characters·considered
66 printable·by·the·current45 printable·by·the·current
67 .Xr·locale·146 \fBlocale\fP(1)
68 are·bound·to47 are·bound·to
69 .Ic·ed-insert48 \fBed-insert\fP
70 instead·of·to·the·editor·command·listed·below.49 instead·of·to·the·editor·command·listed·below.
71 Consequently,·in·UTF-8·mode,·most·of·the·Meta-characters·are·not50 Consequently,·in·UTF-8·mode,·most·of·the·Meta-characters·are·not
72 directly·accessible·because·their·code·points·are·occupied·by51 directly·accessible·because·their·code·points·are·occupied·by
73 printable·Unicode·characters,·and·Meta-characters·are·usually·input52 printable·Unicode·characters,·and·Meta-characters·are·usually·input
74 using·the53 using·the
75 .Ic·em-meta-next54 \fBem-meta-next\fP
76 editor·command.55 editor·command.
77 For·example,·to·enter56 For·example,·to·enter
78 .Sq·Meta-B57 `Meta-B'
79 in·order·to·call·the58 in·order·to·call·the
80 .Ic·ed-prev-word59 \fBed-prev-word\fP
81 editor·command·in·emacs·mode,·call60 editor·command·in·emacs·mode,·call
82 .Ic·em-meta-next61 \fBem-meta-next\fP
83 by·pressing·and·releasing·the·escape·key·(or·equivalently,·Ctrl-[),62 by·pressing·and·releasing·the·escape·key·(or·equivalently,·Ctrl-[),
84 then·press·and·release·the63 then·press·and·release·the
85 .Sq·B64 `B'
86 key.65 key.
87 If·you·have·configured·a·Meta-key·on·your·keyboard,·for·example66 If·you·have·configured·a·Meta-key·on·your·keyboard,·for·example
88 with67 with
89 .Ql·setxkbmap·-option·altwin:left_meta_win·,68 `setxkbmap'·-option·altwin:left_meta_win·,
90 the·Ctrl-Meta-characters·are·directly·accessible.69 the·Ctrl-Meta-characters·are·directly·accessible.
91 For·example,·to·enter70 For·example,·to·enter
92 .Sq·Ctrl-Meta-H71 `Ctrl-Meta-H'
93 in·order·to·call·the72 in·order·to·call·the
94 .Ic·ed-delete-prev-word73 \fBed-delete-prev-word\fP
95 editor·command·in·emacs·mode,·hold·down·the·keys74 editor·command·in·emacs·mode,·hold·down·the·keys
96 .Sq·Ctrl·, 
97 .Sq·Meta·,75 `Ctrl',
 76 `Meta',
98 and77 and
99 .Sq·H78 `H'
100 at·the·same·time.79 at·the·same·time.
101 Alternatively,·press·and·release·the·escape·key,·then·press·and80 Alternatively,·press·and·release·the·escape·key,·then·press·and
102 release81 release
103 .Sq·Ctrl-H·. 
104 .Pp82 `Ctrl-H'.
  
105 In·vi·input·mode,·input·characters·are·bound·to·the·following·editor83 In·vi·input·mode,·input·characters·are·bound·to·the·following·editor
106 commands·by·default:84 commands·by·default:
107 .Bl·-column·-offset·indent·"Ctrl-Z,·TSTP"·"ed-search-next-history" 
108 .It·Ctrl-D,·EOF·Ta·Ic·vi-list-or-eof85 It·Ctrl-D,·EOF·Ta·\fBvi-list-or-eof\fP
109 .It·Ctrl-H,·BS·Ta·Ic·vi-delete-prev-char86 It·Ctrl-H,·BS·Ta·\fBvi-delete-prev-char\fP
110 .It·Ctrl-J,·LF·Ta·Ic·ed-newline87 It·Ctrl-J,·LF·Ta·\fBed-newline\fP
111 .It·Ctrl-M,·CR·Ta·Ic·ed-newline88 It·Ctrl-M,·CR·Ta·\fBed-newline\fP
112 .It·Ctrl-Q·Ta·Ic·ed-tty-start-output89 It·Ctrl-Q·Ta·\fBed-tty-start-output\fP
113 .It·Ctrl-S·Ta·Ic·ed-tty-stop-output90 It·Ctrl-S·Ta·\fBed-tty-stop-output\fP
114 .It·Ctrl-U·Ta·Ic·vi-kill-line-prev91 It·Ctrl-U·Ta·\fBvi-kill-line-prev\fP
115 .It·Ctrl-V·Ta·Ic·ed-quoted-insert92 It·Ctrl-V·Ta·\fBed-quoted-insert\fP
116 .It·Ctrl-W·Ta·Ic·ed-delete-prev-word93 It·Ctrl-W·Ta·\fBed-delete-prev-word\fP
117 .It·Ctrl-[,·ESC·Ta·Ic·vi-command-mode94 It·Ctrl-[,·ESC·Ta·\fBvi-command-mode\fP
118 .It·Ctrl-\e,·QUIT·Ta·Ic·ed-tty-sigquit95 It·Ctrl-\e,·QUIT·Ta·\fBed-tty-sigquit\fP
119 .It·Ctrl-?,·DEL·Ta·Ic·vi-delete-prev-char96 It·Ctrl-?,·DEL·Ta·\fBvi-delete-prev-char\fP
  
120 .El 
121 .Pp 
122 All·other·input·characters·except·the·NUL·character·(Ctrl-@)·are97 All·other·input·characters·except·the·NUL·character·(Ctrl-@)·are
... Open expanded diff ...
102 KB
reproducibleA/tmp/deploy/rpm vs.
reproducibleB-extended/tmp/deploy/rpm
102 KB
reproducibleA/tmp/deploy/rpm/core2_64 vs.
reproducibleB-extended/tmp/deploy/rpm/core2_64
102 KB
reproducibleA/tmp/deploy/rpm/core2_64/libedit-doc-20240808+3.1-r0.core2_64.rpm vs.
reproducibleB-extended/tmp/deploy/rpm/core2_64/libedit-doc-20240808+3.1-r0.core2_64.rpm
8.18 KB
header
    
Offset 15, 34 lines modifiedOffset 15, 34 lines modified
15 0000000600000fed000000010000046c0000000600000fee000000010000047400000004000010040000003100000475000015 0000000600000fed000000010000046c0000000600000fee0000000100000474000000040000100400000031000004750000
16 0004000010c80000003100000476000000080000118c000000030000139300000004000011c000000001000013c60000000616 0004000010c80000003100000476000000080000118c000000030000139300000004000011c000000001000013c600000006
17 000011c400000001000013e400000008000011ca00000001000013e5000000040000120c00000001000013e900000008000017 000011c400000001000013e400000008000011ca00000001000013e5000000040000120c00000001000013e9000000080000
18 12100000000143006c6962656469742d646f630032303234303830382b332e3100723000425344207265706c6163656d656e18 12100000000143006c6962656469742d646f630032303234303830382b332e3100723000425344207265706c6163656d656e
19 7420666f72206c6962726561646c696e65202d20446f63756d656e746174696f6e2066696c657300436f6d6d616e64206c6919 7420666f72206c6962726561646c696e65202d20446f63756d656e746174696f6e2066696c657300436f6d6d616e64206c69
20 6e6520656469746f72206c6962726172792070726f766964696e672067656e65726963206c696e652065646974696e672c2020 6e6520656469746f72206c6962726172792070726f766964696e672067656e65726963206c696e652065646974696e672c20
21 686973746f72792c20616e640a746f6b656e697a6174696f6e2066756e6374696f6e73202054686973207061636b6167652021 686973746f72792c20616e640a746f6b656e697a6174696f6e2066756e6374696f6e73202054686973207061636b61676520
22 636f6e7461696e7320646f63756d656e746174696f6e2e00000066b50a2c726570726f64756369626c65000000000000ff6622 636f6e7461696e7320646f63756d656e746174696f6e2e00000066b50a2c726570726f64756369626c65000000000000ee21
23 4253442d332d436c6175736500506f6b79204d61696e7461696e657273203c706f6b79406c697374732e796f63746f70726f23 4253442d332d436c6175736500506f6b79204d61696e7461696e657273203c706f6b79406c697374732e796f63746f70726f
24 6a6563742e6f72673e00646f6300687474703a2f2f7777772e74687279736f65652e646b2f656469746c696e652f006c696e24 6a6563742e6f72673e00646f6300687474703a2f2f7777772e74687279736f65652e646b2f656469746c696e652f006c696e
25 757800636f7265325f3634000000000000000000000000000000000000005e360000000a0000000a0000000a0000000a000025 757800636f7265325f3634000000000000000000000000000000000000005d130000000a0000000a0000000a0000000a0000
26 000a0000000a0000000a0000000a0000000a0000000a0000000a0000000a0000000a0000000a0000000a0000000a0000000a26 000a0000000a0000000a0000000a0000000a0000000a0000000a0000000a0000000a0000000a0000000a0000000a0000000a
27 0000000a0000000a0000000a0000000a0000000a0000000a0000000a0000000a0000000a0000000a0000000a0000000a000027 0000000a0000000a0000000a0000000a0000000a0000000a0000000a0000000a0000000a0000000a0000000a0000000a0000
28 000a0000000a0000000a0000000a0000000a0000000a0000000a0000000a0000000a0000000a0000000a0000000000001be728 000a0000000a0000000a0000000a0000000a0000000a0000000a0000000a0000000a0000000a0000000a0000000000000e0e
29 00000000000083b941ed41ed41ed41ed81a4a1ffa1ffa1ffa1ffa1ffa1ffa1ffa1ffa1ffa1ffa1ffa1ffa1ffa1ffa1ffa1ff29 000000000000817041ed41ed41ed41ed81a4a1ffa1ffa1ffa1ffa1ffa1ffa1ffa1ffa1ffa1ffa1ffa1ffa1ffa1ffa1ffa1ff
30 a1ffa1ffa1ffa1ffa1ffa1ffa1ffa1ffa1ffa1ffa1ffa1ffa1ffa1ffa1ffa1ffa1ffa1ffa1ffa1ffa1ffa1ffa1ffa1ff41ed30 a1ffa1ffa1ffa1ffa1ffa1ffa1ffa1ffa1ffa1ffa1ffa1ffa1ffa1ffa1ffa1ffa1ffa1ffa1ffa1ffa1ffa1ffa1ffa1ff41ed
31 81a441ed81a4000000000000000000000000000000000000000000000000000000000000000000000000000000000000000031 81a441ed81a40000000000000000000000000000000000000000000000000000000000000000000000000000000000000000
32 000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000032 0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000
33 0000000066b50a2c66b50a2c66b50a2c66b50a2c66b50a2c66b50a2c66b50a2c66b50a2c66b50a2c66b50a2c66b50a2c66b533 0000000066b50a2c66b50a2c66b50a2c66b50a2c66b50a2c66b50a2c66b50a2c66b50a2c66b50a2c66b50a2c66b50a2c66b5
34 0a2c66b50a2c66b50a2c66b50a2c66b50a2c66b50a2c66b50a2c66b50a2c66b50a2c66b50a2c66b50a2c66b50a2c66b50a2c34 0a2c66b50a2c66b50a2c66b50a2c66b50a2c66b50a2c66b50a2c66b50a2c66b50a2c66b50a2c66b50a2c66b50a2c66b50a2c
35 66b50a2c66b50a2c66b50a2c66b50a2c66b50a2c66b50a2c66b50a2c66b50a2c66b50a2c66b50a2c66b50a2c66b50a2c66b535 66b50a2c66b50a2c66b50a2c66b50a2c66b50a2c66b50a2c66b50a2c66b50a2c66b50a2c66b50a2c66b50a2c66b50a2c66b5
36 0a2c66b50a2c66b50a2c66b50a2c66b50a2c66b50a2c66b50a2c66b50a2c66b50a2c66b50a2c66b50a2c66b50a2c66b50a2c36 0a2c66b50a2c66b50a2c66b50a2c66b50a2c66b50a2c66b50a2c66b50a2c66b50a2c66b50a2c66b50a2c66b50a2c66b50a2c
37 0000000035613531386366633164636231373333353966623461323561363431393536323066613663353761393861646330 
38 3064383335653663313232376235616135620000000000000000000000000000000000000000000000000000000000000000 
39 0000000000000000000037386539633639323735656238666566636331613664653064393338333731393938363864656536 
40 3864353566633636383365306134323632623235343432340000663137343331366435393837353634313665333535383166 
41 343965396165623665363135383138636163666366326564393962633864623730646363363234330000000000006564697437 0000000030336330373430373534393762326161336132306332323965373661366261386630306463373062333866316233
 38 3233653761623263666263386661343564310000000000000000000000000000000000000000000000000000000000000000
 39 0000000000000000000036636366366135343565303938363366626536353965653734326263616661626332313233353932
 40 3935623966336636616263343565613565656132646138360000306263623837313835303266663365656130316634353861
 41 3062383139646534636133626231656630313564343137663438643339363165313563643036663100000000000065646974
42 6c696e652e3300656469746c696e652e3300656469746c696e652e3300656469746c696e652e3300656469746c696e652e3342 6c696e652e3300656469746c696e652e3300656469746c696e652e3300656469746c696e652e3300656469746c696e652e33
43 00656469746c696e652e3300656469746c696e652e3300656469746c696e652e3300656469746c696e652e3300656469746c43 00656469746c696e652e3300656469746c696e652e3300656469746c696e652e3300656469746c696e652e3300656469746c
44 696e652e3300656469746c696e652e3300656469746c696e652e3300656469746c696e652e3300656469746c696e652e330044 696e652e3300656469746c696e652e3300656469746c696e652e3300656469746c696e652e3300656469746c696e652e3300
45 656469746c696e652e3300656469746c696e652e3300656469746c696e652e3300656469746c696e652e3300656469746c6945 656469746c696e652e3300656469746c696e652e3300656469746c696e652e3300656469746c696e652e3300656469746c69
46 6e652e3300656469746c696e652e3300656469746c696e652e3300656469746c696e652e3300656469746c696e652e33006546 6e652e3300656469746c696e652e3300656469746c696e652e3300656469746c696e652e3300656469746c696e652e330065
47 6469746c696e652e3300656469746c696e652e3300656469746c696e652e3300656469746c696e652e3300656469746c696e47 6469746c696e652e3300656469746c696e652e3300656469746c696e652e3300656469746c696e652e3300656469746c696e
48 652e3300656469746c696e652e3300656469746c696e652e3300656469746c696e652e3300656469746c696e652e3300656448 652e3300656469746c696e652e3300656469746c696e652e3300656469746c696e652e3300656469746c696e652e33006564
Offset 102, 45 lines modifiedOffset 102, 45 lines modified
102 0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000102 0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000
103 0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000103 0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000
104 0000000000000000000000000000000000000000000100000002000000020000000200000002000000020000000200000002104 0000000000000000000000000000000000000000000100000002000000020000000200000002000000020000000200000002
105 0000000200000002000000020000000200000002000000020000000200000002000000020000000200000002000000020000105 0000000200000002000000020000000200000002000000020000000200000002000000020000000200000002000000020000
106 0002000000020000000200000002000000020000000200000002000000020000000200000002000000020000000200000002106 0002000000020000000200000002000000020000000200000002000000020000000200000002000000020000000200000002
107 0000000200000002000000020000000200000002000000020000000200000002000000000000000100000000000000016469107 0000000200000002000000020000000200000002000000020000000200000002000000000000000100000000000000016469
108 726563746f72790074726f6666206f722070726570726f636573736f7220696e7075742c2041534349492074657874000000108 726563746f72790074726f6666206f722070726570726f636573736f7220696e7075742c2041534349492074657874000000
109 000000087574662d380037333838313238316664333439313136313637356366383066303364643338663765393933333339 
110 3939346237323037396439636662623232653061363661620000000000083263386531653863356635323737643666353264 
111 3162623962373962363432396137333632613330306663653537623437633861363666353935363664333062000000003f00109 000000087574662d380061303635636264623766623631663161613734373935636236393866666539313537323332633337
 110 6534353964313565623761656430653663636537313632310000000000083131306233383262663538346631656538643533
 111 6265393834623936626166363161333637386339333764366661646638336139333730323738336634313365000000003f00
112 000007fffffcb000000010112 000007fffffcb000000010
113 HEADERI18NTABLE:·113 HEADERI18NTABLE:·
114 ·-·C114 ·-·C
115 SIGSIZE:·21783115 SIGSIZE:·20061
116 SIGMD5:·751d5a9de98871516b460e5861fc1394 
117 SHA1HEADER:·cf1aa96cbcc4d1722c9e9094f7538e276757219d 
118 SHA256HEADER:·4c3303f79fb322fabe4832da413538abaf55bb1ec670e7d8e7596b6055e7b955116 SIGMD5:·346fbb1f7fa32588b8a6c22d70862a3e
 117 SHA1HEADER:·e962705fa86f761cedd2f991b95ebfead5c9f3a4
 118 SHA256HEADER:·f8b6ecf6de3428df7d4eb114db39feecc6b7159765eb9d57b479c3a640fc4579
119 NAME:·libedit-doc119 NAME:·libedit-doc
120 VERSION:·20240808+3.1120 VERSION:·20240808+3.1
121 RELEASE:·r0121 RELEASE:·r0
122 SUMMARY:·BSD·replacement·for·libreadline·-·Documentation·files122 SUMMARY:·BSD·replacement·for·libreadline·-·Documentation·files
123 DESCRIPTION:·Command·line·editor·library·providing·generic·line·editing,·history,·and·tokenization·functions123 DESCRIPTION:·Command·line·editor·library·providing·generic·line·editing,·history,·and·tokenization·functions
124 This·package·contains·documentation.124 This·package·contains·documentation.
125 BUILDTIME:·1723140652125 BUILDTIME:·1723140652
126 BUILDHOST:·reproducible126 BUILDHOST:·reproducible
127 SIZE:·65382127 SIZE:·60961
128 LICENSE:·BSD-3-Clause128 LICENSE:·BSD-3-Clause
129 PACKAGER:·Poky·Maintainers·<poky@lists.yoctoproject.org>129 PACKAGER:·Poky·Maintainers·<poky@lists.yoctoproject.org>
130 GROUP:·doc130 GROUP:·doc
131 URL:·http://www.thrysoee.dk/editline/131 URL:·http://www.thrysoee.dk/editline/
132 OS:·linux132 OS:·linux
133 ARCH:·core2_64133 ARCH:·core2_64
134 FILESIZES:·134 FILESIZES:·
135 ·-·0135 ·-·0
136 ·-·0136 ·-·0
137 ·-·0137 ·-·0
138 ·-·0138 ·-·0
139 ·-·24118139 ·-·23827
140 ·-·10140 ·-·10
141 ·-·10141 ·-·10
142 ·-·10142 ·-·10
143 ·-·10143 ·-·10
144 ·-·10144 ·-·10
145 ·-·10145 ·-·10
146 ·-·10146 ·-·10
Offset 174, 17 lines modifiedOffset 174, 17 lines modified
174 ·-·10174 ·-·10
175 ·-·10175 ·-·10
176 ·-·10176 ·-·10
177 ·-·10177 ·-·10
178 ·-·10178 ·-·10
179 ·-·10179 ·-·10
180 ·-·0180 ·-·0
181 ·-·7143181 ·-·3598
182 ·-·0182 ·-·0
183 ·-·33721183 ·-·33136
184 FILEMODES:·184 FILEMODES:·
185 ·-·16877185 ·-·16877
186 ·-·16877186 ·-·16877
187 ·-·16877187 ·-·16877
188 ·-·16877188 ·-·16877
189 ·-·33188189 ·-·33188
190 ·-·41471190 ·-·41471
Offset 332, 15 lines modifiedOffset 332, 15 lines modified
332 ·-·1723140652332 ·-·1723140652
333 ·-·1723140652333 ·-·1723140652
334 FILEMD5S:·334 FILEMD5S:·
335 ·-·335 ·-·
336 ·-·336 ·-·
337 ·-·337 ·-·
338 ·-·338 ·-·
339 ·-·5a518cfc1dcb173359fb4a25a64195620fa6c57a98adc00d835e6c1227b5aa5b339 ·-·03c074075497b2aa3a20c229e76a6ba8f00dc70b38f1b323e7ab2cfbc8fa45d1
340 ·-·340 ·-·
341 ·-·341 ·-·
342 ·-·342 ·-·
343 ·-·343 ·-·
344 ·-·344 ·-·
345 ·-·345 ·-·
346 ·-·346 ·-·
Offset 374, 17 lines modifiedOffset 374, 17 lines modified
374 ·-·374 ·-·
375 ·-·375 ·-·
376 ·-·376 ·-·
377 ·-·377 ·-·
... Open expanded diff ...
93.3 KB
content
Installing the 'binwalk' Python module may produce a better output.
2.64 KB
file list
    
Offset 1, 12 lines modifiedOffset 1, 12 lines modified
1 drwxr-xr-x···1········0········0········0·2024-08-08·18:10:52.000000·./usr1 drwxr-xr-x···1········0········0········0·2024-08-08·18:10:52.000000·./usr
2 drwxr-xr-x···1········0········0········0·2024-08-08·18:10:52.000000·./usr/share2 drwxr-xr-x···1········0········0········0·2024-08-08·18:10:52.000000·./usr/share
3 drwxr-xr-x···1········0········0········0·2024-08-08·18:10:52.000000·./usr/share/man3 drwxr-xr-x···1········0········0········0·2024-08-08·18:10:52.000000·./usr/share/man
4 drwxr-xr-x···1········0········0········0·2024-08-08·18:10:52.000000·./usr/share/man/man34 drwxr-xr-x···1········0········0········0·2024-08-08·18:10:52.000000·./usr/share/man/man3
5 -rw-r--r--···1········0········0····24118·2024-08-08·18:10:52.000000·./usr/share/man/man3/editline.35 -rw-r--r--···1········0········0····23827·2024-08-08·18:10:52.000000·./usr/share/man/man3/editline.3
6 lrwxrwxrwx···1········0········0·······10·2024-08-08·18:10:52.000000·./usr/share/man/man3/el_deletestr.3·->·editline.36 lrwxrwxrwx···1········0········0·······10·2024-08-08·18:10:52.000000·./usr/share/man/man3/el_deletestr.3·->·editline.3
7 lrwxrwxrwx···1········0········0·······10·2024-08-08·18:10:52.000000·./usr/share/man/man3/el_end.3·->·editline.37 lrwxrwxrwx···1········0········0·······10·2024-08-08·18:10:52.000000·./usr/share/man/man3/el_end.3·->·editline.3
8 lrwxrwxrwx···1········0········0·······10·2024-08-08·18:10:52.000000·./usr/share/man/man3/el_get.3·->·editline.38 lrwxrwxrwx···1········0········0·······10·2024-08-08·18:10:52.000000·./usr/share/man/man3/el_get.3·->·editline.3
9 lrwxrwxrwx···1········0········0·······10·2024-08-08·18:10:52.000000·./usr/share/man/man3/el_getc.3·->·editline.39 lrwxrwxrwx···1········0········0·······10·2024-08-08·18:10:52.000000·./usr/share/man/man3/el_getc.3·->·editline.3
10 lrwxrwxrwx···1········0········0·······10·2024-08-08·18:10:52.000000·./usr/share/man/man3/el_gets.3·->·editline.310 lrwxrwxrwx···1········0········0·······10·2024-08-08·18:10:52.000000·./usr/share/man/man3/el_gets.3·->·editline.3
11 lrwxrwxrwx···1········0········0·······10·2024-08-08·18:10:52.000000·./usr/share/man/man3/el_history.3·->·editline.311 lrwxrwxrwx···1········0········0·······10·2024-08-08·18:10:52.000000·./usr/share/man/man3/el_history.3·->·editline.3
12 lrwxrwxrwx···1········0········0·······10·2024-08-08·18:10:52.000000·./usr/share/man/man3/el_history_end.3·->·editline.312 lrwxrwxrwx···1········0········0·······10·2024-08-08·18:10:52.000000·./usr/share/man/man3/el_history_end.3·->·editline.3
Offset 40, 10 lines modifiedOffset 40, 10 lines modified
40 lrwxrwxrwx···1········0········0·······10·2024-08-08·18:10:52.000000·./usr/share/man/man3/el_wgets.3·->·editline.340 lrwxrwxrwx···1········0········0·······10·2024-08-08·18:10:52.000000·./usr/share/man/man3/el_wgets.3·->·editline.3
41 lrwxrwxrwx···1········0········0·······10·2024-08-08·18:10:52.000000·./usr/share/man/man3/el_winsertstr.3·->·editline.341 lrwxrwxrwx···1········0········0·······10·2024-08-08·18:10:52.000000·./usr/share/man/man3/el_winsertstr.3·->·editline.3
42 lrwxrwxrwx···1········0········0·······10·2024-08-08·18:10:52.000000·./usr/share/man/man3/el_wline.3·->·editline.342 lrwxrwxrwx···1········0········0·······10·2024-08-08·18:10:52.000000·./usr/share/man/man3/el_wline.3·->·editline.3
43 lrwxrwxrwx···1········0········0·······10·2024-08-08·18:10:52.000000·./usr/share/man/man3/el_wparse.3·->·editline.343 lrwxrwxrwx···1········0········0·······10·2024-08-08·18:10:52.000000·./usr/share/man/man3/el_wparse.3·->·editline.3
44 lrwxrwxrwx···1········0········0·······10·2024-08-08·18:10:52.000000·./usr/share/man/man3/el_wpush.3·->·editline.344 lrwxrwxrwx···1········0········0·······10·2024-08-08·18:10:52.000000·./usr/share/man/man3/el_wpush.3·->·editline.3
45 lrwxrwxrwx···1········0········0·······10·2024-08-08·18:10:52.000000·./usr/share/man/man3/el_wset.3·->·editline.345 lrwxrwxrwx···1········0········0·······10·2024-08-08·18:10:52.000000·./usr/share/man/man3/el_wset.3·->·editline.3
46 drwxr-xr-x···1········0········0········0·2024-08-08·18:10:52.000000·./usr/share/man/man546 drwxr-xr-x···1········0········0········0·2024-08-08·18:10:52.000000·./usr/share/man/man5
47 -rw-r--r--···1········0········0·····7143·2024-08-08·18:10:52.000000·./usr/share/man/man5/editrc.547 -rw-r--r--···1········0········0·····3598·2024-08-08·18:10:52.000000·./usr/share/man/man5/editrc.5
48 drwxr-xr-x···1········0········0········0·2024-08-08·18:10:52.000000·./usr/share/man/man748 drwxr-xr-x···1········0········0········0·2024-08-08·18:10:52.000000·./usr/share/man/man7
49 -rw-r--r--···1········0········0····33721·2024-08-08·18:10:52.000000·./usr/share/man/man7/editline.749 -rw-r--r--···1········0········0····33136·2024-08-08·18:10:52.000000·./usr/share/man/man7/editline.7
36.1 KB
./usr/share/man/man3/editline.3
    
Offset 1, 1020 lines modifiedOffset 1, 1172 lines modified
 1 .TH·EDITLINE·3·"August·15,·2021"·""
1 .\"»    $NetBSD:·editline.3,v·1.102·2024/02/04·18:47:27·andvar·Exp·$ 
2 .\" 
3 .\"·Copyright·(c)·1997-2014·The·NetBSD·Foundation,·Inc. 
4 .\"·All·rights·reserved. 
5 .\" 
6 .\"·This·file·was·contributed·to·The·NetBSD·Foundation·by·Luke·Mewburn. 
7 .\" 
8 .\"·Redistribution·and·use·in·source·and·binary·forms,·with·or·without 
9 .\"·modification,·are·permitted·provided·that·the·following·conditions 
10 .\"·are·met: 
11 .\"·1.·Redistributions·of·source·code·must·retain·the·above·copyright 
12 .\"····notice,·this·list·of·conditions·and·the·following·disclaimer. 
13 .\"·2.·Redistributions·in·binary·form·must·reproduce·the·above·copyright 
14 .\"····notice,·this·list·of·conditions·and·the·following·disclaimer·in·the 
15 .\"····documentation·and/or·other·materials·provided·with·the·distribution. 
16 .\" 
17 .\"·THIS·SOFTWARE·IS·PROVIDED·BY·THE·NETBSD·FOUNDATION,·INC.·AND·CONTRIBUTORS 
18 .\"·``AS·IS''·AND·ANY·EXPRESS·OR·IMPLIED·WARRANTIES,·INCLUDING,·BUT·NOT·LIMITED 
19 .\"·TO,·THE·IMPLIED·WARRANTIES·OF·MERCHANTABILITY·AND·FITNESS·FOR·A·PARTICULAR 
20 .\"·PURPOSE·ARE·DISCLAIMED.··IN·NO·EVENT·SHALL·THE·FOUNDATION·OR·CONTRIBUTORS 
21 .\"·BE·LIABLE·FOR·ANY·DIRECT,·INDIRECT,·INCIDENTAL,·SPECIAL,·EXEMPLARY,·OR 
22 .\"·CONSEQUENTIAL·DAMAGES·(INCLUDING,·BUT·NOT·LIMITED·TO,·PROCUREMENT·OF 
23 .\"·SUBSTITUTE·GOODS·OR·SERVICES;·LOSS·OF·USE,·DATA,·OR·PROFITS;·OR·BUSINESS 
24 .\"·INTERRUPTION)·HOWEVER·CAUSED·AND·ON·ANY·THEORY·OF·LIABILITY,·WHETHER·IN 
25 .\"·CONTRACT,·STRICT·LIABILITY,·OR·TORT·(INCLUDING·NEGLIGENCE·OR·OTHERWISE) 
26 .\"·ARISING·IN·ANY·WAY·OUT·OF·THE·USE·OF·THIS·SOFTWARE,·EVEN·IF·ADVISED·OF·THE 
27 .\"·POSSIBILITY·OF·SUCH·DAMAGE. 
28 .\" 
29 .Dd·August·15,·2021 
30 .Dt·EDITLINE·3 
31 .Os 
32 .Sh·NAME2 .SH·NAME
33 .Nm·editline·, 
34 .Nm·el_init·, 
35 .Nm·el_init_fd·, 
36 .Nm·el_end·, 
37 .Nm·el_reset·, 
38 .Nm·el_gets·, 
39 .Nm·el_wgets·, 
40 .Nm·el_getc·, 
41 .Nm·el_wgetc·, 
42 .Nm·el_push·, 
43 .Nm·el_wpush·, 
44 .Nm·el_parse·, 
45 .Nm·el_wparse·, 
46 .Nm·el_set·, 
47 .Nm·el_wset·, 
48 .Nm·el_get·, 
49 .Nm·el_wget·, 
50 .Nm·el_source·, 
51 .Nm·el_resize·, 
52 .Nm·el_cursor·, 
53 .Nm·el_line·, 
54 .Nm·el_wline·, 
55 .Nm·el_insertstr·, 
56 .Nm·el_winsertstr·, 
57 .Nm·el_deletestr·, 
58 .Nm·el_wdeletestr·, 
59 .Nm·history_init·, 
60 .Nm·history_winit·, 
61 .Nm·history_end·, 
62 .Nm·history_wend·, 
63 .Nm·history·, 
64 .Nm·history_w·, 
65 .Nm·tok_init·, 
66 .Nm·tok_winit·, 
67 .Nm·tok_end·, 
68 .Nm·tok_wend·, 
69 .Nm·tok_reset·, 
70 .Nm·tok_wreset·, 
71 .Nm·tok_line·, 
72 .Nm·tok_wline·, 
73 .Nm·tok_str·, 
74 .Nm·tok_wstr3 \fBeditline\fP,
 4 \fBel_init\fP,
 5 \fBel_init_fd\fP,
 6 \fBel_end\fP,
 7 \fBel_reset\fP,
 8 \fBel_gets\fP,
 9 \fBel_wgets\fP,
 10 \fBel_getc\fP,
 11 \fBel_wgetc\fP,
 12 \fBel_push\fP,
 13 \fBel_wpush\fP,
 14 \fBel_parse\fP,
 15 \fBel_wparse\fP,
 16 \fBel_set\fP,
 17 \fBel_wset\fP,
 18 \fBel_get\fP,
 19 \fBel_wget\fP,
 20 \fBel_source\fP,
 21 \fBel_resize\fP,
 22 \fBel_cursor\fP,
 23 \fBel_line\fP,
 24 \fBel_wline\fP,
 25 \fBel_insertstr\fP,
 26 \fBel_winsertstr\fP,
 27 \fBel_deletestr\fP,
 28 \fBel_wdeletestr\fP,
 29 \fBhistory_init\fP,
 30 \fBhistory_winit\fP,
 31 \fBhistory_end\fP,
 32 \fBhistory_wend\fP,
 33 \fBhistory\fP,
 34 \fBhistory_w\fP,
 35 \fBtok_init\fP,
 36 \fBtok_winit\fP,
 37 \fBtok_end\fP,
 38 \fBtok_wend\fP,
 39 \fBtok_reset\fP,
 40 \fBtok_wreset\fP,
 41 \fBtok_line\fP,
 42 \fBtok_wline\fP,
 43 \fBtok_str\fP,
 44 \fBtok_wstr\fP
75 .Nd·line·editor,·history·and·tokenization·functions45 \-·line·editor,·history·and·tokenization·functions
76 .Sh·LIBRARY46 .SH·LIBRARY
77 .Lb·libedit47 Command·Line·Editor·Library·(libedit,·-ledit)
78 .Sh·SYNOPSIS48 .SH·SYNOPSIS
79 .In·histedit.h 
80 .Ft·EditLine·* 
81 .Fn·el_init·"const·char·*prog"·"FILE·*fin"·"FILE·*fout"·"FILE·*ferr" 
82 .Ft·EditLine·* 
83 .Fn·el_init_fd·"const·char·*prog"·"FILE·*fin"·"FILE·*fout"·"FILE·*ferr"·"int·fdin"·"int·fdout"·"int·fderr" 
84 .Ft·void 
85 .Fn·el_end·"EditLine·*e" 
... Open expanded diff ...
7.56 KB
./usr/share/man/man5/editrc.5
    
Offset 1, 326 lines modifiedOffset 1, 142 lines modified
 1 .TH·EDITRC·5·"May·22,·2016"·""
1 .\"»    $NetBSD:·editrc.5,v·1.34·2022/12/06·00:59:20·uwe·Exp·$ 
2 .\" 
3 .\"·Copyright·(c)·1997-2000·The·NetBSD·Foundation,·Inc. 
4 .\"·All·rights·reserved. 
5 .\" 
6 .\"·This·file·was·contributed·to·The·NetBSD·Foundation·by·Luke·Mewburn. 
7 .\" 
8 .\"·Redistribution·and·use·in·source·and·binary·forms,·with·or·without 
9 .\"·modification,·are·permitted·provided·that·the·following·conditions 
10 .\"·are·met: 
11 .\"·1.·Redistributions·of·source·code·must·retain·the·above·copyright 
12 .\"····notice,·this·list·of·conditions·and·the·following·disclaimer. 
13 .\"·2.·Redistributions·in·binary·form·must·reproduce·the·above·copyright 
14 .\"····notice,·this·list·of·conditions·and·the·following·disclaimer·in·the 
15 .\"····documentation·and/or·other·materials·provided·with·the·distribution. 
16 .\" 
17 .\"·THIS·SOFTWARE·IS·PROVIDED·BY·THE·NETBSD·FOUNDATION,·INC.·AND·CONTRIBUTORS 
18 .\"·``AS·IS''·AND·ANY·EXPRESS·OR·IMPLIED·WARRANTIES,·INCLUDING,·BUT·NOT·LIMITED 
19 .\"·TO,·THE·IMPLIED·WARRANTIES·OF·MERCHANTABILITY·AND·FITNESS·FOR·A·PARTICULAR 
20 .\"·PURPOSE·ARE·DISCLAIMED.··IN·NO·EVENT·SHALL·THE·FOUNDATION·OR·CONTRIBUTORS 
21 .\"·BE·LIABLE·FOR·ANY·DIRECT,·INDIRECT,·INCIDENTAL,·SPECIAL,·EXEMPLARY,·OR 
22 .\"·CONSEQUENTIAL·DAMAGES·(INCLUDING,·BUT·NOT·LIMITED·TO,·PROCUREMENT·OF 
23 .\"·SUBSTITUTE·GOODS·OR·SERVICES;·LOSS·OF·USE,·DATA,·OR·PROFITS;·OR·BUSINESS 
24 .\"·INTERRUPTION)·HOWEVER·CAUSED·AND·ON·ANY·THEORY·OF·LIABILITY,·WHETHER·IN 
25 .\"·CONTRACT,·STRICT·LIABILITY,·OR·TORT·(INCLUDING·NEGLIGENCE·OR·OTHERWISE) 
26 .\"·ARISING·IN·ANY·WAY·OUT·OF·THE·USE·OF·THIS·SOFTWARE,·EVEN·IF·ADVISED·OF·THE 
27 .\"·POSSIBILITY·OF·SUCH·DAMAGE. 
28 .\" 
29 .Dd·May·22,·2016 
30 .Dt·EDITRC·5 
31 .Os 
32 .Sh·NAME2 .SH·NAME
33 .Nm·editrc3 \fBeditrc\fP
34 .Nd·configuration·file·for·editline·library4 \-·configuration·file·for·editline·library
35 .Sh·SYNOPSIS5 .SH·SYNOPSIS
36 .Nm6 .br
 7 \fBeditrc\fP
37 .Sh·DESCRIPTION8 .SH·DESCRIPTION
38 The9 The
39 .Nm10 \fBeditrc\fP
40 file·defines·various·settings·to·be·used·by·the11 file·defines·various·settings·to·be·used·by·the
41 .Xr·editline·312 \fBeditline\fP(3)
42 library.13 library.
43 .Pp 
44 The·format·of·each·line·is:14 The·format·of·each·line·is:
45 .Pp 
46 .D1·Oo·Ar·prog·Ns·Ic·\&:·Oc·Ns·Ar·command·Oo·Ar·arg·...·Oc 
47 .Pp 
48 .Ar·command 
49 is·one·of·the15 is·one·of·the
50 .Xr·editline·3 
51 builtin·commands.16 builtin·commands.
52 Refer·to17 Refer·to
53 .Sx·BUILTIN·COMMANDS 
54 for·more·information.18 for·more·information.
55 .Pp 
56 .Ar·prog 
57 is·the·program·name·string·that·a·program·defines·when·it·calls19 is·the·program·name·string·that·a·program·defines·when·it·calls
58 .Xr·el_init·3 
59 to·set·up20 to·set·up
60 .Xr·editline·3·, 
61 which·is·usually21 which·is·usually
62 .Va·argv·Ns·Li·[0]·. 
63 .Ar·command 
64 will·be·executed·for·any·program·which·matches22 will·be·executed·for·any·program·which·matches
65 .Ar·prog·. 
66 .Pp 
67 .Ar·prog 
68 may·also·be·a23 may·also·be·a
69 .Xr·regex·3 
70 style24 style
71 regular·expression,·in·which·case25 regular·expression,·in·which·case
72 .Ar·command 
73 will·be·executed·for·any·program·that·matches·the·regular·expression.26 will·be·executed·for·any·program·that·matches·the·regular·expression.
74 .Pp 
75 If27 If
76 .Ar·prog 
77 is·absent,28 is·absent,
78 .Ar·command 
79 is·executed·for·all·programs.29 is·executed·for·all·programs.
80 .Sh·BUILTIN·COMMANDS 
81 The30 The
82 .Nm·editline 
83 library·has·some·builtin·commands,·which·affect·the·way31 library·has·some·builtin·commands,·which·affect·the·way
84 that·the·line·editing·and·history·functions·operate.32 that·the·line·editing·and·history·functions·operate.
85 These·are·based·on·similar·named·builtins·present·in·the33 These·are·based·on·similar·named·builtins·present·in·the
86 .Xr·tcsh·1 
87 shell.34 shell.
88 .Pp 
89 The·following·builtin·commands·are·available:35 The·following·builtin·commands·are·available:
90 .Bl·-tag·-width·4n 
91 .It·Ic·bind·Oo·Fl·aeklrsv·Oc·Op·Ar·key·Op·Ar·command 
92 Without·options·and·arguments,·list·all·bound·keys·and·macros,·and36 Without·options·and·arguments,·list·all·bound·keys·and·macros,·and
93 the·editor·command·or·input·string·to·which·each·one·is·bound.37 the·editor·command·or·input·string·to·which·each·one·is·bound.
94 If·only38 If·only
95 .Ar·key 
96 is·supplied,·show·the·binding·for·that·key·or·macro.39 is·supplied,·show·the·binding·for·that·key·or·macro.
97 If40 If
98 .Ar·key·command 
99 is·supplied,·bind·the·editor41 is·supplied,·bind·the·editor
100 .Ar·command 
101 to·that·key·or·macro.42 to·that·key·or·macro.
102 .Pp 
103 The·options·are·as·follows:43 The·options·are·as·follows:
104 .Bl·-tag·-width·4n 
105 .It·Fl·a 
106 List·or·change·key·bindings·in·the44 List·or·change·key·bindings·in·the
107 .Xr·vi·1 
108 mode·alternate·(command·mode)·key·map.45 mode·alternate·(command·mode)·key·map.
109 .It·Fl·e 
110 Bind·all·keys·to·the·standard46 Bind·all·keys·to·the·standard
111 .Tn·GNU 
112 Emacs-like·bindings.47 Emacs-like·bindings.
113 .It·Fl·k 
114 .Ar·key 
115 is·interpreted·as·a·symbolic·arrow·key·name,·which·may·be·one·of48 is·interpreted·as·a·symbolic·arrow·key·name,·which·may·be·one·of
116 .Ic·up·, 
117 .Ic·down·, 
118 .Ic·left 
119 or49 or
120 .Ic·right·. 
121 .It·Fl·l 
122 List·all·editor·commands·and·a·short·description·of·each.50 List·all·editor·commands·and·a·short·description·of·each.
123 .It·Fl·r 
124 Remove·the·binding·of·the·key·or·macro51 Remove·the·binding·of·the·key·or·macro
125 .Ar·key·. 
... Open expanded diff ...
47.0 KB
./usr/share/man/man7/editline.7
    
Offset 1, 935 lines modifiedOffset 1, 1001 lines modified
 1 .TH·EDITLINE·7·"April·6,·2024"·""
1 .\"»    $NetBSD:·editline.7,v·1.6·2024/04/06·13:36:11·christos·Exp·$ 
2 .\"»    $OpenBSD:·editline.7,v·1.1·2016/04/20·01:11:45·schwarze·Exp·$ 
3 .\" 
4 .\"·Copyright·(c)·2016·Ingo·Schwarze·<schwarze@openbsd.org> 
5 .\" 
6 .\"·Permission·to·use,·copy,·modify,·and·distribute·this·software·for·any 
7 .\"·purpose·with·or·without·fee·is·hereby·granted,·provided·that·the·above 
8 .\"·copyright·notice·and·this·permission·notice·appear·in·all·copies. 
9 .\" 
10 .\"·THE·SOFTWARE·IS·PROVIDED·"AS·IS"·AND·THE·AUTHOR·DISCLAIMS·ALL·WARRANTIES 
11 .\"·WITH·REGARD·TO·THIS·SOFTWARE·INCLUDING·ALL·IMPLIED·WARRANTIES·OF 
12 .\"·MERCHANTABILITY·AND·FITNESS.·IN·NO·EVENT·SHALL·THE·AUTHOR·BE·LIABLE·FOR 
13 .\"·ANY·SPECIAL,·DIRECT,·INDIRECT,·OR·CONSEQUENTIAL·DAMAGES·OR·ANY·DAMAGES 
14 .\"·WHATSOEVER·RESULTING·FROM·LOSS·OF·USE,·DATA·OR·PROFITS,·WHETHER·IN·AN 
15 .\"·ACTION·OF·CONTRACT,·NEGLIGENCE·OR·OTHER·TORTIOUS·ACTION,·ARISING·OUT·OF 
16 .\"·OR·IN·CONNECTION·WITH·THE·USE·OR·PERFORMANCE·OF·THIS·SOFTWARE. 
17 .\" 
18 .Dd·April·6,·2024 
19 .Dt·EDITLINE·7 
20 .Os 
21 .Sh·NAME2 .SH·NAME
22 .Nm·editline3 \fBeditline\fP
23 .Nd·line·editing·user·interface4 \-·line·editing·user·interface
24 .Sh·DESCRIPTION5 .SH·DESCRIPTION
25 When·a·program·using·the6 When·a·program·using·the
26 .Xr·editline·37 \fBeditline\fP(3)
27 library·prompts·for·an·input·string·using·the·function8 library·prompts·for·an·input·string·using·the·function
28 .Xr·el_wgets·3·,9 \fBel_wgets\fP(3),
29 it·reads·characters·from·the·terminal.10 it·reads·characters·from·the·terminal.
30 Invalid·input·bytes·that·do·not·form·characters·are·silently11 Invalid·input·bytes·that·do·not·form·characters·are·silently
31 discarded.12 discarded.
32 For·each·character·read,·one·editor·command·is·executed.13 For·each·character·read,·one·editor·command·is·executed.
33 The·mapping·of·input·characters·to·editor·commands·depends·on·the14 The·mapping·of·input·characters·to·editor·commands·depends·on·the
34 editing·mode.15 editing·mode.
35 There·are·three·editing·modes:·vi·insert·mode,·vi·command·mode,16 There·are·three·editing·modes:·vi·insert·mode,·vi·command·mode,
36 and·emacs·mode.17 and·emacs·mode.
37 The·default·is·vi·insert·mode.18 The·default·is·vi·insert·mode.
38 The·program·can·switch·the·default·to·emacs·mode·by·using·the19 The·program·can·switch·the·default·to·emacs·mode·by·using·the
39 .Xr·el_set·320 \fBel_set\fP(3)
40 or21 or
41 .Xr·el_parse·322 \fBel_parse\fP(3)
42 functions,·and·the·user·can·switch·to·emacs·mode·either·in·the23 functions,·and·the·user·can·switch·to·emacs·mode·either·in·the
43 .Xr·editrc·524 \fBeditrc\fP(5)
44 configuration·file·or·interactively·with·the25 configuration·file·or·interactively·with·the
45 .Ic·ed-command26 \fBed-command\fP
46 editor·command,·in·all·three·cases·executing·the27 editor·command,·in·all·three·cases·executing·the
47 .Ic·bind·Fl·e28 \fBbind·Fl·e\fP
48 builtin·command.29 builtin·command.
49 .Pp 
50 If·trying·to·read·from·the·terminal·results·in·end·of·file·or·an30 If·trying·to·read·from·the·terminal·results·in·end·of·file·or·an
51 error,·the·library·signals·end·of·file·to·the·program·and·does·not31 error,·the·library·signals·end·of·file·to·the·program·and·does·not
52 return·a·string.32 return·a·string.
53 .Ss·Input·character·bindings33 .SS·Input·character·bindings
54 All·default·bindings·described·below·can·be·overridden·by·individual34 All·default·bindings·described·below·can·be·overridden·by·individual
55 programs·and·can·be·changed·with·the35 programs·and·can·be·changed·with·the
56 .Xr·editrc·5 
57 .Ic·bind36 \fBeditrc\fP(5)
 37 \fBbind\fP
58 builtin·command.38 builtin·command.
59 .Pp 
60 In·the·following·tables,39 In·the·following·tables,
61 .Sq·Ctrl-40 `Ctrl-'
62 indicates·a·character·with·the·bit·0x40·flipped,·and41 indicates·a·character·with·the·bit·0x40·flipped,·and
63 .Sq·Meta-42 `Meta-'
64 indicates·a·character·with·the·bit·0x80·set.43 indicates·a·character·with·the·bit·0x80·set.
65 In·vi·insert·mode·and·in·emacs·mode,·all·Meta-characters·considered44 In·vi·insert·mode·and·in·emacs·mode,·all·Meta-characters·considered
66 printable·by·the·current45 printable·by·the·current
67 .Xr·locale·146 \fBlocale\fP(1)
68 are·bound·to47 are·bound·to
69 .Ic·ed-insert48 \fBed-insert\fP
70 instead·of·to·the·editor·command·listed·below.49 instead·of·to·the·editor·command·listed·below.
71 Consequently,·in·UTF-8·mode,·most·of·the·Meta-characters·are·not50 Consequently,·in·UTF-8·mode,·most·of·the·Meta-characters·are·not
72 directly·accessible·because·their·code·points·are·occupied·by51 directly·accessible·because·their·code·points·are·occupied·by
73 printable·Unicode·characters,·and·Meta-characters·are·usually·input52 printable·Unicode·characters,·and·Meta-characters·are·usually·input
74 using·the53 using·the
75 .Ic·em-meta-next54 \fBem-meta-next\fP
76 editor·command.55 editor·command.
77 For·example,·to·enter56 For·example,·to·enter
78 .Sq·Meta-B57 `Meta-B'
79 in·order·to·call·the58 in·order·to·call·the
80 .Ic·ed-prev-word59 \fBed-prev-word\fP
81 editor·command·in·emacs·mode,·call60 editor·command·in·emacs·mode,·call
82 .Ic·em-meta-next61 \fBem-meta-next\fP
83 by·pressing·and·releasing·the·escape·key·(or·equivalently,·Ctrl-[),62 by·pressing·and·releasing·the·escape·key·(or·equivalently,·Ctrl-[),
84 then·press·and·release·the63 then·press·and·release·the
85 .Sq·B64 `B'
86 key.65 key.
87 If·you·have·configured·a·Meta-key·on·your·keyboard,·for·example66 If·you·have·configured·a·Meta-key·on·your·keyboard,·for·example
88 with67 with
89 .Ql·setxkbmap·-option·altwin:left_meta_win·,68 `setxkbmap'·-option·altwin:left_meta_win·,
90 the·Ctrl-Meta-characters·are·directly·accessible.69 the·Ctrl-Meta-characters·are·directly·accessible.
91 For·example,·to·enter70 For·example,·to·enter
92 .Sq·Ctrl-Meta-H71 `Ctrl-Meta-H'
93 in·order·to·call·the72 in·order·to·call·the
94 .Ic·ed-delete-prev-word73 \fBed-delete-prev-word\fP
95 editor·command·in·emacs·mode,·hold·down·the·keys74 editor·command·in·emacs·mode,·hold·down·the·keys
96 .Sq·Ctrl·, 
97 .Sq·Meta·,75 `Ctrl',
 76 `Meta',
98 and77 and
99 .Sq·H78 `H'
100 at·the·same·time.79 at·the·same·time.
101 Alternatively,·press·and·release·the·escape·key,·then·press·and80 Alternatively,·press·and·release·the·escape·key,·then·press·and
102 release81 release
103 .Sq·Ctrl-H·. 
104 .Pp82 `Ctrl-H'.
  
105 In·vi·input·mode,·input·characters·are·bound·to·the·following·editor83 In·vi·input·mode,·input·characters·are·bound·to·the·following·editor
106 commands·by·default:84 commands·by·default:
107 .Bl·-column·-offset·indent·"Ctrl-Z,·TSTP"·"ed-search-next-history" 
108 .It·Ctrl-D,·EOF·Ta·Ic·vi-list-or-eof85 It·Ctrl-D,·EOF·Ta·\fBvi-list-or-eof\fP
109 .It·Ctrl-H,·BS·Ta·Ic·vi-delete-prev-char86 It·Ctrl-H,·BS·Ta·\fBvi-delete-prev-char\fP
110 .It·Ctrl-J,·LF·Ta·Ic·ed-newline87 It·Ctrl-J,·LF·Ta·\fBed-newline\fP
111 .It·Ctrl-M,·CR·Ta·Ic·ed-newline88 It·Ctrl-M,·CR·Ta·\fBed-newline\fP
112 .It·Ctrl-Q·Ta·Ic·ed-tty-start-output89 It·Ctrl-Q·Ta·\fBed-tty-start-output\fP
113 .It·Ctrl-S·Ta·Ic·ed-tty-stop-output90 It·Ctrl-S·Ta·\fBed-tty-stop-output\fP
114 .It·Ctrl-U·Ta·Ic·vi-kill-line-prev91 It·Ctrl-U·Ta·\fBvi-kill-line-prev\fP
115 .It·Ctrl-V·Ta·Ic·ed-quoted-insert92 It·Ctrl-V·Ta·\fBed-quoted-insert\fP
116 .It·Ctrl-W·Ta·Ic·ed-delete-prev-word93 It·Ctrl-W·Ta·\fBed-delete-prev-word\fP
117 .It·Ctrl-[,·ESC·Ta·Ic·vi-command-mode94 It·Ctrl-[,·ESC·Ta·\fBvi-command-mode\fP
118 .It·Ctrl-\e,·QUIT·Ta·Ic·ed-tty-sigquit95 It·Ctrl-\e,·QUIT·Ta·\fBed-tty-sigquit\fP
119 .It·Ctrl-?,·DEL·Ta·Ic·vi-delete-prev-char96 It·Ctrl-?,·DEL·Ta·\fBvi-delete-prev-char\fP
  
120 .El 
121 .Pp 
122 All·other·input·characters·except·the·NUL·character·(Ctrl-@)·are97 All·other·input·characters·except·the·NUL·character·(Ctrl-@)·are
... Open expanded diff ...