Path: blob/main/documentation/manual-pages/ja/man5/editrc.5
18093 views
.\" $NetBSD: editrc.5,v 1.10 2000/11/08 00:09:38 lukem Exp $ .\" .\" Copyright (c) 1997-2000 The NetBSD Foundation, Inc. .\" All rights reserved. .\" .\" This file was contributed to The NetBSD Foundation by Luke Mewburn. .\" .\" Redistribution and use in source and binary forms, with or without .\" modification, are permitted provided that the following conditions .\" are met: .\" 1. Redistributions of source code must retain the above copyright .\" notice, this list of conditions and the following disclaimer. .\" 2. Redistributions in binary form must reproduce the above copyright .\" notice, this list of conditions and the following disclaimer in the .\" documentation and/or other materials provided with the distribution. .\" 3. All advertising materials mentioning features or use of this software .\" must display the following acknowledgement: .\" This product includes software developed by the NetBSD .\" Foundation, Inc. and its contributors. .\" 4. Neither the name of The NetBSD Foundation nor the names of its .\" contributors may be used to endorse or promote products derived .\" from this software without specific prior written permission. .\" .\" THIS SOFTWARE IS PROVIDED BY THE NETBSD FOUNDATION, INC. AND CONTRIBUTORS .\" ``AS IS'' AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED .\" TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR .\" PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE FOUNDATION OR CONTRIBUTORS .\" BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR .\" CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF .\" SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS .\" INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN .\" CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) .\" ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE .\" POSSIBILITY OF SUCH DAMAGE. .\" .\" %FreeBSD: src/lib/libedit/editrc.5,v 1.16 2002/12/27 12:15:30 schweikh Exp % .\" .\" $FreeBSD$ .Dd November 8, 2000 .Os .Dt EDITRC 5 .Sh ̾�� .Nm editrc .Nd editline �饤�֥�������ե����� .Sh �� .Nm .Sh ���� .Nm �� .Xr editline 3 �饤�֥��ǻ��Ѥ���Ƥ����͡��������������ޤ��� .Pp ���줾��ιԤΥե����ޥåȤϰʲ��Ȥʤ�ޤ�: .Dl [prog:]command [arg [...]] .Pp .Ar command �� .Xr editline 3 ���Ȥ߹��ߥ��ޥ�ɤΤ����� 1 �ĤǤ��� ���ܤ�������� .Sx �Ȥ߹��ߥ��ޥ�� �Ȥ��Ƥ��������� .Pp .Ar prog �ϥץ�����ब .Xr editline 3 �åȥ��åפ��뤿��� .Xr el_init 3 ��ƤӽФ�������������ץ������̾��ʸ����ǡ� �̾�� .Va argv[0] �Ǥ��� .Ar command �� .Ar prog �˥ޥå��������ƤΥץ��������Ф��Ƥ�¹Ԥ���ޤ��� .Pp .Ar prog �� .Xr regex 3 ����������ɽ���Ǥ��äƤ�褯�����ξ�� .Ar command �Ϥ�������ɽ���˥ޥå��������ƤΥץ��������Ф��Ƽ¹Ԥ���ޤ��� .Pp .Ar prog �����ꤵ��Ƥʤ���硢 .Ar command �����٤ƤΥץ��������Ф��Ƽ¹Ԥ���ޤ��� .Sh �Ȥ߹��ߥ��ޥ�� .Nm editline �饤�֥��ˤϤ����Ĥ����Ȥ߹��ߥ��ޥ�ɤ����ꡢ���Խ��ȥҥ��ȥ굡ǽ���� ��ˡ�˺��Ѥ��ޤ��� ������ .Xr tcsh 1 �������¸�ߤ������̾�����Ȥ߹��ߥ��ޥ�ɤ˴�Ť��Ƥ��ޤ��� .Pp �ʲ����Ȥ߹��ߥ��ޥ�ɤ����Ѳ�ǽ�Ǥ�: .Bl -tag -width 4n .It Ic bind Xo .Op Fl a .Op Fl e .Op Fl k .Op Fl l .Op Fl r .Op Fl s .Op Fl v .Op Ar key Op Ar command .Xc ���ץ����̵���Ǥϡ����Ƥγ�����Ƥ�줿�����ȡ� ���줾�줬������Ƥ�줿�Խ����ޥ�ɤ�ɽ�����ޤ��� �⤷ .Ar key ��Ϳ����줿�顢 .Ar key ���Ф��������Ƥ��ޤ��� �⤷ .Ar key command ��Ϳ����줿�顢 .Ar command �� .Ar key �˳�����Ƥޤ��� �ޤޤ�륪�ץ����ϰʲ��Ǥ�: .Bl -tag -width 4n .It Fl e ���ƤΥ����� GNU Emacs ��ɸ��˻���������Ƥ˳�����Ƥޤ��� .It Fl v ���ƤΥ����� .Xr vi 1 ��ɸ��˻���������Ƥ˳�����Ƥޤ��� .It Fl a .Xr vi 1 �⡼�ɤΤ⤦ 1 �� (���ޥ�ɥ⡼��) �Υ����ޥåפˤ����� ����������Ƥ�ɽ���ޤ����ѹ����ޤ��� .It Fl k .Ar key ��������業��̾�� .Sq up , .Sq down , .Sq left �ޤ��� .Sq right �Τ����� 1 �ġ��Ȥ��Ʋ�ᤵ��ޤ��� .It Fl l ���Ƥ��Խ����ޥ�ɤȤ��줾���û��������ɽ�����ޤ��� .It Fl r �����γ�����Ƥ������ޤ��� .It Fl s .Ar command ��ʸ�����ƥ��Ȥ��ư���졢 .Ar key �������פ��줿����ü�����ϤȤ��ư����ޤ��� .Ar command ��γ�����Ƥ�줿�����ϡ����켫�Ȥ��Ʋ�ᤵ�졢 ����� 10 ��٥�β��ޤǷ�³����ޤ��� .El .Pp .Ar command �ϡ���Ҥ� .Sx "���ǥ������ޥ��" �˵����줿���ޥ�ɤ����⤷�����̤Υ����Ǥ���ޤ��� .Pp .Ar key �� .Ar command �� .Sm off .Sq No ^ Ar character .Sm on (�㤨�� .Sq ^A ) �����Υ���ȥ�����ʸ���ȡ� �ʲ��ΥХå�����å����դ��Υ��������ץ�������ޤळ�Ȥ��Ǥ��ޤ�: .Pp .Bl -tag -compact -offset indent -width 4n .It Ic \ea �٥� .It Ic \eb �Хå����ڡ��� .It Ic \ee ���������� .It Ic \ef �ե�����ե����� .It Ic \en ���� .It Ic \er �����å������ .It Ic \et (��ʿ) ���� .It Ic \ev ��ľ���� .Sm off .It Sy \e Ar nnn .Sm on 8 �ʿ� .Ar nnn ��ɽ����� ASCII ʸ�� .El .Pp .Sq \e �ϡ�����ʸ�������̤ʰ�̣������ʤ�С������̵�������ޤ��� �äˡ� .Sq \e �� .Sq ^ �����̤ʰ�̣��̵�������ޤ��� .It Ic echotc Xo .Op Fl sv .Ar arg .Ar ... .Xc .Ar arg Ar ... ��Ϳ����줿ü���Υ����ѥӥ�ƥ���¹Ԥ��ޤ��� �⤷ .Ar arg �� .Sq baud , .Sq cols , .Sq lines , .Sq rows , .Sq meta , .Sq tabs �Ǥ���Ф��Υ����ѥӥ�ƥ����ͤ�ɽ������ޤ��� .Dq yes �ޤ��� .Dq no �ϡ�ü�������Υ����ѥӥ�ƥ�����ĤΤ������ʤ��Τ���ɽ���ޤ��� .Pp .Fl s ����ꤹ���¸�ߤ��ʤ������ѥӥ�ƥ����Ф��ƥ��顼�����ΤǤϤʤ��� ����ʸ������֤��ޤ��� .Fl v ����ꤹ��ȥ�å��������Ĺ��ɽ�����ޤ��� .It Ic edit Op Cm on | off �ץ��������� .Nm editline �ε�ǽ��ͭ���ޤ���̵���ˤ��ޤ��� .It Ic history �ҥ��ȥ��ɽ�����ޤ��� .It Ic telltc ���Ƥ�ü���Υ����ѥӥ�ƥ����ͤ�ɽ�����ޤ� .Pf ( Xr termcap 5 ����)�� .It Ic settc Ar cap Ar val .Xr termcap 5 ��������줿ü���Υ����ѥӥ�ƥ� .Ar cap �� .Ar val �����ꤷ�ޤ��� �������Υ����å��ϹԤ��ޤ��� .It Ic setty Xo .Op Fl a .Op Fl d .Op Fl q .Op Fl x .Op Ar +mode .Op Ar -mode .Op Ar mode .Xc .Nm ���ɤ� tty �⡼�ɤ��ѹ���桼���˵��Ĥ��ʤ��������椷�ޤ��� .Fl d , .Fl q , .Fl x �� .Ic setty ���Ф��Ƥ��줾�� .Sq edit , .Sq quote , .Sq execute tty �⡼�ɥ��åȤˤ�����Ư�����Ȥ��ޤ��� �ǥե���ȤǤ� .Fl x �Ǥ��� .Pp ¾�ΰ������ʤ���С� .Ic setty �����줿���åȤˤ����Ʋ��� on .Pq Sq +mode �ޤ��� off .Pq Sq -mode �˸��ꤵ��Ƥ��뤫��ɽ�����ޤ��� .Fl a ������˴ؤ�餺���줿���åȤˤ��������Ƥ� tty �⡼�ɤ�ɽ�����ޤ��� .Ar +mode , .Ar -mode , .Ar mode , �����줿���åȤˤ����� .Ar mode �� on �ޤ��� off �˸��ꤹ�뤳�ȡ����뤤�� .Ar mode �������Ԥ�ʤ����Ȥ���ꤷ�ޤ��� .El .Sh ���ǥ������ޥ�� �ʲ��Υ��ǥ������ޥ�ɤ��������γ�����Ƥ˻��ѤǤ��ޤ�: .\" Section automatically generated with makelist .Bl -tag -width 4n .It Ic vi-paste-next vi ���ˡ�ľ���˹Ԥä����������α�¦��ĥ���դ��ޤ��� .It Ic vi-paste-prev vi ���ˡ�ľ���˹Ԥä����������κ�¦��ĥ���դ��ޤ��� .It Ic vi-prev-space-word vi ���ˡ�����Ƕ��ڤ�줿ľ����ñ��ذ�ư���ޤ��� .It Ic vi-prev-word vi ���ˡ�ľ����ñ��ذ�ư���ޤ��� .It Ic vi-next-space-word vi ���ˡ�����Ƕ��ڤ�줿����ñ��ذ�ư���ޤ��� .It Ic vi-next-word vi ���ˡ�����ñ��ذ�ư���ޤ��� .It Ic vi-change-case vi ���ˡ���������β���ʸ������ʸ����ʸ�����ѹ�����1 ʸ���ʤ�ޤ��� .It Ic vi-change-meta vi ���ˡ��ץ�ե��å������ޥ�ɤ��ѹ����ޤ��� .It Ic vi-insert-at-bol vi ���ˡ���Ƭ�����ϥ⡼�ɤ�����ޤ��� .It Ic vi-replace-char vi ���ˡ���������β���ʸ���������Ϥ���ʸ�����֤������ޤ��� .It Ic vi-replace-mode vi ���ˡ��֤������⡼�ɤ�����ޤ��� .It Ic vi-substitute-char vi ���ˡ���������β���ʸ�������Ϥ���ʸ�����֤����������ϥ⡼�ɤ�����ޤ��� .It Ic vi-substitute-line vi ���ˡ������Τ��֤������ޤ��� .It Ic vi-change-to-eol vi ���ˡ������ޤ��ѹ����ޤ��� .It Ic vi-insert vi ���ˡ����ϥ⡼�ɤ�����ޤ��� .It Ic vi-add vi ���ˡ���������θ�������ϥ⡼�ɤ�����ޤ��� .It Ic vi-add-at-eol vi ���ˡ����������ϥ⡼�ɤ�����ޤ��� .It Ic vi-delete-meta vi ���ˡ��ץ�ե��å������ޥ�ɤ������ޤ��� .It Ic vi-end-word vi ���ˡ����ߤ������Ƕ��ڤ�줿ñ��κǸ�ذ�ư���ޤ��� .It Ic vi-to-end-word vi ���ˡ����ߤ���ñ��κǸ�˰�ư���ޤ��� .It Ic vi-undo vi ���ˡ��Ǹ�˹Ԥä��ѹ�����ä��ޤ��� .It Ic vi-command-mode vi ���ˡ����ޥ�ɥ⡼�ɤ�����ޤ� (�̤Υ���������Ƥ���Ѥ��ޤ�)�� .It Ic vi-zero vi ���ˡ��Ԥ���Ƭ�˰�ư���ޤ��� .It Ic vi-delete-prev-char vi ���ˡ�1 ʸ�����˰�ư���ޤ� (�Хå����ڡ���)�� .It Ic vi-list-or-eof vi ���ˡ��䴰��������ꥹ�Ȥ��뤫�����Ԥξ��� EOF ��ɽ���ޤ��� .It Ic vi-kill-line-prev vi ���ˡ���Ƭ���饫������ޤǤ������ޤ��� .It Ic vi-search-prev vi ���ˡ��ҥ��ȥ������������ޤ��� .It Ic vi-search-next vi ���ˡ��ҥ��ȥ�������������ޤ��� .It Ic vi-repeat-search-next vi ���ˡ����ߤθ�����Ʊ�������ط����֤��ޤ��� .It Ic vi-repeat-search-prev vi ���ˡ����ߤθ�����������ط����֤��ޤ��� .It Ic vi-next-char vi ���ˡ������λ��ꤵ�줿ʸ���˰�ư���ޤ��� .It Ic vi-prev-char vi ���ˡ������λ��ꤵ�줿ʸ���˰�ư���ޤ��� .It Ic vi-to-next-char vi ���ˡ������λ��ꤵ�줿ʸ���μ����˰�ư���ޤ��� .It Ic vi-to-prev-char vi ���ˡ������λ��ꤵ�줿ʸ���μ����˰�ư���ޤ��� .It Ic vi-repeat-next-char vi ���ˡ����ߤ�ʸ��������Ʊ�������˷����֤��ޤ��� .It Ic vi-repeat-prev-char vi ���ˡ����ߤ�ʸ��������������˷����֤��ޤ��� .It Ic em-delete-or-list ��������β���ʸ���������뤫�������ξ����䴰��������ꥹ�Ȥ��ޤ��� .It Ic em-delete-next-word �������뤫�鸽�ߤ�ñ��ν����ޤǺ�����ޤ��� .It Ic em-yank ����������֤˺���Хåե���ĥ���դ��ޤ��� .It Ic em-kill-line �����Τ�����������Хåե�����¸���ޤ��� .It Ic em-kill-region �ޡ����ȥ�������Ȥδ֤��ΰ������������Хåե�����¸���ޤ��� .It Ic em-copy-region �ޡ����ȥ�������Ȥδ֤��ΰ�����Хåե��˥��ԡ����ޤ��� .It Ic em-gosmacs-transpose ������������� 2 ʸ�������촹���ޤ��� .It Ic em-next-word ���ߤ�ñ��ν����˰�ư���ޤ��� .It Ic em-upper-case �������뤫�鸽�ߤ�ñ��ν����ޤǤ���ʸ���ˤ��ޤ��� .It Ic em-capitol-case �������뤫�鸽�ߤ�ñ��ν����ޤǤ���ʬ����Ƭ����ʸ���ˤ��ޤ��� .It Ic em-lower-case �������뤫�鸽�ߤ�ñ��ν����ޤǤ�ʸ���ˤ��ޤ��� .It Ic em-set-mark ����������֤˥ޡ��������ꤷ�ޤ��� .It Ic em-exchange-mark ��������ȥޡ��������촹���ޤ��� .It Ic em-universal-argument ��˥С�������� (������ 4 �ܤˤ��ޤ�)�� .It Ic em-meta-next �������Ϥ���ʸ���� 8 ���ܤΥӥåȤ��ղä��ޤ��� .It Ic em-toggle-overwrite �����⡼�ɤȾ�⡼�ɤ���ߤ��ڤ��ؤ��ޤ��� .It Ic em-copy-prev-word ���ߤ�ñ���������֤˥��ԡ����ޤ��� .It Ic em-inc-search-next Emacs �Υ����븡����Ԥ��ޤ��� .It Ic em-inc-search-prev Emacs �Υ����븡����������˹Ԥ��ޤ��� .It Ic ed-end-of-file EOF ��ؼ����ޤ��� .It Ic ed-insert �Ԥ�ʸ�����ɲä��ޤ��� .It Ic ed-delete-prev-word ���ߤ�ñ��κǽ餫�饫������ޤǤ������ޤ��� .It Ic ed-delete-next-char ��������β���ʸ���������ޤ��� .It Ic ed-kill-line �����ޤǺ�����ޤ��� .It Ic ed-move-to-end �����ޤǥ���������ư���ޤ��� .It Ic ed-move-to-beg ��Ƭ�ޤǥ���������ư���ޤ��� .It Ic ed-transpose-chars ��������κ�¦��ʸ���ȥ�������β���ʸ���Ȥ����촹���ޤ��� .It Ic ed-next-char ���� 1 ʸ����ư���ޤ��� .It Ic ed-prev-word ���ߤ�ñ�����Ƭ�˰�ư���ޤ��� .It Ic ed-prev-char ���� 1 ʸ����ư���ޤ��� .It Ic ed-quoted-insert �������Ϥ����ʸ���Τޤ��ɲä��ޤ��� .It Ic ed-digit �������ɲä��뤫���⤷���Ͽ��������Ϥ��ޤ��� .It Ic ed-argument-digit �����Ϥ�������� .It Ic ed-unassigned ̤������Ƥ�ʸ����ɽ�����ޤ��� .It Ic ed-tty-sigint tty �γ�����ʸ���� .It Ic ed-tty-dsusp tty ������ٱ�ʸ���� .It Ic ed-tty-flush-output tty �ν��ϥե�å���ʸ���� .It Ic ed-tty-sigquit tty �����ʸ���� .It Ic ed-tty-sigtstp tty �����ʸ���� .It Ic ed-tty-stop-output tty �ν��Ϥζػ�ʸ���� .It Ic ed-tty-start-output tty �ν��Ϥε���ʸ���� .It Ic ed-newline ���ޥ�ɤ�¹Ԥ��ޤ��� .It Ic ed-delete-prev-char ��������κ�¦��ʸ���������ޤ��� .It Ic ed-clear-screen ���ߤιԤϲ��̤ΰ��־�˻Ĥ������̤�õ�ޤ��� .It Ic ed-redisplay ���٤Ƥ��ɽ�����ޤ��� .It Ic ed-start-over ���߹Ԥ�õ���ǽ餫��Ϥ�ޤ��� .It Ic ed-sequence-lead-in ʣ��ʸ�����ޥ�ɤκǽ��ʸ���� .It Ic ed-prev-history �ҥ��ȥ�� 1 �����˰�ư���ޤ��� .It Ic ed-next-history �ҥ��ȥ�� 1 �Ը�˰�ư���ޤ��� .It Ic ed-search-prev-history �ҥ��ȥ��椫�顢���߹Ԥ˥ޥå�����Ԥ�����������ޤ��� .It Ic ed-search-next-history �ҥ��ȥ��椫�顢���߹Ԥ˥ޥå�����Ԥ������������ޤ��� .It Ic ed-prev-line 1 �Ծ�˰�ư���ޤ��� .It Ic ed-next-line 1 �Բ��˰�ư���ޤ��� .It Ic ed-command editline �γ�ĥ���ޥ�ɡ� .El .\" End of section automatically generated with makelist .Sh ��Ϣ���� .Xr editline 3 , .Xr regex 3 , .Xr termcap 5 .Sh ��� .An -nosplit .Nm editline �饤�֥��� .An Christos Zoulas �ˤ�äƽ졢���Υޥ˥奢��� �����Ĥ������ .Xr tcsh 1 �˱ƶ�����ơ� .An Luke Mewburn �ˤ�äƽ�ޤ�����