Admin Panel

����;� TeX output 2005.12.06:1546�����������3*����鍑G�F��N��jcmbx12�FGNU�ƧReadline�Library�User�In��Zterface��G�0����������G<�2K�`y
�3
cmr10�Edition��f5.1-b�M�eta1,�for��3��<x
�3
cmtt10�Readline�Library��V��eersion�5.1-b�eta1.��
��g�0No��!v�em�b�M�er��f2005����q��X��N�ffcmbx12�XChet�ffRamey���f,�Case�W�estern�Reserv���e�Univ�ersit�y���Brian�ffF���fo���x,�F�ree�Soft���w�are�ffF�oundation���̉������*������3*������G�This��~man��!ual�describ�M�es�the�end�user�in�terface�of�the�GNU��?Readline�Library�(v�ersion�5.1-��
33��Gb�M�eta1,�	�11���No��!v�em�b�er���2005),�	�a�library�whic��!h�aids�in�the�consistency�of�user�in�terface�across����Gdiscrete��fprograms�whic��!h�pro�vide�a�command�line�in�terface.��33��GCop��!yrigh�t���������c��������f�;!",�
�3
cmsy10�
�����@�1988-2005��fF��eree�Soft��!w�are��fF�oundation,�Inc.����GP��!ermission�޲is�gran�ted�to�mak�e�and�distribute�v�erbatim�copies�of�this�man�ual�pro�vided�the��
33��Gcop��!yrigh�t��fnotice�and�this�p�M�ermission�notice�are�preserv��!ed�on�all�copies.����.��P��!ermission�:�is�gran�ted�to�cop�y��e,�_�distribute�and/or�mo�M�dify�this�do�cumen��!t�under����.��the���terms�of�the�GNU��JF��eree�Do�M�cumen��!tation�License,���V�ersion�1.1�or�an��!y�later����.��v��!ersion�I�published�b�y�the�F��eree�Soft�w�are�F��eoundation;�h�with�no�In�v��dDarian�t�Sections,����.��with���the�F��eron��!t-Co�v�er���texts�b�M�eing�\A���GNU�Man��!ual,"��and���with�the�Bac�k-Co�v�er����.��T��eexts��Was�in�(a)�b�M�elo��!w.���A��Gcop�y��Wof�the�license�is�included�in�the�section�en��!titled����.��\GNU��fF��eree�Do�M�cumen��!tation�License."����.��(a)��XThe�FSF's�Bac��!k-Co�v�er��XT��eext�is:���\Y�ou�ha��!v�e��Xfreedom�to�cop��!y�and�mo�M�dify����.��this��GNU��wMan��!ual,��Qlik�e�GNU��wsoft�w�are.��DCopies�published�b�y�the�F��eree�Soft�w�are����.��F��eoundation��fraise�funds�for�GNU�dev��!elopmen�t."��ff��GPublished��fb��!y�the�F��eree�Soft�w�are�F��eoundation����G59��fT��eemple�Place,�Suite�330,����GBoston,��fMA�02111-1307����GUSA�����������������T�i�����3*�����֍��G�O��N�G�cmbx12�OT��aGable�z�of�Con��u�ten�ts���)33��G�X1�32Command�ffLine�Editing��j��32�YF
C�ff
cmbxti10�Y.�����32.����32.����32.����32.����32.����32.����32.����32.����32.����32.����32.����32.����32.����32.����32.����32.����32.����32.����32.��m��X1�����6G�1.1�
�5In��!tro�M�duction��fto�Line�Editing�	\����5�':
�3
cmti10�.��.ԍ��.�����.�����.�����.�����.�����.�����.�����.�����.�����.�����.�����.�����.�����.�����.�����.�����.�����.�����.�����.�����.�����.�����.�����.�����.�����.�����.�����.��
ތ�1��
33��6G1.2�
�5Readline��fIn��!teraction��썑��.��.ԍ��.�����.�����.�����.�����.�����.�����.�����.�����.�����.�����.�����.�����.�����.�����.�����.�����.�����.�����.�����.�����.�����.�����.�����.�����.�����.�����.�����.�����.�����.�����.�����.�����.�����.�����.�����.��	��1����ZG1.2.1�
�5Readline��fBare�Essen��!tials�&F����.��.ԍ��.�����.�����.�����.�����.�����.�����.�����.�����.�����.�����.�����.�����.�����.�����.�����.�����.�����.�����.�����.�����.�����.�����.��
�w�1����ZG1.2.2�
�5Readline��fMo��!v�emen�t�Commands�������.��.ԍ��.�����.�����.�����.�����.�����.�����.�����.�����.�����.�����.�����.�����.�����.�����.�����.�����.��	���2����ZG1.2.3�
�5Readline��fKilling�Commands�������.��.ԍ��.�����.�����.�����.�����.�����.�����.�����.�����.�����.�����.�����.�����.�����.�����.�����.�����.�����.�����.�����.��
w��2����ZG1.2.4�
�5Readline��fArgumen��!ts������.��.ԍ��.�����.�����.�����.�����.�����.�����.�����.�����.�����.�����.�����.�����.�����.�����.�����.�����.�����.�����.�����.�����.�����.�����.�����.�����.�����.�����.��
���3����ZG1.2.5�
�5Searc��!hing��ffor�Commands�in�the�History�(u����.��.ԍ��.�����.�����.�����.�����.�����.�����.�����.�����.��
���3����6G1.3�
�5Readline��fInit�File�r�����.��.ԍ��.�����.�����.�����.�����.�����.�����.�����.�����.�����.�����.�����.�����.�����.�����.�����.�����.�����.�����.�����.�����.�����.�����.�����.�����.�����.�����.�����.�����.�����.�����.�����.�����.�����.�����.�����.�����.�����.��G��4����ZG1.3.1�
�5Readline��fInit�File�Syn��!tax�������.��.ԍ��.�����.�����.�����.�����.�����.�����.�����.�����.�����.�����.�����.�����.�����.�����.�����.�����.�����.�����.�����.�����.�����.�����.��	}��4����ZG1.3.2�
�5Conditional��fInit�Constructs�#�����.��.ԍ��.�����.�����.�����.�����.�����.�����.�����.�����.�����.�����.�����.�����.�����.�����.�����.�����.�����.�����.�����.�����.�����9����ZG1.3.3�
�5Sample��fInit�File�������.��.ԍ��.�����.�����.�����.�����.�����.�����.�����.�����.�����.�����.�����.�����.�����.�����.�����.�����.�����.�����.�����.�����.�����.�����.�����.�����.�����.�����.�����.�����.�����.��
p'�10����6G1.4�
�5Bindable��fReadline�Commands��9����.��.ԍ��.�����.�����.�����.�����.�����.�����.�����.�����.�����.�����.�����.�����.�����.�����.�����.�����.�����.�����.�����.�����.�����.�����.�����.�����.�����.��	Xj�13����ZG1.4.1�
�5Commands��fF��eor�Mo��!ving�5؍���.��.ԍ��.�����.�����.�����.�����.�����.�����.�����.�����.�����.�����.�����.�����.�����.�����.�����.�����.�����.�����.�����.�����.�����.�����.��	�13����ZG1.4.2�
�5Commands��fF��eor�Manipulating�The�History�3썑��.��.ԍ��.�����.�����.�����.�����.�����.��
	�13����ZG1.4.3�
�5Commands��fF��eor�Changing�T�ext�������.��.ԍ��.�����.�����.�����.�����.�����.�����.�����.�����.�����.�����.�����.�����.�����.�����.�����.��c��14����ZG1.4.4�
�5Killing��fAnd�Y��eanking�⍑��.��.ԍ��.�����.�����.�����.�����.�����.�����.�����.�����.�����.�����.�����.�����.�����.�����.�����.�����.�����.�����.�����.�����.�����.�����.�����.�����.�����.��	��16����ZG1.4.5�
�5Sp�M�ecifying��fNumeric�Argumen��!ts�`����.��.ԍ��.�����.�����.�����.�����.�����.�����.�����.�����.�����.�����.�����.�����.�����.�����.�����.��
ב�17����ZG1.4.6�
�5Letting��fReadline�T��!yp�M�e�F��eor�Y�ou�^ݍ���.��.ԍ��.�����.�����.�����.�����.�����.�����.�����.�����.�����.�����.�����.�����.�����.�����.�����.��
4
�17����ZG1.4.7�
�5Keyb�M�oard��fMacros�h��.��.ԍ��.�����.�����.�����.�����.�����.�����.�����.�����.�����.�����.�����.�����.�����.�����.�����.�����.�����.�����.�����.�����.�����.�����.�����.�����.�����.�����.�����.�����.��	>�17����ZG1.4.8�
�5Some��fMiscellaneous�Commands��1����.��.ԍ��.�����.�����.�����.�����.�����.�����.�����.�����.�����.�����.�����.�����.�����.�����.�����.��	qa�18����6G1.5�
�5Readline��fvi�Mo�M�de�9�����.��.ԍ��.�����.�����.�����.�����.�����.�����.�����.�����.�����.�����.�����.�����.�����.�����.�����.�����.�����.�����.�����.�����.�����.�����.�����.�����.�����.�����.�����.�����.�����.�����.�����.�����.�����.�����.�����.�����.����19��33���G�XApp�s3endix�ffA��t�rCop���ying�ffThis�Man�ual�J���32�Y.�����32.����32.����32.����32.����32.����32.����32.����32.����32.����32.��6�X21����6G�A.1�
�5GNU��fF��eree�Do�M�cumen��!tation�License�=����.��.ԍ��.�����.�����.�����.�����.�����.�����.�����.�����.�����.�����.�����.�����.�����.�����.�����.�����.�����.�����.�����.�����.��B�21����ZGA.1.1�
�5ADDENDUM:��fHo��!w�to�use�this�License�for�y�our����o��do�M�cumen��!ts�^|����.��.ԍ��.�����.�����.�����.�����.�����.�����.�����.�����.�����.�����.�����.�����.�����.�����.�����.�����.�����.�����.�����.�����.�����.�����.�����.�����.�����.�����.�����.�����.�����.�����.�����.�����.�����.�����.�����.�����.��3��27��������Í�����G�ii�=�NGNU��fReadline�Library�����3*��"&������G�Chapter��f1:���Command�Line�Editing�MH1�����3*�����֍��G�O1�	�QCommand�z�Line�Editing����=��!G�This��fc��!hapter�describ�M�es�the�basic�features�of�the��8�-�
�3
cmcsc10�gnu��command�line�editing�in�terface.��h����G�X1.1��In���tro�s3duction�f@to�Line�Editing���ޛ��!G�The��ffollo��!wing�paragraphs�describ�M�e�the�notation�used�to�represen�t�k�eystrok�es.���h��!GThe�Ctext��9��<x
�3
cmsltt10�C-k��is�read�as�`Con��!trol-K'�+and�describ�M�es�the�c�haracter�pro�M�duced�when�the�������
����		cmsy9�h�������@�ff|v����|{Ycmr8�k�����ٚ�ff|v���
������i����
33��G�k��!ey��fis�pressed�while�the�Con�trol�k�ey�is�depressed.����!GThe��ztext��M-k��is�read�as�`Meta-K'��oand�describ�M�es�the�c��!haracter�pro�duced�when�the�Meta����Gk��!ey�i/(if�y�ou�ha�v�e�one)�is�depressed,�umand�the�������h����S���@�ff|v����k���S��ٚ�ff|v���
M㞙��i���O��k�ey�is�pressed.��uThe�Meta�k�ey�is�lab�M�eled�������h����S���@�ff����AL��J�T���S��ٚ�ff���샞���i������G�on�%�man��!y�k�eyb�M�oards.���On�k�eyb�M�oards�with�t�w�o�k�eys�lab�M�eled�������h�������@�ff����AL��J�T�����ٚ�ff��������i���g��(usually�to�either�side�of�the����Gspace���bar),�̛the�������h�����ß�@�ff����AL��J�T����ßٚ�ff���HK����i����$�on�the�left�side�is�generally�set�to�w��!ork�as�a�Meta�k�ey��e.�9�The�������h�����ß�@�ff����AL��J�T����ßٚ�ff���HK����i����$�k�ey����Gon��the�righ��!t�ma�y�also�b�M�e�congured�to�w�ork�as�a�Meta�k�ey�or�ma�y�b�M�e�congured�as�some����Gother��fmo�M�dier,�suc��!h�as�a�Comp�ose�k��!ey�for�t�yping�accen�ted�c�haracters.����!GIf��ly��!ou�do�not�ha�v�e�a�Meta�or�������h�����8��@�ff����AL��J�T����8�ٚ�ff��� �����i���W�k�ey��e,��kor�another�k�ey�w�orking�as�a�Meta�k�ey��e,��kthe�iden�tical����Gk��!eystrok�e��1can�b�M�e�generated�b��!y�t�yping�������h��������@�ff�T����ESC������ٚ�ff�T����Þ���i�����rst�,���and�then�t�yping�������h��������@�ff|v����k������ٚ�ff|v���	�垙��i���
0��.���Either�pro�M�cess�is�kno�wn����Gas��f�6p�0J
�3
cmsl10�metafying��~�the�������h�����2��@�ff|v����k����2�ٚ�ff|v���
�����i����b�k��!ey��e.����!GThe���text��M-C-k��is�read�as�`Meta-Con��!trol-k'�and�describ�M�es�the�c�haracter�pro�M�duced�b�y����G�metafying��~�C-k�.����!GIn�oaddition,��,sev��!eral�k�eys�ha�v�e�their�o�wn�names.�7�Sp�M�ecically��e,����,����h��������@�ff������DEL������ٚ�ff������d����i���6F�,����,����h��������@�ff�T����ESC������ٚ�ff�T���������i���F��,����,����h��������@�ffW�����LFD������ٚ�ffW����`򞙚�i������,����,����h��������@�ff�T����SPC������ٚ�ff�T���������i����,������G����h�������@�ff,(����RET�����ٚ�ff,(���&������i���*>��,��9and���8�����h����#u��@�ff�l����T��J�AB���#u�ٚ�ff�l���qS����i���"B��all�8�stand�for�themselv��!es�when�seen�in�this�text,�or�in�an�init�le�(see����GSection���1.3�[Readline�Init�File],��"page�4).�ߡIf�y��!our�k�eyb�M�oard�lac�ks�a�������h�����ɟ�@�ffW�����LFD����ɟٚ�ffW����fÞ���i��� ���k�ey��e,��"t�yping�������h�����ɟ�@�ff�ҟ���C-j����ɟٚ�ff�Ҏ���
����i������G�will��Opro�M�duce�the�desired�c��!haracter.���The�������h����v��@�ff,(����RET���v�ٚ�ff,(��������i���C��k�ey�ma�y�b�M�e�lab�eled�������h����v��@�ff����Return���v�ٚ�ff뎍� x����i���'/��or�������h����v��@�ff������En�Îter���v�ٚ�ff������:����i���!�k�on�some����Gk��!eyb�M�oards.��h����G�X1.2��Readline�f@In���teraction���ޛ��!G�Often�kduring�an�in��!teractiv�e�ksession�y��!ou�t�yp�M�e�in�a�long�line�of�text,�&jonly�to�notice�that�the����Grst���w��!ord�on�the�line�is�missp�M�elled.��"The�Readline�library�giv�es�y�ou�a�set�of�commands�for����Gmanipulating���the�text�as�y��!ou�t�yp�M�e�it�in,��ballo�wing�y�ou�to�just�x�y�our�t�yp�M�o,��band�not�forcing����Gy��!ou�`�to�ret�yp�M�e�the�ma���jorit�y�of�the�line.�ƹUsing�these�editing�commands,�n�y�ou�mo�v�e�the�cursor����Gto��the�place�that�needs�correction,�;Zand�delete�or�insert�the�text�of�the�corrections.�CZThen,����Gwhen��#y��!ou�are�satised�with�the�line,���y�ou�simply�press�������h�������@�ff,(����RET�����ٚ�ff,(���Q�����i����k�.�"Y��eou�do�not�ha�v�e�to�b�M�e�at�the����Gend�N4of�the�line�to�press�������h����9��@�ff,(����RET���9�ٚ�ff,(���⚞���i���{|�;��the�en��!tire�line�is�accepted�regardless�of�the�lo�M�cation�of�the����Gcursor��fwithin�the�line.��h����G�a��N�
#�cmbx12�a1.2.1�d(Readline��MBare�Essen���tials�����!G�In��iorder�to�en��!ter�c�haracters�in�to�the�line,��simply�t�yp�M�e�them.���The�t�yp�M�ed�c�haracter�app�M�ears����Gwhere��Nthe�cursor�w��!as,��Hand�then�the�cursor�mo�v�es�one�space�to�the�righ�t.���If�y�ou�mist�yp�M�e�a����Gc��!haracter,��fy�ou�can�use�y�our�erase�c�haracter�to�bac�k�up�and�delete�the�mist�yp�M�ed�c�haracter.���h��!GSometimes��ly��!ou�ma�y�mist�yp�M�e�a�c�haracter,���and�not�notice�the�error�un�til�y�ou�ha�v�e�t�yp�M�ed����Gsev��!eral�w�other�c�haracters.��cIn�that�case,��Ay�ou�can�t�yp�M�e��C-b��to�mo�v�e�the�cursor�to�the�left,��Aand����Gthen��fcorrect�y��!our�mistak�e.���Afterw�ards,�y�ou�can�mo�v�e�the�cursor�to�the�righ�t�with��C-f�.����"�������G�2�>�
GNU��fReadline�Library�����3*�����֍�!GWhen��"y��!ou�add�text�in�the�middle�of�a�line,���y�ou�will�notice�that�c�haracters�to�the�righ�t��
33��Gof�q�the�cursor�are�`pushed�o��!v�er'�q�to�mak��!e�ro�M�om�for�the�text�that�y�ou�ha�v�e�inserted.��BLik�ewise,����Gwhen���y��!ou�delete�text�b�M�ehind�the�cursor,��c�haracters�to�the�righ�t�of�the�cursor�are�`pulled����Gbac��!k'���to�ll�in�the�blank�space�created�b�y�the�remo�v��dDal�of�the�text.��A���list�of�the�bare�essen�tials����Gfor��fediting�the�text�of�an�input�line�follo��!ws.������G�C-b�(���Mo��!v�e��fbac�k�one�c�haracter.����G�C-f�(���Mo��!v�e��fforw�ard�one�c�haracter.������G����h�������@�ff������DEL�����ٚ�ff�����&
����i���-L��or����f����h�����2��@�ff&,����Bac�Îkspace����2�ٚ�ff&,񎍑,;�����i����
33��K�:�Delete��fthe�c��!haracter�to�the�left�of�the�cursor.����G�C-d�(���Delete��fthe�c��!haracter�underneath�the�cursor.�����GPrin��!ting��fc�haracters�����K�:Insert��fthe�c��!haracter�in�to�the�line�at�the�cursor.����G�C-_��f�or��C-x�C-u����K�:�Undo�jthe�last�editing�command.���Y��eou�can�undo�all�the�w��!a�y�jbac�k�to�an�empt�y����K�:line.����G(Dep�M�ending�on�y��!our�conguration,�0�the�������h�����؟�@�ff&,����Bac�Îkspace����؟ٚ�ff&,񎍑,�;����i���4X)�k�ey�b�M�e�set�to�delete�the�c�haracter�to�the����Gleft���of�the�cursor�and�the�������h����ዟ�@�ff������DEL���ዟٚ�ff�����������i������k��!ey�set�to�delete�the�c�haracter�underneath�the�cursor,�
�lik�e����G�C-d�,��frather�than�the�c��!haracter�to�the�left�of�the�cursor.)��:����G�a1.2.2�d(Readline��MMo���v�emen�t�Commands���$���!G�The�"�ab�M�o��!v�e�table�describ�M�es�the�most�basic�k�eystrok�es�that�y�ou�need�in�order�to�do�editing����Gof��the�input�line.���F��eor�y��!our�con�v�enience,�-�man�y�other�commands�ha�v�e�b�M�een�added�in�addition����Gto����C-b�,���C-f�,��C-d�,�and�������h��������@�ff������DEL������ٚ�ff������-����i���l�.�o�Here�are�some�commands�for�mo��!ving�more�rapidly�ab�M�out�the����Gline.����G�C-a�(���Mo��!v�e��fto�the�start�of�the�line.����G�C-e�(���Mo��!v�e��fto�the�end�of�the�line.����G�M-f�(���Mo��!v�e��fforw�ard�a�w�ord,�where�a�w�ord�is�comp�M�osed�of�letters�and�digits.����G�M-b�(���Mo��!v�e��fbac�kw�ard�a�w�ord.����G�C-l�(���Clear��fthe�screen,�reprin��!ting�the�curren�t�line�at�the�top.����!GNotice��Kho��!w��C-f��mo�v�es�forw�ard�a�c�haracter,��while��M-f��mo�v�es�forw�ard�a�w�ord.��It�is�a�lo�M�ose����Gcon��!v�en�tion���that�con��!trol�k�eystrok�es�op�M�erate�on�c�haracters�while�meta�k�eystrok�es�op�M�erate�on����Gw��!ords.��:����G�a1.2.3�d(Readline��MKilling�Commands���$���!G�Killing�l�text�{�means�to�delete�the�text�from�the�line,��Jbut�to�sa��!v�e�{�it�a��!w�a�y�{�for�later�use,����Gusually�Zb��!y��y�anking�r�(re-inserting)�it�bac�k�in�to�the�line.�3�(`Cut'�and�`paste'�are�more�recen�t����Gjargon��ffor�`kill'�and�`y��!ank'.)���_��!GIf���the�description�for�a�command�sa��!ys�that�it�`kills'�text,���then�y�ou�can�b�M�e�sure�that�y�ou����Gcan��fget�the�text�bac��!k�in�a�dieren�t�(or�the�same)�place�later.����8������G�Chapter��f1:���Command�Line�Editing�MH3�����3*�����֍�!GWhen�ʛy��!ou�use�a�kill�command,���the�text�is�sa�v�ed�in�a��kill-ring�.���An�y�n�um�b�M�er�of�consecutiv�e��
33��Gkills��$sa��!v�e�all�of�the�killed�text�together,���so�that�when�y�ou�y�ank�it�bac�k,���y�ou�get�it�all.�The����Gkill���ring�is�not�line�sp�M�ecic;�(the�text�that�y��!ou�killed�on�a�previously�t�yp�M�ed�line�is�a�v��dDailable����Gto��fb�M�e�y��!ank�ed��fbac�k�later,�when�y�ou�are�t�yping�another�line.���獑!GHere��fis�the�list�of�commands�for�killing�text.��ě��G�C-k�(���Kill��fthe�text�from�the�curren��!t�cursor�p�M�osition�to�the�end�of�the�line.����G�M-d�(���Kill�)�from�the�cursor�to�the�end�of�the�curren��!t�w�ord,�B�or,�if�)�b�M�et�w�een�w�ords,�B�to�the��
33��K�:end��fof�the�next�w��!ord.���W��eord�b�M�oundaries�are�the�same�as�those�used�b�y��M-f�.����G�M-������h�����̟�@�ff������DEL����̟ٚ�ff������8����i���.Q��Kill��ofrom�the�cursor�the�start�of�the�curren��!t�w�ord,���or,�if��ob�M�et�w�een�w�ords,���to�the����K�:start��of�the�previous�w��!ord.���W��eord�b�M�oundaries�are�the�same�as�those�used�b�y����K�:�M-b�.����G�C-w�(���Kill��xfrom�the�cursor�to�the�previous�whitespace.�,This�is�dieren��!t�than��M-������h�����̟�@�ff������DEL����̟ٚ�ff������8����i������K�:�b�M�ecause��fthe�w��!ord�b�oundaries�dier.����!GHere���is�ho��!w�to��y�ank����the�text�bac�k�in�to�the�line.��NY��eanking�means�to�cop�y�the�most-����Grecen��!tly-killed��ftext�from�the�kill�buer.����G�C-y�(���Y��eank��fthe�most�recen��!tly�killed�text�bac�k�in�to�the�buer�at�the�cursor.����G�M-y�(���Rotate�'!the�kill-ring,�GPand�y��!ank�the�new�top.�`Y��eou�can�only�do�this�if�the�prior����K�:command��fis��C-y��or��M-y�.��Z���G�a1.2.4�d(Readline��MArgumen���ts���/��!G�Y��eou���can�pass�n��!umeric�argumen�ts�to�Readline�commands.��Sometimes�the�argumen�t�acts����Gas�Ѥa�rep�M�eat�coun��!t,�sother�times�it�is�the��sign����of�the�argumen�t�that�is�signican�t.�_�If�y�ou����Gpass�a�negativ��!e�argumen�t�to�a�command�whic�h�normally�acts�in�a�forw�ard�direction,��that����Gcommand�=�will�act�in�a�bac��!kw�ard�=�direction.��?F��eor�example,�c�to�kill�text�bac��!k�to�the�start�of����Gthe��fline,�y��!ou�migh�t�t�yp�M�e�`�M--�C-k�'.���獑!GThe�bOgeneral�w��!a�y�bOto�pass�n��!umeric�argumen�ts�to�a�command�is�to�t�yp�M�e�meta�digits�b�efore����Gthe���command.�RIf�the�rst�`digit'�t��!yp�M�ed�is�a�min�us�sign�(`�-�'),��then�the�sign�of�the�argumen�t����Gwill���b�M�e�negativ��!e.��HOnce�y�ou�ha�v�e�t�yp�M�ed�one�meta�digit�to�get�the�argumen�t�started,�Ғy�ou����Gcan�v�t��!yp�M�e�the�remainder�of�the�digits,��oand�then�the�command.��F��eor�example,�to�giv��!e�the��C-d����G�command�~Gan�argumen��!t�of�10,��?y�ou�could�t�yp�M�e�`�M-1��f0�C-d�',��?whic�h�~Gwill�delete�the�next�ten����Gc��!haracters��fon�the�input�line.�����G�a1.2.5�d(Searc���hing��Mfor�Commands�in�the�History���/��!G�Readline��Tpro��!vides�commands�for�searc�hing�through�the�command�history�for�lines�con-����Gtaining��fa�sp�M�ecied�string.���There�are�t��!w�o��fsearc�h�mo�M�des:����incremen�tal���and��non-incremen�tal�.���獑!GIncremen��!tal��searc�hes�b�M�egin�b�efore�the�user�has�nished�t��!yping�the�searc�h�string.���As�eac�h����Gc��!haracter�@|of�the�searc�h�string�is�t�yp�M�ed,�gReadline�displa�ys�the�next�en�try�from�the�history����Gmatc��!hing��+the�string�t�yp�M�ed�so�far.��tAn�incremen�tal�searc�h�requires�only�as�man�y�c�haracters�as����Gneeded�t�to�nd�the�desired�history�en��!try��e.��bT�o�t�searc�h�bac�kw�ard�in�the�history�for�a�particular����Gstring,��0t��!yp�M�e��c�C-r�.��1T�yping��C-s��searc�hes�forw�ard�through�the�history��e.��1The�c�haracters�presen�t����Gin��^the�v��dDalue�of�the��isearch-terminators��v�ariable�are�used�to�terminate�an�incremen��!tal����D퍟����G�4�>�
GNU��fReadline�Library�����3*�����֍�Gsearc��!h.���If��Nthat�v��dDariable�has�not�b�M�een�assigned�a�v�alue,���the�������h����s��@�ff�T����ESC���s�ٚ�ff�T���������i�����and��C-J��c��!haracters�will��
33��Gterminate�Can�incremen��!tal�searc�h.�	3t�C-g��will�ab�M�ort�an�incremen�tal�searc�h�and�restore�the����Goriginal�x�line.�άWhen�the�searc��!h�is�terminated,���the�history�en�try�con�taining�the�searc�h�string����Gb�M�ecomes��fthe�curren��!t�line.����!GT��eo���nd�other�matc��!hing�en�tries�in�the�history�list,���t�yp�M�e��C-r��or��C-s��as�appropriate.��This����Gwill�#�searc��!h�bac�kw�ard�or�forw�ard�in�the�history�for�the�next�en�try�matc�hing�the�searc�h�string����Gt��!yp�M�ed��5so�far.��IAn�y�other�k�ey�sequence�b�M�ound�to�a�Readline�command�will�terminate�the����Gsearc��!h���and�execute�that�command.�~=F��eor�instance,���a�������h����rP��@�ff,(����RET���rP�ٚ�ff,(���ꞙ��i���<P�will�terminate�the�searc�h�and�accept����Gthe���line,��5thereb��!y�executing�the�command�from�the�history�list.���A���mo�v�emen�t�command�will����Gterminate��fthe�searc��!h,�mak�e�the�last�line�found�the�curren�t�line,�and�b�M�egin�editing.����!GReadline�.�remem��!b�M�ers�the�last�incremen�tal�searc�h�string.�vhIf�t�w�o��C-r�s�are�t�yp�M�ed�without����Gan��!y�a�in�terv�ening�c�haracters�dening�a�new�searc�h�string,���an�y�remem�b�M�ered�searc�h�string�is����Gused.����!GNon-incremen��!tal���searc�hes�read�the�en�tire�searc�h�string�b�M�efore�starting�to�searc�h�for����Gmatc��!hing��history�lines.�	F�The�searc�h�string�ma�y�b�M�e�t�yp�M�ed�b�y�the�user�or�b�M�e�part�of�the����Gcon��!ten�ts��fof�the�curren��!t�line.��!���G�X1.3��Readline�f@Init�File���33��!G�Although�lthe�Readline�library�comes�with�a�set�of�Emacs-lik��!e�k�eybindings�installed����Gb��!y�default,�W�it�is�p�M�ossible�to�use�a�dieren�t�set�of�k�eybindings.���An�y�user�can�customize����Gprograms���that�use�Readline�b��!y�putting�commands�in�an��inputrc����le,���con�v�en�tionally�in�his����Ghome��directory��e.���The�name�of�this�le�is�tak��!en�from�the�v��dDalue�of�the�en�vironmen�t�v��dDariable����G�INPUTRC�.���If��fthat�v��dDariable�is�unset,�the�default�is�`�~/.inputrc�'.����!GWhen��\a�program�whic��!h�uses�the�Readline�library�starts�up,��*the�init�le�is�read,�and�the����Gk��!ey��fbindings�are�set.����!GIn�8�addition,�N�the��C-x��fC-r��command�re-reads�this�init�le,�th��!us�incorp�M�orating�an�y�c�hanges����Gthat��fy��!ou�migh�t�ha�v�e�made�to�it.�������G�a1.3.1�d(Readline��MInit�File�Syn���tax���33��!G�There��are�only�a�few�basic�constructs�allo��!w�ed��in�the�Readline�init�le.�
RBlank�lines�are����Gignored.��zLines��b�M�eginning�with�a�`�#�'�are�commen��!ts.�Lines�b�M�eginning�with�a�`�$�'�indicate����Gconditional�R�constructs�(see�Section�1.3.2�[Conditional�Init�Constructs],�cbpage�9).���Other�lines����Gdenote��fv��dDariable�settings�and�k��!ey�bindings.��ff��GV��eariable��fSettings����K�:Y��eou�ڽcan�mo�M�dify�the�run-time�b�eha��!vior�of�Readline�b�y�altering�the�v��dDalues�of����K�:v��dDariables�din�Readline�using�the��set��command�within�the�init�le.��The�syn��!tax����K�:is��fsimple:������hʏ�set����variable�value����K�:�Here,�X�for�E|example,�is�ho��!w�to�c�hange�from�the�default�Emacs-lik�e�k�ey�binding�to��
33��K�:use��f�vi��line�editing�commands:����hʏ�set���editing-mode�vi����T�������G�Chapter��f1:���Command�Line�Editing�MH5�����3*�����֍�K�:V��eariable�4Ynames�and�v��dDalues,�W�where�appropriate,�are�recognized�without�regard��
33��K�:to��fcase.���Unrecognized�v��dDariable�names�are�ignored.��ff��K�:Bo�M�olean��v��dDariables�(those�that�can�b�e�set�to�on�or�o��)�are�set�to�on�if�the�v��dDalue�is����K�:n��!ull��Jor�empt�y��e,��on��(case-insensitiv�e),�or�1.���An�y�other�v��dDalue�results�in�the�v�ariable����K�:b�M�eing��fset�to�o.����K�:A��fgreat�deal�of�run-time�b�M�eha��!vior�is�c�hangeable�with�the�follo�wing�v��dDariables.������K�:�bell-style������-�Con��!trols�Fwhat�happ�M�ens�when�Readline�w�an�ts�to�ring�the�termi-������-nal�xzb�M�ell.�TIf�set�to�`�none�',���Readline�nev��!er�rings�the�b�ell.�TIf�set�to������-`�visible�',�
dReadline��euses�a�visible�b�M�ell�if�one�is�a��!v��dDailable.���If�set�to������-`�audible�'��(the�default),��6Readline�attempts�to�ring�the�terminal's������-b�M�ell.����K�:�bind-tty-special-chars������-�If�pset�to�`�on�',��jReadline�attempts�to�bind�the�con��!trol�c�haracters������-treated�A�sp�M�ecially�b��!y�the�k�ernel's�terminal�driv�er�to�their�Readline������-equiv��dDalen��!ts.����K�:�comment-begin������-�The���string�to�insert�at�the�b�M�eginning�of�the�line�when�the��insert-������-comment��f�command�is�executed.���The�default�v��dDalue�is��"#"�.����K�:�completion-ignore-case������-�If�I�set�to�`�on�',�\WReadline�p�M�erforms�lename�matc��!hing�and�completion������-in��fa�case-insensitiv��!e�fashion.���The�default�v��dDalue�is�`�off�'.����K�:�completion-query-items������-�The�%�n��!um�b�M�er�of�p�ossible�completions�that�determines�when�the�user������-is��Hask��!ed�whether�the�list�of�p�M�ossibilities�should�b�e�displa��!y�ed.��(If��Hthe������-n��!um�b�M�er�9of�p�ossible�completions�is�greater�than�this�v��dDalue,�N�Readline������-will�.�ask�the�user�whether�or�not�he�wishes�to�view�them;�Vzotherwise,������-they���are�simply�listed.��XThis�v��dDariable�m��!ust�b�M�e�set�to�an�in�teger�v��dDalue������-greater���than�or�equal�to�0.���A���negativ��!e�v��dDalue�means�Readline�should������-nev��!er��fask.���The�default�limit�is��100�.����K�:�convert-meta������-�If���set�to�`�on�',���Readline�will�con��!v�ert���c�haracters�with�the�eigh�th�bit�set������-to���an��asci�>Ki��k��!ey�sequence�b�y�stripping�the�eigh�th�bit�and�prexing�an��������-����h���������@�ff�T����ESC�������ٚ�ff�T����������i����jz�c��!haracter,�,�con�v�erting��them�to�a�meta-prexed�k��!ey�sequence.������-The��fdefault�v��dDalue�is�`�on�'.����K�:�disable-completion������-�If�gset�to�`�On�',��@Readline�will�inhibit�w��!ord�completion.��Completion������-c��!haracters�!�will�b�M�e�inserted�in�to�the�line�as�if�they�had�b�M�een�mapp�ed������-to��f�self-insert�.���The�default�is�`�off�'.����K�:�editing-mode������-�The�r��editing-mode��v��dDariable�con��!trols�whic�h�default�set�of�k�ey�bind-������-ings�?is�used.��%By�default,�#Readline�starts�up�in�Emacs�editing�mo�M�de,������-where�~�the�k��!eystrok�es�~�are�most�similar�to�Emacs.�ПThis�v��dDariable�can������-b�M�e��fset�to�either�`�emacs�'�or�`�vi�'.����b�������G�6�>�
GNU��fReadline�Library�����3*�����֍�K�:�enable-keypad��
33����-�When���set�to�`�on�',��mReadline�will�try�to�enable�the�application�k��!eypad������-when�1�it�is�called.��Some�systems�need�this�to�enable�the�arro��!w�k�eys.������-The��fdefault�is�`�off�'.�����K�:�expand-tilde������-�If�Pset�to�`�on�',�a[tilde�expansion�is�p�M�erformed�when�Readline�attempts������-w��!ord��fcompletion.���The�default�is�`�off�'.����K�:�history-preserve-point������-�If���set�to�`�on�',���the�history�co�M�de�attempts�to�place�p�oin��!t�at�the�same������-lo�M�cation�Kon�eac��!h�history�line�retriev�ed�with��previous-history��or������-�next-history�.���The��fdefault�is�`�off�'.����K�:�horizontal-scroll-mode������-�This�N�v��dDariable�can�b�M�e�set�to�either�`�on�'�or�`�off�'.��
Setting�it�to�`�on�'������-means�$jthat�the�text�of�the�lines�b�M�eing�edited�will�scroll�horizon��!tally������-on���a�single�screen�line�when�they�are�longer�than�the�width�of�the������-screen,�:�instead��of�wrapping�on��!to�a�new�screen�line.��By�default,�this������-v��dDariable��fis�set�to�`�off�'.����K�:�input-meta������-�If���set�to�`�on�',���Readline�will�enable�eigh��!t-bit�input�(it�will�not�clear������-the��"eigh��!th�bit�in�the�c�haracters�it�reads),�
Pregardless�of�what�the������-terminal���claims�it�can�supp�M�ort.�Q-The�default�v��dDalue�is�`�off�'.�The������-name��f�meta-flag��is�a�synon��!ym�for�this�v��dDariable.����K�:�isearch-terminators������-�The�5�string�of�c��!haracters�that�should�terminate�an�incremen�tal������-searc��!h��|without�subsequen�tly�executing�the�c�haracter�as�a�command������-(see�Z�Section�1.2.5�[Searc��!hing],���page�3).�	��If�this�v��dDariable�has�not������-b�M�een�DŽgiv��!en�a�v��dDalue,���the�c�haracters�������h�����P��@�ff�T����ESC����P�ٚ�ff�T��������i���4|�and��C-J��will�terminate�an������-incremen��!tal��fsearc�h.����K�:�keymap�R��Sets��5Readline's�idea�of�the�curren��!t�k�eymap�for�k�ey�binding�com-������-mands.�	�Acceptable�SO�keymap��names�are��emacs�,����emacs-standard�,������-�emacs-meta�,�0�emacs-ctlx�,��vi�,��vi-move�,��vi-command�,�and������-�vi-insert�.����vi����is�equiv��dDalen��!t�to��vi-command�;�2��emacs��is�equiv�alen��!t������-to�ӯ�emacs-standard�.�e�The�default�v��dDalue�is��emacs�.�The�v��dDalue�of�the������-�editing-mode��f�v��dDariable�also�aects�the�default�k��!eymap.����K�:�mark-directories������-�If���set�to�`�on�',���completed�directory�names�ha��!v�e���a�slash�app�M�ended.������-The��fdefault�is�`�on�'.����K�:�mark-modified-lines������-�This�N�v��dDariable,�x�when�set�to�`�on�',�causes�Readline�to�displa��!y�an�as-������-terisk��(`�*�')�at�the�start�of�history�lines�whic��!h�ha�v�e�b�M�een�mo�died.������-This��fv��dDariable�is�`�off�'�b��!y�default.����oI������G�Chapter��f1:���Command�Line�Editing�MH7�����3*�����֍�K�:�mark-symlinked-directories��
33����-�If�_�set�to�`�on�',���completed�names�whic��!h�are�sym�b�M�olic�links�to�di-������-rectories��|ha��!v�e�a�slash�app�M�ended�(sub���ject�to�the�v��dDalue�of��mark-������-directories�).���The��fdefault�is�`�off�'.��ii��K�:�match-hidden-files������-�This��sv��dDariable,�ݣwhen�set�to�`�on�',�causes�Readline�to�matc��!h�les�whose������-names�M�b�M�egin�with�a�`�.�'�(hidden�les)�when�p�erforming�lename������-completion,�R unless���the�leading�`�.�'�is�supplied�b��!y�the�user�in�the������-lename��fto�b�M�e�completed.���This�v��dDariable�is�`�on�'�b��!y�default.����K�:�output-meta������-�If�Aset�to�`�on�',�g�Readline�will�displa��!y�c�haracters�with�the�eigh�th�bit������-set�`!directly�rather�than�as�a�meta-prexed�escap�M�e�sequence.�The������-default��fis�`�off�'.����K�:�page-completions������-�If��set�to�`�on�',�,�Readline�uses�an�in��!ternal��more�-lik�e�pager�to�displa�y������-a��screenful�of�p�M�ossible�completions�at�a�time.���This�v��dDariable�is�`�on�'������-b��!y��fdefault.����K�:�print-completions-horizontally������-�If��set�to�`�on�',��Readline�will�displa��!y�completions�with�matc�hes�sorted������-horizon��!tally�8�in�alphab�M�etical�order,��orather�than�do�wn�the�screen.������-The��fdefault�is�`�off�'.����K�:�show-all-if-ambiguous������-�This��]alters�the�default�b�M�eha��!vior�of�the�completion�functions.�مIf�set������-to�L`�on�',�^.w��!ords�whic�h�ha�v�e�more�than�one�p�M�ossible�completion�cause������-the��matc��!hes�to�b�M�e�listed�immediately�instead�of�ringing�the�b�ell.������-The��fdefault�v��dDalue�is�`�off�'.����K�:�show-all-if-unmodified������-�This���alters�the�default�b�M�eha��!vior�of�the�completion�functions�in�a������-fashion��similar�to��sho��!w-all-if-am�biguous�.���If��set�to�`�on�',�-�w��!ords�whic�h������-ha��!v�e���more�than�one�p�M�ossible�completion�without�an��!y�p�ossible�par-������-tial��completion�(the�p�M�ossible�completions�don't�share�a�common������-prex)��cause�the�matc��!hes�to�b�M�e�listed�immediately�instead�of�ring-������-ing��fthe�b�M�ell.���The�default�v��dDalue�is�`�off�'.����K�:�visible-stats������-�If��vset�to�`�on�',���a�c��!haracter�denoting�a�le's�t�yp�M�e�is�app�ended�to�the������-lename��fwhen�listing�p�M�ossible�completions.���The�default�is�`�off�'.����GKey��fBindings����K�:The�syn��!tax�for�con�trolling�k�ey�bindings�in�the�init�le�is�simple.�	First�y�ou����K�:need�Q�to�nd�the�name�of�the�command�that�y��!ou�w�an�t�to�c�hange.���The�follo�wing����K�:sections�Ocon��!tain�tables�of�the�command�name,�yLthe�default�k�eybinding,�yLif�an�y��e,����K�:and��fa�short�description�of�what�the�command�do�M�es.��NN��K�:Once�P�y��!ou�kno�w�the�name�of�the�command,�{
simply�place�on�a�line�in�the�init����K�:le�the�name�of�the�k��!ey�y�ou�wish�to�bind�the�command�to,�$'a�colon,�and�then����z�������G�8�>�
GNU��fReadline�Library�����3*�����֍�K�:the�֫name�of�the�command.�n�The�name�of�the�k��!ey�can�b�M�e�expressed�in�dieren�t��
33��K�:w��!a�ys,��fdep�M�ending�on�what�y��!ou�nd�most�comfortable.�����K�:In�S�addition�to�command�names,�<readline�allo��!ws�k�eys�to�b�M�e�b�ound�to�a�string����K�:that��fis�inserted�when�the�k��!ey�is�pressed�(a��macro����).���͍��K�:�k��!eyname���:����function-name�Cm�or��f�macro�������-k��!eyname�j�is�tcthe�name�of�a�k�ey�sp�M�elled�out�in�English.��1F��eor�example:��������Control-u:���universal-argument�������Meta-Rubout:���backward-kill-word�������Control-o:���">�output"������-�In��3the�ab�M�o��!v�e��3example,����C-u��is�b�ound�to�the�function��universal-������-argument�,����M-DEL����is�b�M�ound�to�the�function��backward-kill-word�,������-and����C-o��is�b�M�ound�to�run�the�macro�expressed�on�the�righ��!t�hand������-side��f(that�is,�to�insert�the�text�`�>�output�'�in��!to�the�line).������-A�qn��!um�b�M�er�q4of�sym��!b�olic�c��!haracter�names�are�recognized�while�pro-������-cessing���this�k��!ey�binding�syn�tax:�u%�DEL�,��ESC�,��ESCAPE�,��LFD�,��NEW-������-LINE�,��f�RET�,��RETURN�,��R��!UBOUT�,��SP��eA�CE�,��SPC�,�and��T��eAB�.���͍��K�:�"�k��!eyseq�@��"�:����function-name�Cm�or��f�macro�������-k��!eyseq����diers���from��k�eyname�V��ab�M�o�v�e�in�that�strings�denoting�an�en-������-tire�hk��!ey�sequence�can�b�M�e�sp�ecied,�%�b��!y�placing�the�k�ey�sequence�in������-double���quotes.��bSome��gnu��Emacs�st��!yle�k�ey�escap�M�es�can�b�e�used,���as������-in��the�follo��!wing�example,�(�but�the�sp�M�ecial�c�haracter�names�are�not������-recognized.��������"\C-u":���universal-argument�������"\C-x\C-r":���re-read-init-file�������"\e[11~":���"Function�Key�1"������-�In���the�ab�M�o��!v�e���example,����C-u��is�again�b�ound�to�the�function������-�universal-argument�?��(just�as�it�w��!as�in�the�rst�example),��=`�C-x������-C-r�'��pis�b�M�ound�to�the�function��re-read-init-file�,�F�and�`������h�����̟�@�ff�T����ESC����̟ٚ�ff�T��������i�����Kڞ��h����6���@�ff\t����[���6���ff\t��������i����������-���h���������@�ff@����1�������ٚ�ff@����[o����i�����������h���������@�ff@����1�������ٚ�ff@����B�����i�������A���h�����m
��@�ff������~����m
�ٚ�ff�������)����i����C�'��fis�b�M�ound�to�insert�the�text�`�Function�Key�1�'.���͍�K�:The���follo��!wing��gnu��Emacs�st�yle�escap�M�e�sequences�are�a�v��dDailable�when�sp�M�ecifying����K�:k��!ey��fsequences:����K�:�\C-�(���con��!trol��fprex����K�:�\M-�(���meta��fprex����K�:�\e�.Q��an��fescap�M�e�c��!haracter����K�:�\\�.Q��bac��!kslash����K�:�\�"���.Q�����h����1<k��@�ff������"���1<k�ٚ�ff�����6y�����i���:i�,��fa�double�quotation�mark����K�:�\'���.Q�����h����1<k��@�ff\t����'���1<k�ٚ�ff\t���3Q����i���6�3�,��fa�single�quote�or�ap�M�ostrophe����K�:In�Qaddition�to�the��gnu��Emacs�st��!yle�escap�M�e�sequences,�b)a�second�set�of�bac�kslash����K�:escap�M�es��fis�a��!v��dDailable:����K�:�\a�.Q��alert��f(b�M�ell)����	��������G�Chapter��f1:���Command�Line�Editing�MH9�����3*�����֍�K�:�\b�.Q��bac��!kspace�����K�:�\d�.Q��delete����K�:�\f�.Q��form��ffeed����K�:�\n�.Q��newline����K�:�\r�.Q��carriage��freturn����K�:�\t�.Q��horizon��!tal��ftab����K�:�\v�.Q��v��!ertical��ftab����K�:�\�nnn�"�K�the�$�eigh��!t-bit�c�haracter�whose�v��dDalue�is�the�o�M�ctal�v�alue��nnn��(one�to��
33����-three��fdigits)����K�:�\x�HH�"�K�the���eigh��!t-bit�c�haracter�whose�v��dDalue�is�the�hexadecimal�v�alue��HH������-�(one��for�t��!w�o��fhex�digits)����K�:When�}�en��!tering�the�text�of�a�macro,���single�or�double�quotes�m�ust�b�M�e�used�to����K�:indicate���a�macro�denition.��?Unquoted�text�is�assumed�to�b�M�e�a�function�name.�In����K�:the���macro�b�M�o�dy��e,��~the���bac��!kslash�escap�M�es�describ�ed�ab�o��!v�e���are�expanded.���Bac��!kslash����K�:will��quote�an��!y�other�c�haracter�in�the�macro�text,��including�`�"�'�and�`�'�'.�RF��eor����K�:example,�4 the��follo��!wing�binding�will�mak�e�`�C-x��f�\�'�insert�a�single�`�\�'�in�to�the�line:�����hʏ�"\C-x\\":���"\\"��z8���G�a1.3.2�d(Conditional��MInit�Constructs���9΍�!G�Readline�?�implemen��!ts�a�facilit�y�similar�in�spirit�to�the�conditional�compilation�features����Gof�$the�C�#�prepro�M�cessor�whic��!h�allo�ws�k�ey�bindings�and�v��dDariable�settings�to�b�M�e�p�erformed�as����Gthe��fresult�of�tests.���There�are�four�parser�directiv��!es�used.����G�$if�(���The��N�$if��construct�allo��!ws�bindings�to�b�M�e�made�based�on�the�editing�mo�de,�ʈthe����K�:terminal���b�M�eing�used,�͘or�the�application�using�Readline.��VThe�text�of�the�test����K�:extends��fto�the�end�of�the�line;�no�c��!haracters�are�required�to�isolate�it.����K�:�mode�"�K�The��[�mode=��form�of�the��$if��directiv��!e�is�used�to�test�whether�Readline������-is���in��emacs��or��vi��mo�M�de.��DThis�ma��!y�b�e�used�in�conjunction�with�the������-`�set��fkeymap�'�N
command,�_�for�instance,�to�set�bindings�in�the��emacs-������-standard�_�and��emacs-ctlx��k��!eymaps�only�if�Readline�is�starting�out������-in��f�emacs��mo�M�de.����K�:�term�"�K�The�<�term=��form�ma��!y�b�M�e�used�to�include�terminal-sp�ecic�k��!ey�bind-������-ings,��p�M�erhaps�V�to�bind�the�k��!ey�sequences�output�b�y�the�terminal's������-function�ހk��!eys.��;The�w�ord�on�the�righ�t�side�of�the�`�=�'�is�tested�against������-b�M�oth��Pthe�full�name�of�the�terminal�and�the�p�ortion�of�the�terminal������-name��b�M�efore�the�rst�`�-�'.��/This�allo��!ws��sun��to�matc�h�b�M�oth��sun��and������-�sun-cmd�,��ffor�instance.����K�:�application������-�The����application��construct�is�used�to�include�application-sp�M�ecic�set-������-tings.��mEac��!h��program�using�the�Readline�library�sets�the��application������-name�,��wand��<y��!ou�can�test�for�a�particular�v��dDalue.��$This�could�b�M�e�used�to����
�������G�10�9pGNU��fReadline�Library�����3*�����֍���-bind��Dk��!ey�sequences�to�functions�useful�for�a�sp�M�ecic�program.��wF��eor��
33����-instance,��the���follo��!wing�command�adds�a�k�ey�sequence�that�quotes������-the��fcurren��!t�or�previous�w�ord�in�Bash:��33������$if���Bash�������#���Quote�the�current�or�previous�word�������"\C-xq":���"\eb\"\ef\""�������$endif��33��G$endif�R��This���command,��(as�seen�in�the�previous�example,�terminates�an��$if��command.����G�$else���Commands��fin�this�branc��!h�of�the��$if��directiv�e�are�executed�if�the�test�fails.����G�$include�ӣ�This�:directiv��!e�tak�es�a�single�lename�as�an�argumen�t�and�reads�commands��
33��K�:and���bindings�from�that�le.��F��eor�example,��#the�follo��!wing�directiv�e�reads�from����K�:`�/etc/inputrc�':����hʏ�$include���/etc/inputrc�����G�a1.3.3�d(Sample��MInit�File���ff��!G�Here���is�an�example�of�an��inputrc�R��le.��This�illustrates�k��!ey�binding,���v��dDariable�assignmen�t,����Gand��fconditional�syn��!tax.�����h������G�Chapter��f1:���Command�Line�Editing��Ӯ11�����3*����	��.���#���This�file�controls�the�behaviour�of�line�input�editing�for��
33��.��#���programs�that�use�the�GNU�Readline�library.�TExisting����.��#���programs�include�FTP,�Bash,�and�GDB.����.��#����.��#���You�can�re-read�the�inputrc�file�with�C-x�C-r.����.��#���Lines�beginning�with�'#'�are�comments.����.��#����.��#���First,�include�any�systemwide�bindings�and�variable����.��#���assignments�from�/etc/Inputrc����.��$include���/etc/Inputrc��ff��.��#����.��#���Set�various�bindings�for�emacs�mode.����.��set���editing-mode�emacs����.��$if���mode=emacs����.��Meta-Control-h:�Tbackward-kill-word���Text�after�the�function�name�is�ignored�n�	 ����.��#����.��#���Arrow�keys�in�keypad�mode����.��#����.��#"\M-OD":�-�Pbackward-char����.��#"\M-OC":�-�Pforward-char����.��#"\M-OA":�-�Pprevious-history����.��#"\M-OB":�-�Pnext-history����.��#����.��#���Arrow�keys�in�ANSI�mode����.��#����.��"\M-[D":�-�Pbackward-char����.��"\M-[C":�-�Pforward-char����.��"\M-[A":�-�Pprevious-history����.��"\M-[B":�-�Pnext-history����.��#����.��#���Arrow�keys�in�8�bit�keypad�mode����.��#����.��#"\M-\C-OD":�(=�backward-char����.��#"\M-\C-OC":�(=�forward-char����.��#"\M-\C-OA":�(=�previous-history����.��#"\M-\C-OB":�(=�next-history����.��#����.��#���Arrow�keys�in�8�bit�ANSI�mode����.��#����.��#"\M-\C-[D":�(=�backward-char����.��#"\M-\C-[C":�(=�forward-char������������G�12�9pGNU��fReadline�Library�����3*�����֍�.���#"\M-\C-[A":�(=�previous-history��
33��.��#"\M-\C-[B":�(=�next-history��ff��.��C-q:���quoted-insert����.��$endif����.��#���An�old-style�binding.�TThis�happens�to�be�the�default.����.��TAB:���complete����.��#���Macros�that�are�convenient�for�shell�interaction����.��$if���Bash����.��#���edit�the�path����.��"\C-xp":���"PATH=${PATH}\e\C-e\C-a\ef\C-f"����.��#���prepare�to�type�a�quoted�word�--����.��#���insert�open�and�close�double�quotes����.��#���and�move�to�just�after�the�open�quote����.��"\C-x\"":���"\"\"\C-b"����.��#���insert�a�backslash�(testing�backslash�escapes����.��#���in�sequences�and�macros)����.��"\C-x\\":���"\\"����.��#���Quote�the�current�or�previous�word����.��"\C-xq":���"\eb\"\ef\""����.��#���Add�a�binding�to�refresh�the�line,�which�is�unbound����.��"\C-xr":���redraw-current-line����.��#���Edit�variable�on�current�line.����.��"\M-\C-v":���"\C-a\C-k$\C-y\M-\C-e\C-a\C-y="����.��$endif����.��#���use�a�visible�bell�if�one�is�available����.��set���bell-style�visible����.��#���don't�strip�characters�to�7�bits�when�reading����.��set���input-meta�on����.��#���allow�iso-latin1�characters�to�be�inserted�rather����.��#���than�converted�to�prefix-meta�sequences����.��set���convert-meta�off����.��#���display�characters�with�the�eighth�bit�set�directly����.��#���rather�than�as�meta-prefixed�characters����.��set���output-meta�on����.��#���if�there�are�more�than�150�possible�completions�for����.��#���a�word,�ask�the�user�if�he�wants�to�see�all�of�them����.��set���completion-query-items�150����
�~������G�Chapter��f1:���Command�Line�Editing��Ӯ13�����3*�����֍�.���#���For�FTP��
33��.��$if���Ftp����.��"\C-xg":���"get�\M-?"����.��"\C-xt":���"put�\M-?"����.��"\M-.":���yank-last-arg����.��$endif��8㍍�G�X1.4��Bindable�f@Readline�Commands���$��!G�This���section�describ�M�es�Readline�commands�that�ma��!y�b�e�b�ound�to�k��!ey�sequences.�6Com-����Gmand��fnames�without�an�accompan��!ying�k�ey�sequence�are�un�b�M�ound�b�y�default.���ԍ�!GIn�%Xthe�follo��!wing�descriptions,�?'�p�M�oin�t�bX�refers�to�the�curren�t�cursor�p�M�osition,�?'and��mark��\�refers����Gto��Aa�cursor�p�M�osition�sa��!v�ed��Ab�y�the��set-mark��command.��oThe�text�b�M�et�w�een�the�p�M�oin�t�and����Gmark��fis�referred�to�as�the��region�.��8㍍�G�a1.4.1�d(Commands��MF��ģor�Mo���ving�����G�beginning-of-line��f(C-a)����K�:�Mo��!v�e��fto�the�start�of�the�curren��!t�line.���u��G�end-of-line��f(C-e)����K�:�Mo��!v�e��fto�the�end�of�the�line.����G�forward-char��f(C-f)����K�:�Mo��!v�e��fforw�ard�a�c�haracter.����G�backward-char��f(C-b)����K�:�Mo��!v�e��fbac�k�a�c�haracter.����G�forward-word��f(M-f)����K�:�Mo��!v�e��kforw�ard�to�the�end�of�the�next�w�ord.�܉W��eords�are�comp�M�osed�of�letters�and����K�:digits.����G�backward-word��f(M-b)����K�:�Mo��!v�e��bac�k�to�the�start�of�the�curren�t�or�previous�w�ord.�|W��eords�are�comp�M�osed����K�:of��fletters�and�digits.����G�clear-screen��f(C-l)����K�:�Clear�2�the�screen�and�redra��!w�the�curren�t�line,�I�lea�ving�the�curren�t�line�at�the�top����K�:of��fthe�screen.����G�redraw-current-line��f()����K�:�Refresh��fthe�curren��!t�line.���By�default,�this�is�un�b�M�ound.��8㍍�G�a1.4.2�d(Commands��MF��ģor�Manipulating�The�History���$��G�accept-line��f(Newline�or�Return)����K�:�Accept�:the�line�regardless�of�where�the�cursor�is.���If�this�line�is�non-empt��!y��e,�^�it����K�:ma��!y��0b�M�e�added�to�the�history�list�for�future�recall�with��add_history()�.�g<If�this����K�:line��fis�a�mo�M�died�history�line,�the�history�line�is�restored�to�its�original�state.������������G�14�9pGNU��fReadline�Library�����3*�����֍�G�previous-history��f(C-p)��
33��K�:�Mo��!v�e��f`bac�k'�through�the�history�list,�fetc�hing�the�previous�command.���s��G�next-history��f(C-n)����K�:�Mo��!v�e��f`forw�ard'�through�the�history�list,�fetc�hing�the�next�command.����G�beginning-of-history��f(M-<)����K�:�Mo��!v�e��fto�the�rst�line�in�the�history��e.����G�end-of-history��f(M->)����K�:�Mo��!v�e��fto�the�end�of�the�input�history��e,�i.e.,�the�line�curren��!tly�b�M�eing�en�tered.����G�reverse-search-history��f(C-r)����K�:�Searc��!h��:bac�kw�ard�starting�at�the�curren�t�line�and�mo�ving�`up'�through�the�his-����K�:tory��fas�necessary��e.���This�is�an�incremen��!tal�searc�h.����G�forward-search-history��f(C-s)����K�:�Searc��!h���forw�ard�starting�at�the�curren�t�line�and�mo�ving�`do�wn'�through�the�the����K�:history��fas�necessary��e.���This�is�an�incremen��!tal�searc�h.����G�non-incremental-reverse-search-history��f(M-p)����K�:�Searc��!h��:bac�kw�ard�starting�at�the�curren�t�line�and�mo�ving�`up'�through�the�his-����K�:tory�Ryas�necessary�using�a�non-incremen��!tal�searc�h�for�a�string�supplied�b�y�the����K�:user.����G�non-incremental-forward-search-history��f(M-n)����K�:�Searc��!h���forw�ard�starting�at�the�curren�t�line�and�mo�ving�`do�wn'�through�the�the����K�:history�3�as�necessary�using�a�non-incremen��!tal�searc�h�for�a�string�supplied�b�y�the����K�:user.����G�history-search-forward��f()����K�:�Searc��!h��Oforw�ard�through�the�history�for�the�string�of�c�haracters�b�M�et�w�een�the����K�:start�7�of�the�curren��!t�line�and�the�p�M�oin�t.���This�is�a�non-incremen�tal�searc�h.���By����K�:default,��fthis�command�is�un��!b�M�ound.����G�history-search-backward��f()����K�:�Searc��!h�-�bac�kw�ard�through�the�history�for�the�string�of�c�haracters�b�M�et�w�een�the����K�:start�7�of�the�curren��!t�line�and�the�p�M�oin�t.���This�is�a�non-incremen�tal�searc�h.���By����K�:default,��fthis�command�is�un��!b�M�ound.����G�yank-nth-arg��f(M-C-y)����K�:�Insert�s�the�rst�argumen��!t�to�the�previous�command�(usually�the�second�w�ord����K�:on��|the�previous�line)�at�p�M�oin��!t.�h With�an�argumen�t��n�,��insert�the��n�th�w�ord�from����K�:the�0�previous�command�(the�w��!ords�in�the�previous�command�b�M�egin�with�w�ord����K�:0).�-dA���negativ��!e���argumen�t�inserts�the��n�th�w�ord�from�the�end�of�the�previous����K�:command.��Once��Gthe�argumen��!t��n��is�computed,�
?the�argumen�t�is�extracted�as�if����K�:the��f`�!�n�Ds�'�history�expansion�had�b�M�een�sp�ecied.����G�yank-last-arg��f(M-.�or�M-_)����K�:�Insert�5Elast�argumen��!t�to�the�previous�command�(the�last�w�ord�of�the�previous����K�:history��fen��!try).���With�an�argumen�t,���b�M�eha�v�e�exactly�lik�e��yank-nth-arg�.���Succes-����K�:siv��!e�&�calls�to��yank-last-arg��mo�v�e�bac�k�through�the�history�list,�F�inserting�the����K�:last��eargumen��!t�of�eac�h�line�in�turn.���The�history�expansion�facilities�are�used�to����K�:extract��fthe�last�argumen��!t,�as�if�the�`�!$�'�history�expansion�had�b�M�een�sp�ecied.�����Q������G�Chapter��f1:���Command�Line�Editing��Ӯ15�����3*�����֍��G�a1.4.3�d(Commands��MF��ģor�Changing�T�ext����G�delete-char��f(C-d)��
33��K�:�Delete���the�c��!haracter�at�p�M�oin�t.��If�p�M�oin�t�is�at�the�b�M�eginning�of�the�line,���there����K�:are�r�no�c��!haracters�in�the�line,���and�the�last�c�haracter�t�yp�M�ed�w�as�not�b�M�ound�to����K�:�delete-char�,��fthen�return��eof�.��C��G�backward-delete-char��f(Rubout)����K�:�Delete���the�c��!haracter�b�M�ehind�the�cursor.�۝A���n�umeric�argumen�t�means�to�kill�the����K�:c��!haracters��finstead�of�deleting�them.����G�forward-backward-delete-char��f()����K�:�Delete���the�c��!haracter�under�the�cursor,��unless�the�cursor�is�at�the�end�of�the����K�:line,��~in�ͭwhic��!h�case�the�c�haracter�b�M�ehind�the�cursor�is�deleted.�S�By�default,��~this����K�:is��fnot�b�M�ound�to�a�k��!ey��e.����G�quoted-insert��f(C-q�or�C-v)����K�:�Add��the�next�c��!haracter�t�yp�M�ed�to�the�line�v�erbatim.�C�This�is�ho�w�to�insert�k�ey����K�:sequences��flik��!e��C-q�,�for�example.����G�tab-insert��f(M-������h�����̟�@�ff�l����T��J�AB����̟ٚ�ff�l���8�����i���ь�)����K�:�Insert��fa�tab�c��!haracter.����G�self-insert��f(a,�b,�A,�1,�!,��...���e)����K�:�Insert��fy��!ourself.����G�transpose-chars��f(C-t)����K�:�Drag���the�c��!haracter�b�M�efore�the�cursor�forw�ard�o�v�er�the�c�haracter�at�the�cursor,����K�:mo��!ving�C"the�cursor�forw�ard�as�w�ell.��If�the�insertion�p�M�oin�t�is�at�the�end�of�the����K�:line,���then���this�transp�M�oses�the�last�t��!w�o���c�haracters�of�the�line.���Negativ�e�argumen�ts����K�:ha��!v�e��fno�eect.����G�transpose-words��f(M-t)����K�:�Drag���the�w��!ord�b�M�efore�p�oin��!t�past�the�w�ord�after�p�M�oin�t,��mo�ving�p�M�oin�t�past�that����K�:w��!ord�g�as�w�ell.���If�the�insertion�p�M�oin�t�is�at�the�end�of�the�line,�tAthis�transp�M�oses�the����K�:last��ft��!w�o�w�ords�on�the�line.����G�upcase-word��f(M-u)����K�:�Upp�M�ercase���the�curren��!t�(or�follo�wing)�w�ord.�o#With�a�negativ�e�argumen�t,���upp�M�er-����K�:case��fthe�previous�w��!ord,�but�do�not�mo�v�e�the�cursor.����G�downcase-word��f(M-l)����K�:�Lo��!w�ercase���the�curren��!t�(or�follo�wing)�w�ord.���With�a�negativ�e�argumen�t,�˖lo�w�ercase����K�:the��fprevious�w��!ord,�but�do�not�mo�v�e�the�cursor.����G�capitalize-word��f(M-c)����K�:�Capitalize��6the�curren��!t�(or�follo�wing)�w�ord.��#With�a�negativ�e�argumen�t,��rcapitalize����K�:the��fprevious�w��!ord,�but�do�not�mo�v�e�the�cursor.����G�overwrite-mode��f()����K�:�T��eoggle��o��!v�erwrite�mo�M�de.��	With�an�explicit�p�ositiv��!e�n�umeric�argumen�t,�

switc�hes����K�:to���o��!v�erwrite�mo�M�de.��fWith�an�explicit�non-p�ositiv��!e�n�umeric�argumen�t,�Ϯswitc�hes�to����ß������G�16�9pGNU��fReadline�Library�����3*�����֍�K�:insert���mo�M�de.��=This�command�aects�only��emacs��mo�de;���vi��mo�de�do�es�o��!v�erwrite��
33��K�:dieren��!tly��e.���Eac�h��fcall�to��readline()��starts�in�insert�mo�M�de.�����K�:In���o��!v�erwrite�mo�M�de,��c�haracters�b�M�ound�to��self-insert��replace�the�text�at�p�oin��!t����K�:rather���than�pushing�the�text�to�the�righ��!t.��tCharacters�b�M�ound�to��backward-����K�:delete-char��f�replace�the�c��!haracter�b�M�efore�p�oin��!t�with�a�space.����K�:By��fdefault,�this�command�is�un��!b�M�ound.��p����G�a1.4.4�d(Killing��MAnd�Y��ģanking����G��G�kill-line��f(C-k)����K�:�Kill��fthe�text�from�p�M�oin��!t�to�the�end�of�the�line.��(���G�backward-kill-line��f(C-x�Rubout)����K�:�Kill��fbac��!kw�ard�to�the�b�M�eginning�of�the�line.����G�unix-line-discard��f(C-u)����K�:�Kill��fbac��!kw�ard�from�the�cursor�to�the�b�M�eginning�of�the�curren�t�line.����G�kill-whole-line��f()����K�:�Kill�cjall�c��!haracters�on�the�curren�t�line,���no�matter�where�p�M�oin�t�is.��By�default,����K�:this��fis�un��!b�M�ound.����G�kill-word��f(M-d)����K�:�Kill��from�p�M�oin��!t�to�the�end�of�the�curren�t�w�ord,��Qor�if�b�M�et�w�een�w�ords,��Qto�the�end����K�:of��fthe�next�w��!ord.���W��eord�b�M�oundaries�are�the�same�as��forward-word�.����G�backward-kill-word��f(M-������h�����̟�@�ff������DEL����̟ٚ�ff������8����i�����)����K�:�Kill�w�the�w��!ord�b�M�ehind�p�oin��!t.��XW��eord�b�oundaries�are�the�same�as��backward-word�.����G�unix-word-rubout��f(C-w)����K�:�Kill��Lthe�w��!ord�b�M�ehind�p�oin��!t,��using�white�space�as�a�w�ord�b�M�oundary��e.�R�The�killed����K�:text��fis�sa��!v�ed��fon�the�kill-ring.����G�unix-filename-rubout��f()����K�:�Kill�]�the�w��!ord�b�M�ehind�p�oin��!t,���using�white�space�and�the�slash�c�haracter�as�the����K�:w��!ord��fb�M�oundaries.���The�killed�text�is�sa�v�ed�on�the�kill-ring.����G�delete-horizontal-space��f()����K�:�Delete��fall�spaces�and�tabs�around�p�M�oin��!t.���By�default,�this�is�un�b�M�ound.����G�kill-region��f()����K�:�Kill��fthe�text�in�the�curren��!t�region.���By�default,�this�command�is�un�b�M�ound.����G�copy-region-as-kill��f()����K�:�Cop��!y��the�text�in�the�region�to�the�kill�buer,�0Eso�it�can�b�M�e�y�ank�ed�righ�t�a�w�a�y��e.����K�:By��fdefault,�this�command�is�un��!b�M�ound.����G�copy-backward-word��f()����K�:�Cop��!y��the�w�ord�b�M�efore�p�oin��!t�to�the�kill�buer.���The�w�ord�b�M�oundaries�are�the����K�:same��fas��backward-word�.���By�default,�this�command�is�un��!b�M�ound.����G�copy-forward-word��f()����K�:�Cop��!y��8the�w�ord�follo�wing�p�M�oin�t�to�the�kill�buer.�SThe�w�ord�b�M�oundaries�are�the����K�:same��fas��forward-word�.���By�default,�this�command�is�un��!b�M�ound.����ι������G�Chapter��f1:���Command�Line�Editing��Ӯ17�����3*�����֍�G�yank��f(C-y)��
33��K�:�Y��eank��fthe�top�of�the�kill�ring�in��!to�the�buer�at�p�M�oin�t.��FӍ�G�yank-pop��f(M-y)����K�:�Rotate�'!the�kill-ring,�GPand�y��!ank�the�new�top.�`Y��eou�can�only�do�this�if�the�prior����K�:command��fis��yank��or��yank-pop�.��p���G�a1.4.5�d(Sp�iecifying��MNumeric�Argumen���ts���p6��G�digit-argument��f(�M-0�,��M-1�,��...�����M--�)����K�:�Add�:Lthis�digit�to�the�argumen��!t�already�accum�ulating,�O�or�start�a�new�argumen�t.����K�:�M--��f�starts�a�negativ��!e�argumen�t.����G�universal-argument��f()����K�:�This�kis�another�w��!a�y�kto�sp�M�ecify�an�argumen��!t.���If�this�command�is�follo�w�ed�b�y�one����K�:or��more�digits,���optionally�with�a�leading�min��!us�sign,�those�digits�dene�the�ar-����K�:gumen��!t.���If�\the�command�is�follo�w�ed�b�y�digits,��+executing��universal-argument����K�:�again�ѫends�the�n��!umeric�argumen�t,��|but�is�otherwise�ignored.�_�As�a�sp�M�ecial�case,����K�:if���this�command�is�immediately�follo��!w�ed���b�y�a�c�haracter�that�is�neither�a�digit����K�:or�Zwmin��!us�sign,�i�the�argumen�t�coun�t�for�the�next�command�is�m�ultiplied�b�y�four.����K�:The�{targumen��!t�coun�t�is�initially�one,���so�executing�this�function�the�rst�time����K�:mak��!es��2the�argumen�t�coun�t�four,��ea�second�time�mak�es�the�argumen�t�coun�t�six-����K�:teen,��fand�so�on.���By�default,�this�is�not�b�M�ound�to�a�k��!ey��e.��p���G�a1.4.6�d(Letting��MReadline�T���yp�ie�F��ģor�Y�ou���p6��G�complete��f(������h�����̟�@�ff�l����T��J�AB����̟ٚ�ff�l���8�����i���ь�)����K�:�A��!ttempt���to�p�M�erform�completion�on�the�text�b�efore�p�oin��!t.��The�actual�completion����K�:p�M�erformed��fis�application-sp�ecic.���The�default�is�lename�completion.����G�possible-completions��f(M-?)����K�:�List��fthe�p�M�ossible�completions�of�the�text�b�efore�p�oin��!t.����G�insert-completions��f(M-*)����K�:�Insert���all�completions�of�the�text�b�M�efore�p�oin��!t�that�w�ould�ha�v�e�b�M�een�generated����K�:b��!y��f�possible-completions�.����G�menu-complete��f()����K�:�Similar��Vto��complete�,��but�replaces�the�w��!ord�to�b�M�e�completed�with�a�single�matc�h����K�:from���the�list�of�p�M�ossible�completions.��^Rep�eated�execution�of��menu-complete����K�:�steps�կthrough�the�list�of�p�M�ossible�completions,�!�inserting�eac��!h�matc�h�in�turn.����K�:A��!t�j�the�end�of�the�list�of�completions,���the�b�M�ell�is�rung�(sub���ject�to�the�setting����K�:of�Th�bell-style�)�and�the�original�text�is�restored.���An�argumen��!t�of��n��mo�v�es��n����K�:�p�M�ositions�,Rforw��!ard�in�the�list�of�matc�hes;�oGa�negativ�e�argumen�t�ma�y�b�M�e�used�to����K�:mo��!v�e���bac�kw�ard�through�the�list.��UThis�command�is�in�tended�to�b�M�e�b�ound�to������K�:����h����N���@�ff�l����T��J�AB���N��ٚ�ff�l���`䞙��i���c���,��fbut�is�un��!b�M�ound�b�y�default.����G�delete-char-or-list��f()����K�:�Deletes�9{the�c��!haracter�under�the�cursor�if�not�at�the�b�M�eginning�or�end�of�the�line����K�:(lik��!e�~��delete-char�).�СIf�at�the�end�of�the�line,���b�M�eha�v�es�iden�tically�to��possible-����K�:completions�.���This��fcommand�is�un��!b�M�ound�b�y�default.���������G�18�9pGNU��fReadline�Library�����3*�����֍��G�a1.4.7�d(Keyb�ioard��MMacros�������G�start-kbd-macro��f(C-x�()��
33��K�:�Begin��fsa��!ving�the�c�haracters�t�yp�M�ed�in�to�the�curren�t�k�eyb�M�oard�macro.���㍑G�end-kbd-macro��f(C-x�))����K�:�Stop�G!sa��!ving�the�c�haracters�t�yp�M�ed�in�to�the�curren�t�k�eyb�M�oard�macro�and�sa�v�e�the����K�:denition.����G�call-last-kbd-macro��f(C-x�e)����K�:�Re-execute�9Bthe�last�k��!eyb�M�oard�macro�dened,�]�b�y�making�the�c�haracters�in�the����K�:macro��fapp�M�ear�as�if�t��!yp�ed�at�the�k��!eyb�oard.���_���G�a1.4.8�d(Some��MMiscellaneous�Commands�������G�re-read-init-file��f(C-x�C-r)����K�:�Read��kin�the�con��!ten�ts��kof�the��inputrc�Jo�le,���and�incorp�M�orate�an��!y�bindings�or�v��dDariable����K�:assignmen��!ts��ffound�there.����G�abort��f(C-g)����K�:�Ab�M�ort�/the�curren��!t�editing�command�and�ring�the�terminal's�b�ell�(sub���ject�to�the����K�:setting��fof��bell-style�).����G�do-uppercase-version��f(M-a,�M-b,�M-�x�,��...���e)����K�:�If�Q�the�metaed�c��!haracter��x�T�is�lo�w�ercase,�b�run�the�command�that�is�b�M�ound�to�the����K�:corresp�M�onding��fupp�ercase�c��!haracter.����G�prefix-meta��f(������h�����̟�@�ff�T����ESC����̟ٚ�ff�T��������i����t�)����K�:�Metafy��2the�next�c��!haracter�t�yp�M�ed.�q@This�is�for�k�eyb�M�oards�without�a�meta�k�ey��e.����K�:T��!yping��f`������h�����̟�@�ff�T����ESC����̟ٚ�ff�T��������i���K��f�'�is�equiv��dDalen�t�to�t�yping��M-f�.����G�undo��f(C-_�or�C-x�C-u)����K�:�Incremen��!tal��fundo,�separately�remem�b�M�ered�for�eac�h�line.����G�revert-line��f(M-r)����K�:�Undo��all�c��!hanges�made�to�this�line.���This�is�lik�e�executing�the��undo��command����K�:enough��ftimes�to�get�bac��!k�to�the�b�M�eginning.����G�tilde-expand��f(M-~)����K�:�P��!erform��ftilde�expansion�on�the�curren�t�w�ord.����G�set-mark��f(C-@)����K�:�Set��the�mark�to�the�p�M�oin��!t.���If�a�n�umeric�argumen�t�is�supplied,�ythe�mark�is�set����K�:to��fthat�p�M�osition.����G�exchange-point-and-mark��f(C-x�C-x)����K�:�Sw��!ap���the�p�M�oin�t�with�the�mark.�'!The�curren�t�cursor�p�M�osition�is�set�to�the�sa�v�ed����K�:p�M�osition,��fand�the�old�cursor�p�osition�is�sa��!v�ed��fas�the�mark.����G�character-search��f(C-])����K�:�A��&c��!haracter��Qis�read�and�p�M�oin�t�is�mo�v�ed�to�the�next�o�M�ccurrence�of�that�c�haracter.����K�:A��fnegativ��!e�coun�t�searc�hes�for�previous�o�M�ccurrences.����������G�Chapter��f1:���Command�Line�Editing��Ӯ19�����3*�����֍�G�character-search-backward��f(M-C-])��
33��K�:�A�c"c��!haracter�c�is�read�and�p�M�oin�t�is�mo�v�ed�to�the�previous�o�M�ccurrence�of�that����K�:c��!haracter.���A��fnegativ�e�coun�t�searc�hes�for�subsequen�t�o�M�ccurrences.��33��G�insert-comment��f(M-#)����K�:�Without�G�a�n��!umeric�argumen�t,�p+the�v��dDalue�of�the��comment-begin��v�ariable�is�in-����K�:serted���at�the�b�M�eginning�of�the�curren��!t�line.�QdIf�a�n�umeric�argumen�t�is�supplied,����K�:this�c�command�acts�as�a�toggle:�Yif�the�c��!haracters�at�the�b�M�eginning�of�the�line����K�:do���not�matc��!h�the�v��dDalue�of��comment-begin�,��Ythe�v�alue�is�inserted,��Yotherwise�the����K�:c��!haracters��6in��comment-begin��are�deleted�from�the�b�M�eginning�of�the�line.�dMIn����K�:either��fcase,�the�line�is�accepted�as�if�a�newline�had�b�M�een�t��!yp�ed.����G�dump-functions��f()����K�:�Prin��!t�,Qall�of�the�functions�and�their�k�ey�bindings�to�the�Readline�output�stream.����K�:If���a�n��!umeric�argumen�t�is�supplied,��the�output�is�formatted�in�suc�h�a�w�a�y�that����K�:it��fcan�b�M�e�made�part�of�an��inputrc�Pj�le.���This�command�is�un��!b�ound�b��!y�default.����G�dump-variables��f()����K�:�Prin��!t���all�of�the�settable�v��dDariables�and�their�v�alues�to�the�Readline�output�stream.����K�:If���a�n��!umeric�argumen�t�is�supplied,��the�output�is�formatted�in�suc�h�a�w�a�y�that����K�:it��fcan�b�M�e�made�part�of�an��inputrc�Pj�le.���This�command�is�un��!b�ound�b��!y�default.����G�dump-macros��f()����K�:�Prin��!t�
�all�of�the�Readline�k�ey�sequences�b�M�ound�to�macros�and�the�strings�they����K�:output.�r�If�-Ja�n��!umeric�argumen�t�is�supplied,�Othe�output�is�formatted�in�suc�h�a����K�:w��!a�y��that�it�can�b�M�e�made�part�of�an��inputrc�D�le.���This�command�is�un��!b�ound�b��!y����K�:default.����G�emacs-editing-mode��f(C-e)����K�:�When��fin��vi��command�mo�M�de,�this�causes�a�switc��!h�to��emacs��editing�mo�de.����G�vi-editing-mode��f(M-C-j)����K�:�When��fin��emacs��editing�mo�M�de,�this�causes�a�switc��!h�to��vi��editing�mo�de.�����G�X1.5��Readline�f@vi�Mo�s3de���ff��!G�While��Uthe�Readline�library�do�M�es�not�ha��!v�e��Ua�full�set�of��vi��editing�functions,��it�do�es�con��!tain����Genough��to�allo��!w�simple�editing�of�the�line.�.�The�Readline��vi��mo�M�de�b�eha��!v�es��as�sp�ecied�in����Gthe��f�posix��1003.2�standard.��33��!GIn�|Uorder�to�switc��!h�in�teractiv�ely�b�M�et�w�een��emacs��and��vi��editing�mo�M�des,���use�the�command����G�M-C-j��i�(b�M�ound�to�emacs-editing-mo�de�when�in��vi��mo�de�and�to�vi-editing-mo�de�in��emacs����G�mo�M�de).���The��fReadline�default�is��emacs��mo�de.����!GWhen���y��!ou�en�ter�a�line�in��vi��mo�M�de,���y�ou�are�already�placed�in�`insertion'�mo�M�de,���as�if�y�ou����Ghad�&Gt��!yp�M�ed�an�`�i�'.��(Pressing�������h������@�ff�T����ESC����ٚ�ff�T���2ٞ���i�����switc�hes�y�ou�in�to�`command'�mo�M�de,�?�where�y�ou�can�edit�the����Gtext�of�the�line�with�the�standard��vi��mo��!v�emen�t�k�eys,�)<mo�v�e�to�previous�history�lines�with����G`�k�'��fand�subsequen��!t�lines�with�`�j�',�and�so�forth.�����鍟����G�20�9pGNU��fReadline�Library�����3*����������G�App�M�endix��fA:�Cop��!ying�This�Man�ual��~21�����3*�����֍���G�OApp��=endix�z�A��~��Cop��u�ying�z�This�Man�ual���/#׍��G�XA.1��GNU�f@F���free�Do�s3cumen���tation�License���ff���4A�V��eersion��f1.2,�No��!v�em�b�M�er��f2002�����.��Cop��!yrigh�t���������c��������f�
�����@�2000,2001,2002��fF��eree�Soft��!w�are��fF�oundation,�Inc.��
33��.��59��fT��eemple�Place,�Suite�330,�Boston,�MA�L�02111-1307,�USA����.��Ev��!ery�one��fis�p�M�ermitted�to�cop��!y�and�distribute�v�erbatim�copies����.��of��fthis�license�do�M�cumen��!t,�but�c�hanging�it�is�not�allo�w�ed.������-0.��'��PREAMBLE������'��The�vQpurp�M�ose�of�this�License�is�to�mak��!e�a�man�ual,��Ltextb�M�o�ok,�or�vQother�functional�and����'��useful���do�M�cumen��!t��free�;��in�the�sense�of�freedom:��!to�assure�ev�ery�one�the�eectiv�e�freedom����'��to��9cop��!y�and�redistribute�it,��.with�or�without�mo�M�difying�it,�either�commercially�or�non-����'��commercially��e.�c�Secondarily�,�H�this�(aLicense�preserv��!es�for�the�author�and�publisher�a�w�a�y����'��to�W9get�credit�for�their�w��!ork,��mwhile�not�b�M�eing�considered�resp�onsible�for�mo�dications����'��made��fb��!y�others.����'��This��/License�is�a�kind�of�\cop��!yleft",���whic�h��/means�that�deriv��dDativ��!e�w�orks�of�the�do�M�cumen�t����'��m��!ust��themselv�es�b�M�e�free�in�the�same�sense.� �It�complemen�ts�the�GNU��General�Public����'��License,��fwhic��!h�is�a�cop�yleft�license�designed�for�free�soft�w�are.����'��W��ee��#ha��!v�e�designed�this�License�in�order�to�use�it�for�man�uals�for�free�soft�w�are,���b�M�ecause����'��free�?soft��!w�are�needs�free�do�M�cumen�tation:���a�free�program�should�come�with�man�uals����'��pro��!viding�urthe�same�freedoms�that�the�soft�w�are�do�M�es.�͌But�this�License�is�not�limited�to����'��soft��!w�are���man�uals;���it�can�b�M�e�used�for�an�y�textual�w�ork,���regardless�of�sub���ject�matter�or����'��whether��2it�is�published�as�a�prin��!ted�b�M�o�ok.�@AW��ee��2recommend�this�License�principally�for����'��w��!orks��fwhose�purp�M�ose�is�instruction�or�reference.�����-1.��'��APPLICABILITY��fAND�DEFINITIONS����'��This��>License�applies�to�an��!y�man�ual�or�other�w�ork,��in�an�y�medium,��that�con�tains�a����'��notice��placed�b��!y�the�cop�yrigh�t�holder�sa�ying�it�can�b�M�e�distributed�under�the�terms����'��of���this�License.�l=Suc��!h�a�notice�gran�ts�a�w�orld-wide,��ro�y�alt�y-free�license,��unlimited�in����'��duration,��
to�o�use�that�w��!ork�under�the�conditions�stated�herein.�
9�The�\Do�M�cumen�t",����'��b�M�elo��!w,�tkrefers�g�to�an�y�suc�h�man�ual�or�w�ork.��
An�y�mem�b�M�er�of�the�public�is�a�licensee,�tkand����'��is���addressed�as�\y��!ou".��@Y��eou�accept�the�license�if�y�ou�cop�y��e,� �mo�M�dify�or�distribute�the�w�ork����'��in��fa�w��!a�y��frequiring�p�M�ermission�under�cop��!yrigh�t��fla�w.����'��A��\Mo�M�died��V��eersion"�of�the�Do�cumen��!t�means�an�y�w�ork�con�taining�the�Do�M�cumen�t�or����'��a��hp�M�ortion�of�it,��heither�copied�v��!erbatim,�or�with�mo�M�dications�and/or�translated�in��!to����'��another��flanguage.����'��A��\Secondary��Section"�is�a�named�app�M�endix�or�a�fron��!t-matter�section�of�the�Do�cumen��!t����'��that��/deals�exclusiv��!ely�with�the�relationship�of�the�publishers�or�authors�of�the�Do�M�cumen�t����'��to�z
the�Do�M�cumen��!t's�o�v�erall�sub���ject�(or�to�related�matters)�and�con�tains�nothing�that����'��could�خfall�directly�within�that�o��!v�erall�خsub���ject.�t�(Th�us,�%@if�the�Do�M�cumen�t�is�in�part�a����'��textb�M�o�ok�Նof�mathematics,��La�Secondary�Section�ma��!y�not�explain�an�y�mathematics.)��=The����'��relationship�G�could�b�M�e�a�matter�of�historical�connection�with�the�sub���ject�or�with�related�����������G�22�9pGNU��fReadline�Library�����3*�����֍�'��matters,�jor�B�of�legal,�commercial,�philosophical,�ethical�or�p�M�olitical�p�osition�regarding��
33��'��them.������'��The�r\In��!v��dDarian�t�Sections"�are�certain�Secondary�Sections�whose�titles�are�designated,�0�as����'��b�M�eing�2Dthose�of�In��!v��dDarian�t�2DSections,�I~in�the�notice�that�sa��!ys�that�the�Do�cumen��!t�is�released����'��under�S5this�License.��"If�a�section�do�M�es�not�t�the�ab�o��!v�e�S5denition�of�Secondary�then�it�is����'��not�Ӎallo��!w�ed�to�b�M�e�designated�as�In�v��dDarian�t.�eSThe�Do�M�cumen�t�ma�y�con�tain�zero�In�v��dDarian�t����'��Sections.���If��the�Do�M�cumen��!t�do�es�not�iden��!tify�an�y�In�v��dDarian�t�Sections�then�there�are�none.����'��The�f�\Co��!v�er�T��eexts"�are�certain�short�passages�of�text�that�are�listed,���as�F�ron��!t-Co�v�er����'��T��eexts�-or�Bac��!k-Co�v�er�-T�exts,�"8in�the�notice�that�sa��!ys�that�the�Do�M�cumen�t�is�released�under����'��this��License.��AA�nF��eron��!t-Co�v�er�T��eext�ma�y�b�M�e�at�most�5�w�ords,�6�and�a�Bac�k-Co�v�er�T��eext�ma�y����'��b�M�e��fat�most�25�w��!ords.����'��A�C�\T��eransparen��!t"�C�cop�y�of�the�Do�M�cumen�t�means�a�mac�hine-readable�cop�y��e,�k(represen�ted����'��in�Jma�format�whose�sp�M�ecication�is�a��!v��dDailable�to�the�general�public,�sothat�is�suitable�for����'��revising���the�do�M�cumen��!t�straigh�tforw�ardly�with�generic�text�editors�or�(for�images�com-����'��p�M�osed���of�pixels)�generic�pain��!t�programs�or�(for�dra�wings)�some�widely�a�v��dDailable�dra�wing����'��editor,���and�}�that�is�suitable�for�input�to�text�formatters�or�for�automatic�translation�to����'��a�9Ov��dDariet��!y�of�formats�suitable�for�input�to�text�formatters.���A�93cop�y�made�in�an�otherwise����'��T��eransparen��!t���le�format�whose�markup,���or�absence�of�markup,�has�b�M�een�arranged�to����'��th��!w�art�0�or�discourage�subsequen��!t�mo�M�dication�b�y�readers�is�not�T��eransparen�t.���An�image����'��format� �is�not�T��eransparen��!t�if�used�for�an�y�substan�tial�amoun�t�of�text.�MA� �cop�y�that�is����'��not��f\T��eransparen��!t"�is�called�\Opaque".����'��Examples�cXof�suitable�formats�for�T��eransparen��!t�copies�include�plain��asci�>Ki��without����'��markup,�'T��eexinfo�ěinput�format,�LaT���,��[wE��B	X��Qinput�format,��sgml��or��xml��using�a�publicly����'��a��!v��dDailable��e�dtd�,��%and�standard-conforming�simple��html�,�P��!ostScript�or��pdf��designed�for����'��h��!uman���mo�M�dication.��mExamples�of�transparen�t�image�formats�include��png�,���x���cf��and����'���jpg�.��QOpaque���formats�include�proprietary�formats�that�can�b�M�e�read�and�edited�only����'��b��!y��Mproprietary�w�ord�pro�M�cessors,���sgml��or��xml��for�whic�h�the��dtd��and/or�pro�M�cessing����'��to�M�ols��_are�not�generally�a��!v��dDailable,��]and�the�mac�hine-generated��html�,��]P�ostScript�or��pdf����'���pro�M�duced��fb��!y�some�w�ord�pro�M�cessors�for�output�purp�oses�only��e.����'��The��\Title�P��!age"�means,�<�for�a�prin�ted�b�M�o�ok,�<�the��title�page�itself,�plus�suc��!h�follo�wing����'��pages�R�as�are�needed�to�hold,�c}legibly��e,�the�R�material�this�License�requires�to�app�M�ear�in�the����'��title�1.page.���F��eor�w��!orks�in�formats�whic�h�do�not�ha�v�e�an�y�title�page�as�suc�h,�H�\Title�P�age"����'��means���the�text�near�the�most�prominen��!t�app�M�earance�of�the�w�ork's�title,��Xpreceding�the����'��b�M�eginning��fof�the�b�o�dy�of�the�text.����'��A���section���\En��!titled�XYZ"�means�a�named�subunit�of�the�Do�M�cumen��!t�whose�title�either����'��is�U�precisely�XYZ�U�or�con��!tains�XYZ�in�paren��!theses�follo�wing�text�that�translates�XYZ�U�in����'��another���language.���(Here�XYZ���stands�for�a�sp�M�ecic�section�name�men��!tioned�b�elo��!w,� :suc�h����'��as�aa\Ac��!kno�wledgemen�ts",�o/\Dedications",�\Endorsemen��!ts",�or�\History".)���T��eo�\Preserv��!e����'��the��Title"�of�suc��!h�a�section�when�y�ou�mo�M�dify�the�Do�cumen��!t�means�that�it�remains�a����'��section��f\En��!titled�XYZ"�according�to�this�denition.����'��The�SuDo�M�cumen��!t�ma�y�include�W��earran�t�y�Disclaimers�next�to�the�notice�whic�h�states�that����'��this��License�applies�to�the�Do�M�cumen��!t.��These�W��earran�t�y�Disclaimers�are�considered�to����'��b�M�e���included�b��!y�reference�in�this�License,���but�only�as�regards�disclaiming�w�arran�ties:����'��an��!y�n�other�implication�that�these�W��earran�t�y�Disclaimers�ma�y�ha�v�e�is�v�oid�and�has�no����'��eect��fon�the�meaning�of�this�License.����
������G�App�M�endix��fA:�Cop��!ying�This�Man�ual��~23�����3*�����֍��-2.��'��VERBA��eTIM��fCOPYING������'��Y��eou���ma��!y�cop�y�and�distribute�the�Do�M�cumen�t�in�an�y�medium,��either�commercially�or��
33��'��noncommercially��e,�z�pro��!vided�that�this�License,�the�cop��!yrigh�t�notices,�and�the�license����'��notice�Ksa��!ying�this�License�applies�to�the�Do�M�cumen�t�are�repro�M�duced�in�all�copies,�t7and����'��that�1'y��!ou�add�no�other�conditions�whatso�M�ev�er�to�those�of�this�License.���Y��eou�ma�y�not�use����'��tec��!hnical��measures�to�obstruct�or�con�trol�the�reading�or�further�cop�ying�of�the�copies����'��y��!ou���mak�e�or�distribute.���Ho�w�ev�er,��y�ou�ma�y�accept�comp�M�ensation�in�exc�hange�for�copies.����'��If��y��!ou�distribute�a�large�enough�n�um�b�M�er�of�copies�y�ou�m�ust�also�follo�w�the�conditions����'��in��fsection�3.����'��Y��eou�}�ma��!y�also�lend�copies,��7under�the�same�conditions�stated�ab�M�o�v�e,��7and�y�ou�ma�y�publicly����'��displa��!y��fcopies.�����-3.��'��COPYING��fIN�QUANTITY����'��If��y��!ou�publish�prin�ted�copies�(or�copies�in�media�that�commonly�ha�v�e�prin�ted�co�v�ers)�of����'��the��.Do�M�cumen��!t,���n�um�b�ering��.more�than�100,���and�the�Do�cumen��!t's�license�notice�requires����'��Co��!v�er��T��eexts,�<�y�ou�m�ust�enclose�the�copies�in�co�v�ers�that�carry��e,�<�clearly�and�legibly�,�<�all����'��these��@Co��!v�er�T��eexts:���F�ron��!t-Co�v�er�T��eexts�on�the�fron�t�co�v�er,���and�Bac�k-Co�v�er�T��eexts�on����'��the��bac��!k�co�v�er.��
Both�co�v�ers�m�ust�also�clearly�and�legibly�iden�tify�y�ou�as�the�publisher����'��of�,these�copies.�H.The�fron��!t�co�v�er�m�ust�presen�t�the�full�title�with�all�w�ords�of�the�title����'��equally��xprominen��!t�and�visible.�Y��eou�ma�y�add�other�material�on�the�co�v�ers�in�addition.����'��Cop��!ying�Y4with�c�hanges�limited�to�the�co�v�ers,���as�long�as�they�preserv�e�the�title�of�the����'��Do�M�cumen��!t�uand�satisfy�these�conditions,���can�b�e�treated�as�v��!erbatim�cop�ying�in�other����'��resp�M�ects.����'��If��|the�required�texts�for�either�co��!v�er��|are�to�M�o�v��!oluminous�to�t�legibly��e,��y�ou�should�put����'��the��rst�ones�listed�(as�man��!y�as�t�reasonably)�on�the�actual�co�v�er,��and�con�tin�ue�the����'��rest��fon��!to�adjacen�t�pages.����'��If�?|y��!ou�publish�or�distribute�Opaque�copies�of�the�Do�M�cumen�t�n�um�b�M�ering�more�than�100,����'��y��!ou�\3m�ust�either�include�a�mac�hine-readable�T��eransparen�t�cop�y�along�with�eac�h�Opaque����'��cop��!y��e,�[>or�7state�in�or�with�eac�h�Opaque�cop�y�a�computer-net�w�ork�lo�M�cation�from�whic�h����'��the��Sgeneral�net��!w�ork-using��Spublic�has�access�to�do��!wnload�using�public-standard�net�w�ork����'��proto�M�cols��=a�complete�T��eransparen��!t�cop�y�of�the�Do�M�cumen�t,��free�of�added�material.��cIf����'��y��!ou��use�the�latter�option,���y�ou�m�ust�tak�e�reasonably�pruden�t�steps,���when�y�ou�b�M�egin����'��distribution��lof�Opaque�copies�in�quan��!tit�y��e,�Ӯto��lensure�that�this�T�ransparen��!t�cop�y�will����'��remain��Cth��!us�accessible�at�the�stated�lo�M�cation�un�til�at�least�one�y�ear�after�the�last�time����'��y��!ou�k�distribute�an�Opaque�cop�y�(directly�or�through�y�our�agen�ts�or�retailers)�of�that����'��edition��fto�the�public.����'��It�&Nis�requested,�FHbut�not�required,�that�y��!ou�con�tact�the�authors�of�the�Do�M�cumen�t�w�ell����'��b�M�efore�o�redistributing�an��!y�large�n�um�b�M�er�of�copies,�z�to�giv�e�them�a�c�hance�to�pro�vide�y�ou����'��with��fan�up�M�dated�v��!ersion�of�the�Do�cumen��!t.�����-4.��'��MODIFICA��eTIONS����'��Y��eou�*ma��!y�cop�y�and�distribute�a�Mo�M�died�V��eersion�of�the�Do�cumen��!t�under�the�conditions����'��of���sections�2�and�3�ab�M�o��!v�e,��]pro�vided���that�y��!ou�release�the�Mo�died�V��eersion�under�precisely����'��this�{�License,��`with�the�Mo�M�died�V��eersion�lling�the�role�of�the�Do�cumen��!t,��`th�us�{�licensing����'��distribution��and�mo�M�dication�of�the�Mo�died�V��eersion�to�who�ev��!er�p�ossesses�a�cop��!y�of����'��it.���In��faddition,�y��!ou�m�ust�do�these�things�in�the�Mo�M�died�V��eersion:����4������G�24�9pGNU��fReadline�Library�����3*�����֍��*��A.��=nUse��pin�the�Title�P��!age�(and�on�the�co�v�ers,��2if�an�y)�a�title�distinct�from�that�of�the��
33��=nDo�M�cumen��!t,�+and��from�those�of�previous�v�ersions�(whic�h�should,�+if�there�w�ere�an�y��e,����=nb�M�e���listed�in�the�History�section�of�the�Do�cumen��!t).�3�Y��eou�ma�y�use�the�same�title�as����=na��fprevious�v��!ersion�if�the�original�publisher�of�that�v�ersion�giv�es�p�M�ermission.���͍��+g�B.��=nList��\on�the�Title�P��!age,��Yas�authors,�one�or�more�p�M�ersons�or�en��!tities�resp�onsible�for����=nauthorship�"of�the�mo�M�dications�in�the�Mo�died�V��eersion,�<|together�with�at�least�v��!e����=nof�߸the�principal�authors�of�the�Do�M�cumen��!t�(all�of�its�principal�authors,�tif�it�has�few�er����=nthan��fv��!e),�unless�they�release�y�ou�from�this�requiremen�t.�����+@�C.��=nState���on�the�Title�page�the�name�of�the�publisher�of�the�Mo�M�died�V��eersion,���as�the����=npublisher.�����*��D.��=nPreserv��!e��fall�the�cop�yrigh�t�notices�of�the�Do�M�cumen�t.�����+�oE.��=nAdd��ean�appropriate�cop��!yrigh�t��enotice�for�y��!our�mo�M�dications�adjacen�t�to�the�other����=ncop��!yrigh�t��fnotices.�����,LF.��=nInclude,�hSimmediately�X�after�the�cop��!yrigh�t�X�notices,�a�license�notice�giving�the�public����=np�M�ermission���to�use�the�Mo�died�V��eersion�under�the�terms�of�this�License,�Pin�the�form����=nsho��!wn��fin�the�Addendum�b�M�elo�w.�����*�nG.��=nPreserv��!e��min�that�license�notice�the�full�lists�of�In�v��dDarian�t�Sections�and�required�Co�v�er����=nT��eexts��fgiv��!en�in�the�Do�M�cumen�t's�license�notice.�����*��H.��=nInclude��fan�unaltered�cop��!y�of�this�License.�����/4�I.��=nPreserv��!e�چthe�section�En�titled�\History",��Preserv�e�its�Title,��and�add�to�it�an�item����=nstating�_at�least�the�title,�mQy��!ear,�new�_authors,�and�publisher�of�the�Mo�M�died�V��eersion����=nas��Xgiv��!en�on�the�Title�P�age.�7�If�there�is�no�section�En�titled�\History"�in�the�Do�M�cu-����=nmen��!t,�O#create�-done�stating�the�title,�y��!ear,�authors,�and�publisher�of�the�Do�M�cumen��!t����=nas�Wgiv��!en�on�its�Title�P�age,��Gthen�add�an�item�describing�the�Mo�M�died�V��eersion�as����=nstated��fin�the�previous�sen��!tence.�����-��J.��=nPreserv��!e��the�net�w�ork�lo�M�cation,���if�an�y��e,���giv�en�in�the�Do�M�cumen�t�for�public�access�to����=na���T��eransparen��!t�cop�y�of�the�Do�M�cumen�t,��Mand�lik�ewise�the�net�w�ork�lo�M�cations�giv�en�in����=nthe�̈́Do�M�cumen��!t�for�previous�v�ersions�it�w�as�based�on.�S6These�ma�y�b�M�e�placed�in�the����=n\History"�8section.���Y��eou�ma��!y�omit�a�net�w�ork�lo�M�cation�for�a�w�ork�that�w�as�published����=nat�Kleast�four�y��!ears�b�M�efore�the�Do�cumen��!t�itself,�t?or�if�the�original�publisher�of�the����=nv��!ersion��fit�refers�to�giv�es�p�M�ermission.�����*��K.��=nF��eor��ran��!y�section�En�titled�\Ac�kno�wledgemen�ts"�or�\Dedications",�pPreserv�e�the�Title����=nof�/Rthe�section,�G#and�preserv��!e�in�the�section�all�the�substance�and�tone�of�eac�h�of�the����=ncon��!tributor��fac�kno�wledgemen�ts�and/or�dedications�giv�en�therein.�����,Q*L.��=nPreserv��!e�?�all�the�In�v��dDarian�t�Sections�of�the�Do�M�cumen�t,�f/unaltered�in�their�text�and����=nin�P�their�titles.��@Section�n��!um�b�M�ers�P�or�the�equiv��dDalen��!t�are�not�considered�part�of�the����=nsection��ftitles.�����)�M.��=nDelete��5an��!y�section�En�titled�\Endorsemen�ts".��JSuc�h�a�section�ma�y�not�b�M�e�included����=nin��fthe�Mo�M�died�V��eersion.�����*��N.��=nDo�g!not�retitle�an��!y�existing�section�to�b�M�e�En�titled�\Endorsemen�ts"�or�to�con
ict�in����=ntitle��fwith�an��!y�In�v��dDarian�t�Section.�����*��O.��=nPreserv��!e��fan�y�W��earran�t�y�Disclaimers.��&g��'��If��the�Mo�M�died�V��eersion�includes�new�fron��!t-matter�sections�or�app�endices�that�qualify����'��as�XSecondary�Sections�and�con��!tain�no�material�copied�from�the�Do�M�cumen�t,�g�y�ou�ma�y�at����/Ս�����G�App�M�endix��fA:�Cop��!ying�This�Man�ual��~25�����3*�����֍�'��y��!our��koption�designate�some�or�all�of�these�sections�as�in�v��dDarian�t.���T��eo�do�this,��add�their��
33��'��titles�@�to�the�list�of�In��!v��dDarian�t�@�Sections�in�the�Mo�M�died�V��eersion's�license�notice.���These����'��titles��fm��!ust�b�M�e�distinct�from�an�y�other�section�titles.���
��'��Y��eou�pma��!y�add�a�section�En�titled�\Endorsemen�ts",�s�pro�vided�it�con�tains�nothing�but����'��endorsemen��!ts��of�y�our�Mo�M�died�V��eersion�b�y�v��dDarious�parties|for�example,��Ystatemen�ts�of����'��p�M�eer�D
review�or�that�the�text�has�b�een�appro��!v�ed�D
b�y�an�organization�as�the�authoritativ�e����'��denition��fof�a�standard.����'��Y��eou�f,ma��!y�add�a�passage�of�up�to�v�e�w�ords�as�a�F��eron�t-Co�v�er�T��eext,�sand�a�passage�of�up����'��to�@�25�w��!ords�as�a�Bac�k-Co�v�er�T��eext,�T�to�the�end�of�the�list�of�Co�v�er�T��eexts�in�the�Mo�M�died����'��V��eersion.��+Only�N+one�passage�of�F�ron��!t-Co�v�er�N+T�ext�and�one�of�Bac��!k-Co�v�er�N+T�ext�ma��!y�b�M�e����'��added�N�b��!y�(or�through�arrangemen�ts�made�b�y)�an�y�one�en�tit�y��e.���If�the�Do�M�cumen�t�already����'��includes��a�co��!v�er��text�for�the�same�co��!v�er,�/!previously��added�b��!y�y�ou�or�b�y�arrangemen�t����'��made�:�b��!y�the�same�en�tit�y�y�ou�are�acting�on�b�M�ehalf�of,�_�y�ou�ma�y�not�add�another;���but����'��y��!ou�)ma�y�replace�the�old�one,�2on�explicit�p�M�ermission�from�the�previous�publisher�that����'��added��fthe�old�one.����'��The�^author(s)�and�publisher(s)�of�the�Do�M�cumen��!t�do�not�b�y�this�License�giv�e�p�M�ermission����'��to��juse�their�names�for�publicit��!y�for�or�to�assert�or�imply�endorsemen�t�of�an�y�Mo�M�died����'��V��eersion.�����-5.��'��COMBINING��fDOCUMENTS����'��Y��eou���ma��!y�com�bine�the�Do�M�cumen�t�with�other�do�M�cumen�ts�released�under�this�License,����'��under��sthe�terms�dened�in�section�4�ab�M�o��!v�e��sfor�mo�died�v��!ersions,�Ӷpro�vided��sthat�y��!ou����'��include�	in�the�com��!bination�all�of�the�In�v��dDarian�t�Sections�of�all�of�the�original�do�M�cumen�ts,����'��unmo�M�died,�L3and�5�list�them�all�as�In��!v��dDarian�t�5�Sections�of�y��!our�com�bined�w�ork�in�its�license����'��notice,��fand�that�y��!ou�preserv�e�all�their�W��earran�t�y�Disclaimers.����'��The��@com��!bined�w�ork�need�only�con�tain�one�cop�y�of�this�License,��and�m�ultiple�iden�tical����'��In��!v��dDarian�t���Sections�ma��!y�b�M�e�replaced�with�a�single�cop�y��e.��BIf�there�are�m�ultiple�In�v��dDarian�t����'��Sections�6�with�the�same�name�but�dieren��!t�con�ten�ts,�Mmak�e�the�title�of�eac�h�suc�h�section����'��unique�bb��!y�adding�at�the�end�of�it,�1!in�paren�theses,�1!the�name�of�the�original�author�or����'��publisher�of�that�section�if�kno��!wn,�!�or�else�a�unique�n�um�b�M�er.���Mak�e�the�same�adjustmen�t����'��to��the�section�titles�in�the�list�of�In��!v��dDarian�t��Sections�in�the�license�notice�of�the�com��!bined����'��w��!ork.����'��In��"the�com��!bination,�Jy�ou��"m�ust�com�bine�an�y�sections�En�titled�\History"�in�the�v��dDari-����'��ous���original�do�M�cumen��!ts,��xforming�one�section�En�titled�\History";��lik�ewise�com�bine�an�y����'��sections��En��!titled�\Ac�kno�wledgemen�ts",�ۿand�an�y�sections�En�titled�\Dedications".�]�Y��eou����'��m��!ust��fdelete�all�sections�En�titled�\Endorsemen�ts."�����-6.��'��COLLECTIONS��fOF�DOCUMENTS����'��Y��eou�Ҥma��!y�mak�e�a�collection�consisting�of�the�Do�M�cumen�t�and�other�do�M�cumen�ts�released����'��under��this�License,�s�and�replace�the�individual�copies�of�this�License�in�the�v��dDarious����'��do�M�cumen��!ts�Dwith�a�single�cop�y�that�is�included�in�the�collection,�y�pro�vided�that�y�ou����'��follo��!w�t�the�rules�of�this�License�for�v�erbatim�cop�ying�of�eac�h�of�the�do�M�cumen�ts�in�all����'��other��fresp�M�ects.����'��Y��eou��=ma��!y�extract�a�single�do�M�cumen�t�from�suc�h�a�collection,��3and�distribute�it�individu-����'��ally�4under�this�License,�Wmpro��!vided�y�ou�insert�a�cop�y�of�this�License�in�to�the�extracted����'��do�M�cumen��!t,���and��Afollo�w�this�License�in�all�other�resp�M�ects�regarding�v�erbatim�cop�ying�of����'��that��fdo�M�cumen��!t.����?ɍ�����G�26�9pGNU��fReadline�Library�����3*�����֍��-7.��'��A��!GGREGA��eTION��fWITH�INDEPENDENT�W�ORKS������'��A�]�compilation�]�of�the�Do�M�cumen��!t�or�its�deriv��dDativ�es�with�other�separate�and�indep�M�enden�t��
33��'��do�M�cumen��!ts��hor�w�orks,��in�or�on�a�v�olume�of�a�storage�or�distribution�medium,��is�called����'��an��\aggregate"�if�the�cop��!yrigh�t��resulting�from�the�compilation�is�not�used�to�limit�the����'��legal�1	righ��!ts�of�the�compilation's�users�b�M�ey�ond�what�the�individual�w�orks�p�M�ermit.���When����'��the�Q�Do�M�cumen��!t�is�included�an�aggregate,�b�this�License�do�es�not�apply�to�the�other�w��!orks����'��in��fthe�aggregate�whic��!h�are�not�themselv�es�deriv��dDativ�e�w�orks�of�the�Do�M�cumen�t.����'��If��Vthe�Co��!v�er��VT��eext�requiremen��!t�of�section�3�is�applicable�to�these�copies�of�the�Do�M�cumen�t,����'��then��Dif�the�Do�M�cumen��!t�is�less�than�one�half�of�the�en�tire�aggregate,��~the�Do�M�cumen�t's�Co�v�er����'��T��eexts�0ma��!y�b�M�e�placed�on�co�v�ers�that�brac�k�et�the�Do�M�cumen�t�within�the�aggregate,�G�or�the����'��electronic�5qequiv��dDalen��!t�of�co�v�ers�if�the�Do�M�cumen�t�is�in�electronic�form.���Otherwise�they����'��m��!ust��fapp�M�ear�on�prin�ted�co�v�ers�that�brac�k�et�the�whole�aggregate.�����-8.��'��TRANSLA��eTION����'��T��eranslation�̯is�considered�a�kind�of�mo�M�dication,�Aso�y��!ou�ma�y�distribute�translations����'��of�T�the�Do�M�cumen��!t�under�the�terms�of�section�4.�	�Replacing�In�v��dDarian�t�Sections�with����'��translations�v�requires�sp�M�ecial�p�ermission�from�their�cop��!yrigh�t�v�holders,���but�y��!ou�ma�y����'��include��ktranslations�of�some�or�all�In��!v��dDarian�t��kSections�in�addition�to�the�original�v��!ersions����'��of��these�In��!v��dDarian�t��Sections.�=Y��eou�ma��!y�include�a�translation�of�this�License,��
and�all�the����'��license���notices�in�the�Do�M�cumen��!t,�Fand�an�y�W��earran�t�y�Disclaimers,�Fpro�vided�that�y�ou����'��also��include�the�original�English�v��!ersion�of�this�License�and�the�original�v�ersions�of����'��those�notices�and�disclaimers.�5�In�case�of�a�disagreemen��!t�b�M�et�w�een�the�translation�and����'��the�:�original�v��!ersion�of�this�License�or�a�notice�or�disclaimer,�_�the�original�v�ersion�will����'��prev��dDail.����'��If�p�a�section�in�the�Do�M�cumen��!t�is�En�titled�\Ac�kno�wledgemen�ts",�{�\Dedications",�or�p�\His-����'��tory",�A�the�(�requiremen��!t�(section�4)�to�Preserv�e�its�Title�(section�1)�will�t�ypically�require����'��c��!hanging��fthe�actual�title.�����-9.��'��TERMINA��eTION����'��Y��eou��ma��!y�not�cop�y��e,���mo�M�dify�,�sublicense,�or��distribute�the�Do�M�cumen��!t�except�as�expressly����'��pro��!vided�=for�under�this�License.��bAn�y�other�attempt�to�cop�y��e,�^2mo�M�dify�,�sublicense�=or����'��distribute�f?the�Do�M�cumen��!t�is�v�oid,��5and�will�automatically�terminate�y�our�righ�ts�under����'��this�V8License.��#Ho��!w�ev�er,�fAparties�who�ha�v�e�receiv�ed�copies,�fAor�righ�ts,�fAfrom�y�ou�under�this����'��License�i+will�not�ha��!v�e�i+their�licenses�terminated�so�long�as�suc��!h�parties�remain�in�full����'��compliance.�������10.��'��FUTURE��fREVISIONS�OF�THIS�LICENSE����'��The��aF��eree�Soft��!w�are��aF�oundation�ma��!y�publish�new,�U�revised�v�ersions�of�the�GNU��	F��eree����'��Do�M�cumen��!tation���License�from�time�to�time.�xRSuc�h�new�v�ersions�will�b�M�e�similar�in�spirit����'��to� �the�presen��!t�v�ersion,�?�but�ma�y�dier�in�detail�to�address�new�problems�or�concerns.����'��See��f�http://www.gnu.org/copyleft/�.����'��Eac��!h���v�ersion�of�the�License�is�giv�en�a�distinguishing�v�ersion�n�um�b�M�er.��If�the�Do�cumen��!t����'��sp�M�ecies�r�that�a�particular�n��!um�b�ered�r�v�ersion�of�this�License�\or�an�y�later�v�ersion"����'��applies��Qto�it,��Ky��!ou�ha�v�e�the�option�of�follo�wing�the�terms�and�conditions�either�of�that����'��sp�M�ecied��v��!ersion�or�of�an�y�later�v�ersion�that�has�b�M�een�published�(not�as�a�draft)�b�y����'��the��!F��eree�Soft��!w�are��!F�oundation.��If�the�Do�M�cumen��!t�do�es�not�sp�ecify�a�v��!ersion�n�um�b�M�er�of����'��this�$�License,�D)y��!ou�ma�y�c�ho�M�ose�an�y�v�ersion�ev�er�published�(not�as�a�draft)�b�y�the�F��eree����'��Soft��!w�are��fF��eoundation.����P�������G�App�M�endix��fA:�Cop��!ying�This�Man�ual��~27�����3*�����֍��G�aA.1.1�d(ADDENDUM:��MHo���w�to�use�this�License�for�y�our�do�icumen�ts���ff��!G�T��eo�F�use�this�License�in�a�do�M�cumen��!t�y�ou�ha�v�e�written,�Y�include�a�cop�y�of�the�License�in�the��
33��Gdo�M�cumen��!t��fand�put�the�follo�wing�cop�yrigh�t�and�license�notices�just�after�the�title�page:��
����8l��ߤN		cmtt9�Copyright���(C)�	s,�A��<x	
cmsltt10�Ayear�
}�your���name�.��
���8l�Permission���is�granted�to�copy,�distribute�and/or�modify�this�document����8l�under���the�terms�of�the�GNU�Free�Documentation�License,�Version�1.2����8l�or���any�later�version�published�by�the�Free�Software�Foundation;����8l�with���no�Invariant�Sections,�no�Front-Cover�Texts,�and�no�Back-Cover�Texts.����8l�A���copy�of�the�license�is�included�in�the�section�entitled�``GNU����8l�Free���Documentation�License''.���M�<��!G�If���y��!ou�ha�v�e�In�v��dDarian�t�Sections,��F��eron�t-Co�v�er�T��eexts�and�Bac�k-Co�v�er�T��eexts,��replace�the����G\with...T��eexts."���line��fwith�this:�����A���with���the�Invariant�Sections�being��Alist���their�titles�,���with��
���A��the���Front-Cover�Texts�being��Alist�,�and�with�the�Back-Cover�Texts����A��being����Alist�.���#�@��!G�If�:�y��!ou�ha�v�e�In�v��dDarian�t�Sections�without�Co�v�er�T��eexts,�`!or�some�other�com�bination�of�the����Gthree,��fmerge�those�t��!w�o��falternativ�es�to�suit�the�situation.��33��!GIf�� y��!our�do�M�cumen�t�con�tains�non�trivial�examples�of�program�co�M�de,�aw�e�recommend�releasing����Gthese�-�examples�in�parallel�under�y��!our�c�hoice�of�free�soft�w�are�license,���suc�h�as�the�GNU����GGeneral��fPublic�License,�to�p�M�ermit�their�use�in�free�soft��!w�are.����aƍ�����G�28�9pGNU��fReadline�Library�����3*��h����;����ï� �a��N�
#�cmbx12�YF
C�ff
cmbxti10�X��N�ffcmbx12�O��N�G�cmbx12�F��N��jcmbx12�A��<x	
cmsltt10�;!",�
�3
cmsy10�9��<x
�3
cmsltt10�8�-�
�3
cmcsc10�6p�0J
�3
cmsl10�5�':
�3
cmti10�3��<x
�3
cmtt10�2K�`y
�3
cmr10�ߤN		cmtt9�
����		cmsy9�|{Ycmr8�i=������