install

来自「源码,标准c++用力」· 代码 · 共 30 行

TXT
30
字号
Both a Makefile and an Imakefile are provided.  The Imakefile may produce a Makefile that makes a clean build.  If not, edit the Makefile, it's quite clean.Set INCDIR to wherever your X11 include files are, CC to your C compiler, and add any defines necessary to CFLAGS.  Example defines are provided for systems that I had easy access to:    HPFLAGS:            HP-UX HP9000s700    SGIFLAGS:           SGI IRIX 5.3 mips    SUNOSFLAGS:         SunOS 4    SOLARISFLAGS:       SunOS 5 sparc    NETBSDFLAGS:        NetBSD 1.1B i386On Solaris, make sure to define SOLARIS, and add -lsocket to LIBS.  On BSD systems, add -ltermcap to LIBS.You can test the color support with the provided flag file, VT support with a program like nethack or angband (or vi for that matter), and the Tek support with the files under tektests.A manual page is provided in color_xterm.man, and termcap and terminfoentries in the termcap and terminfo files.If the scrollbar behaves strangely, try defining/undefining NARROWPROTO.There has been a report that ws does not always get declared properly.  I have been unable to reproduce this problem, but it reportedly is solved by simply adding a "struct winsize ws;" before main() in main.c.If you had to patch something to get color_xterm to build on your system, e-mail me at jlm@ugcs.caltech.edu, and I'll merge the changes back into the main distribution.Good luck	-- Jacob L. Mandelson

⌨️ 快捷键说明

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