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

📄 install

📁 ncurses-5.4 需要的就来下把 一定会有用的哦
💻
📖 第 1 页 / 共 4 页
字号:
    1.9.9g (December 1, 1996)	This fixed most of the problems with 1.9.9e, and made these interface	changes:	+ remove tparam(), which had been provided for compatibility with	  some termcap.  tparm() is standard, and does not conflict with	  application's fallback for missing tparam().	+ turn off hardware echo in initscr().  This changes the sense of the	  echo() function, which was initialized to echoing rather than	  nonechoing (the latter is specified).  There were several other	  corrections to the terminal I/O settings which cause applications to	  behave differently.	+ implemented several functions (such as attr_on()) which were	  available only as macros.	+ corrected several typos in curses.h.in (i.e., the mvXXXX macros).	+ corrected prototypes for delay_output(),	  has_color, immedok() and idcok().	+ corrected misspelled getbkgd().  Some applications used the	  misspelled name.	+ added _yoffset to WINDOW.  The size of WINDOW does not impact	  applications, since they use only pointers to WINDOW structs.	These changes were made to the terminfo database:	+ removed boolean 'getm' which was available as an extended name.	We added these extensions: wresize(), resizeterm(), has_key() and	mcprint().    1.9.9e (March 24, 1996)	not recommended (a last-minute/untested change left the forms and	menus libraries unusable since they do not repaint the screen).	Foreground/background colors are combined incorrectly, working properly	only on a black background.  When this was released, the X/Open	specification was available only in draft form.	Some applications (such as lxdialog) were "fixed" to work with the	incorrect color scheme.IF YOU ARE A SYSTEM INTEGRATOR:------------------------------    Configuration and Installation:    	On platforms where ncurses is assumed to be installed in /usr/lib,	the configure script uses "/usr" as a default:		Linux, FreeBSD, NetBSD, OpenBSD, Cygwin	For other platforms, the default is "/usr/local".  See the discussion	of the "--disable-overwrite" option.	The location of the terminfo is set indirectly by the "--datadir"	configure option, e.g., /usr/share/terminfo, given a datadir of	/usr/share.  You may want to override this if you are installing	ncurses libraries in nonstandard locations, but wish to share the	terminfo database.	Normally the ncurses library is configured in a pure-terminfo mode;	that is, with the --disable-termcap option.  This makes the ncurses	library smaller and faster.  The ncurses library includes a termcap	emulation that queries the terminfo database, so even applications that	use raw termcap to query terminal characteristics will win (providing	you recompile and relink them!).	If you must configure with termcap fallback enabled, you may also wish	to use the --enable-getcap option.  This speeds up termcap-based	startups, at the expense of not allowing personal termcap entries to	reference the terminfo tree.  See comments in	ncurses/tinfo/read_termcap.c for further details.	Note that if you have $TERMCAP set, ncurses will use that value	to locate termcap data.  In particular, running from xterm will	set $TERMCAP to the contents of the xterm's termcap entry.	If ncurses sees that, it will not examine /etc/termcap.    Keyboard Mapping:	The terminfo file assumes that Shift-Tab generates \E[Z (the ECMA-48	reverse-tabulation sequence) rather than ^I.  Here are the loadkeys -d	mappings that will set this up:		keycode	 15 = Tab	      Tab			alt     keycode  15 = Meta_Tab			shift	keycode  15 = F26		string F26 ="\033[Z"    Naming the Console Terminal	In various systems there has been a practice of designating the system	console driver type as `console'.  Please do not do this!  It	complicates peoples' lives, because it can mean that several different	terminfo entries from different operating systems all logically want to	be called `console'.	Please pick a name unique to your console driver and set that up	in the /etc/inittab table or local equivalent.  Send the entry to the	terminfo maintainer (listed in the misc/terminfo file) to be included	in the terminfo file, if it's not already there.  See the	term(7) manual page included with this distribution for more on	conventions for choosing type names.	Here are some recommended primary console names:		linux	-- Linux console driver		freebsd	-- FreeBSD		netbsd	-- NetBSD		bsdos	-- BSD/OS	If you are responsible for integrating ncurses for one of these	distribution, please either use the recommended name or get back	to us explaining why you don't want to, so we can work out nomenclature	that will make users' lives easier rather than harder.RECENT XTERM VERSIONS:---------------------	The terminfo database file included with this distribution assumes you	are running an XFree86 xterm based on X11R6 (i.e., xterm-r6).  The	earlier X11R5 entry (xterm-r5) is provided as well.	If you are running XFree86 version 3.2 (actually 3.1.2F and up), you	should consider using the xterm-xf86-v32 (or later, the most recent	version is always named "xterm-xfree86") entry, which adds ANSI color	and the VT220 capabilities which have been added in XFree86.  If you	are running a mixed network, however, where this terminal description	may be used on an older xterm, you may have problems, since	applications that assume these capabilities will produce incorrect	output on the older xterm (e.g., highlighting is not cleared).CONFIGURING FALLBACK ENTRIES:----------------------------	In order to support operation of ncurses programs before the terminfo	tree is accessible (that is, in single-user mode or at OS installation	time) the ncurses library can be compiled to include an array of	pre-fetched fallback entries.	These entries are checked by setupterm() only when the conventional	fetches from the terminfo tree and the termcap fallback (if configured)	have been tried and failed.  Thus, the presence of a fallback will not	shadow modifications to the on-disk entry for the same type, when that	entry is accessible.	By default, there are no entries on the fallback list.  After you	have built the ncurses suite for the first time, you can change	the list (the process needs infocmp(1)).  To do so, use the script	MKfallback.sh.  A configure script option --with-fallbacks does this	(it accepts a comma-separated list of the names you wish, and does	not require a rebuild).	If you wanted (say) to have linux, vt100, and xterm fallbacks, you	would use the commands		cd ncurses;		MKfallback.sh linux vt100 xterm >fallback.c	Then just rebuild and reinstall the library as you would normally.	You can restore the default empty fallback list with		MKfallback.sh >fallback.c	The overhead for an empty fallback list is one trivial stub function.	Any non-empty fallback list is const-ed and therefore lives in sharable	text space.  You can look at the comment trailing each initializer in	the generated ncurses/fallback.c file to see the core cost of the	fallbacks.  A good rule of thumb for modern vt100-like entries is that	each one will cost about 2.5K of text space.BSD CONVERSION NOTES:--------------------	If you need to support really ancient BSD programs, you probably	want to configure with the --enable-bsdpad option.  What this does	is enable code in tputs() that recognizes a numeric prefix on a	capability as a request for that much trailing padding in milliseconds.	There are old BSD programs that do things like tputs("50").	(If you are distributing ncurses as a support-library component of	an application you probably want to put the remainder of this section	in the package README file.)	The following note applies only if you have configured ncurses with	--enable-termcap.------------------------------- CUT HERE --------------------------------If you are installing this application privately (either because youhave no root access or want to experiment with it before doing a rootinstallation), there are a couple of details you need to be aware of.They have to do with the ncurses library, which uses terminfo ratherthan termcap for describing terminal characteristics.Though the ncurses library is terminfo-based, it will interpret yourTERMCAP variable (if present), any local termcap files you referencethrough it, and the system termcap file.  However, in order to avoidslowing down your application startup, it will only do this once perterminal type!The first time you load a given terminal type from your termcapdatabase, the library initialization code will automatically write itin terminfo format to a subdirectory under $HOME/.terminfo.  Afterthat, the initialization code will find it there and do a (muchfaster) terminfo fetch.Usually, all this means is that your home directory will silently growan invisible .terminfo subdirectory which will get filled in withterminfo descriptions of terminal types as you invoke them.  If anyoneever installs a global terminfo tree on your system, this will quietlystop happening and your $HOME/.terminfo will become redundant.The objective of all this logic is to make converting from BSD termcapas painless as possible without slowing down your application (termcapcompilation is expensive).If you don't have a TERMCAP variable or custom personal termcap file,you can skip the rest of this dissertation.If you *do* have a TERMCAP variable and/or a custom personal termcap filethat defines a terminal type, that definition will stop being visibleto this application after the first time you run it, because it willinstead see the terminfo entry that it wrote to $HOME/terminfo thefirst time around.Subsequently, editing the TERMCAP variable or personal TERMCAP filewill have no effect unless you explicitly remove the terminfo entryunder $HOME/terminfo.  If you do that, the entry will be recompiledfrom your termcap resources the next time it is invoked.To avoid these complications, use infocmp(1) and tic(1) to edit theterminfo directory directly.------------------------------- CUT HERE --------------------------------USING NCURSES WITH AFS:	AFS treats each directory as a separate logical filesystem, you	can't hard-link across them.  The --enable-symlinks option copes	with this by making tic use symbolic links.USING NCURSES WITH EMACS:	GNU Emacs has its own termcap support.  By default, it uses a mixture	of those functions and code linked from the host system's libraries.	You need to foil this and shut out the GNU termcap library entirely.	In order to do this, hack the Linux config file (s/linux.h) to contain	a #define TERMINFO and set the symbol LIBS_TERMCAP to "-lncurses".	We have submitted such a change for the 19.30 release, so it may	already be applied in your sources -- check for the #define TERMINFO.USING NCURSES WITH GPM:	Ncurses 4.1 and up can be configured to use GPM (General Purpose Mouse)	which is used on Linux console.  Be aware that GPM is commonly	installed as a shared library which contains a wrapper for the curses	wgetch() function (libcurses.o).  Some integrators have simplified	linking applications by combining all or part of libcurses.so (the BSD	curses) into the libgpm.so file, producing symbol conflicts with	ncurses (specifically the wgetch function).  You may be able to work	around this problem by linking as follows:		cc -o foo foo.o -lncurses -lgpm -lncurses	but the linker may not cooperate, producing mysterious errors.	A patched version of gpm is available:		dickey.his.com:/ncurses/gpm-1.10-970125.tar.gz	This patch is incorporated in gpm 1.12; however some integrators	are slow to update this library.  Current distributions of gpm can	be configured properly using the --without-curses option.BUILDING NCURSES WITH A CROSS-COMPILER	Ncurses can be built with a cross-compiler.  Some parts must be built	with the host's compiler since they are used for building programs	(e.g., ncurses/make_hash and ncurses/make_keys) that generate tables	that are compiled into the ncurses library.  You should set the	BUILD_CC environment variable to your host's compiler, and run the	configure script configuring for the cross-compiler.	Note that all of the generated source-files which are part of ncurses	will be made if you use		make sources	This would be useful in porting to an environment which has little	support for the tools used to generate the sources, e.g., sed, awk and	Bourne-shell.BUGS:	Send any feedback to the ncurses mailing list at	bug-ncurses@gnu.org. To subscribe send mail to	bug-ncurses-request@gnu.org with body that reads:	subscribe ncurses <your-email-address-here>	The Hacker's Guide in the doc directory includes some guidelines	on how to report bugs in ways that will get them fixed most quickly.

⌨️ 快捷键说明

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