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

📄 nap.1.in

📁 P2P NAP的C实现 P2P在网络应用中越来越流行
💻 IN
📖 第 1 页 / 共 2 页
字号:
.TH "nap" "1" "@VERSION@" "Peter Selinger" "Napter client".SH "NAME"nap, napping - Linux Napster Client.SH "SYNTAX"nap <\fIoptions\fP>.br napping.SH "DESCRIPTION".LP Nap is a linux console napster client written by Kevin Sullivan andimproved by Peter Selinger and others. The advantage of nap over othergraphical clients like gnome-napster is that you can run it underscreen(1) on a remote host and disconnect from your session while napcontinues the downloads. You can later reconnect to your runningclient even from another host and do more commands..LP Napping is a helper application required by nap to send and reveiveping packets. For napping to work it should be installed suid root..LP For more information, please see the HTML documentation athttp://nap.sourceforge.net/userguide.html..SH "OPTIONS".LP .TP \fB\-h, \-\-help\fROutput help information and exit.TP \fB\-v, \-\-version\fRprint version info and exit.TP \fB\-b, \-\-build\fRbuild library of your shared files to send to server (obsolete, as napwill do this by default)..TP \fB\-B, \-\-build\-only\fRbuild library and exit.TP \fB\-N, \-\-nobuild\fRdo not build library, even if it is out of date .TP \fB\-m, \-\-create\fRcreate a new account with the napster server (obsolete).TP \fB\-r, \-\-reconnect\fRkeep reconnecting until server connection established .TP \fB\-a, \-\-autorestart\fRautomatically reconnect when connection to server lost .TP \fB\-q, \-\-daemon\fRrun without user interface; file sharing only.TP \fB\-t, \-\-notitle\fRdo not display the title bar (fixes messed\-up displays) .TP \fB\-l, \-\-nxterm\fRtry using a terminal which is compatible with most  systems (fixessome messed\-up displays).TP \fB\-T, \-\-transparent\fRuse the terminal's default background instead of black.TP \fB\-n, \-\-noserver\fRstart up without connecting to a server.TP \fB\-f \fI<filename>\fP, \-\-config \fI<filename>\fP\fRspecifies the config file to use (default ~/.nap/napconf) .TP \fB\-x \fI<filename>\fP, \-\-log \fI<filename>\fP\fRlog all transfers to a specific filename .TP \fB\-g \fI<filename>\fP, \-\-logall \fI<filename>\fP\fRlog everything to a specific filename .TP \fB\-s \fI<server>\fP, \-\-server \fI<server>\fP\fRselect a specific server (multiple \-s opts possible) .TP \fB\-d \fI<n>\fP, \-\-debug \fI<n>\fP\fRset debug level .TP \fB\-u \fI<str>\fP, \-\-user \fI<str>\fP\fRspecify napster username .TP \fB\-p \fI<str>\fP, \-\-pass \fI<str>\fP\fRspecify user's password .TP \fB\-e \fI<str>\fP, \-\-email \fI<str>\fP\fRspecify user's email address .TP \fB\-U \fI<dir>\fP, \-\-upload \fI<dir>\fP\fRspecify upload directory (multiple \-U opts possible) .TP \fB\-D \fI<dir>\fP, \-\-download \fI<dir>\fP\fRspecify download directory .TP \fB\-I \fI<dir>\fP, \-\-incomplete \fI<dir>\fP\fRspecify directory for incomplete files .TP \fB\-P \fI<n>[-<m>]\fP, \-\-dataport \fI<n>[\-<m>]\fP\fRspecify port(s) to use for incoming upload requests.TP \fB\-C \fI<n>\fP, \-\-connection \fI<n>\fP\fRspecify connection speed number, according to the following chart: Connection | Number ------------------- Unknown    |  0 14.4       |  1 28.8       |  2 33.6       |  3 56.7       |  4 64K ISDN   |  5 128K ISDN  |  6 Cable      |  7 DSL        |  8 T1         |  9 T3 or >    | 10.TP \fB\-M \fI<n>\fP, \-\-maxuploads \fI<n>\fP\fRspecify maximum number of simultaneous uploads .TP \fB\-o \fI<var>=<value>\fP, \-\-option \fI<var>=<value>\fP\fRset user configuration variable.SH "CONFIGURATION VARIABLES".LP Configuration variables can be set in the file ~/.nap/napconf, on thecommand line via the \fB\-o\fR option, or interactively via the /setcommand.  Here is an almost complete list of configuration variables:.TP\fBuser\fRyour napster username.TP\fBpass\fRyour napster password - optional.TP\fBemail\fRyour napster email address.TP\fBupload\fRlist of upload directories, separated by semicolons.TP\fBdownload\fRyour download directory.TP\fBincomplete\fRyour directory for incomplete files.TP\fBconnection\fRyour connection speed (see \fB\-C\fP option).TP\fBmaxuploads\fRmaximal number of simultaneous uploads allowed.TP\fBmaxupuser\fRmaximum number of simultaneous uploads per user.TP\fBmaxdownloads\fRmaximum number of simultaneous downloads allowed.TP\fBmaxdownuser\fRmaximum number of simultaneous downloads per user.TP\fBservers\fRlist of servers, separated by semicolons (note: this is now ignored and overwritten unless nometa is set).TP\fBdataport\fRport or range of ports to use for client-client connections. Set this to 0 if you are behind a firewall.TP\fBlogfile\fRlog file for transfer logs.TP\fBlogallfile\fRlog file for logging everything.TP\fBbandwidthdown\fRglobal bandwidth limit for downloads (in kB/s).TP\fBbandwidthdown1\fRdownload bandwidth limit per connection (in kB/s).TP\fBbandwidthup\fRglobal bandwidth limit for uploads (in kB/s).TP\fBbandwidthup1\fRupload bandwidth limit per connection (in kB/s).TP\fBannouncepongs\fRshould receipt of PONG packets be announced?.TP\fBautopurge\fRtime to delete stopped items from up- and download lists.TP\fBautopurgeup\fRtime to delete stopped items from upload list.TP\fBautopurgedown\fRtime to delete stopped items from download list.TP\fBautoreply\fRa string to send as an automatic reply to incoming user messages.TP\fBautorestart\fRautomatically reconnect when connection to server lost?.TP\fBconnecttimeout\fRtimeout after this many seconds while connecting to server.TP\fBcursorfollowsscreen\fRshould PgUp and PgDn move the screen, rather than the cursor, on the search result screen?.TP\fBdebug\fRdebug level.TP\fBidentity\fRfake client id for fooling servers that refuse connections from nap client.TP\fBhash\fRshall we calculate MD5 hashes? Note that most servers don't use them..TP\fBincompletesuffix\fRsuffix to use for incomplete files.TP\fBlibraryfile\fRlocation of your library file.TP\fBmetaserver\fRURL of a napigator-style metaserver.TP\fBmetatimeout\fRtimeout for connecting to metaserver.TP\fBnapping\fRrelative or absolute filename of the napping program to use.TP\fBnewstimeout\fRtimeout for retrieving news.TP\fBnoechosets\fRshould the /set command be quiet?.TP\fBnomasq\fRshould filename masquerading be disabled?.TP\fBnometa\fRskip connecting to metaserver on startup?.TP\fBnonews\fRdo you want to skip news about new releases on startup?.TP\fBnoping\fRdo you want to disable pings?.TP\fBnoresultscreen\fRshould search results be displayed on the main screen?.TP\fBnoscroll\fRshould main screen not scroll to bottom automatically on output?.TP\fBproxy\fRURL of http proxy, if needed to access www through firewall.TP\fBsavechannels\fRshould your open channels to be saved between sessions?.TP\fBsavepass\fRshould password be saved in config file?.TP\fBscrollsize\fRlimit on the number of lines in main screen, or 0 for no limit.TP\fBsdefaults\fRdefault keystrokes for search result screen appearance.TP\fBsharetypes\fRsemicolon-separated list of file extensions to share in addition to mp3 files. Case insensitive. Use '*' for 'all files'..TP\fBshowtoomanyuploads\fRdisplay a message when upload limit is reached?.TP\fBturdsize\fRsize of the largest incomplete file which will be auto-removed.SH "COMMANDS".LP Nap has an irc-like interface. Commands start with a slash "/". Thetwo most important commands are \fB/search\fP to start a search, and\fB/reconnect\fP to cycle through the list of servers. Here is acomplete list of commands:\fB/about\fP \- Shows credits.TP\fB/alias\fP \fI[name]\fP \fI[args]\fP \- Creates an alias, or lists current aliases.TP\fB/aliaslist\fP \- Shows current list of aliases.TP\fB/announce\fP \fImsg\fP \- Broadcasts a message to all users.TP\fB/ban\fP \fI[user/IP]\fP \- Bans the specified user or IP, or lists banned users

⌨️ 快捷键说明

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