⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 termcap.5

📁 Unix操作系统minix 2.0源码
💻 5
📖 第 1 页 / 共 4 页
字号:
.\" Copyright (c) 1980 Regents of the University of California..\" All rights reserved.  The Berkeley software License Agreement.\" specifies the terms and conditions for redistribution..\".\"	@(#)termcap.5	6.4 (Berkeley) 5/15/86.\".tr ||.tr *\(**.TH TERMCAP 5 "1 November 1985".UC.SH NAMEtermcap \- terminal capability data base.SH SYNOPSIS.B /etc/termcap.SH DESCRIPTION.B Termcap\^is a data base describing terminals,used,.IR e.g. ,by.BR vi\^ (1)and.BR curses\^ (3).Terminals are described in.B termcap\^by giving a set of capabilities that they have and by describinghow operations are performed.Padding requirements and initialization sequencesare included in.BR termcap\^ ..PPEntries in.B termcap\^consist of a number of `:'-separated fields.The first entry for each terminal gives the names that are known for theterminal, separated by `|' characters.The first name is always two characterslong and is used by older systems which store the terminal typein a 16-bit word in a system-wide data base.The second name given is the most common abbreviation for the terminal,the last name given should be a long name fully identifying the terminal,and all others are understood as synonyms for the terminal name.All names but the first and lastshould be in lower case and contain no blanks;the last name may well containupper case and blanks for readability..PPTerminal names (except for the last, verbose entry)should be chosen using the following conventions.The particular piece of hardware making up the terminalshould have a root name chosen, thus \*(lqhp2621\*(rq.This name should not contain hyphens.Modes that the hardware can be inor user preferencesshould be indicated by appending a hyphen and an indicator of the mode.Therefore, a \*(lqvt100\*(rq in 132-column mode would be \*(lqvt100-w\*(rq.The following suffixes should be used where possible:.sp.ta.if t .ta \w'\fBSuffix\fP\ \ \ 'u +\w'With automatic margins (usually default)\ \ 'u.if n .ta \w'Suffix\ \ \ 'u +\w'With automatic margins (usually default)\ \ 'u.nf.if t .nr Xx \n(.lu-\n(.i-\w'\fBSuffix\fP\ \ \ With automatic margins (usually default)\ \ vt100-am'u.if t .in +\n(Xxu/2u\fBSuffix	Meaning	Example\fP-w	Wide mode (more than 80 columns)	vt100-w-am	With automatic margins (usually default)	vt100-am-nam	Without automatic margins	vt100-nam-\fIn\fP	Number of lines on the screen	aaa-60-na	No arrow keys (leave them in local)	concept100-na-\fIn\^\fPp	Number of pages of memory	concept100-4p-rv	Reverse video	concept100-rv.fi.SH CAPABILITIES.PPThe characters in the.B Notesfield in the table have the following meanings(more than one may apply to a capability):.PP.ta.ta \w'N\ \ \ 'u.nr fi \w'N\ \ \ '.in +\n(fiu.ti -\n(fiuN	indicates numeric parameter(s).ti -\n(fiuP	indicates that padding may be specified.ti -\n(fiu*	indicates that padding may be based on the number of lines affected.ti -\n(fiuo	indicates capability is obsolete.in +\n(fiu.PP\*(lqObsolete\*(rq capabilities have no.B terminfo\^equivalents,since they were considered useless,or are subsumed by other capabilities.New software should not rely on them at all..PP.if t .ta \w'\fBName  \fP'u +\w'\fBType  \fP'u +\w'\fBNotes  \fP'u.if n .ta \w'Name  'u +\w'Type  'u +\w'Notes  'u  \" Cawf troubled by \w'\fB.if t .nr fi \w'\fBName  Type  Notes  \fP'.if n .nr fi \w'Name  Type  Notes  '.in +\n(fiu.ti -\n(fiu\fBName	Type	Notes	Description\fP.ti -\n(fiuae	str	(P)	End alternate character set.ti -\n(fiuAL	str	(NP*)	Add \fIn\^\fP new blank lines.ti -\n(fiual	str	(P*)	Add new blank line.ti -\n(fiuam	bool		Terminal has automatic margins.ti -\n(fiuas	str	(P)	Start alternate character set.ti -\n(fiubc	str	(o)	Backspace if not \fB^H\fP.ti -\n(fiubl	str	(P)	Audible signal (bell).ti -\n(fiubs	bool	(o)	Terminal can backspace with \fB^H\fP.ti -\n(fiubt	str	(P)	Back tab.ti -\n(fiubw	bool		\fBle\fP (backspace) wraps from column 0 to last column.ti -\n(fiuCC	str		Terminal settable command character in prototype.ti -\n(fiucd	str	(P*)	Clear to end of display.ti -\n(fiuce	str	(P)	Clear to end of line.ti -\n(fiuch	str	(NP)	Set cursor column (horizontal position).ti -\n(fiucl	str	(P*)	Clear screen and home cursor.ti -\n(fiuCM	str	(NP)	Memory-relative cursor addressing.ti -\n(fiucm	str	(NP)	Screen-relative cursor motion.ti -\n(fiuco	num		Number of columns in a line (See BUGS section below).ti -\n(fiucr	str	(P)	Carriage return.ti -\n(fiucs	str	(NP)	Change scrolling region (VT100).ti -\n(fiuct	str	(P)	Clear all tab stops.ti -\n(fiucv	str	(NP)	Set cursor row (vertical position).ti -\n(fiuda	bool		Display may be retained above the screen.ti -\n(fiudB	num	(o)	Milliseconds of \fBbs\fP delay needed (default 0).ti -\n(fiudb	bool		Display may be retained below the screen.ti -\n(fiuDC	str	(NP*)	Delete \fIn\^\fP characters.ti -\n(fiudC	num	(o)	Milliseconds of \fBcr\fP delay needed (default 0).ti -\n(fiudc	str	(P*)	Delete character.ti -\n(fiudF	num	(o)	Milliseconds of \fBff\fP delay needed (default 0).ti -\n(fiuDL	str	(NP*)	Delete \fIn\^\fP lines.ti -\n(fiudl	str	(P*)	Delete line.ti -\n(fiudm	str		Enter delete mode.ti -\n(fiudN	num	(o)	Milliseconds of \fBnl\fP delay needed (default 0).ti -\n(fiuDO	str	(NP*)	Move cursor down \fIn\^\fP lines.ti -\n(fiudo	str		Down one line.ti -\n(fiuds	str		Disable status line.ti -\n(fiudT	num	(o)	Milliseconds of horizontal tab delay needed (default 0).ti -\n(fiudV	num	(o)	Milliseconds of vertical tab delay needed (default 0).ti -\n(fiuec	str	(NP)	Erase \fIn\^\fP characters.ti -\n(fiued	str		End delete mode.ti -\n(fiuei	str		End insert mode.ti -\n(fiueo	bool		Can erase overstrikes with a blank.ti -\n(fiuEP	bool	(o)	Even parity.ti -\n(fiues	bool		Escape can be used on the status line.ti -\n(fiuff	str	(P*)	Hardcopy terminal page eject.ti -\n(fiufs	str		Return from status line.ti -\n(fiugn	bool		Generic line type (\fIe.g.\fP dialup, switch).ti -\n(fiuhc	bool		Hardcopy terminal.ti -\n(fiuHD	bool	(o)	Half-duplex.ti -\n(fiuhd	str		Half-line down (forward 1/2 linefeed).ti -\n(fiuho	str	(P)	Home cursor.ti -\n(fiuhs	bool		Has extra \*(lqstatus line\*(rq.ti -\n(fiuhu	str		Half-line up (reverse 1/2 linefeed).ti -\n(fiuhz	bool		Cannot print ~s (Hazeltine).ti -\n(fiui1-i3	str		Terminal initialization strings (\fBterminfo\^\fP only).ti -\n(fiuIC	str	(NP*)	Insert \fIn\^\fP blank characters.ti -\n(fiuic	str	(P*)	Insert character.ti -\n(fiuif	str		Name of file containing initialization string.ti -\n(fiuim	str		Enter insert mode.ti -\n(fiuin	bool		Insert mode distinguishes nulls.ti -\n(fiuiP	str		Pathname of program for initialization (\fBterminfo\^\fP only).ti -\n(fiuip	str	(P*)	Insert pad after character inserted.ti -\n(fiuis	str		Terminal initialization string (\fBtermcap\^\fP only).ti -\n(fiuit	num		Tabs initially every \fIn\^\fP positions.ti -\n(fiuK1	str		Sent by keypad upper left.ti -\n(fiuK2	str		Sent by keypad upper right.ti -\n(fiuK3	str		Sent by keypad center.ti -\n(fiuK4	str		Sent by keypad lower left.ti -\n(fiuK5	str		Sent by keypad lower right.ti -\n(fiuk0-k9	str		Sent by function keys 0-9.ti -\n(fiukA	str		Sent by insert-line key.ti -\n(fiuka	str		Sent by clear-all-tabs key.ti -\n(fiukb	str		Sent by backspace key.ti -\n(fiukC	str		Sent by clear-screen or erase key.ti -\n(fiukD	str		Sent by delete-character key.ti -\n(fiukd	str		Sent by down-arrow key.ti -\n(fiukE	str		Sent by clear-to-end-of-line key.ti -\n(fiuke	str		Out of \*(lqkeypad transmit\*(rq mode.ti -\n(fiukF	str		Sent by scroll-forward/down key.ti -\n(fiukH	str		Sent by home-down key.ti -\n(fiukh	str		Sent by home key.ti -\n(fiukI	str		Sent by insert-character or enter-insert-mode key.ti -\n(fiukL	str		Sent by delete-line key.ti -\n(fiukl	str		Sent by left-arrow key.ti -\n(fiukM	str		Sent by insert key while in insert mode.ti -\n(fiukm	bool		Has a \*(lqmeta\*(rq key (shift, sets parity bit).ti -\n(fiukN	str		Sent by next-page key.ti -\n(fiukn	num	(o)	Number of function (\fBk0\fP\-\fBk9\fP) keys (default 0).ti -\n(fiuko	str	(o)	Termcap entries for other non-function keys.ti -\n(fiukP	str		Sent by previous-page key.ti -\n(fiukR	str		Sent by scroll-backward/up key.ti -\n(fiukr	str		Sent by right-arrow key.ti -\n(fiukS	str		Sent by clear-to-end-of-screen key.ti -\n(fiuks	str		Put terminal in \*(lqkeypad transmit\*(rq mode.ti -\n(fiukT	str		Sent by set-tab key.ti -\n(fiukt	str		Sent by clear-tab key.ti -\n(fiuku	str		Sent by up-arrow key.ti -\n(fiul0-l9	str		Labels on function keys if not \*(lqf\fIn\^\fP\*(rq.ti -\n(fiuLC	bool	(o)	Lower-case only.ti -\n(fiuLE	str	(NP)	Move cursor left \fIn\^\fP positions.ti -\n(fiule	str	(P)	Move cursor left one position.ti -\n(fiuli	num		Number of lines on screen or page (See BUGS section below).ti -\n(fiull	str		Last line, first column.ti -\n(fiulm	num		Lines of memory if > \fBli\fP (0 means varies).ti -\n(fiuma	str	(o)	Arrow key map (used by \fBvi\^\fP version 2 only).ti -\n(fiumb	str		Turn on blinking attribute.ti -\n(fiumd	str		Turn on bold (extra bright) attribute.ti -\n(fiume	str		Turn off all attributes.ti -\n(fiumh	str		Turn on half-bright attribute.ti -\n(fiumi	bool		Safe to move while in insert mode.ti -\n(fiumk	str		Turn on blank attribute (characters invisible).ti -\n(fiuml	str	(o)	Memory lock on above cursor.ti -\n(fiumm	str		Turn on \*(lqmeta mode\*(rq (8th bit).ti -\n(fiumo	str		Turn off \*(lqmeta mode\*(rq.ti -\n(fiump	str		Turn on protected attribute.ti -\n(fiumr	str		Turn on reverse-video attibute.ti -\n(fiums	bool		Safe to move in standout modes.ti -\n(fiumu	str	(o)	Memory unlock (turn off memory lock).ti -\n(fiunc	bool	(o)	No correctly-working \fBcr\fP (Datamedia 2500, Hazeltine 2000).ti -\n(fiund	str		Non-destructive space (cursor right).ti -\n(fiuNL	bool	(o)	\fB\\n\fP is newline, not line feed.ti -\n(fiunl	str	(o)	Newline character if not \fB\\n\fP.ti -\n(fiuns	bool	(o)	Terminal is a \s-1CRT\s0 but doesn't scroll.ti -\n(fiunw	str	(P)	Newline (behaves like \fBcr\fP followed by \fBdo\fP).ti -\n(fiuOP	bool	(o)	Odd parity.ti -\n(fiuos	bool		Terminal overstrikes.ti -\n(fiupb	num		Lowest baud where delays are required.ti -\n(fiupc	str		Pad character (default \s-2NUL\s0).ti -\n(fiupf	str		Turn off the printer.ti -\n(fiupk	str		Program function key \fIn\^\fP to type string \fIs\fP (\fBterminfo\^\fP only).ti -\n(fiupl	str		Program function key \fIn\^\fP to execute string \fIs\fP (\fBterminfo\^\fP only).ti -\n(fiupO	str	(N)	Turn on the printer for \fIn\^\fP bytes.ti -\n(fiupo	str		Turn on the printer.ti -\n(fiups	str		Print contents of the screen.ti -\n(fiupt	bool	(o)	Has hardware tabs (may need to be set with \fBis\fP).ti -\n(fiupx	str		Program function key \fIn\^\fP to transmit string \fIs\fP (\fBterminfo\^\fP only).ti -\n(fiur1-r3	str		Reset terminal completely to sane modes (\fBterminfo\^\fP only).ti -\n(fiurc	str	(P)	Restore cursor to position of last \fBsc\fP.ti -\n(fiurf	str		Name of file containing reset codes.ti -\n(fiuRI	str	(NP)	Move cursor right \fIn\^\fP positions.ti -\n(fiurp	str	(NP*)	Repeat character \fIc n\^\fP times.ti -\n(fiurs	str		Reset terminal completely to sane modes (\fBtermcap\^\fP only).ti -\n(fiusa	str	(NP)	Define the video attributes.ti -\n(fiusc	str	(P)	Save cursor position.ti -\n(fiuse	str		End standout mode.ti -\n(fiuSF	str	(NP*)	Scroll forward \fIn\^\fP lines.ti -\n(fiusf	str	(P)	Scroll text up.ti -\n(fiusg	num		Number of garbage chars left by \fBso\fP or \fBse\fP (default 0).ti -\n(fiuso	str		Begin standout mode.ti -\n(fiuSR	str	(NP*)	Scroll backward \fIn\^\fP lines.ti -\n(fiusr	str	(P)	Scroll text down.ti -\n(fiust	str		Set a tab in all rows, current column.ti -\n(fiuta	str	(P)	Tab to next 8-position hardware tab stop.ti -\n(fiutc	str		Entry of similar terminal \- must be last.ti -\n(fiute	str		String to end programs that use \fBtermcap\fP.ti -\n(fiuti	str		String to begin programs that use \fBtermcap\fP.ti -\n(fiuts	str	(N)	Go to status line, column \fIn\^\fP.ti -\n(fiuUC	bool	(o)	Upper-case only.ti -\n(fiuuc	str		Underscore one character and move past it.ti -\n(fiuue	str		End underscore mode.ti -\n(fiuug	num		Number of garbage chars left by \fBus\fP or \fBue\fP (default 0).ti -\n(fiuul	bool		Underline character overstrikes.ti -\n(fiuUP	str	(NP*)	Move cursor up \fIn\^\fP lines.ti -\n(fiuup	str		Upline (cursor up).ti -\n(fiuus	str		Start underscore mode.ti -\n(fiuvb	str		Visible bell (must not move cursor).ti -\n(fiuve	str		Make cursor appear normal (undo \fBvs\fP/\fBvi\fP).ti -\n(fiuvi	str		Make cursor invisible.ti -\n(fiuvs	str		Make cursor very visible.ti -\n(fiuvt	num		Virtual terminal number (not supported on all systems).ti -\n(fiuwi	str	(N)	Set current window.ti -\n(fiuws	num		Number of columns in status line.ti -\n(fiuxb	bool		Beehive (f1=\s-2ESC\s0, f2=^C).ti -\n(fiuxn	bool		Newline ignored after 80 cols (Concept).ti -\n(fiuxo	bool		Terminal uses xoff/xon (\s-2DC3\s0/\s-2DC1\s0) handshaking.ti -\n(fiuxr	bool	(o)	Return acts like \fBce cr nl\fP (Delta Data).ti -\n(fiuxs	bool		Standout not erased by overwriting (Hewlett-Packard).ti -\n(fiuxt	bool		Tabs ruin, magic \fBso\fP char (Teleray 1061).ti -\n(fiuxx	bool	(o)	Tektronix 4025 insert-line.in -\n(fiu

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -