📄 install
字号:
Installation for Minicom 1.79 - 1.82.Edit the Makefile to choose your C-compiler and CFLAGS. Entriesfor a lot of systems are already defined, you only have touncomment them. Also define where your binaries go and where you wantthe configuration files to be placed.The default configuration is to compile for Linux, and to install it in/usr/bin and /etc.Now you may edit "config.h". Reasonable defaults for some systems arealready filled in, and changes will probably not be needed. Most of thesystem defaults defined here can also be changed by running minicom as rootwith the -s option, so there should not be much need to edit config.h(unless you are adding some new features to the program :-)If everything is allright, you can type "make" and "minicom",and "runscript" will be compiled. Ignore any warnings you mightsee; I couldn't keep the source generic and at the same timeget all compilers to shut up (Linux and Coherent compilers don'tgive warnings; the BSD 2.3.3 gcc does).If you have gotten this far, it is time to install the executables.if you trust the installation procedure (I do!) you can just type'make install' as root. If you insist on installing manually:1. Copy "minicom" to a bin directory (eg /usr/bin). chown it to root and install it set-uid (chmod 4755 minicom, NOT recommended) or make your modem device (/dev/ttyS1 or something like that) world writable (chmod a+rw /dev/ttyS1), or give rw permissions to the group owning the device (chmod g+rw /dev/ttyS1) and join all users that you allow to use minicom to that group.2. Copy "runscript" to the same "bin" directory.3. Copy "xminicom" to this directory too. It's a little shell script that puts up an xterm with minicom in it.4. Copy "keyserv" to the LIB directory defined in the Makefile. (If you have a system with the select() system call, you won't have the 'keyserv' binary anymore !). Don't install "runscript" and/or "keyserv" setuid root!5. Edit the "minicom.users" file (in the directory as defined in "Makefile") to add users who may use minicom. If you don't install "minicom.users" everybody may use minicom!6 Minicom has been installed.X/Y/Z modem.Minicom works with zmodem version that use stdin/stdout forcommunication with the modems. Newer zmodem versions don't do this,AND they are copyrightedFortunately there is a free PD zmodem now, based on one of the older (PD)zmodem sources. This one is called "lrzsz". It may be included in thispackage, or it might already be on your system; otherwise you can find iton the net by searching for lrzsz with "archie".Configuration.Probably some defaults are not good enough for your system.So type (still as root) "minicom -s". This will not initializeminicom but takes you directly into the configuration menu. After you have it configured, remember to select "Save setup as dfl" fromthe configuration menu to save the settings as system defaults.See the minicom manual page for details.Graphics with terminfo (ncurses).If you want minicom to use the ANSI or IBM-PC character set,check the following directories and read the README files:terminfo/ if you're on a terminfo system (Debian Linux, sysv)termcap/ if you're on a termcap system.
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -