summaryrefslogtreecommitdiffstats
path: root/readline-doc-4.3/doc/readline_3.ps
blob: 7d20e1799caca935d60b08b7fe27c3e1ffa58c82 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
752
753
754
755
756
757
758
759
760
761
762
763
764
765
766
767
768
769
770
771
772
773
774
775
776
777
778
779
780
781
782
783
784
785
786
787
788
789
790
791
792
793
794
795
796
797
798
799
800
801
802
803
804
805
806
807
808
809
810
811
812
813
814
815
816
817
818
819
820
821
822
823
824
825
826
827
828
829
830
831
832
833
834
835
836
837
838
839
840
841
842
843
844
845
846
847
848
849
850
851
852
853
854
855
856
857
858
859
860
861
862
863
864
865
866
867
868
869
870
871
872
873
874
875
876
877
878
879
880
881
882
883
884
885
886
887
888
889
890
891
892
893
894
895
896
897
898
899
900
901
902
903
904
905
906
907
908
909
910
911
912
913
914
915
916
917
918
919
920
921
922
923
924
925
926
927
928
929
930
931
932
933
934
935
936
937
938
939
940
941
942
943
944
945
946
947
948
949
950
951
952
953
954
955
956
957
958
959
960
961
962
963
964
965
966
967
968
969
970
971
972
973
974
975
976
977
978
979
980
981
982
983
984
985
986
987
988
989
990
991
992
993
994
995
996
997
998
999
1000
1001
1002
1003
1004
1005
1006
1007
1008
1009
1010
1011
1012
1013
1014
1015
1016
1017
1018
1019
1020
1021
1022
1023
1024
1025
1026
1027
1028
1029
1030
1031
1032
1033
1034
1035
1036
1037
1038
1039
1040
1041
1042
1043
1044
1045
1046
1047
1048
1049
1050
1051
1052
1053
1054
1055
1056
1057
1058
1059
1060
1061
1062
1063
1064
1065
1066
1067
1068
1069
1070
1071
1072
1073
1074
1075
1076
1077
1078
1079
1080
1081
1082
1083
1084
1085
1086
1087
1088
1089
1090
1091
1092
1093
1094
1095
1096
1097
1098
1099
1100
1101
1102
1103
1104
1105
1106
1107
1108
1109
1110
1111
1112
1113
1114
1115
1116
1117
1118
1119
1120
1121
1122
1123
1124
1125
1126
1127
1128
1129
1130
1131
1132
1133
1134
1135
1136
1137
1138
1139
1140
1141
1142
1143
1144
1145
1146
1147
1148
1149
1150
1151
1152
1153
1154
1155
1156
1157
1158
1159
1160
1161
1162
1163
1164
1165
1166
1167
1168
1169
1170
1171
1172
1173
1174
1175
1176
1177
1178
1179
1180
1181
1182
1183
1184
1185
1186
1187
1188
1189
1190
1191
1192
1193
1194
1195
1196
1197
1198
1199
1200
1201
1202
1203
1204
1205
1206
1207
1208
1209
1210
1211
1212
1213
1214
1215
1216
1217
1218
1219
1220
1221
1222
1223
1224
1225
1226
1227
1228
1229
1230
1231
1232
1233
1234
1235
1236
1237
1238
1239
1240
1241
1242
1243
1244
1245
1246
1247
1248
1249
1250
1251
1252
1253
1254
1255
1256
1257
1258
1259
1260
1261
1262
1263
1264
1265
1266
1267
1268
1269
1270
1271
1272
1273
1274
1275
1276
1277
1278
1279
1280
1281
1282
1283
1284
1285
1286
1287
1288
1289
1290
1291
1292
1293
1294
%!PS-Adobe-3.0
%%Creator: groff version 1.17.2
%%CreationDate: Thu Jun 27 13:54:44 2002
%%DocumentNeededResources: font Times-Roman
%%+ font Times-Bold
%%+ font Times-Italic
%%+ font Courier
%%DocumentSuppliedResources: procset grops 1.17 2
%%Pages: 14
%%PageOrder: Ascend
%%Orientation: Portrait
%%EndComments
%%BeginProlog
%%BeginResource: procset grops 1.17 2
/setpacking where{
pop
currentpacking
true setpacking
}if
/grops 120 dict dup begin
/SC 32 def
/A/show load def
/B{0 SC 3 -1 roll widthshow}bind def
/C{0 exch ashow}bind def
/D{0 exch 0 SC 5 2 roll awidthshow}bind def
/E{0 rmoveto show}bind def
/F{0 rmoveto 0 SC 3 -1 roll widthshow}bind def
/G{0 rmoveto 0 exch ashow}bind def
/H{0 rmoveto 0 exch 0 SC 5 2 roll awidthshow}bind def
/I{0 exch rmoveto show}bind def
/J{0 exch rmoveto 0 SC 3 -1 roll widthshow}bind def
/K{0 exch rmoveto 0 exch ashow}bind def
/L{0 exch rmoveto 0 exch 0 SC 5 2 roll awidthshow}bind def
/M{rmoveto show}bind def
/N{rmoveto 0 SC 3 -1 roll widthshow}bind def
/O{rmoveto 0 exch ashow}bind def
/P{rmoveto 0 exch 0 SC 5 2 roll awidthshow}bind def
/Q{moveto show}bind def
/R{moveto 0 SC 3 -1 roll widthshow}bind def
/S{moveto 0 exch ashow}bind def
/T{moveto 0 exch 0 SC 5 2 roll awidthshow}bind def
/SF{
findfont exch
[exch dup 0 exch 0 exch neg 0 0]makefont
dup setfont
[exch/setfont cvx]cvx bind def
}bind def
/MF{
findfont
[5 2 roll
0 3 1 roll
neg 0 0]makefont
dup setfont
[exch/setfont cvx]cvx bind def
}bind def
/level0 0 def
/RES 0 def
/PL 0 def
/LS 0 def
/MANUAL{
statusdict begin/manualfeed true store end
}bind def
/PLG{
gsave newpath clippath pathbbox grestore
exch pop add exch pop
}bind def
/BP{
/level0 save def
1 setlinecap
1 setlinejoin
72 RES div dup scale
LS{
90 rotate
}{
0 PL translate
}ifelse
1 -1 scale
}bind def
/EP{
level0 restore
showpage
}bind def
/DA{
newpath arcn stroke
}bind def
/SN{
transform
.25 sub exch .25 sub exch
round .25 add exch round .25 add exch
itransform
}bind def
/DL{
SN
moveto
SN
lineto stroke
}bind def
/DC{
newpath 0 360 arc closepath
}bind def
/TM matrix def
/DE{
TM currentmatrix pop
translate scale newpath 0 0 .5 0 360 arc closepath
TM setmatrix
}bind def
/RC/rcurveto load def
/RL/rlineto load def
/ST/stroke load def
/MT/moveto load def
/CL/closepath load def
/FL{
currentgray exch setgray fill setgray
}bind def
/BL/fill load def
/LW/setlinewidth load def
/RE{
findfont
dup maxlength 1 index/FontName known not{1 add}if dict begin
{
1 index/FID ne{def}{pop pop}ifelse
}forall
/Encoding exch def
dup/FontName exch def
currentdict end definefont pop
}bind def
/DEFS 0 def
/EBEGIN{
moveto
DEFS begin
}bind def
/EEND/end load def
/CNT 0 def
/level1 0 def
/PBEGIN{
/level1 save def
translate
div 3 1 roll div exch scale
neg exch neg exch translate
0 setgray
0 setlinecap
1 setlinewidth
0 setlinejoin
10 setmiterlimit
[]0 setdash
/setstrokeadjust where{
pop
false setstrokeadjust
}if
/setoverprint where{
pop
false setoverprint
}if
newpath
/CNT countdictstack def
userdict begin
/showpage{}def
}bind def
/PEND{
clear
countdictstack CNT sub{end}repeat
level1 restore
}bind def
end def
/setpacking where{
pop
setpacking
}if
%%EndResource
%%IncludeResource: font Times-Roman
%%IncludeResource: font Times-Bold
%%IncludeResource: font Times-Italic
%%IncludeResource: font Courier
grops begin/DEFS 1 dict def DEFS begin/u{.001 mul}bind def end/RES 72
def/PL 792 def/LS false def/ENC0[/asciicircum/asciitilde/Scaron/Zcaron
/scaron/zcaron/Ydieresis/trademark/quotesingle/.notdef/.notdef/.notdef
/.notdef/.notdef/.notdef/.notdef/.notdef/.notdef/.notdef/.notdef/.notdef
/.notdef/.notdef/.notdef/.notdef/.notdef/.notdef/.notdef/.notdef/.notdef
/.notdef/.notdef/space/exclam/quotedbl/numbersign/dollar/percent
/ampersand/quoteright/parenleft/parenright/asterisk/plus/comma/hyphen
/period/slash/zero/one/two/three/four/five/six/seven/eight/nine/colon
/semicolon/less/equal/greater/question/at/A/B/C/D/E/F/G/H/I/J/K/L/M/N/O
/P/Q/R/S/T/U/V/W/X/Y/Z/bracketleft/backslash/bracketright/circumflex
/underscore/quoteleft/a/b/c/d/e/f/g/h/i/j/k/l/m/n/o/p/q/r/s/t/u/v/w/x/y
/z/braceleft/bar/braceright/tilde/.notdef/quotesinglbase/guillemotleft
/guillemotright/bullet/florin/fraction/perthousand/dagger/daggerdbl
/endash/emdash/ff/fi/fl/ffi/ffl/dotlessi/dotlessj/grave/hungarumlaut
/dotaccent/breve/caron/ring/ogonek/quotedblleft/quotedblright/oe/lslash
/quotedblbase/OE/Lslash/.notdef/exclamdown/cent/sterling/currency/yen
/brokenbar/section/dieresis/copyright/ordfeminine/guilsinglleft
/logicalnot/minus/registered/macron/degree/plusminus/twosuperior
/threesuperior/acute/mu/paragraph/periodcentered/cedilla/onesuperior
/ordmasculine/guilsinglright/onequarter/onehalf/threequarters
/questiondown/Agrave/Aacute/Acircumflex/Atilde/Adieresis/Aring/AE
/Ccedilla/Egrave/Eacute/Ecircumflex/Edieresis/Igrave/Iacute/Icircumflex
/Idieresis/Eth/Ntilde/Ograve/Oacute/Ocircumflex/Otilde/Odieresis
/multiply/Oslash/Ugrave/Uacute/Ucircumflex/Udieresis/Yacute/Thorn
/germandbls/agrave/aacute/acircumflex/atilde/adieresis/aring/ae/ccedilla
/egrave/eacute/ecircumflex/edieresis/igrave/iacute/icircumflex/idieresis
/eth/ntilde/ograve/oacute/ocircumflex/otilde/odieresis/divide/oslash
/ugrave/uacute/ucircumflex/udieresis/yacute/thorn/ydieresis]def
/Courier@0 ENC0/Courier RE/Times-Italic@0 ENC0/Times-Italic RE
/Times-Bold@0 ENC0/Times-Bold RE/Times-Roman@0 ENC0/Times-Roman RE
%%EndProlog
%%Page: 1 1
%%BeginPageSetup
BP
%%EndPageSetup
/F0 10/Times-Roman@0 SF 342.2(READLINE\(3\) READLINE\(3\))72 48 R/F1
10.95/Times-Bold@0 SF -.219(NA)72 84 S(ME).219 E F0
(readline \255 get a line from a user with editing)108 96 Q F1(SYNOPSIS)
72 112.8 Q/F2 10/Times-Bold@0 SF(#include <stdio.h>)108 124.8 Q
(#include <r)108 136.8 Q(eadline/r)-.18 E(eadline.h>)-.18 E(#include <r)
108 148.8 Q(eadline/history)-.18 E(.h>)-.7 E/F3 10/Times-Italic@0 SF
-.15(ch)108 165.6 S(ar *).15 E F2 -.18(re)108 177.6 S(adline).18 E F0
(\()2.5 E F3(const c)A(har *pr)-.15 E(ompt)-.45 E F0(\);)A F1(COPYRIGHT)
72 194.4 Q F0(Readline is Cop)108 206.4 Q
(yright \251 1989\2552002 by the Free Softw)-.1 E(are F)-.1 E
(oundation, Inc.)-.15 E F1(DESCRIPTION)72 223.2 Q F2 -.18(re)108 235.2 S
(adline).18 E F0 .088
(will read a line from the terminal and return it, using)2.588 F F2(pr)
2.587 E(ompt)-.18 E F0 .087(as a prompt.)2.587 F(If)5.087 E F2(pr)2.587
E(ompt)-.18 E F0(is)2.587 E F2(NULL)2.587 E F0(or)2.587 E .42
(the empty string, no prompt is issued.)108 247.2 R .421
(The line returned is allocated with)5.42 F F3(malloc)2.921 E F0 .421
(\(3\); the caller must free it).31 F(when \214nished.)108 259.2 Q
(The line returned has the \214nal ne)5 E(wline remo)-.25 E -.15(ve)-.15
G(d, so only the te).15 E(xt of the line remains.)-.15 E F2 -.18(re)108
276 S(adline).18 E F0(of)3.79 E 1.29
(fers editing capabilities while the user is entering the line.)-.25 F
1.289(By def)6.289 F 1.289(ault, the line editing com-)-.1 F
(mands are similar to those of emacs.)108 288 Q 2.5(Av)5 G
(i\255style line editing interf)-2.5 E(ace is also a)-.1 E -.25(va)-.2 G
(ilable.).25 E .272
(This manual page describes only the most basic use of)108 304.8 R F2
-.18(re)2.772 G(adline).18 E F0 5.272(.M)C .272
(uch more functionality is a)-5.272 F -.25(va)-.2 G .272(ilable; see).25
F F3(The GNU Readline Libr)108 316.8 Q(ary)-.15 E F0(and)2.5 E F3
(The GNU History Libr)2.5 E(ary)-.15 E F0(for additional information.)
2.5 E F1(RETURN V)72 333.6 Q(ALUE)-1.478 E F2 -.18(re)108 345.6 S
(adline).18 E F0 1.09(returns the te)3.59 F 1.09(xt of the line read.)
-.15 F 3.589(Ab)6.09 G 1.089(lank line returns the empty string.)-3.589
F(If)6.089 E F2(EOF)3.589 E F0 1.089(is encountered)3.589 F .283
(while reading a line, and the line is empty)108 357.6 R(,)-.65 E F2
(NULL)2.783 E F0 .283(is returned.)2.783 F .283(If an)5.283 F F2(EOF)
2.783 E F0 .283(is read with a non\255empty line, it)2.783 F
(is treated as a ne)108 369.6 Q(wline.)-.25 E F1(NO)72 386.4 Q -.986(TA)
-.438 G(TION)-.054 E F0 .181
(An emacs-style notation is used to denote k)108 398.4 R -.15(ey)-.1 G
(strok).15 E 2.681(es. Control)-.1 F -.1(ke)2.681 G .18
(ys are denoted by C\255)-.05 F F3 -.1(ke)C(y)-.2 E F0 2.68(,e)C .18
(.g., C\255n means)-2.68 F 2.625(Control\255N. Similarly)108 410.4 R(,)
-.65 E F3(meta)2.625 E F0 -.1(ke)2.625 G .125(ys are denoted by M\255)
-.05 F F3 -.1(ke)C(y)-.2 E F0 2.625(,s)C 2.625(oM)-2.625 G .125
(\255x means Meta\255X.)-2.625 F .126(\(On k)5.126 F -.15(ey)-.1 G .126
(boards without a).15 F F3(meta)108 422.4 Q F0 -.1(ke)3.309 G 2.109 -.65
(y, M)-.05 H<ad>.65 E F3(x)A F0 .809(means ESC)3.309 F F3(x)3.309 E F0
3.309(,i)C .809(.e., press the Escape k)-3.309 F 1.108 -.15(ey t)-.1 H
.808(hen the).15 F F3(x)3.308 E F0 -.1(ke)3.308 G 4.608 -.65(y. T)-.05 H
.808(his mak).65 F .808(es ESC the)-.1 F F3 .808(meta pr)3.308 F(e\214x)
-.37 E F0(.)A .48(The combination M\255C\255)108 434.4 R F3(x)A F0 .48
(means ESC\255Control\255)2.98 F F3(x)A F0 2.98(,o)C 2.98(rp)-2.98 G .48
(ress the Escape k)-2.98 F .78 -.15(ey t)-.1 H .48
(hen hold the Control k).15 F .78 -.15(ey w)-.1 H(hile).15 E
(pressing the)108 446.4 Q F3(x)2.5 E F0 -.1(ke)2.5 G -.65(y.)-.05 G(\))
.65 E .62(Readline commands may be gi)108 463.2 R -.15(ve)-.25 G 3.119
(nn).15 G(umeric)-3.119 E F3(ar)3.119 E(guments)-.37 E F0 3.119(,w).27 G
.619(hich normally act as a repeat count.)-3.119 F(Sometimes,)5.619 E
(ho)108 475.2 Q(we)-.25 E -.15(ve)-.25 G 1.418 -.4(r, i).15 H 3.118(ti)
.4 G 3.119(st)-3.118 G .619(he sign of the ar)-3.119 F .619
(gument that is signi\214cant.)-.18 F -.15(Pa)5.619 G .619(ssing a ne)
.15 F -.05(ga)-.15 G(ti).05 E .919 -.15(ve a)-.25 H -.18(rg).15 G .619
(ument to a command that).18 F 1.019(acts in the forw)108 487.2 R 1.018
(ard direction \(e.g.,)-.1 F F2(kill\255line)3.518 E F0 3.518(\)c)C
1.018(auses that command to act in a backw)-3.518 F 1.018
(ard direction.)-.1 F(Com-)6.018 E(mands whose beha)108 499.2 Q
(vior with ar)-.2 E(guments de)-.18 E(viates from this are noted.)-.25 E
.811(When a command is described as)108 516 R F3(killing)3.311 E F0(te)
3.311 E .811(xt, the te)-.15 F .811(xt deleted is sa)-.15 F -.15(ve)-.2
G 3.311(df).15 G .812(or possible future retrie)-3.311 F -.25(va)-.25 G
3.312(l\().25 G F3(yank-)-3.312 E(ing)108 528 Q F0 2.529(\). The)B .029
(killed te)2.529 F .029(xt is sa)-.15 F -.15(ve)-.2 G 2.529(di).15 G
2.529(na)-2.529 G F3 .029(kill ring)B F0 5.029(.C)C(onsecuti)-5.029 E
.329 -.15(ve k)-.25 H .029(ills cause the te).15 F .029
(xt to be accumulated into one unit,)-.15 F .567(which can be yank)108
540 R .567(ed all at once.)-.1 F .567(Commands which do not kill te)
5.567 F .567(xt separate the chunks of te)-.15 F .567(xt on the kill)
-.15 F(ring.)108 552 Q F1(INITIALIZA)72 568.8 Q(TION FILE)-1.04 E F0
.091(Readline is customized by putting commands in an initialization \
\214le \(the)108 580.8 R F3(inputr)2.591 E(c)-.37 E F0 2.591
(\214le\). The)2.591 F .091(name of this \214le)2.591 F 1.442(is tak)108
592.8 R 1.443(en from the v)-.1 F 1.443(alue of the)-.25 F F2(INPUTRC)
3.943 E F0(en)3.943 E 1.443(vironment v)-.4 F 3.943(ariable. If)-.25 F
1.443(that v)3.943 F 1.443(ariable is unset, the def)-.25 F 1.443
(ault is)-.1 F F3(~/.inputr)108 604.8 Q(c)-.37 E F0 5.359(.W).31 G .359
(hen a program which uses the readline library starts up, the init \214\
le is read, and the k)-5.359 F .658 -.15(ey b)-.1 H(ind-).15 E 1.083
(ings and v)108 616.8 R 1.083(ariables are set.)-.25 F 1.083
(There are only a fe)6.083 F 3.583(wb)-.25 G 1.083(asic constructs allo)
-3.583 F 1.084(wed in the readline init \214le.)-.25 F(Blank)6.084 E
.737(lines are ignored.)108 628.8 R .737(Lines be)5.737 F .737
(ginning with a)-.15 F F2(#)3.237 E F0 .737(are comments.)3.237 F .737
(Lines be)5.737 F .737(ginning with a)-.15 F F2($)3.237 E F0 .736
(indicate conditional)3.236 F 2.614(constructs. Other)108 640.8 R .114
(lines denote k)2.614 F .414 -.15(ey b)-.1 H .115(indings and v).15 F
.115(ariable settings.)-.25 F .115
(Each program using this library may add)5.115 F(its o)108 652.8 Q
(wn commands and bindings.)-.25 E -.15(Fo)108 669.6 S 2.5(re).15 G
(xample, placing)-2.65 E(M\255Control\255u: uni)144 686.4 Q -.15(ve)-.25
G(rsal\255ar).15 E(gument)-.18 E(or)108 698.4 Q(C\255Meta\255u: uni)144
710.4 Q -.15(ve)-.25 G(rsal\255ar).15 E(gument)-.18 E(GNU Readline 4.3)
72 768 Q(2002 January 22)126.24 E(1)195.95 E EP
%%Page: 2 2
%%BeginPageSetup
BP
%%EndPageSetup
/F0 10/Times-Roman@0 SF 342.2(READLINE\(3\) READLINE\(3\))72 48 R
(into the)108 84 Q/F1 10/Times-Italic@0 SF(inputr)2.5 E(c)-.37 E F0 -.1
(wo)2.5 G(uld mak).1 E 2.5(eM)-.1 G(\255C\255u e)-2.5 E -.15(xe)-.15 G
(cute the readline command).15 E F1(univer)2.5 E(sal\255ar)-.1 E(gument)
-.37 E F0(.).68 E 2.795(The follo)108 100.8 R 2.795
(wing symbolic character names are recognized while processing k)-.25 F
3.095 -.15(ey b)-.1 H(indings:).15 E F1(DEL)5.295 E F0(,).53 E F1(ESC)
5.295 E F0(,).72 E F1(ESCAPE)108 112.8 Q F0(,).73 E F1(LFD)2.5 E F0(,)
.28 E F1(NEWLINE)2.5 E F0(,).73 E F1(RET)2.5 E F0(,)1.27 E F1(RETURN)2.5
E F0(,)1.1 E F1 -.4(RU)2.5 G(BOUT).4 E F0(,)1.27 E F1(SP)2.5 E -.3(AC)
-.9 G(E).3 E F0(,).73 E F1(SPC)2.5 E F0 2.5(,a).72 G(nd)-2.5 E F1 -.5
(TA)2.5 G(B).5 E F0(.).27 E .209
(In addition to command names, readline allo)108 129.6 R .209(ws k)-.25
F -.15(ey)-.1 G 2.709(st).15 G 2.709(ob)-2.709 G 2.709(eb)-2.709 G .209
(ound to a string that is inserted when the k)-2.709 F .509 -.15(ey i)
-.1 H(s).15 E(pressed \(a)108 141.6 Q F1(macr)2.5 E(o)-.45 E F0(\).)A/F2
10/Times-Bold@0 SF -.25(Ke)87 163.2 S 2.5(yB).25 G(indings)-2.5 E F0
.382(The syntax for controlling k)108 175.2 R .682 -.15(ey b)-.1 H .382
(indings in the).15 F F1(inputr)2.882 E(c)-.37 E F0 .382
(\214le is simple.)2.882 F .382(All that is required is the name of the)
5.382 F .382(command or the te)108 187.2 R .383(xt of a macro and a k)
-.15 F .683 -.15(ey s)-.1 H .383
(equence to which it should be bound. The name may be speci-).15 F .853
(\214ed in one of tw)108 199.2 R 3.353(ow)-.1 G .853
(ays: as a symbolic k)-3.453 F 1.153 -.15(ey n)-.1 H .853
(ame, possibly with).15 F F1(Meta\255)3.353 E F0(or)3.353 E F1(Contr)
3.353 E(ol\255)-.45 E F0(pre\214x)3.353 E .853(es, or as a k)-.15 F -.15
(ey)-.1 G(sequence.)108 211.2 Q 1.766(When using the form)108 228 R F2
-.1(ke)4.266 G(yname).1 E F0(:)A F1(function-name).833 E F0(or)4.266 E
F1(macr)4.267 E(o)-.45 E F0(,)A F1 -.1(ke)4.267 G(yname)-.2 E F0 1.767
(is the name of a k)4.267 F 2.067 -.15(ey s)-.1 H 1.767(pelled out in)
.15 F 2.5(English. F)108 240 R(or e)-.15 E(xample:)-.15 E
(Control\255u: uni)144 264 Q -.15(ve)-.25 G(rsal\255ar).15 E(gument)-.18
E(Meta\255Rubout: backw)144 276 Q(ard\255kill\255w)-.1 E(ord)-.1 E
(Control\255o: "> output")144 288 Q .229(In the abo)108 304.8 R .529
-.15(ve ex)-.15 H(ample,).15 E F1(C\255u)2.729 E F0 .229
(is bound to the function)2.729 F F2(uni)2.729 E -.1(ve)-.1 G
(rsal\255ar).1 E(gument)-.1 E F0(,)A F1(M-DEL)2.729 E F0 .228
(is bound to the function)2.729 F F2(backward\255kill\255w)108 316.8 Q
(ord)-.1 E F0 3.837(,a)C(nd)-3.837 E F1(C\255o)3.837 E F0 1.337
(is bound to run the macro e)3.837 F 1.337
(xpressed on the right hand side \(that is, to)-.15 F(insert the te)108
328.8 Q(xt)-.15 E/F3 10/Courier@0 SF 6(>o)2.5 G(utput)-6 E F0
(into the line\).)2.5 E .056(In the second form,)108 345.6 R F2("k)2.556
E(eyseq")-.1 E F0(:)A F1(function\255name).833 E F0(or)2.556 E F1(macr)
2.556 E(o)-.45 E F0(,)A F2 -.1(ke)2.556 G(yseq).1 E F0(dif)2.555 E .055
(fers from)-.25 F F2 -.1(ke)2.555 G(yname).1 E F0(abo)2.555 E .355 -.15
(ve i)-.15 H 2.555(nt).15 G .055(hat strings)-2.555 F 1.284
(denoting an entire k)108 357.6 R 1.584 -.15(ey s)-.1 H 1.284(equence m\
ay be speci\214ed by placing the sequence within double quotes.).15 F
(Some)6.284 E .386(GNU Emacs style k)108 369.6 R .686 -.15(ey e)-.1 H
.385(scapes can be used, as in the follo).15 F .385(wing e)-.25 F .385
(xample, b)-.15 F .385(ut the symbolic character names)-.2 F
(are not recognized.)108 381.6 Q("\\C\255u": uni)144 405.6 Q -.15(ve)
-.25 G(rsal\255ar).15 E(gument)-.18 E
("\\C\255x\\C\255r": re\255read\255init\255\214le)144 417.6 Q
("\\e[11~": "Function K)144 429.6 Q .3 -.15(ey 1)-.25 H(").15 E .237
(In this e)108 446.4 R(xample,)-.15 E F1(C-u)2.737 E F0 .237(is ag)2.737
F .238(ain bound to the function)-.05 F F2(uni)2.738 E -.1(ve)-.1 G
(rsal\255ar).1 E(gument)-.1 E F0(.)A F1 .238(C-x C-r)5.238 F F0 .238
(is bound to the function)2.738 F F2 -.18(re)108 458.4 S<ad72>.18 E
(ead\255init\255\214le)-.18 E F0 2.5(,a)C(nd)-2.5 E F1(ESC [ 1 1 ~)2.5 E
F0(is bound to insert the te)2.5 E(xt)-.15 E F3(Function Key 1)2.5 E F0
(.)A(The full set of GNU Emacs style escape sequences a)108 475.2 Q -.25
(va)-.2 G(ilable when specifying k).25 E .3 -.15(ey s)-.1 H(equences is)
.15 E F2<5c43ad>144 487.2 Q F0(control pre\214x)20.3 E F2<5c4dad>144
499.2 Q F0(meta pre\214x)18.08 E F2(\\e)144 511.2 Q F0
(an escape character)28.78 E F2(\\\\)144 523.2 Q F0(backslash)30.44 E F2
(\\")144 535.2 Q F0(literal ", a double quote)27.67 E F2(\\')144 547.2 Q
F0(literal ', a single quote)29.89 E(In addition to the GNU Emacs style\
 escape sequences, a second set of backslash escapes is a)108 564 Q -.25
(va)-.2 G(ilable:).25 E F2(\\a)144 576 Q F0(alert \(bell\))28.22 E F2
(\\b)144 588 Q F0(backspace)27.66 E F2(\\d)144 600 Q F0(delete)27.66 E
F2(\\f)144 612 Q F0(form feed)29.89 E F2(\\n)144 624 Q F0(ne)27.66 E
(wline)-.25 E F2(\\r)144 636 Q F0(carriage return)28.78 E F2(\\t)144 648
Q F0(horizontal tab)29.89 E F2(\\v)144 660 Q F0 -.15(ve)28.22 G
(rtical tab).15 E F2(\\)144 672 Q F1(nnn)A F0
(the eight-bit character whose v)18.22 E(alue is the octal v)-.25 E
(alue)-.25 E F1(nnn)2.5 E F0(\(one to three digits\))2.5 E F2(\\x)144
684 Q F1(HH)A F0(the eight-bit character whose v)13.78 E(alue is the he)
-.25 E(xadecimal v)-.15 E(alue)-.25 E F1(HH)2.5 E F0(\(one or tw)2.5 E
2.5(oh)-.1 G .3 -.15(ex d)-2.5 H(igits\)).15 E .74(When entering the te)
108 700.8 R .74(xt of a macro, single or double quotes should be used t\
o indicate a macro de\214nition.)-.15 F .089(Unquoted te)108 712.8 R
.089(xt is assumed to be a function name.)-.15 F .09(In the macro body)
5.089 F 2.59(,t)-.65 G .09(he backslash escapes described abo)-2.59 F
-.15(ve)-.15 G(are e)108 724.8 Q 2.5(xpanded. Backslash)-.15 F
(will quote an)2.5 E 2.5(yo)-.15 G(ther character in the macro te)-2.5 E
(xt, including " and '.)-.15 E(GNU Readline 4.3)72 768 Q
(2002 January 22)126.24 E(2)195.95 E EP
%%Page: 3 3
%%BeginPageSetup
BP
%%EndPageSetup
/F0 10/Times-Roman@0 SF 342.2(READLINE\(3\) READLINE\(3\))72 48 R/F1 10
/Times-Bold@0 SF(Bash)108 84 Q F0(allo)2.93 E .43
(ws the current readline k)-.25 F .73 -.15(ey b)-.1 H .429
(indings to be displayed or modi\214ed with the).15 F F1(bind)2.929 E F0
-.2(bu)2.929 G .429(iltin command.).2 F 1.095
(The editing mode may be switched during interacti)108 96 R 1.395 -.15
(ve u)-.25 H 1.095(se by using the).15 F F1<ad6f>3.595 E F0 1.095
(option to the)3.595 F F1(set)3.595 E F0 -.2(bu)3.595 G 1.095
(iltin com-).2 F 3.097(mand. Other)108 108 R .597
(programs using this library pro)3.097 F .597(vide similar mechanisms.)
-.15 F(The)5.597 E/F2 10/Times-Italic@0 SF(inputr)3.097 E(c)-.37 E F0
.596(\214le may be edited and)3.096 F(re-read if a program does not pro)
108 120 Q(vide an)-.15 E 2.5(yo)-.15 G(ther means to incorporate ne)-2.5
E 2.5(wb)-.25 G(indings.)-2.5 E F1 -.92(Va)87 136.8 S(riables).92 E F0
.043(Readline has v)108 148.8 R .044
(ariables that can be used to further customize its beha)-.25 F(vior)-.2
E 5.044(.A)-.55 G -.25(va)-2.5 G .044(riable may be set in the).25 F F2
(inpu-)2.544 E(tr)108 160.8 Q(c)-.37 E F0
(\214le with a statement of the form)2.5 E F1(set)144 177.6 Q F2
(variable\255name value)2.5 E F0 .807(Except where noted, readline v)108
194.4 R .807(ariables can tak)-.25 F 3.307(et)-.1 G .807(he v)-3.307 F
(alues)-.25 E F1(On)3.307 E F0(or)3.307 E F1(Off)3.307 E F0 .807
(\(without re)3.307 F -.05(ga)-.15 G .807(rd to case\).).05 F .807
(The v)5.807 F(ari-)-.25 E(ables and their def)108 206.4 Q(ault v)-.1 E
(alues are:)-.25 E F1(bell\255style \(audible\))108 223.2 Q F0 .01
(Controls what happens when readline w)144 235.2 R .011
(ants to ring the terminal bell.)-.1 F .011(If set to)5.011 F F1(none)
2.511 E F0 2.511(,r)C .011(eadline ne)-2.511 F -.15(ve)-.25 G(r).15 E
.94(rings the bell.)144 247.2 R .94(If set to)5.94 F F1(visible)3.44 E
F0 3.44(,r)C .94(eadline uses a visible bell if one is a)-3.44 F -.25
(va)-.2 G 3.44(ilable. If).25 F .94(set to)3.44 F F1(audible)3.44 E F0
(,)A(readline attempts to ring the terminal')144 259.2 Q 2.5(sb)-.55 G
(ell.)-2.5 E F1(comment\255begin \(`)108 271.2 Q(`#')-.63 E('\))-.63 E
F0 .062(The string that is inserted in)144 283.2 R F1(vi)2.562 E F0 .062
(mode when the)2.562 F F1(insert\255comment)2.562 E F0 .062
(command is e)2.562 F -.15(xe)-.15 G 2.562(cuted. This).15 F(com-)2.562
E(mand is bound to)144 295.2 Q F1(M\255#)2.5 E F0(in emacs mode and to)
2.5 E F1(#)2.5 E F0(in vi command mode.)2.5 E F1(completion\255ignor)108
307.2 Q(e\255case \(Off\))-.18 E F0(If set to)144 319.2 Q F1(On)2.5 E F0
2.5(,r)C(eadline performs \214lename matching and completion in a case\
\255insensiti)-2.5 E .3 -.15(ve f)-.25 H(ashion.).05 E F1
(completion\255query\255items \(100\))108 331.2 Q F0 .53
(This determines when the user is queried about vie)144 343.2 R .529
(wing the number of possible completions gen-)-.25 F .56(erated by the)
144 355.2 R F1(possible\255completions)3.06 E F0 3.06(command. It)3.06 F
.561(may be set to an)3.061 F 3.061(yi)-.15 G(nte)-3.061 E .561(ger v)
-.15 F .561(alue greater than or)-.25 F .783(equal to zero.)144 367.2 R
.783(If the number of possible completions is greater than or equal to \
the v)5.783 F .782(alue of this)-.25 F -.25(va)144 379.2 S .237
(riable, the user is ask).25 F .237(ed whether or not he wishes to vie)
-.1 F 2.737(wt)-.25 G .237(hem; otherwise the)-2.737 F 2.737(ya)-.15 G
.237(re simply listed)-2.737 F(on the terminal.)144 391.2 Q F1(con)108
403.2 Q -.1(ve)-.4 G(rt\255meta \(On\)).1 E F0 .613(If set to)144 415.2
R F1(On)3.113 E F0 3.113(,r)C .613(eadline will con)-3.113 F -.15(ve)-.4
G .613(rt characters with the eighth bit set to an ASCII k).15 F .912
-.15(ey s)-.1 H .612(equence by).15 F 1.315(stripping the eighth bit an\
d pre\214xing it with an escape character \(in ef)144 427.2 R 1.316
(fect, using escape as the)-.25 F F2(meta pr)144 439.2 Q(e\214x)-.37 E
F0(\).)A F1(disable\255completion \(Off\))108 451.2 Q F0 .038(If set to)
144 463.2 R F1(On)2.538 E F0 2.538(,r)C .038(eadline will inhibit w)
-2.538 F .038(ord completion.)-.1 F .038
(Completion characters will be inserted into the)5.038 F(line as if the)
144 475.2 Q 2.5(yh)-.15 G(ad been mapped to)-2.5 E F1(self-insert)2.5 E
F0(.)A F1(editing\255mode \(emacs\))108 487.2 Q F0 .215
(Controls whether readline be)144 499.2 R .215(gins with a set of k)-.15
F .515 -.15(ey b)-.1 H .216(indings similar to emacs or vi.).15 F F1
(editing\255mode)5.216 E F0(can be set to either)144 511.2 Q F1(emacs)
2.5 E F0(or)2.5 E F1(vi)2.5 E F0(.)A F1(enable\255k)108 523.2 Q
(eypad \(Off\))-.1 E F0 .893(When set to)144 535.2 R F1(On)3.393 E F0
3.393(,r)C .893(eadline will try to enable the application k)-3.393 F
-.15(ey)-.1 G .893(pad when it is called.).15 F .892(Some sys-)5.893 F
(tems need this to enable the arro)144 547.2 Q 2.5(wk)-.25 G -.15(ey)
-2.6 G(s.).15 E F1(expand\255tilde \(Off\))108 559.2 Q F0(If set to)144
571.2 Q F1(on)2.5 E F0 2.5(,t)C(ilde e)-2.5 E
(xpansion is performed when readline attempts w)-.15 E(ord completion.)
-.1 E F1(history-pr)108 583.2 Q(eser)-.18 E -.1(ve)-.1 G(-point).1 E F0
1.492(If set to)144 595.2 R F1(on)3.992 E F0 3.992(,t)C 1.493(he histor\
y code attempts to place point at the same location on each history lin\
e)-3.992 F(retri)144 607.2 Q -.15(ve)-.25 G 2.5(dw).15 G(ith)-2.5 E F1
(pr)2.5 E -.15(ev)-.18 G(ious-history).15 E F0(or)2.5 E F1(next-history)
2.5 E F0(.)A F1(horizontal\255scr)108 619.2 Q(oll\255mode \(Off\))-.18 E
F0 .449(When set to)144 631.2 R F1(On)2.949 E F0 2.949(,m)C(ak)-2.949 E
.448(es readline use a single line for display)-.1 F 2.948(,s)-.65 G
.448(crolling the input horizontally on a)-2.948 F 1.194(single screen \
line when it becomes longer than the screen width rather than wrapping \
to a ne)144 643.2 R(w)-.25 E(line.)144 655.2 Q F1(input\255meta \(Off\))
108 667.2 Q F0 .367(If set to)144 679.2 R F1(On)2.867 E F0 2.867(,r)C
.367(eadline will enable eight-bit input \(that is, it will not clear t\
he eighth bit in the char)-2.867 F(-)-.2 E .956(acters it reads\), re)
144 691.2 R -.05(ga)-.15 G .956
(rdless of what the terminal claims it can support.).05 F .957(The name)
5.956 F F1(meta\255\215ag)3.457 E F0 .957(is a)3.457 F(synon)144 703.2 Q
(ym for this v)-.15 E(ariable.)-.25 E(GNU Readline 4.3)72 768 Q
(2002 January 22)126.24 E(3)195.95 E EP
%%Page: 4 4
%%BeginPageSetup
BP
%%EndPageSetup
/F0 10/Times-Roman@0 SF 342.2(READLINE\(3\) READLINE\(3\))72 48 R/F1 10
/Times-Bold@0 SF(isear)108 84 Q(ch\255terminators \(`)-.18 E
(`C\255[ C\255J')-.63 E('\))-.63 E F0 .439(The string of characters tha\
t should terminate an incremental search without subsequently e)144 96 R
-.15(xe)-.15 G(cut-).15 E .934(ing the character as a command.)144 108 R
.935(If this v)5.935 F .935(ariable has not been gi)-.25 F -.15(ve)-.25
G 3.435(nav).15 G .935(alue, the characters)-3.685 F/F2 10
/Times-Italic@0 SF(ESC)3.435 E F0(and)144 120 Q F2(C\255J)2.5 E F0
(will terminate an incremental search.)2.5 E F1 -.1(ke)108 132 S
(ymap \(emacs\)).1 E F0 2.323(Set the current readline k)144 144 R -.15
(ey)-.1 G 4.823(map. The).15 F 2.323(set of le)4.823 F -.05(ga)-.15 G
4.823(lk).05 G -.15(ey)-4.923 G 2.323(map names is).15 F F2 2.323
(emacs, emacs-standar)4.823 F(d,)-.37 E .808
(emacs-meta, emacs-ctlx, vi, vi-mo)144 156 R(ve)-.1 E 3.308(,v)-.1 G
(i-command)-3.308 E F0 3.308(,a)C(nd)-3.308 E F2(vi-insert)3.308 E F0(.)
.68 E F2(vi)5.808 E F0 .808(is equi)3.308 F -.25(va)-.25 G .809(lent to)
.25 F F2(vi-command)3.309 E F0(;)A F2(emacs)144 168 Q F0 .697(is equi)
3.197 F -.25(va)-.25 G .697(lent to).25 F F2(emacs-standar)3.197 E(d)
-.37 E F0 5.697(.T)C .697(he def)-5.697 F .697(ault v)-.1 F .697
(alue is)-.25 F F2(emacs)3.197 E F0 5.697(.T).27 G .697(he v)-5.697 F
.697(alue of)-.25 F F1(editing\255mode)3.196 E F0(also af)144 180 Q
(fects the def)-.25 E(ault k)-.1 E -.15(ey)-.1 G(map.).15 E F1
(mark\255dir)108 192 Q(ectories \(On\))-.18 E F0(If set to)144 204 Q F1
(On)2.5 E F0 2.5(,c)C(ompleted directory names ha)-2.5 E .3 -.15(ve a s)
-.2 H(lash appended.).15 E F1(mark\255modi\214ed\255lines \(Off\))108
216 Q F0(If set to)144 228 Q F1(On)2.5 E F0 2.5(,h)C
(istory lines that ha)-2.5 E .3 -.15(ve b)-.2 H
(een modi\214ed are displayed with a preceding asterisk \().15 E F1(*)A
F0(\).)A F1(mark\255symlink)108 240 Q(ed\255dir)-.1 E(ectories \(Off\))
-.18 E F0 .175(If set to)144 252 R F1(On)2.675 E F0 2.675(,c)C .175
(ompleted names which are symbolic links to directories ha)-2.675 F .475
-.15(ve a s)-.2 H .175(lash appended \(sub-).15 F(ject to the v)144 264
Q(alue of)-.25 E F1(mark\255dir)2.5 E(ectories)-.18 E F0(\).)A F1
(match\255hidden\255\214les \(On\))108 276 Q F0 .193(This v)144 288 R
.193(ariable, when set to)-.25 F F1(On)2.693 E F0 2.693(,c)C .192
(auses readline to match \214les whose names be)-2.693 F .192
(gin with a `.)-.15 F 2.692('\()-.7 G(hidden)-2.692 E 1.023
(\214les\) when performing \214lename completion, unless the leading `.)
144 300 R 3.523('i)-.7 G 3.523(ss)-3.523 G 1.024
(upplied by the user in the)-3.523 F(\214lename to be completed.)144 312
Q F1(output\255meta \(Off\))108 324 Q F0 .507(If set to)144 336 R F1(On)
3.007 E F0 3.007(,r)C .507(eadline will display characters with the eig\
hth bit set directly rather than as a meta-)-3.007 F(pre\214x)144 348 Q
(ed escape sequence.)-.15 E F1(page\255completions \(On\))108 360 Q F0
.808(If set to)144 372 R F1(On)3.308 E F0 3.308(,r)C .808
(eadline uses an internal)-3.308 F F2(mor)3.308 E(e)-.37 E F0(-lik)A
3.308(ep)-.1 G .808(ager to display a screenful of possible comple-)
-3.308 F(tions at a time.)144 384 Q F1
(print\255completions\255horizontally \(Off\))108 396 Q F0 1.319
(If set to)144 408 R F1(On)3.819 E F0 3.819(,r)C 1.318(eadline will dis\
play completions with matches sorted horizontally in alphabetical)-3.819
F(order)144 420 Q 2.5(,r)-.4 G(ather than do)-2.5 E(wn the screen.)-.25
E F1(sho)108 432 Q(w\255all\255if\255ambiguous \(Off\))-.1 E F0 .477
(This alters the def)144 444 R .477(ault beha)-.1 F .477
(vior of the completion functions.)-.2 F .478(If set to)5.478 F F1(on)
2.978 E F0 2.978(,w)C .478(ords which ha)-3.078 F .778 -.15(ve m)-.2 H
(ore).15 E 1.264(than one possible completion cause the matches to be l\
isted immediately instead of ringing the)144 456 R(bell.)144 468 Q F1
(visible\255stats \(Off\))108 480 Q F0 .846(If set to)144 492 R F1(On)
3.346 E F0 3.346(,ac)C .846(haracter denoting a \214le')-3.346 F 3.346
(st)-.55 G .846(ype as reported by)-3.346 F F2(stat)3.346 E F0 .846
(\(2\) is appended to the \214lename)B
(when listing possible completions.)144 504 Q F1(Conditional Constructs)
87 520.8 Q F0 .05(Readline implements a f)108 532.8 R .05(acility simil\
ar in spirit to the conditional compilation features of the C preproces\
sor)-.1 F .096(which allo)108 544.8 R .096(ws k)-.25 F .396 -.15(ey b)
-.1 H .096(indings and v).15 F .096
(ariable settings to be performed as the result of tests.)-.25 F .097
(There are four parser)5.096 F(directi)108 556.8 Q -.15(ve)-.25 G 2.5
(su).15 G(sed.)-2.5 E F1($if)108 573.6 Q F0(The)24.89 E F1($if)2.963 E
F0 .463(construct allo)2.963 F .462(ws bindings to be made based on the\
 editing mode, the terminal being used,)-.25 F .477
(or the application using readline.)144 585.6 R .477(The te)5.477 F .477
(xt of the test e)-.15 F .477
(xtends to the end of the line; no characters)-.15 F
(are required to isolate it.)144 597.6 Q F1(mode)144 614.4 Q F0(The)
12.67 E F1(mode=)3.712 E F0 1.212(form of the)3.712 F F1($if)3.711 E F0
(directi)3.711 E 1.511 -.15(ve i)-.25 H 3.711(su).15 G 1.211
(sed to test whether readline is in emacs or vi)-3.711 F 3.065
(mode. This)180 626.4 R .565(may be used in conjunction with the)3.065 F
F1 .565(set k)3.065 F(eymap)-.1 E F0 .565(command, for instance, to)
3.065 F .03(set bindings in the)180 638.4 R F2(emacs-standar)2.529 E(d)
-.37 E F0(and)2.529 E F2(emacs-ctlx)2.529 E F0 -.1(ke)2.529 G .029
(ymaps only if readline is starting out)-.05 F(in emacs mode.)180 650.4
Q F1(term)144 667.2 Q F0(The)15.46 E F1(term=)3.196 E F0 .696
(form may be used to include terminal-speci\214c k)3.196 F .996 -.15
(ey b)-.1 H .697(indings, perhaps to bind).15 F .654(the k)180 679.2 R
.954 -.15(ey s)-.1 H .654(equences output by the terminal').15 F 3.154
(sf)-.55 G .654(unction k)-3.154 F -.15(ey)-.1 G 3.154(s. The).15 F -.1
(wo)3.154 G .654(rd on the right side of).1 F(the)180 691.2 Q F1(=)3.003
E F0 .503(is tested ag)3.003 F .504(ainst the full name of the terminal\
 and the portion of the terminal name)-.05 F(before the \214rst)180
703.2 Q F1<ad>2.5 E F0 5(.T)C(his allo)-5 E(ws)-.25 E F2(sun)2.5 E F0
(to match both)2.5 E F2(sun)2.5 E F0(and)2.5 E F2(sun\255cmd)2.5 E F0
2.5(,f).77 G(or instance.)-2.5 E(GNU Readline 4.3)72 768 Q
(2002 January 22)126.24 E(4)195.95 E EP
%%Page: 5 5
%%BeginPageSetup
BP
%%EndPageSetup
/F0 10/Times-Roman@0 SF 342.2(READLINE\(3\) READLINE\(3\))72 48 R/F1 10
/Times-Bold@0 SF(application)144 84 Q F0(The)180 96 Q F1(application)
3.003 E F0 .503
(construct is used to include application-speci\214c settings.)3.003 F
.503(Each program)5.503 F .114(using the readline library sets the)180
108 R/F2 10/Times-Italic@0 SF .114(application name)2.614 F F0 2.614(,a)
C .114(nd an initialization \214le can test for a)-2.614 F .501
(particular v)180 120 R 3.001(alue. This)-.25 F .501
(could be used to bind k)3.001 F .801 -.15(ey s)-.1 H .5
(equences to functions useful for a spe-).15 F .396(ci\214c program.)180
132 R -.15(Fo)5.396 G 2.896(ri).15 G .396(nstance, the follo)-2.896 F
.396(wing command adds a k)-.25 F .696 -.15(ey s)-.1 H .397
(equence that quotes the).15 F(current or pre)180 144 Q(vious w)-.25 E
(ord in Bash:)-.1 E F1($if)180 168 Q F0(Bash)2.5 E 2.5(#Q)180 180 S
(uote the current or pre)-2.5 E(vious w)-.25 E(ord)-.1 E
("\\C-xq": "\\eb\\"\\ef\\"")180 192 Q F1($endif)180 204 Q($endif)108
220.8 Q F0(This command, as seen in the pre)9.33 E(vious e)-.25 E
(xample, terminates an)-.15 E F1($if)2.5 E F0(command.)2.5 E F1($else)
108 237.6 Q F0(Commands in this branch of the)15.45 E F1($if)2.5 E F0
(directi)2.5 E .3 -.15(ve a)-.25 H(re e).15 E -.15(xe)-.15 G
(cuted if the test f).15 E(ails.)-.1 E F1($include)108 254.4 Q F0 .357
(This directi)144 266.4 R .657 -.15(ve t)-.25 H(ak).15 E .357
(es a single \214lename as an ar)-.1 F .356
(gument and reads commands and bindings from that)-.18 F 2.5(\214le. F)
144 278.4 R(or e)-.15 E(xample, the follo)-.15 E(wing directi)-.25 E .3
-.15(ve w)-.25 H(ould read).05 E F2(/etc/inputr)2.5 E(c)-.37 E F0(:)A F1
($include)144 302.4 Q F2(/etc/inputr)5.833 E(c)-.37 E/F3 10.95
/Times-Bold@0 SF(SEARCHING)72 319.2 Q F0 1.003(Readline pro)108 331.2 R
1.003(vides commands for searching through the command history for line\
s containing a speci\214ed)-.15 F 2.5(string. There)108 343.2 R(are tw)
2.5 E 2.5(os)-.1 G(earch modes:)-2.5 E F2(incr)2.5 E(emental)-.37 E F0
(and)2.5 E F2(non-incr)2.5 E(emental)-.37 E F0(.).51 E .698
(Incremental searches be)108 360 R .698
(gin before the user has \214nished typing the search string.)-.15 F
.697(As each character of the)5.697 F .112
(search string is typed, readline displays the ne)108 372 R .112
(xt entry from the history matching the string typed so f)-.15 F(ar)-.1
E 5.113(.A)-.55 G(n)-5.113 E .545
(incremental search requires only as man)108 384 R 3.045(yc)-.15 G .544
(haracters as needed to \214nd the desired history entry)-3.045 F 5.544
(.T)-.65 G 3.044(os)-6.344 G(earch)-3.044 E(backw)108 396 Q .18
(ard in the history for a particular string, type)-.1 F F1(C\255r)2.681
E F0 5.181(.T)C(yping)-5.981 E F1(C\255s)2.681 E F0 .181(searches forw)
2.681 F .181(ard through the history)-.1 F(.)-.65 E .354
(The characters present in the v)108 408 R .354(alue of the)-.25 F F1
(isear)2.854 E(ch-terminators)-.18 E F0 -.25(va)2.854 G .354
(riable are used to terminate an incremen-).25 F .6(tal search.)108 420
R .6(If that v)5.6 F .6(ariable has not been assigned a v)-.25 F .6
(alue the)-.25 F F2(Escape)3.1 E F0(and)3.1 E F1(C\255J)3.1 E F0 .6
(characters will terminate an)3.1 F .123(incremental search.)108 432 R
F1(C\255G)5.123 E F0 .123
(will abort an incremental search and restore the original line.)2.623 F
.122(When the search is)5.122 F(terminated, the history entry containin\
g the search string becomes the current line.)108 444 Q 2.406 -.8
(To \214)108 460.8 T .806
(nd other matching entries in the history list, type).8 F F1(C\255s)
3.306 E F0(or)3.306 E F1(C\255r)3.306 E F0 .806(as appropriate.)3.306 F
.807(This will search back-)5.806 F -.1(wa)108 472.8 S 1.309(rd or forw)
.1 F 1.309(ard in the history for the ne)-.1 F 1.309
(xt line matching the search string typed so f)-.15 F(ar)-.1 E 6.309(.A)
-.55 G 1.609 -.15(ny o)-6.309 H 1.308(ther k).15 F -.15(ey)-.1 G .317
(sequence bound to a readline command will terminate the search and e)
108 484.8 R -.15(xe)-.15 G .318(cute that command.).15 F -.15(Fo)5.318 G
2.818(ri).15 G(nstance,)-2.818 E 3.481(an)108 496.8 S -.25(ew)-3.481 G
.981(line will terminate the search and accept the line, thereby e).25 F
-.15(xe)-.15 G .98(cuting the command from the history).15 F 3.061
(list. A)108 508.8 R(mo)3.061 E -.15(ve)-.15 G .562
(ment command will terminate the search, mak).15 F 3.062(et)-.1 G .562
(he last line found the current line, and be)-3.062 F(gin)-.15 E
(editing.)108 520.8 Q .567(Non-incremental searches read the entire sea\
rch string before starting to search for matching history lines.)108
537.6 R(The search string may be typed by the user or be part of the co\
ntents of the current line.)108 549.6 Q F3(EDITING COMMANDS)72 566.4 Q
F0 1.391(The follo)108 578.4 R 1.391
(wing is a list of the names of the commands and the def)-.25 F 1.391
(ault k)-.1 F 1.691 -.15(ey s)-.1 H 1.391(equences to which the).15 F
3.892(ya)-.15 G(re)-3.892 E 2.5(bound. Command)108 590.4 R
(names without an accompan)2.5 E(ying k)-.15 E .3 -.15(ey s)-.1 H
(equence are unbound by def).15 E(ault.)-.1 E .055(In the follo)108
607.2 R .055(wing descriptions,)-.25 F F2(point)2.555 E F0 .055
(refers to the current cursor position, and)2.555 F F2(mark)2.555 E F0
.054(refers to a cursor position)2.554 F(sa)108 619.2 Q -.15(ve)-.2 G
2.5(db).15 G 2.5(yt)-2.5 G(he)-2.5 E F1(set\255mark)2.5 E F0 2.5
(command. The)2.5 F(te)2.5 E
(xt between the point and mark is referred to as the)-.15 E F2 -.37(re)
2.5 G(gion)-.03 E F0(.)A F1(Commands f)87 636 Q(or Mo)-.25 E(ving)-.1 E
(beginning\255of\255line \(C\255a\))108 648 Q F0(Mo)144 660 Q .3 -.15
(ve t)-.15 H 2.5(ot).15 G(he start of the current line.)-2.5 E F1
(end\255of\255line \(C\255e\))108 672 Q F0(Mo)144 684 Q .3 -.15(ve t)
-.15 H 2.5(ot).15 G(he end of the line.)-2.5 E F1 -.25(fo)108 696 S
(rward\255char \(C\255f\)).25 E F0(Mo)144 708 Q .3 -.15(ve f)-.15 H(orw)
.15 E(ard a character)-.1 E(.)-.55 E(GNU Readline 4.3)72 768 Q
(2002 January 22)126.24 E(5)195.95 E EP
%%Page: 6 6
%%BeginPageSetup
BP
%%EndPageSetup
/F0 10/Times-Roman@0 SF 342.2(READLINE\(3\) READLINE\(3\))72 48 R/F1 10
/Times-Bold@0 SF(backward\255char \(C\255b\))108 84 Q F0(Mo)144 96 Q .3
-.15(ve b)-.15 H(ack a character).15 E(.)-.55 E F1 -.25(fo)108 108 S
(rward\255w).25 E(ord \(M\255f\))-.1 E F0(Mo)144 120 Q .822 -.15(ve f)
-.15 H(orw).15 E .522(ard to the end of the ne)-.1 F .523(xt w)-.15 F
3.023(ord. W)-.1 F .523
(ords are composed of alphanumeric characters \(let-)-.8 F
(ters and digits\).)144 132 Q F1(backward\255w)108 144 Q(ord \(M\255b\))
-.1 E F0(Mo)144 156 Q 1.71 -.15(ve b)-.15 H 1.41
(ack to the start of the current or pre).15 F 1.41(vious w)-.25 F 3.91
(ord. W)-.1 F 1.41(ords are composed of alphanumeric)-.8 F
(characters \(letters and digits\).)144 168 Q F1(clear\255scr)108 180 Q
(een \(C\255l\))-.18 E F0 .993(Clear the screen lea)144 192 R .993
(ving the current line at the top of the screen.)-.2 F -.4(Wi)5.993 G
.993(th an ar).4 F .993(gument, refresh the)-.18 F
(current line without clearing the screen.)144 204 Q F1 -.18(re)108 216
S(draw\255curr).18 E(ent\255line)-.18 E F0(Refresh the current line.)144
228 Q F1(Commands f)87 244.8 Q(or Manipulating the History)-.25 E
(accept\255line \(Newline, Retur)108 256.8 Q(n\))-.15 E F0 .365
(Accept the line re)144 268.8 R -.05(ga)-.15 G .364
(rdless of where the cursor is.).05 F .364(If this line is non-empty)
5.364 F 2.864(,i)-.65 G 2.864(tm)-2.864 G .364(ay be added to the)-2.864
F .74(history list for future recall with)144 280.8 R F1
(add_history\(\))3.24 E F0 5.741(.I)C 3.241(ft)-5.741 G .741
(he line is a modi\214ed history line, the history)-3.241 F
(line is restored to its original state.)144 292.8 Q F1(pr)108 304.8 Q
-.15(ev)-.18 G(ious\255history \(C\255p\)).15 E F0(Fetch the pre)144
316.8 Q(vious command from the history list, mo)-.25 E
(ving back in the list.)-.15 E F1(next\255history \(C\255n\))108 328.8 Q
F0(Fetch the ne)144 340.8 Q(xt command from the history list, mo)-.15 E
(ving forw)-.15 E(ard in the list.)-.1 E F1
(beginning\255of\255history \(M\255<\))108 352.8 Q F0(Mo)144 364.8 Q .3
-.15(ve t)-.15 H 2.5(ot).15 G(he \214rst line in the history)-2.5 E(.)
-.65 E F1(end\255of\255history \(M\255>\))108 376.8 Q F0(Mo)144 388.8 Q
.3 -.15(ve t)-.15 H 2.5(ot).15 G(he end of the input history)-2.5 E 2.5
(,i)-.65 G(.e., the line currently being entered.)-2.5 E F1 -2.29 -.18
(re v)108 400.8 T(erse\255sear).08 E(ch\255history \(C\255r\))-.18 E F0
1.471(Search backw)144 412.8 R 1.471
(ard starting at the current line and mo)-.1 F 1.47
(ving `up' through the history as necessary)-.15 F(.)-.65 E
(This is an incremental search.)144 424.8 Q F1 -.25(fo)108 436.8 S
(rward\255sear).25 E(ch\255history \(C\255s\))-.18 E F0 1.131
(Search forw)144 448.8 R 1.131(ard starting at the current line and mo)
-.1 F 1.132(ving `do)-.15 F 1.132(wn' through the history as necessary)
-.25 F(.)-.65 E(This is an incremental search.)144 460.8 Q F1
(non\255incr)108 472.8 Q(emental\255r)-.18 E -2.3 -.15(ev e)-.18 H
(rse\255sear).15 E(ch\255history \(M\255p\))-.18 E F0 .165(Search backw)
144 484.8 R .164(ard through the history starting at the current line u\
sing a non-incremental search for)-.1 F 2.5(as)144 496.8 S
(tring supplied by the user)-2.5 E(.)-.55 E F1(non\255incr)108 508.8 Q
(emental\255f)-.18 E(orward\255sear)-.25 E(ch\255history \(M\255n\))-.18
E F0 1.353(Search forw)144 520.8 R 1.354(ard through the history using \
a non-incremental search for a string supplied by the)-.1 F(user)144
532.8 Q(.)-.55 E F1(history\255sear)108 544.8 Q(ch\255f)-.18 E(orward)
-.25 E F0 .249(Search forw)144 556.8 R .249(ard through the history for\
 the string of characters between the start of the current line)-.1 F
(and the current cursor position \(the)144 568.8 Q/F2 10/Times-Italic@0
SF(point)2.5 E F0 2.5(\). This)B(is a non-incremental search.)2.5 E F1
(history\255sear)108 580.8 Q(ch\255backward)-.18 E F0 .95(Search backw)
144 592.8 R .951(ard through the history for the string of characters b\
etween the start of the current)-.1 F(line and the point.)144 604.8 Q
(This is a non-incremental search.)5 E F1(yank\255nth\255ar)108 616.8 Q
2.5(g\()-.1 G<4dad43ad7929>-2.5 E F0 .622(Insert the \214rst ar)144
628.8 R .622(gument to the pre)-.18 F .622
(vious command \(usually the second w)-.25 F .622(ord on the pre)-.1 F
.622(vious line\))-.25 F .794(at point.)144 640.8 R -.4(Wi)5.794 G .794
(th an ar).4 F(gument)-.18 E F2(n)3.294 E F0 3.294(,i).24 G .794
(nsert the)-3.294 F F2(n)3.294 E F0 .794(th w)B .794(ord from the pre)
-.1 F .794(vious command \(the w)-.25 F .795(ords in the)-.1 F(pre)144
652.8 Q .292(vious command be)-.25 F .292(gin with w)-.15 F .291
(ord 0\).)-.1 F 2.791(An)5.291 G -2.25 -.15(eg a)-2.791 H(ti).15 E .591
-.15(ve a)-.25 H -.18(rg).15 G .291(ument inserts the).18 F F2(n)2.791 E
F0 .291(th w)B .291(ord from the end of)-.1 F(the pre)144 664.8 Q
(vious command.)-.25 E F1(yank\255last\255ar)108 676.8 Q 2.5(g\()-.1 G
-1.667(M\255. ,)-2.5 F -1.667(M\255_ \))2.5 F F0 1.307
(Insert the last ar)144 688.8 R 1.307(gument to the pre)-.18 F 1.307
(vious command \(the last w)-.25 F 1.308(ord of the pre)-.1 F 1.308
(vious history entry\).)-.25 F -.4(Wi)144 700.8 S .736(th an ar).4 F
.736(gument, beha)-.18 F 1.036 -.15(ve ex)-.2 H .736(actly lik).15 F(e)
-.1 E F1(yank\255nth\255ar)3.235 E(g)-.1 E F0 5.735(.S)C(uccessi)-5.735
E 1.035 -.15(ve c)-.25 H .735(alls to).15 F F1(yank\255last\255ar)3.235
E(g)-.1 E F0(mo)3.235 E -.15(ve)-.15 G
(back through the history list, inserting the last ar)144 712.8 Q
(gument of each line in turn.)-.18 E(GNU Readline 4.3)72 768 Q
(2002 January 22)126.24 E(6)195.95 E EP
%%Page: 7 7
%%BeginPageSetup
BP
%%EndPageSetup
/F0 10/Times-Roman@0 SF 342.2(READLINE\(3\) READLINE\(3\))72 48 R/F1 10
/Times-Bold@0 SF(Commands f)87 84 Q(or Changing T)-.25 E(ext)-.92 E
(delete\255char \(C\255d\))108 96 Q F0 .357
(Delete the character at point.)144 108 R .358(If point is at the be)
5.358 F .358(ginning of the line, there are no characters in the)-.15 F
(line, and the last character typed w)144 120 Q(as not bound to)-.1 E F1
(delete\255char)2.5 E F0 2.5(,t)C(hen return)-2.5 E/F2 9/Times-Bold@0 SF
(EOF)2.5 E/F3 9/Times-Roman@0 SF(.)A F1
(backward\255delete\255char \(Rubout\))108 132 Q F0 .553
(Delete the character behind the cursor)144 144 R 5.553(.W)-.55 G .553
(hen gi)-5.553 F -.15(ve)-.25 G 3.053(nan).15 G .553(umeric ar)-3.053 F
.552(gument, sa)-.18 F .852 -.15(ve t)-.2 H .552(he deleted te).15 F
.552(xt on)-.15 F(the kill ring.)144 156 Q F1 -.25(fo)108 168 S
(rward\255backward\255delete\255char).25 E F0 .473
(Delete the character under the cursor)144 180 R 2.973(,u)-.4 G .474
(nless the cursor is at the end of the line, in which case the)-2.973 F
(character behind the cursor is deleted.)144 192 Q F1
(quoted\255insert \(C\255q, C\255v\))108 204 Q F0 1.229(Add the ne)144
216 R 1.228(xt character that you type to the line v)-.15 F 3.728
(erbatim. This)-.15 F 1.228(is ho)3.728 F 3.728(wt)-.25 G 3.728(oi)
-3.728 G 1.228(nsert characters lik)-3.728 F(e)-.1 E F1(C\255q)144 228 Q
F0 2.5(,f)C(or e)-2.5 E(xample.)-.15 E F1(tab\255insert \(M-T)108 240 Q
(AB\))-.9 E F0(Insert a tab character)144 252 Q(.)-.55 E F1
(self\255insert \(a, b, A, 1, !, ...\))108 264 Q F0
(Insert the character typed.)144 276 Q F1(transpose\255chars \(C\255t\))
108 288 Q F0 .321(Drag the character before point forw)144 300 R .321
(ard o)-.1 F -.15(ve)-.15 G 2.821(rt).15 G .321
(he character at point, mo)-2.821 F .322(ving point forw)-.15 F .322
(ard as well.)-.1 F 1.182
(If point is at the end of the line, then this transposes the tw)144 312
R 3.682(oc)-.1 G 1.182(haracters before point.)-3.682 F(Ne)6.182 E -.05
(ga)-.15 G(ti).05 E -.15(ve)-.25 G(ar)144 324 Q(guments ha)-.18 E .3
-.15(ve n)-.2 H 2.5(oe).15 G -.25(ff)-2.5 G(ect.).25 E F1
(transpose\255w)108 336 Q(ords \(M\255t\))-.1 E F0 .023(Drag the w)144
348 R .023(ord before point past the w)-.1 F .023(ord after point, mo)
-.1 F .023(ving point o)-.15 F -.15(ve)-.15 G 2.524(rt).15 G .024(hat w)
-2.524 F .024(ord as well.)-.1 F .024(If point)5.024 F
(is at the end of the line, this transposes the last tw)144 360 Q 2.5
(ow)-.1 G(ords on the line.)-2.6 E F1(upcase\255w)108 372 Q
(ord \(M\255u\))-.1 E F0 1.699(Uppercase the current \(or follo)144 384
R 1.698(wing\) w)-.25 F 4.198(ord. W)-.1 F 1.698(ith a ne)-.4 F -.05(ga)
-.15 G(ti).05 E 1.998 -.15(ve a)-.25 H -.18(rg).15 G 1.698
(ument, uppercase the pre).18 F(vious)-.25 E -.1(wo)144 396 S(rd, b).1 E
(ut do not mo)-.2 E .3 -.15(ve p)-.15 H(oint.).15 E F1(do)108 408 Q
(wncase\255w)-.1 E(ord \(M\255l\))-.1 E F0(Lo)144 420 Q 1.647
(wercase the current \(or follo)-.25 F 1.647(wing\) w)-.25 F 4.147
(ord. W)-.1 F 1.648(ith a ne)-.4 F -.05(ga)-.15 G(ti).05 E 1.948 -.15
(ve a)-.25 H -.18(rg).15 G 1.648(ument, lo).18 F 1.648(wercase the pre)
-.25 F(vious)-.25 E -.1(wo)144 432 S(rd, b).1 E(ut do not mo)-.2 E .3
-.15(ve p)-.15 H(oint.).15 E F1(capitalize\255w)108 444 Q
(ord \(M\255c\))-.1 E F0 1.975(Capitalize the current \(or follo)144 456
R 1.974(wing\) w)-.25 F 4.474(ord. W)-.1 F 1.974(ith a ne)-.4 F -.05(ga)
-.15 G(ti).05 E 2.274 -.15(ve a)-.25 H -.18(rg).15 G 1.974
(ument, capitalize the pre).18 F(vious)-.25 E -.1(wo)144 468 S(rd, b).1
E(ut do not mo)-.2 E .3 -.15(ve p)-.15 H(oint.).15 E F1 -.1(ove)108 480
S(rwrite\255mode).1 E F0 -.8(To)144 492 S .437(ggle o).8 F -.15(ve)-.15
G .437(rwrite mode.).15 F -.4(Wi)5.437 G .437(th an e).4 F .437
(xplicit positi)-.15 F .738 -.15(ve n)-.25 H .438(umeric ar).15 F .438
(gument, switches to o)-.18 F -.15(ve)-.15 G .438(rwrite mode.).15 F -.4
(Wi)144 504 S .781(th an e).4 F .781(xplicit non-positi)-.15 F 1.081
-.15(ve n)-.25 H .781(umeric ar).15 F .781
(gument, switches to insert mode.)-.18 F .78(This command af)5.781 F
(fects)-.25 E(only)144 516 Q F1(emacs)4.394 E F0(mode;)4.394 E F1(vi)
4.394 E F0 1.894(mode does o)4.394 F -.15(ve)-.15 G 1.894(rwrite dif).15
F(ferently)-.25 E 6.894(.E)-.65 G 1.894(ach call to)-6.894 F/F4 10
/Times-Italic@0 SF -.37(re)4.395 G(adline\(\)).37 E F0 1.895
(starts in insert)4.395 F 3.969(mode. In)144 528 R -.15(ove)3.969 G
1.469(rwrite mode, characters bound to).15 F F1(self\255insert)3.969 E
F0 1.468(replace the te)3.969 F 1.468(xt at point rather than)-.15 F
.957(pushing the te)144 540 R .957(xt to the right.)-.15 F .958
(Characters bound to)5.957 F F1(backward\255delete\255char)3.458 E F0
.958(replace the character)3.458 F(before point with a space.)144 552 Q
(By def)5 E(ault, this command is unbound.)-.1 E F1(Killing and Y)87
568.8 Q(anking)-.85 E(kill\255line \(C\255k\))108 580.8 Q F0
(Kill the te)144 592.8 Q(xt from point to the end of the line.)-.15 E F1
(backward\255kill\255line \(C\255x Rubout\))108 604.8 Q F0(Kill backw)
144 616.8 Q(ard to the be)-.1 E(ginning of the line.)-.15 E F1
(unix\255line\255discard \(C\255u\))108 628.8 Q F0(Kill backw)144 640.8
Q(ard from point to the be)-.1 E(ginning of the line.)-.15 E
(The killed te)5 E(xt is sa)-.15 E -.15(ve)-.2 G 2.5(do).15 G 2.5(nt)
-2.5 G(he kill-ring.)-2.5 E F1(kill\255whole\255line)108 652.8 Q F0
(Kill all characters on the current line, no matter where point is.)144
664.8 Q F1(kill\255w)108 676.8 Q(ord \(M\255d\))-.1 E F0 1.308
(Kill from point the end of the current w)144 688.8 R 1.308
(ord, or if between w)-.1 F 1.308(ords, to the end of the ne)-.1 F 1.307
(xt w)-.15 F(ord.)-.1 E -.8(Wo)144 700.8 S
(rd boundaries are the same as those used by).8 E F1 -.25(fo)2.5 G
(rward\255w).25 E(ord)-.1 E F0(.)A(GNU Readline 4.3)72 768 Q
(2002 January 22)126.24 E(7)195.95 E EP
%%Page: 8 8
%%BeginPageSetup
BP
%%EndPageSetup
/F0 10/Times-Roman@0 SF 342.2(READLINE\(3\) READLINE\(3\))72 48 R/F1 10
/Times-Bold@0 SF(backward\255kill\255w)108 84 Q(ord \(M\255Rubout\))-.1
E F0(Kill the w)144 96 Q(ord behind point.)-.1 E -.8(Wo)5 G
(rd boundaries are the same as those used by).8 E F1(backward\255w)2.5 E
(ord)-.1 E F0(.)A F1(unix\255w)108 108 Q(ord\255rubout \(C\255w\))-.1 E
F0 .364(Kill the w)144 120 R .364
(ord behind point, using white space as a w)-.1 F .365(ord boundary)-.1
F 5.365(.T)-.65 G .365(he killed te)-5.365 F .365(xt is sa)-.15 F -.15
(ve)-.2 G 2.865(do).15 G 2.865(nt)-2.865 G(he)-2.865 E(kill-ring.)144
132 Q F1(delete\255horizontal\255space \(M\255\\\))108 144 Q F0
(Delete all spaces and tabs around point.)144 156 Q F1(kill\255r)108 168
Q(egion)-.18 E F0 1.13(Kill the te)144 180 R 1.13
(xt between the point and)-.15 F/F2 10/Times-Italic@0 SF(mark)3.63 E F0
(\(sa)3.63 E -.15(ve)-.2 G 3.63(dc).15 G 1.13(ursor position\).)-3.63 F
1.13(This te)6.13 F 1.13(xt is referred to as the)-.15 F F2 -.37(re)144
192 S(gion)-.03 E F0(.)A F1(copy\255r)108 204 Q(egion\255as\255kill)-.18
E F0(Cop)144 216 Q 2.5(yt)-.1 G(he te)-2.5 E(xt in the re)-.15 E
(gion to the kill b)-.15 E(uf)-.2 E(fer)-.25 E(.)-.55 E F1
(copy\255backward\255w)108 228 Q(ord)-.1 E F0(Cop)144 240 Q 4.8(yt)-.1 G
2.3(he w)-4.8 F 2.3(ord before point to the kill b)-.1 F(uf)-.2 E(fer)
-.25 E 7.301(.T)-.55 G 2.301(he w)-7.301 F 2.301
(ord boundaries are the same as)-.1 F F1(back-)4.801 E(ward\255w)144 252
Q(ord)-.1 E F0(.)A F1(copy\255f)108 264 Q(orward\255w)-.25 E(ord)-.1 E
F0(Cop)144 276 Q 4.508(yt)-.1 G 2.008(he w)-4.508 F 2.008(ord follo)-.1
F 2.008(wing point to the kill b)-.25 F(uf)-.2 E(fer)-.25 E 7.007(.T)
-.55 G 2.007(he w)-7.007 F 2.007(ord boundaries are the same as)-.1 F F1
-.25(fo)4.507 G -.37(r-).25 G(ward\255w)144 288 Q(ord)-.1 E F0(.)A F1
(yank \(C\255y\))108 300 Q F0 -1(Ya)144 312 S
(nk the top of the kill ring into the b)1 E(uf)-.2 E(fer at point.)-.25
E F1(yank\255pop \(M\255y\))108 324 Q F0
(Rotate the kill ring, and yank the ne)144 336 Q 2.5(wt)-.25 G 2.5
(op. Only)-2.5 F -.1(wo)2.5 G(rks follo).1 E(wing)-.25 E F1(yank)2.5 E
F0(or)2.5 E F1(yank\255pop)2.5 E F0(.)A F1(Numeric Ar)87 352.8 Q
(guments)-.1 E(digit\255ar)108 364.8 Q
(gument \(M\2550, M\2551, ..., M\255\255\))-.1 E F0 .641
(Add this digit to the ar)144 376.8 R .641
(gument already accumulating, or start a ne)-.18 F 3.141(wa)-.25 G -.18
(rg)-3.141 G 3.142(ument. M\255\255).18 F .642(starts a ne)3.142 F(g-)
-.15 E(ati)144 388.8 Q .3 -.15(ve a)-.25 H -.18(rg).15 G(ument.).18 E F1
(uni)108 400.8 Q -.1(ve)-.1 G(rsal\255ar).1 E(gument)-.1 E F0 .779
(This is another w)144 412.8 R .779(ay to specify an ar)-.1 F 3.279
(gument. If)-.18 F .779(this command is follo)3.279 F .778
(wed by one or more digits,)-.25 F 1.376
(optionally with a leading minus sign, those digits de\214ne the ar)144
424.8 R 3.876(gument. If)-.18 F 1.376(the command is fol-)3.876 F(lo)144
436.8 Q 1.17(wed by digits, e)-.25 F -.15(xe)-.15 G(cuting).15 E F1(uni)
3.67 E -.1(ve)-.1 G(rsal\255ar).1 E(gument)-.1 E F0(ag)3.67 E 1.17
(ain ends the numeric ar)-.05 F 1.17(gument, b)-.18 F 1.17(ut is other)
-.2 F(-)-.2 E .898(wise ignored.)144 448.8 R .898
(As a special case, if this command is immediately follo)5.898 F .898
(wed by a character that is)-.25 F .243
(neither a digit or minus sign, the ar)144 460.8 R .243
(gument count for the ne)-.18 F .243(xt command is multiplied by four)
-.15 F 5.242(.T)-.55 G(he)-5.242 E(ar)144 472.8 Q .378
(gument count is initially one, so e)-.18 F -.15(xe)-.15 G .378
(cuting this function the \214rst time mak).15 F .378(es the ar)-.1 F
.378(gument count)-.18 F(four)144 484.8 Q 2.5(,as)-.4 G(econd time mak)
-2.5 E(es the ar)-.1 E(gument count sixteen, and so on.)-.18 E F1
(Completing)87 501.6 Q(complete \(T)108 513.6 Q(AB\))-.9 E F0 1.909
(Attempt to perform completion on the te)144 525.6 R 1.908
(xt before point.)-.15 F 1.908(The actual completion performed is)6.908
F(application-speci\214c.)144 537.6 Q F1(Bash)5.517 E F0 3.017(,f)C .518
(or instance, attempts completion treating the te)-3.017 F .518
(xt as a v)-.15 F .518(ariable \(if the)-.25 F(te)144 549.6 Q .657
(xt be)-.15 F .657(gins with)-.15 F F1($)3.156 E F0 .656
(\), username \(if the te)B .656(xt be)-.15 F .656(gins with)-.15 F F1
(~)3.156 E F0 .656(\), hostname \(if the te)B .656(xt be)-.15 F .656
(gins with)-.15 F F1(@)3.156 E F0 .656(\), or)B .929
(command \(including aliases and functions\) in turn.)144 561.6 R .93
(If none of these produces a match, \214lename)5.929 F 1.274
(completion is attempted.)144 573.6 R F1(Gdb)6.273 E F0 3.773(,o)C 3.773
(nt)-3.773 G 1.273(he other hand, allo)-3.773 F 1.273
(ws completion of program functions and)-.25 F -.25(va)144 585.6 S(riab\
les, and only attempts \214lename completion under certain circumstance\
s.).25 E F1(possible\255completions \(M\255?\))108 597.6 Q F0
(List the possible completions of the te)144 609.6 Q(xt before point.)
-.15 E F1(insert\255completions \(M\255*\))108 621.6 Q F0 .783
(Insert all completions of the te)144 633.6 R .783
(xt before point that w)-.15 F .783(ould ha)-.1 F 1.083 -.15(ve b)-.2 H
.783(een generated by).15 F F1(possible\255com-)3.283 E(pletions)144
645.6 Q F0(.)A F1(menu\255complete)108 657.6 Q F0 .929(Similar to)144
669.6 R F1(complete)3.429 E F0 3.429(,b)C .929(ut replaces the w)-3.629
F .929(ord to be completed with a single match from the list of)-.1 F
1.193(possible completions.)144 681.6 R 1.193(Repeated e)6.193 F -.15
(xe)-.15 G 1.193(cution of).15 F F1(menu\255complete)3.694 E F0 1.194
(steps through the list of possible)3.694 F .829
(completions, inserting each match in turn.)144 693.6 R .828
(At the end of the list of completions, the bell is rung)5.828 F .965
(\(subject to the setting of)144 705.6 R F1 .965
(0and the original text is r)3.465 F(estor)-.18 E 3.465(ed. An)-.18 F
(ar)3.465 E .966(gument of)-.1 F F2(n)3.466 E F1(mo)3.466 E -.1(ve)-.1 G
(s).1 E F2(n)3.466 E F1(posi-)3.466 E 1.249(tions f)144 717.6 R 1.249
(orward in the list of matches; a negati)-.25 F 1.449 -.1(ve a)-.1 H -.1
(rg).1 G 1.248(ument may be used to mo).1 F 1.448 -.1(ve b)-.1 H
(ackward).1 E(thr)144 729.6 Q(ough the list.)-.18 E
(This command is intended to be bound to T)5 E(AB, b)-.9 E
(ut is unbound by default.)-.2 E F0(GNU Readline 4.3)72 768 Q
(2002 January 22)126.24 E(8)195.95 E EP
%%Page: 9 9
%%BeginPageSetup
BP
%%EndPageSetup
/F0 10/Times-Roman@0 SF 342.2(READLINE\(3\) READLINE\(3\))72 48 R/F1 10
/Times-Bold@0 SF(delete\255char\255or\255list)108 84 Q F0 .373
(Deletes the character under the cursor if not at the be)144 96 R .374
(ginning or end of the line \(lik)-.15 F(e)-.1 E F1(delete-char)2.874 E
F0(\).)A(If at the end of the line, beha)144 108 Q -.15(ve)-.2 G 2.5(si)
.15 G(dentically to)-2.5 E F1(possible-completions)2.5 E F0(.)A F1 -.25
(Ke)87 124.8 S(yboard Macr).25 E(os)-.18 E(start\255kbd\255macr)108
136.8 Q 2.5(o\()-.18 G(C\255x \()-2.5 E(\)).833 E F0(Be)144 148.8 Q
(gin sa)-.15 E(ving the characters typed into the current k)-.2 E -.15
(ey)-.1 G(board macro.).15 E F1(end\255kbd\255macr)108 160.8 Q 2.5(o\()
-.18 G(C\255x \))-2.5 E(\)).833 E F0(Stop sa)144 172.8 Q
(ving the characters typed into the current k)-.2 E -.15(ey)-.1 G
(board macro and store the de\214nition.).15 E F1
(call\255last\255kbd\255macr)108 184.8 Q 2.5(o\()-.18 G(C\255x e\))-2.5
E F0(Re-e)144 196.8 Q -.15(xe)-.15 G 1(cute the last k).15 F -.15(ey)-.1
G .999(board macro de\214ned, by making the characters in the macro app\
ear as if).15 F(typed at the k)144 208.8 Q -.15(ey)-.1 G(board.).15 E F1
(Miscellaneous)87 225.6 Q -.18(re)108 237.6 S<ad72>.18 E
(ead\255init\255\214le \(C\255x C\255r\))-.18 E F0 1.776
(Read in the contents of the)144 249.6 R/F2 10/Times-Italic@0 SF(inputr)
4.276 E(c)-.37 E F0 1.777(\214le, and incorporate an)4.276 F 4.277(yb)
-.15 G 1.777(indings or v)-4.277 F 1.777(ariable assignments)-.25 F
(found there.)144 261.6 Q F1(abort \(C\255g\))108 273.6 Q F0 3.249
(Abort the current editing command and ring the terminal')144 285.6 R
5.748(sb)-.55 G 3.248(ell \(subject to the setting of)-5.748 F F1
(bell\255style)144 297.6 Q F0(\).)A F1(do\255upper)108 309.6 Q
(case\255v)-.18 E(ersion \(M\255a, M\255b, M\255)-.1 E F2(x)A F1 2.5(,.)
C(..\))-2.5 E F0 1.755(If the meta\214ed character)144 321.6 R F2(x)
4.255 E F0 1.755(is lo)4.255 F 1.756
(wercase, run the command that is bound to the corresponding)-.25 F
(uppercase character)144 333.6 Q(.)-.55 E F1(pr)108 345.6 Q
(e\214x\255meta \(ESC\))-.18 E F0(Metafy the ne)144 357.6 Q
(xt character typed.)-.15 E/F3 9/Times-Bold@0 SF(ESC)5 E F1(f)2.25 E F0
(is equi)2.5 E -.25(va)-.25 G(lent to).25 E F1(Meta\255f)2.5 E F0(.)A F1
(undo \(C\255_, C\255x C\255u\))108 369.6 Q F0
(Incremental undo, separately remembered for each line.)144 381.6 Q F1
-2.29 -.18(re v)108 393.6 T(ert\255line \(M\255r\)).08 E F0 1.095
(Undo all changes made to this line.)144 405.6 R 1.095(This is lik)6.095
F 3.595(ee)-.1 G -.15(xe)-3.745 G 1.095(cuting the).15 F F1(undo)3.595 E
F0 1.095(command enough times to)3.595 F
(return the line to its initial state.)144 417.6 Q F1
(tilde\255expand \(M\255&\))108 429.6 Q F0(Perform tilde e)144 441.6 Q
(xpansion on the current w)-.15 E(ord.)-.1 E F1
(set\255mark \(C\255@, M\255<space>\))108 453.6 Q F0
(Set the mark to the point.)144 465.6 Q(If a numeric ar)5 E
(gument is supplied, the mark is set to that position.)-.18 E F1
(exchange\255point\255and\255mark \(C\255x C\255x\))108 477.6 Q F0(Sw)
144 489.6 Q .282(ap the point with the mark.)-.1 F .283
(The current cursor position is set to the sa)5.283 F -.15(ve)-.2 G
2.783(dp).15 G .283(osition, and the old)-2.783 F(cursor position is sa)
144 501.6 Q -.15(ve)-.2 G 2.5(da).15 G 2.5(st)-2.5 G(he mark.)-2.5 E F1
(character\255sear)108 513.6 Q(ch \(C\255]\))-.18 E F0 3.036(Ac)144
525.6 S .536(haracter is read and point is mo)-3.036 F -.15(ve)-.15 G
3.035(dt).15 G 3.035(ot)-3.035 G .535(he ne)-3.035 F .535
(xt occurrence of that character)-.15 F 5.535(.A)-.55 G(ne)-2.5 E -.05
(ga)-.15 G(ti).05 E .835 -.15(ve c)-.25 H(ount).15 E(searches for pre)
144 537.6 Q(vious occurrences.)-.25 E F1(character\255sear)108 549.6 Q
(ch\255backward \(M\255C\255]\))-.18 E F0 3.543(Ac)144 561.6 S 1.043
(haracter is read and point is mo)-3.543 F -.15(ve)-.15 G 3.544(dt).15 G
3.544(ot)-3.544 G 1.044(he pre)-3.544 F 1.044
(vious occurrence of that character)-.25 F 6.044(.A)-.55 G(ne)-2.5 E
-.05(ga)-.15 G(ti).05 E -.15(ve)-.25 G
(count searches for subsequent occurrences.)144 573.6 Q F1
(insert\255comment \(M\255#\))108 585.6 Q F0 -.4(Wi)144 597.6 S .481
(thout a numeric ar).4 F .481(gument, the v)-.18 F .481
(alue of the readline)-.25 F F1(comment\255begin)2.981 E F0 -.25(va)
2.981 G .48(riable is inserted at the).25 F(be)144 609.6 Q .097
(ginning of the current line.)-.15 F .098(If a numeric ar)5.097 F .098
(gument is supplied, this command acts as a toggle:)-.18 F(if)5.098 E
.322(the characters at the be)144 621.6 R .321
(ginning of the line do not match the v)-.15 F .321(alue of)-.25 F F1
(comment\255begin)2.821 E F0 2.821(,t)C .321(he v)-2.821 F .321(alue is)
-.25 F 1.013(inserted, otherwise the characters in)144 633.6 R F1
(comment-begin)3.514 E F0 1.014(are deleted from the be)3.514 F 1.014
(ginning of the line.)-.15 F 1.469
(In either case, the line is accepted as if a ne)144 645.6 R 1.468
(wline had been typed.)-.25 F 1.468(The def)6.468 F 1.468(ault v)-.1 F
1.468(alue of)-.25 F F1(com-)3.968 E(ment\255begin)144 657.6 Q F0(mak)
2.982 E .483(es the current line a shell comment.)-.1 F .483
(If a numeric ar)5.483 F .483(gument causes the comment)-.18 F
(character to be remo)144 669.6 Q -.15(ve)-.15 G(d, the line will be e)
.15 E -.15(xe)-.15 G(cuted by the shell.).15 E F1(dump\255functions)108
681.6 Q F0 .627(Print all of the functions and their k)144 693.6 R .927
-.15(ey b)-.1 H .626(indings to the readline output stream.).15 F .626
(If a numeric ar)5.626 F(gu-)-.18 E
(ment is supplied, the output is formatted in such a w)144 705.6 Q
(ay that it can be made part of an)-.1 E F2(inputr)2.5 E(c)-.37 E F0
(\214le.)2.5 E(GNU Readline 4.3)72 768 Q(2002 January 22)126.24 E(9)
195.95 E EP
%%Page: 10 10
%%BeginPageSetup
BP
%%EndPageSetup
/F0 10/Times-Roman@0 SF 342.2(READLINE\(3\) READLINE\(3\))72 48 R/F1 10
/Times-Bold@0 SF(dump\255v)108 84 Q(ariables)-.1 E F0 .283
(Print all of the settable v)144 96 R .283(ariables and their v)-.25 F
.283(alues to the readline output stream.)-.25 F .283(If a numeric ar)
5.283 F(gu-)-.18 E
(ment is supplied, the output is formatted in such a w)144 108 Q
(ay that it can be made part of an)-.1 E/F2 10/Times-Italic@0 SF(inputr)
2.5 E(c)-.37 E F0(\214le.)2.5 E F1(dump\255macr)108 120 Q(os)-.18 E F0
.756(Print all of the readline k)144 132 R 1.056 -.15(ey s)-.1 H .756
(equences bound to macros and the strings the).15 F 3.256(yo)-.15 G
3.256(uput. If)-3.256 F 3.255(an)3.255 G(umeric)-3.255 E(ar)144 144 Q
.528(gument is supplied, the output is formatted in such a w)-.18 F .528
(ay that it can be made part of an)-.1 F F2(inputr)3.028 E(c)-.37 E F0
(\214le.)144 156 Q F1(emacs\255editing\255mode \(C\255e\))108 168 Q F0
(When in)144 180 Q F1(vi)2.5 E F0(command mode, this causes a switch to)
2.5 E F1(emacs)2.5 E F0(editing mode.)2.5 E F1
(vi\255editing\255mode \(M\255C\255j\))108 192 Q F0(When in)144 204 Q F1
(emacs)2.5 E F0(editing mode, this causes a switch to)2.5 E F1(vi)2.5 E
F0(editing mode.)2.5 E/F3 10.95/Times-Bold@0 SF(DEF)72 220.8 Q -.548(AU)
-.986 G 2.014 -1.007(LT K).548 H(EY BINDINGS)1.007 E F0 .065(The follo)
108 232.8 R .065(wing is a list of the def)-.25 F .065
(ault emacs and vi bindings.)-.1 F .064
(Characters with the eighth bit set are written as)5.064 F .615
(M\255<character>, and are referred to as)108 244.8 R F2(meta\214ed)
3.115 E F0 3.115(characters. The)3.115 F .616
(printable ASCII characters not mentioned)3.116 F 1.116
(in the list of emacs standard bindings are bound to the)108 256.8 R F1
(self\255insert)3.615 E F0 1.115(function, which just inserts the gi)
3.615 F -.15(ve)-.25 G(n).15 E .945(character into the input line.)108
268.8 R .945(In vi insertion mode, all characters not speci\214cally me\
ntioned are bound to)5.945 F F1(self\255insert)108 280.8 Q F0 5.359(.C)C
.359(haracters assigned to signal generation by)-5.359 F F2(stty)2.859 E
F0 .359(\(1\) or the terminal dri).32 F -.15(ve)-.25 G 1.159 -.4(r, s)
.15 H .358(uch as C-Z or C-C,).4 F .187(retain that function.)108 292.8
R .187(Upper and lo)5.187 F .188(wer case meta\214ed characters are bou\
nd to the same function in the emacs)-.25 F .305(mode meta k)108 304.8 R
-.15(ey)-.1 G 2.805(map. The).15 F .305(remaining characters are unboun\
d, which causes readline to ring the bell \(subject)2.805 F
(to the setting of the)108 316.8 Q F1(bell\255style)2.5 E F0 -.25(va)2.5
G(riable\).).25 E F1(Emacs Mode)87 333.6 Q F0(Emacs Standard bindings)
151.2 345.6 Q 2.5("C-@" set-mark)151.2 369.6 R 2.5("C-A" be)151.2 381.6
R(ginning-of-line)-.15 E 2.5("C-B" backw)151.2 393.6 R(ard-char)-.1 E
2.5("C-D" delete-char)151.2 405.6 R 2.5("C-E" end-of-line)151.2 417.6 R
2.5("C-F" forw)151.2 429.6 R(ard-char)-.1 E 2.5("C-G" abort)151.2 441.6
R 2.5("C-H" backw)151.2 453.6 R(ard-delete-char)-.1 E 2.5
("C-I" complete)151.2 465.6 R 2.5("C-J" accept-line)151.2 477.6 R 2.5
("C-K" kill-line)151.2 489.6 R 2.5("C-L" clear)151.2 501.6 R(-screen)-.2
E 2.5("C-M" accept-line)151.2 513.6 R 2.5("C-N" ne)151.2 525.6 R
(xt-history)-.15 E 2.5("C-P" pre)151.2 537.6 R(vious-history)-.25 E 2.5
("C-Q" quoted-insert)151.2 549.6 R 2.5("C-R" re)151.2 561.6 R -.15(ve)
-.25 G(rse-search-history).15 E 2.5("C-S" forw)151.2 573.6 R
(ard-search-history)-.1 E 2.5("C-T" transpose-chars)151.2 585.6 R 2.5
("C-U" unix-line-discard)151.2 597.6 R 2.5("C-V" quoted-insert)151.2
609.6 R 2.5("C-W" unix-w)151.2 621.6 R(ord-rubout)-.1 E 2.5("C-Y" yank)
151.2 633.6 R 2.5("C-]" character)151.2 645.6 R(-search)-.2 E 2.5
("C-_" undo)151.2 657.6 R 3.333("")151.2 669.6 S(to "/")-.833 E
(self-insert)5 E 2.5("0" to)151.2 681.6 R 2.5("9" self-insert)2.5 F 2.5
(":" to)151.2 693.6 R 2.5("~" self-insert)2.5 F 2.5("C-?" backw)151.2
705.6 R(ard-delete-char)-.1 E(Emacs Meta bindings)151.2 722.4 Q
(GNU Readline 4.3)72 768 Q(2002 January 22)126.24 E(10)190.95 E EP
%%Page: 11 11
%%BeginPageSetup
BP
%%EndPageSetup
/F0 10/Times-Roman@0 SF 342.2(READLINE\(3\) READLINE\(3\))72 48 R 2.5
("M-C-G" abort)151.2 84 R 2.5("M-C-H" backw)151.2 96 R(ard-kill-w)-.1 E
(ord)-.1 E 2.5("M-C-I" tab-insert)151.2 108 R 2.5
("M-C-J" vi-editing-mode)151.2 120 R 2.5("M-C-M" vi-editing-mode)151.2
132 R 2.5("M-C-R" re)151.2 144 R -.15(ve)-.25 G(rt-line).15 E 2.5
("M-C-Y" yank-nth-ar)151.2 156 R(g)-.18 E 2.5("M-C-[" complete)151.2 168
R 2.5("M-C-]" character)151.2 180 R(-search-backw)-.2 E(ard)-.1 E 2.5
("M-space" set-mark)151.2 192 R 2.5("M-#" insert-comment)151.2 204 R 2.5
("M-&" tilde-e)151.2 216 R(xpand)-.15 E 2.5("M-*" insert-completions)
151.2 228 R 2.5("M--" digit-ar)151.2 240 R(gument)-.18 E 2.5
("M-." yank-last-ar)151.2 252 R(g)-.18 E 2.5("M-0" digit-ar)151.2 264 R
(gument)-.18 E 2.5("M-1" digit-ar)151.2 276 R(gument)-.18 E 2.5
("M-2" digit-ar)151.2 288 R(gument)-.18 E 2.5("M-3" digit-ar)151.2 300 R
(gument)-.18 E 2.5("M-4" digit-ar)151.2 312 R(gument)-.18 E 2.5
("M-5" digit-ar)151.2 324 R(gument)-.18 E 2.5("M-6" digit-ar)151.2 336 R
(gument)-.18 E 2.5("M-7" digit-ar)151.2 348 R(gument)-.18 E 2.5
("M-8" digit-ar)151.2 360 R(gument)-.18 E 2.5("M-9" digit-ar)151.2 372 R
(gument)-.18 E 2.5("M-<" be)151.2 384 R(ginning-of-history)-.15 E 2.5
("M-=" possible-completions)151.2 396 R 2.5("M->" end-of-history)151.2
408 R 2.5("M-?" possible-completions)151.2 420 R 2.5("M-B" backw)151.2
432 R(ard-w)-.1 E(ord)-.1 E 2.5("M-C" capitalize-w)151.2 444 R(ord)-.1 E
2.5("M-D" kill-w)151.2 456 R(ord)-.1 E 2.5("M-F" forw)151.2 468 R(ard-w)
-.1 E(ord)-.1 E 2.5("M-L" do)151.2 480 R(wncase-w)-.25 E(ord)-.1 E 2.5
("M-N" non-incremental-forw)151.2 492 R(ard-search-history)-.1 E 2.5
("M-P" non-incremental-re)151.2 504 R -.15(ve)-.25 G(rse-search-history)
.15 E 2.5("M-R" re)151.2 516 R -.15(ve)-.25 G(rt-line).15 E 2.5
("M-T" transpose-w)151.2 528 R(ords)-.1 E 2.5("M-U" upcase-w)151.2 540 R
(ord)-.1 E 2.5("M-Y" yank-pop)151.2 552 R 2.5
("M-\\" delete-horizontal-space)151.2 564 R 2.5("M-~" tilde-e)151.2 576
R(xpand)-.15 E 2.5("M-C-?" backw)151.2 588 R(ard-kill-w)-.1 E(ord)-.1 E
2.5("M-_" yank-last-ar)151.2 600 R(g)-.18 E(Emacs Control-X bindings)
151.2 616.8 Q 2.5("C-XC-G" abort)151.2 640.8 R 2.5
("C-XC-R" re-read-init-\214le)151.2 652.8 R 2.5("C-XC-U" undo)151.2
664.8 R 2.5("C-XC-X" e)151.2 676.8 R(xchange-point-and-mark)-.15 E 2.5
("C-X\(" start-kbd-macro)151.2 688.8 R 2.5("C-X\)" end-kbd-macro)151.2
700.8 R 2.5("C-XE" call-last-kbd-macro)151.2 712.8 R 2.5("C-XC-?" backw)
151.2 724.8 R(ard-kill-line)-.1 E(GNU Readline 4.3)72 768 Q
(2002 January 22)126.24 E(11)190.95 E EP
%%Page: 12 12
%%BeginPageSetup
BP
%%EndPageSetup
/F0 10/Times-Roman@0 SF 342.2(READLINE\(3\) READLINE\(3\))72 48 R/F1 10
/Times-Bold@0 SF(VI Mode bindings)87 84 Q F0(VI Insert Mode functions)
151.2 96 Q 2.5("C-D" vi-eof-maybe)151.2 120 R 2.5("C-H" backw)151.2 132
R(ard-delete-char)-.1 E 2.5("C-I" complete)151.2 144 R 2.5
("C-J" accept-line)151.2 156 R 2.5("C-M" accept-line)151.2 168 R 2.5
("C-R" re)151.2 180 R -.15(ve)-.25 G(rse-search-history).15 E 2.5
("C-S" forw)151.2 192 R(ard-search-history)-.1 E 2.5
("C-T" transpose-chars)151.2 204 R 2.5("C-U" unix-line-discard)151.2 216
R 2.5("C-V" quoted-insert)151.2 228 R 2.5("C-W" unix-w)151.2 240 R
(ord-rubout)-.1 E 2.5("C-Y" yank)151.2 252 R 2.5("C-[" vi-mo)151.2 264 R
-.15(ve)-.15 G(ment-mode).15 E 2.5("C-_" undo)151.2 276 R 3.333("")151.2
288 S(to "~")-.833 E(self-insert)5 E 2.5("C-?" backw)151.2 300 R
(ard-delete-char)-.1 E(VI Command Mode functions)151.2 316.8 Q 2.5
("C-D" vi-eof-maybe)151.2 340.8 R 2.5("C-E" emacs-editing-mode)151.2
352.8 R 2.5("C-G" abort)151.2 364.8 R 2.5("C-H" backw)151.2 376.8 R
(ard-char)-.1 E 2.5("C-J" accept-line)151.2 388.8 R 2.5("C-K" kill-line)
151.2 400.8 R 2.5("C-L" clear)151.2 412.8 R(-screen)-.2 E 2.5
("C-M" accept-line)151.2 424.8 R 2.5("C-N" ne)151.2 436.8 R(xt-history)
-.15 E 2.5("C-P" pre)151.2 448.8 R(vious-history)-.25 E 2.5
("C-Q" quoted-insert)151.2 460.8 R 2.5("C-R" re)151.2 472.8 R -.15(ve)
-.25 G(rse-search-history).15 E 2.5("C-S" forw)151.2 484.8 R
(ard-search-history)-.1 E 2.5("C-T" transpose-chars)151.2 496.8 R 2.5
("C-U" unix-line-discard)151.2 508.8 R 2.5("C-V" quoted-insert)151.2
520.8 R 2.5("C-W" unix-w)151.2 532.8 R(ord-rubout)-.1 E 2.5("C-Y" yank)
151.2 544.8 R 2.5("C-_" vi-undo)151.2 556.8 R -4.166 3.333("" f)151.2
568.8 T(orw)-3.333 E(ard-char)-.1 E 2.5("#" insert-comment)151.2 580.8 R
2.5("$" end-of-line)151.2 592.8 R 2.5("%" vi-match)151.2 604.8 R 2.5
("&" vi-tilde-e)151.2 616.8 R(xpand)-.15 E 2.5("*" vi-complete)151.2
628.8 R 2.5("+" ne)151.2 640.8 R(xt-history)-.15 E 2.5("," vi-char)151.2
652.8 R(-search)-.2 E 2.5("-" pre)151.2 664.8 R(vious-history)-.25 E 2.5
("." vi-redo)151.2 676.8 R 2.5("/" vi-search)151.2 688.8 R 2.5("0" be)
151.2 700.8 R(ginning-of-line)-.15 E("1" to "9")151.2 712.8 Q(vi-ar)5 E
(g-digit)-.18 E 2.5(";" vi-char)151.2 724.8 R(-search)-.2 E
(GNU Readline 4.3)72 768 Q(2002 January 22)126.24 E(12)190.95 E EP
%%Page: 13 13
%%BeginPageSetup
BP
%%EndPageSetup
/F0 10/Times-Roman@0 SF 342.2(READLINE\(3\) READLINE\(3\))72 48 R 2.5
("=" vi-complete)151.2 84 R 2.5("?" vi-search)151.2 96 R 2.5
("A" vi-append-eol)151.2 108 R 2.5("B" vi-pre)151.2 120 R(v-w)-.25 E
(ord)-.1 E 2.5("C" vi-change-to)151.2 132 R 2.5("D" vi-delete-to)151.2
144 R 2.5("E" vi-end-w)151.2 156 R(ord)-.1 E 2.5("F" vi-char)151.2 168 R
(-search)-.2 E 2.5("G" vi-fetch-history)151.2 180 R 2.5
("I" vi-insert-be)151.2 192 R(g)-.15 E 2.5("N" vi-search-ag)151.2 204 R
(ain)-.05 E 2.5("P" vi-put)151.2 216 R 2.5("R" vi-replace)151.2 228 R
2.5("S" vi-subst)151.2 240 R 2.5("T" vi-char)151.2 252 R(-search)-.2 E
2.5("U" re)151.2 264 R -.15(ve)-.25 G(rt-line).15 E 2.5("W" vi-ne)151.2
276 R(xt-w)-.15 E(ord)-.1 E 2.5("X" backw)151.2 288 R(ard-delete-char)
-.1 E 2.5("Y" vi-yank-to)151.2 300 R 2.5("\\" vi-complete)151.2 312 R
2.5("^" vi-\214rst-print)151.2 324 R 2.5("_" vi-yank-ar)151.2 336 R(g)
-.18 E 2.5("`" vi-goto-mark)151.2 348 R 2.5("a" vi-append-mode)151.2 360
R 2.5("b" vi-pre)151.2 372 R(v-w)-.25 E(ord)-.1 E 2.5("c" vi-change-to)
151.2 384 R 2.5("d" vi-delete-to)151.2 396 R 2.5("e" vi-end-w)151.2 408
R(ord)-.1 E 2.5("f" vi-char)151.2 420 R(-search)-.2 E 2.5("h" backw)
151.2 432 R(ard-char)-.1 E 2.5("i" vi-insertion-mode)151.2 444 R 2.5
("j" ne)151.2 456 R(xt-history)-.15 E 2.5("k" pre)151.2 468 R(v-history)
-.25 E 2.5("l" forw)151.2 480 R(ard-char)-.1 E 2.5("m" vi-set-mark)151.2
492 R 2.5("n" vi-search-ag)151.2 504 R(ain)-.05 E 2.5("p" vi-put)151.2
516 R 2.5("r" vi-change-char)151.2 528 R 2.5("s" vi-subst)151.2 540 R
2.5("t" vi-char)151.2 552 R(-search)-.2 E 2.5("u" vi-undo)151.2 564 R
2.5("w" vi-ne)151.2 576 R(xt-w)-.15 E(ord)-.1 E 2.5("x" vi-delete)151.2
588 R 2.5("y" vi-yank-to)151.2 600 R 2.5("|" vi-column)151.2 612 R 2.5
("~" vi-change-case)151.2 624 R/F1 10.95/Times-Bold@0 SF(SEE ALSO)72
640.8 Q/F2 10/Times-Italic@0 SF(The Gnu Readline Libr)108 652.8 Q(ary)
-.15 E F0 2.5(,B)C(rian F)-2.5 E(ox and Chet Rame)-.15 E(y)-.15 E F2
(The Gnu History Libr)108 664.8 Q(ary)-.15 E F0 2.5(,B)C(rian F)-2.5 E
(ox and Chet Rame)-.15 E(y)-.15 E F2(bash)108 676.8 Q F0(\(1\))A F1
(FILES)72 693.6 Q F2(~/.inputr)109.666 705.6 Q(c)-.37 E F0(Indi)144
717.6 Q(vidual)-.25 E/F3 10/Times-Bold@0 SF -.18(re)2.5 G(adline).18 E
F0(initialization \214le)2.5 E(GNU Readline 4.3)72 768 Q
(2002 January 22)126.24 E(13)190.95 E EP
%%Page: 14 14
%%BeginPageSetup
BP
%%EndPageSetup
/F0 10/Times-Roman@0 SF 342.2(READLINE\(3\) READLINE\(3\))72 48 R/F1
10.95/Times-Bold@0 SF -.548(AU)72 84 S(THORS).548 E F0(Brian F)108 96 Q
(ox, Free Softw)-.15 E(are F)-.1 E(oundation)-.15 E(bfox@gnu.or)108 108
Q(g)-.18 E(Chet Rame)108 124.8 Q 1.3 -.65(y, C)-.15 H(ase W).65 E
(estern Reserv)-.8 E 2.5(eU)-.15 G(ni)-2.5 E -.15(ve)-.25 G(rsity).15 E
(chet@ins.CWR)108 136.8 Q(U.Edu)-.4 E F1 -.11(BU)72 153.6 S 2.738(GR).11
G(EPOR)-2.738 E(TS)-.438 E F0 .69(If you \214nd a b)108 165.6 R .69
(ug in)-.2 F/F2 10/Times-Bold@0 SF -.18(re)3.19 G(adline,).18 E F0 .69
(you should report it.)3.19 F .691(But \214rst, you should mak)5.69 F
3.191(es)-.1 G .691(ure that it really is a b)-3.191 F(ug,)-.2 E
(and that it appears in the latest v)108 177.6 Q(ersion of the)-.15 E F2
-.18(re)2.5 G(adline).18 E F0(library that you ha)2.5 E -.15(ve)-.2 G(.)
.15 E .705(Once you ha)108 194.4 R 1.005 -.15(ve d)-.2 H .705
(etermined that a b).15 F .704(ug actually e)-.2 F .704(xists, mail a b)
-.15 F .704(ug report to)-.2 F/F3 10/Times-Italic@0 SF -.2(bu)3.204 G
(g\255r).2 E(eadline)-.37 E F0(@)A F3(gnu.or)A(g)-.37 E F0 5.704(.I)C
3.204(fy)-5.704 G(ou)-3.204 E(ha)108 206.4 Q 1.809 -.15(ve a \214)-.2 H
1.509(x, you are welcome to mail that as well!).15 F 1.51
(Suggestions and `philosophical' b)6.51 F 1.51(ug reports may be)-.2 F
(mailed to)108 218.4 Q F3 -.2(bu)2.5 G(g-r).2 E(eadline)-.37 E F0(@)A F3
(gnu.or)A(g)-.37 E F0(or posted to the Usenet ne)2.5 E(wsgroup)-.25 E F2
(gnu.bash.b)2.5 E(ug)-.2 E F0(.)A(Comments and b)108 235.2 Q
(ug reports concerning this manual page should be directed to)-.2 E F3
-.15(ch)2.5 G(et@ins.CWR).15 E -.25(U.)-.4 G(Edu).25 E F0(.).25 E F1
-.11(BU)72 252 S(GS).11 E F0(It')108 264 Q 2.5(st)-.55 G
(oo big and too slo)-2.5 E -.65(w.)-.25 G(GNU Readline 4.3)72 768 Q
(2002 January 22)126.24 E(14)190.95 E EP
%%Trailer
end
%%EOF