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

📄 terminfo.src

📁 ncurses 库 可能有用酒用 没用就算了 我觉得还可以用
💻 SRC
📖 第 1 页 / 共 5 页
字号:
#### OSF Unix## OSF/1 1.1 Snapshot 2pmcons|pmconsole|PMAX console, 	am, 	cols#128, lines#57, 	bel=^G, clear=^L, cr=^M, cub1=^H, cud1=^J, cuu1=^K, ht=^I, 	ind=^J, kcub1=\E[D, kcud1=\E[B, kcuf1=\E[C, kcuu1=\E[A, 	kf1=\EOP, kf2=\EOQ, kf3=\EOR, kf4=\EOS, # SCO console and SOS-Syscons console for 386bsd# (scoansi: had unknown capabilities#	:Gc=N:Gd=K:Gh=M:Gl=L:Gu=J:Gv=\072:\#	:GC=E:GD=B:GH=D:GL=\64:GU=A:GV=\63:GR=C:#	:G1=?:G2=Z:G3=@:G4=Y:G5=;:G6=I:G7=H:G8=<:\#	:CW=\E[M:NU=\E[N:RF=\E[O:RC=\E[P:\#	:WL=\E[S:WR=\E[T:CL=\E[U:CR=\E[V:\# I renamed GS/GE/HM/EN/PU/PD/RT and added klone+sgr-dumb, based# on the <smacs>=\E[12m  -- esr)## klone+sgr-dumb is an error since the acsc does not match -TD## In this description based on SCO's keyboard(HW) manpage list of default# function key values:#	F13-F24 are shifted F1-F12#	F25-F36 are control F1-F12#	F37-F48 are shift+control F1-F12## hpa/vpa work in the console, but not in scoterm:#	hpa=\E[%p1%dG,#	vpa=\E[%p1%dd,## SCO's terminfo uses#	kLFT=\E[d,#	kRIT=\E[c,# which do not work (console or scoterm).## Console documents only 3 attributes can be set with SGR (so we don't use sgr).scoansi-old|SCO Extended ANSI standard crt (5.0.5), 	OTbs, am, bce, eo, xon, 	colors#8, cols#80, it#8, lines#25, pairs#64, 	acsc=-\230.\231\,.+/0[5566778899\:\:;;<<==>>FFGGHHIIJJKKLLMMNNOOPPQQRRSSTTUUVVWWXX`\204a0fxgqh2jYk?lZm@nEqDtCu4vAwBx3yszr{c}\034~\207, 	bel=^G, blink=\E[5m, bold=\E[1m, cbt=\E[Z, 	civis=\E[=14;12C, clear=\E[H\E[2J, cnorm=\E[=10;12C, 	cub=\E[%p1%dD, cub1=^H, cud=\E[%p1%dB, cud1=\E[B, 	cuf=\E[%p1%dC, cuf1=\E[C, cup=\E[%i%p1%d;%p2%dH, 	cuu=\E[%p1%dA, cuu1=\E[A, cvvis=\E[=0;12C, dch=\E[%p1%dP, 	dch1=\E[P, dispc=\E[=%p1%dg, dl=\E[%p1%dM, dl1=\E[M, 	ed=\E[m\E[J, el=\E[m\E[K, el1=\E[1K, home=\E[H, ht=^I, 	hts=\EH, ich=\E[%p1%d@, ich1=\E[@, il=\E[%p1%dL, il1=\E[L, 	ind=\E[S, indn=\E[%p1%dS, invis=\E[8m, kbeg=\E[E, kbs=^H, 	kcbt=\E[Z, kcub1=\E[D, kcud1=\E[B, kcuf1=\E[C, kcuu1=\E[A, 	kdch1=\177, kend=\E[F, kf1=\E[M, kf10=\E[V, kf11=\E[W, 	kf12=\E[X, kf13=\E[Y, kf15=\E[a, kf16=\E[b, kf17=\E[c, 	kf18=\E[d, kf19=\E[e, kf2=\E[N, kf20=\E[f, kf21=\E[g, 	kf22=\E[h, kf23=\E[i, kf24=\E[j, kf25=\E[k, kf26=\E[l, 	kf27=\E[m, kf28=\E[n, kf29=\E[o, kf3=\E[O, kf30=\E[p, 	kf31=\E[q, kf32=\E[r, kf33=\E[s, kf34=\E[t, kf35=\E[u, 	kf36=\E[v, kf37=\E[w, kf38=\E[x, kf39=\E[y, kf4=\E[P, 	kf40=\E[z, kf41=\E[@, kf42=\E[[, kf43=\E[\\, kf44=\E[], 	kf45=\E[\^, kf46=\E[_, kf47=\E[`, kf48=\E[{, kf5=\E[Q, 	kf6=\E[R, kf7=\E[S, kf8=\E[T, kf9=\E[U, khome=\E[H, 	kich1=\E[L, knp=\E[G, kpp=\E[I, op=\E[0;37;40m, rc=\E8, 	rev=\E[7m, ri=\E[T, rin=\E[%p1%dT, rmacs=\E[10m, 	rmam=\E[?7l, rmso=\E[m, rmul=\E[m, sc=\E7, 	setab=\E[4%p1%dm, setaf=\E[3%p1%dm, sgr0=\E[0;10m, 	smacs=\E[12m, smam=\E[?7h, smso=\E[7m, smul=\E[4m, scoansi-new|SCO Extended ANSI standard crt (5.0.6), 	km, 	civis=\E[=0c, cnorm=\E[=1c, csr=\E[%i%p1%d;%p2%dr, 	cvvis=\E[=2c, mgc=\E[=r, oc=\E[51m, op=\E[50m, 	rep=\E[%p1%d;%p2%db, rmm=\E[=11L, 	sgr=\E[0%?%p1%p3%|%t;7%;%?%p2%t;4%;%?%p4%t;5%;%?%p6%t;1%;%?%p7%t;8%;%?%p9%t;12%;m, 	smgb=\E[=1;0m, smgbp=\E[=1;%i%p1%dm, 	smglp=\E[=2;%i%p1%dm, smgr=\E[=3;0m, 	smgrp=\E[=3;%i%p1%dm, smgt=\E[=0;0m, 	smgtp=\E[=0;%i%p1%dm, smm=\E[=10L, 	wind=\E[%i%p1%d;%p2%d;%i%p3%d;%p4%dr, 	use=scoansi-old, # make this easy to change...scoansi|SCO Extended ANSI standard crt, 	use=scoansi-old, # This actually describes the generic SVr4 display driver for Intel boxes.# The <dim=\E[2m> isn't documented and therefore may not be reliable.# From: Eric Raymond <esr@snark.thyrsus.com> Mon Nov 27 19:00:53 EST 1995att6386|at386|386at|AT&T WGS 6386 console, 	am, bw, eo, xon, 	cols#80, it#8, lines#25, 	acsc=``a1fxgqh0jYk?lZm@nEooppqDrrsstCu4vAwBx3yyzz{{||}}~~, 	bel=^G, blink=\E[5m, bold=\E[1m, cbt=\E[Z, civis=\E[=C, 	clear=\E[2J\E[H, cnorm=\E[=1C, cr=^M, cub=\E[%p1%dD, 	cub1=\E[D, cud=\E[%p1%dB, cud1=\E[B, cuf=\E[%p1%dC, 	cuf1=\E[C, cup=\E[%i%p1%d;%p2%dH, cuu=\E[%p1%dA, 	cuu1=\E[A, dch=\E[%p1%dP, dch1=\E[P, dim=\E[2m, 	dl=\E[%p1%dM, dl1=\E[1M, ech=\E[%p1%dX, ed=\E[J, el=\E[K, 	home=\E[H, hpa=\E[%i%p1%dG, ht=^I, hts=\EH, ich=\E[%p1%d@, 	ich1=\E[1@, il=\E[%p1%dL, il1=\E[1L, ind=\E[S, 	indn=\E[%p1%dS, invis=\E[9m, is2=\E[0;10;39m, kbs=^H, 	kcbt=^], kcub1=\E[D, kcud1=\E[B, kcuf1=\E[C, kcuu1=\E[A, 	kdch1=\E[P, kend=\E[Y, kf1=\EOP, kf10=\EOY, kf11=\EOZ, 	kf12=\EOA, kf2=\EOQ, kf3=\EOR, kf4=\EOS, kf5=\EOT, kf6=\EOU, 	kf7=\EOV, kf8=\EOW, kf9=\EOX, khome=\E[H, kich1=\E[@, 	knp=\E[U, kpp=\E[V, krmir=\E0, nel=\r\E[S, rc=\E8, rev=\E[7m, 	ri=\E[T, rin=\E[%p1%dT, rmacs=\E[10m, rmso=\E[m, rmul=\E[m, 	sc=\E7, 	sgr=\E[10m\E[0%?%p1%p3%|%t;7%;%?%p2%t;4%;%?%p4%t;5%;%?%p5%t;2%;%?%p6%t;1%;%?%p9%t;12%e;10%;%?%p7%t;9%;m, 	sgr0=\E[0;10m, smacs=\E[12m, smso=\E[7m, smul=\E[4m, 	tbc=\E[2g, vpa=\E[%i%p1%dd, use=klone+color, # (pc6300plus: removed ":KM=/usr/lib/ua/kmap.s5:"; renamed BO/EE/CI/CV -- esr)pc6300plus|AT&T 6300 plus, 	OTbs, am, xon, 	cols#80, lines#24, 	bel=^G, blink=\E[5m, bold=\E[1m, civis=\E[=C, 	clear=\E[2J\E[H, cnorm=\E[=1C, cr=^M, cub1=^H, cud1=\E[B, 	cuf1=\E[C, cup=\E[%i%p1%2d;%p2%2dH, cuu1=\E[A, 	dch1=\E[1P, dim=\E[2m, dl1=\E[1M, ed=\E[0J, el=\E[0K, 	home=\E[H, hts=\EH, ich1=\E[1@, il1=\E[1L, ind=^J, 	invis=\E[9m, kbs=^H, kcub1=\E[D, kcud1=\E[B, kcuf1=\E[C, 	kcuu1=\E[A, kf1=\EOc, kf10=\EOu, kf2=\EOd, kf3=\EOe, 	kf4=\EOf, kf5=\EOg, kf6=\EOh, kf7=\EOi, kf8=\EOj, kf9=\EOk, 	nel=^M^J, rev=\E[7m, rmso=\E[m, rmul=\E[m, sgr0=\E[m, 	smso=\E[7m, smul=\E[4m, tbc=\E[3g, # From: Benjamin C. W. Sittler <bsittler@nmt.edu>## I have a UNIX PC which I use as a terminal attached to my Linux PC.# Unfortunately, the UNIX PC terminfo entry that comes with ncurses# is broken. All the special key sequences are broken, making it unusable# with Emacs. The problem stems from the following:# # The UNIX PC has a plethora of keys (103 of them, and there's no numeric# keypad!), loadable fonts, and strange highlighting modes ("dithered"# half-intensity, "smeared" bold, and real strike-out, for example.) It also# uses resizable terminal windows, but the bundled terminal program always# uses an 80x24 window (and doesn't support seem to support a 132-column# mode.) # # HISTORY: The UNIX PC was one of the first machines with a GUI, and used a# library which was a superset of SVr3.5 curses (called tam, for "terminal# access method".) tam includes support for real, overlapping windows,# onscreen function key labels, and bitmap graphics. But since the primary# user interface on the UNIX PC was a GUI program (ua, for "user# assistant",) and remote administration was considered important for the# machine, tam also supported VT100-compatible terminals attached to the# serial port or used across the StarLan network. To simulate the extra keys# not present on a VT100, users could press ESC and a two-letter sequence,# such as u d (Undo) or U D (Shift-Undo.) These two-letter sequences,# however, were not the same as those sent by the actual Undo key. The# actual Undo key sends ESC 0 s unshifted, and ESC 0 S shifted, for example.# (If you're interested in adding some of the tam calls to ncurses, btw, I# have the full documentation and several programs which use tam. It also# used an extended terminfo format to describe key sequences, special# highlighting modes, etc.) # # KEYS: This means that ncurses would quite painful on the UNIX PC, since# there are two sequences for every key-modifier combination (local keyboard# sequence and remote "VT100" sequence.) But I doubt many people are trying# to use ncurses on the UNIX PC, since ncurses doesn't properly handle the# GUI. Unfortunately, the terminfo entry (and the termcap, too, I presume) # seem to have been built from the manual describing the VT100 sequences. # This means it doesn't work for a real live UNIX PC. # # FONTS: The UNIX PC also has a strange interpretation of "alternate# character set". Rather than the VT100 graphics you might expect, it allows# up to 8 custom fonts to be loaded at any given time. This means that# programs expecting VT100 graphics will usually be disappointed. For this# reason I have disabled the smacs/rmacs sequences, but they could easily be# re-enabled. Here are the relevant control sequences (from the ESCAPE(7) # manpage), should you wish to do so: # # SGR10 - Select font 0 - ESC [ 10 m or SO# SGR11 - Select font 1 - ESC [ 11 m or SI# SGR12 - Select font 2 - ESC [ 12 m# ... (etc.)# SGR17 - Select font 7 - ESC [ 17 m# # Graphics for line drawing are not reliably found at *any* character# location because the UNIX PC has dynamically reloadable fonts. I use font# 0 for regular text and font 1 for italics, but this is by no means# universal. So ASCII line drawing is in order if smacs/rmacs are enabled.# # MISC: The cursor visible/cursor invisible sequences were swapped in the# distributed terminfo.# # To ameliorate these problems (and fix a few highlighting bugs) I rewrote# the UNIX PC terminfo entry. The modified version works great with Lynx,# Emacs, and XEmacs running on my Linux PC and displaying on the UNIX PC# attached by serial cable. In Emacs, even the Undo key works, and many# applications can now use the F1-F8 keys. # # esr's notes:#	Terminfo entry for the AT&T Unix PC 7300#	from escape(7) in Unix PC 7300 Manual.#	Somewhat similar to a vt100-am (but different enough#	to redo this from scratch.)##	/***************************************************************#	*#	*           FONT LOADING PROGRAM FOR THE UNIX PC#	*#	*     This routine loads a font defined in the file ALTFONT#	*     into font memory slot #1.  Once the font has been loaded,#	*     it can be used as an alternative character set.#	*#	*     The call to ioctl with the argument WIOCLFONT is the key #	*     to this routine.  For more information, see window(7) in #	*     the PC 7300 documentation.#	***************************************************************/#	#include <string.h>		/* needed for strcpy call */#	#include <sys/window.h>         /* needed for ioctl call */#	#define FNSIZE	60		/* font name size */#	#define ALTFONT  "/usr/lib/wfont/special.8.ft"  /* font file */#	/*#	*     The file /usr/lib/wfont/special.8.ft comes with the#	*     standard PC software.  It defines a graphics character set#	*     similar to that of the Teletype 5425 terminal.  To view#	*     this or other fonts in /usr/lib/wfont, use the command#	*     cfont <filename>.  For further information on fonts see#	*     cfont(1) in the PC 7300 documentation.#	*/#	#	struct altfdata 	/* structure for alt font data */#	{#	short	altf_slot;		/* memory slot number */#	char	altf_name[FNSIZE];	/* font name (file name) */#	};#	ldfont()#	{#		int wd;		/* window in which altfont will be */#		struct altfdata altf;#		altf.altf_slot=1;#		strcpy(altf.altf_name,ALTFONT);#		for (wd =1; wd < 12; wd++) {#		     ioctl(wd, WIOCLFONT,&altf);#	        }#	}## (att7300: added <civis>/<cnorm>/<ich1>/<invis> from the BSDI entry,# they're confirmed by the man page for the System V display---esr)#att7300|unixpc|pc7300|3b1|s4|AT&T UNIX PC Model 7300, 	am, xon, 	cols#80, it#8, lines#24, 	bel=^G, blink=\E[9m, bold=\E[1m, cbt=\E^I, civis=\E[=1C, 	clear=\E[2J\E[H, cnorm=\E[=0C, cr=^M, cub=\E[%p1%dD, 	cub1=^H, cud=\E[%p1%dB, cud1=\E[B, cuf=\E[%p1%dC, 	cuf1=\E[C, cup=\E[%i%p1%d;%p2%dH, cuu=\E[%p1%dA, 	cuu1=\E[A, dch1=\E[P, dim=\E[2m, dl=\E[%p1%dM, dl1=\E[M, 	ed=\E[0J, el=\E[0K, home=\E[H, ich1=\E[@, il=\E[%p1%dL, 	il1=\E[L, ind=^J, invis=\E[9m, is1=\017\E[=1w, kBEG=\ENB, 	kCAN=\EOW, kCPY=\END, kCRT=\EON, kDC=\ENF, kDL=\ENE, 	kEND=\ENN, kEOL=\EOA, kFND=\EOX, kHLP=\EOM, kHOM=\ENM, 	kIC=\ENJ, kLFT=\ENK, kMOV=\ENC, kNXT=\ENH, kOPT=\EOR, 	kPRV=\ENG, kRDO=\EOT, kRIT=\ENL, kRPL=\EOY, kSAV=\EOO, 	kUND=\EOS, kbeg=\ENb, kbs=^H, kcan=\EOw, kcbt=\E[Z, 	kclo=\EOV, kclr=\E[J, kcmd=\EOu, kcpy=\ENd, kcrt=\EOn, 	kcub1=\E[D, kcud1=\E[B, kcuf1=\E[C, kcuu1=\E[A, kdch1=\ENf, 	ked=\E[J, kel=\EOa, kend=\E0, kext=\EOk, kf1=\EOc, kf2=\EOd, 	kf3=\EOe, kf4=\EOf, kf5=\EOg, kf6=\EOh, kf7=\EOi, kf8=\EOj, 	kfnd=\EOx, khlp=\EOm, khome=\E[H, kich1=\ENj, kind=\E[B, 	kmov=\ENc, kmrk=\ENi, knp=\E[U, knxt=\ENh, kopn=\EOv, 	kopt=\EOr, kpp=\E[V, kprt=\EOz, kprv=\ENg, krdo=\EOt, 	kref=\EOb, krfr=\ENa, kri=\E[A, krpl=\EOy, krst=\EOB, 	ksav=\EOo, kslt=\ENI, kund=\EOs, nel=\EE, rev=\E[7m, ri=\EM, 	rmso=\E[m, rmul=\E[m, sgr0=\E[0;10m, smso=\E[7m, 	smul=\E[4m, # Sent by Stefan Stapelberg <stefan@rent-a-guru.de>, 24 Feb 1997, this is# from SGI's terminfo database.  SGI's entry shows F9-F12 with the codes# for the application keypad mode.  We have added iris-ansi-ap rather than# change the original to keypad mode.## (iris-ansi: added rmam/smam based on init string -- esr)## This entry, and those derived from it, is used in xwsh (also known as# winterm).  Some capabilities that do not fit into the terminfo model# include the shift- and control-functionkeys:## F1-F12 generate different codes when shift or control modifiers are used.# For example:#	F1      	\E[001q

⌨️ 快捷键说明

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