📄 changelog
字号:
"Transport endpoint is not connected" in certain circumstances. Replaced all fork/connect combinations with non-blocking i/o. Thanks to Mike Castle for tracking down this bug. (2001/11/05) PS1 - added support for sharing Ogg Vorbis files. (2001/10/17) PS1, JJL - added ability to share non-music files. Added "sharetypes" user variable which is a semicolon-separated list of case-insensitive file name extensions (example: "jpg:gif"). The value "*" is allowed as a special "extension" to match all files. Files in the upload directory that match the given extensions are shared, in *addition* to valid mp3's. Mp3's are always shared and do not need to be listed in sharetypes. Also note that file sharing is decided at the time the library is built, not at the time the file is requested. Thus, changes to "sharetypes" do not take effect until the library is rebuilt. (2001/10/13) PS1 - fixed bug where foreign characters were not escaped on browse result screen. (2001/09/17) PS1 - fixed memory leaks: status in sscr.c; result of form_toks in parseoutn; result of home_file in drebuild, dupdate, setup_configdir, main, login, makeact, sfreq; result of glistn in save_hotlist, dunnotify; result of getline in open_url, set_defaults_interactive, checknv, icmpin, icmperr; result of msprintf in ichat, login. (2001/09/16) PS1 - added "memwatch" function in order to debug memory leaks. This is only compiled in when the -DMEMWATCH option is given to gcc. (2001/09/16) PS1 - added key 'D' to sort by directory, rather than by song name, on the search result screen. (2001/09/16) PS1 - modified napping to output an empty line just before quitting, for the benefit of cygwin, which can't apparently detect the end of file. (2001/08/31) PS1 - modified 'drop suid' code in napping.c to do it precisely the same way it's done in ping(8). (2001/08/30) RPB - made nap FreeBSD compatible. This requires minimal changes in the inclusion of header files, and works on FreeBSD 4.4-RC (and most likely 4.x and 5.x). v1.4.6 2001/08/30 (2001/08/29) PS1 - fixed bug where remotely queued items were periodically queued. Also, changed things so that we try at most one remotely queued item of the same user at a time. (2001/08/29) PS1 - added estimated time of arrival (e.g. 1h 25m 17s) to /pdown and /pup. (2001/08/29) PS1 - added question about firewall to interactive user setup. (2001/08/29) PS1 - waiting for child process to exit after killing it in connect_t - this hopefully solves a problem where sometimes, a single "connection timed out" caused all subsequent connections to time out immediately. (2001/08/29) PS1 - fixed a bug where CTRL-C, when pressed while no command was executing, would interrupt a later command. (2001/08/29) PS1 - eliminated list of "standard servers", since nap no longer works with these servers. (2001/08/29) PS1 - added "napping" user variable to set an alternative name and/or absolute pathname for the napping application. (2001/08/28) PS1 - added "noping" user variable which turns off pings by default. Pinging can be toggled on and off by giving the "-p" flag for the /search command. (2001/08/28) PS1 - modified nap and napping to work together. (2001/08/28) SZ1 - added separate program "napping" for getting ping values. The point is that root privileges are needed for opening a raw network socket for ping; but nap can't be made suid (it would be unsafe). On the other hand, the separate napping program can be safely made suid, because it drops root privileges immediately after opening the socket. (2001/08/28) PS1 - escape weird characters in filenames on search result screen. (2001/08/27) PS1 - added "--transparent" option which will cause the terminal's default background to shine through instead of painting it black. This will only look good if the default background is dark. (2001/08/26) PS1 - added global configuration file (default: /etc/naprc) which is read *after* the user's configuration file (however, values already set on the command line or in the user's config file are not overwritten). The name of this file is given by the user variable "globalconfig". (2001/08/26) PS1 - made library filename configurable. (2001/08/26) PS1 - rewrote library building code to avoid infinite symlink loops. (2001/08/26) PS1 - added connection() function which limits the connection speed a user can claim when she has limited the upload bandwidth. (2001/08/26) PS1 - added configurable bandwidth limits. (2001/08/26) PS1 - removed info.maxuploads, info.conn, and info.d from nap.h. Added optional "numeric" hardwired lvalue to user variables. (2001/08/25) PS1 - changed interface of callback functions (cur->func) in scheck.c:sockfunc. These functions now always return 1; they must call delsock themselves. (2001/08/25) PS1 - removed unused files exp.c and exp.h (2001/08/25) PS1 - fixed plurals in status line (2001/07/19) JP1 - patch #442669; check for a divide by 0 in VBR length (2001/07/17) SP1 - added a filter to /pdown command to selectively list downloading, queued, failed, and successful items [d/q/f/s]. (2001/07/12) MDR - patch #440846; fixes broken Ctrl-W behavior, which prevented multiple Ctrl-W keystrokes from deleting more than one word. (2001/07/12) MDR - patch #440842; causes Ctrl-L to redraw the screen when viewing search results. (2001/07/09) NBL - correctly print debugging output for packets of length 0. (2001/07/09) NBL - added support for direct browsing. (2001/07/02) PS1 - corrected a bug that printed the dates incorrectly in logallfile. v1.4.5 2001/07/01 (2001/07/01) PS1 - got rid of usercmds.c (2001/07/01) PS1 - binary distributions are now statically linked to avoid dependencies on specific shared library versions. (2001/06/30) PS1 - changed implementation of checknv(). (2001/06/30) PS1 - made OpenNap servers the default. Server list will be read from napigator.com on startup. Added /getservers command. Added "metaserver", "metatimeout", and "nometa" user variables. (2001/06/30) PS1 - close open socket after checking for news. (2001/06/29) PS1 - now report full file name if file cannot be opened in incomplete directory. (2001/06/28) PS1 - changed default value of connecttimeout to 5 seconds. It can still be disabled by setting connecttimeout to 0. (2001/06/28) PS1 - automatically rename .nap/nap.conf as .nap/napconf, if the former file exists. This is to remove an incompatibility with former debian distributions. (2001/06/28) PS1 - added "announcepongs" user variable. If not set, PONG packets will be silently ignored. (2001/06/28) PS1 - renamed cmds.h:basename as ud_basename, to avoid potential conflict with strings.h. (2001/06/27) PAF - fixed a segfault during startup (while checking for new releases). (2001/06/08) MDR - fixed bug in firewall mode where upload state was inadvertently left in state CONNECTING1. This caused ongoing uploads to time out after 90 seconds. (2001/06/02) PS1 - started removing arbitrary limits on length of strings. (2001/05/31) SP1 - contributed shell script for getting server list from www.napigator.com, and an alias for reading it into nap. (2001/05/30) PS1 - changed the syntax of the "incomplete tag" in preparation of resumes. (2001/05/30) PS1 - spun off scmds.c from cmds.c. (2001/05/30) PS1 - added more comments to config file. (2001/05/30) PS1 - added "cursorfollowsscreen" user variable to configure behavior of "PgUp" and "PgDn" keys on search result screen. (2001/05/30) PS1 - allow CTRL-C to interrupt /reconnect command. (2001/05/30) SP1, PS1 - changed /reconnect command to cycle to the next server on the list, rather than start from the beginning of the list. (2001/05/30) PS1 - fixed a string allocation bug in dosend(). (2001/05/29) PS1 - added "sdefaults" user variable for user-configurable default appearance of the search screen. (2001/05/29) PS1 - made state of the search result screen persistent while switching between screens. (2001/05/29) PS1 - fixed bug where files could not be moved from incomplete directory to download directory if these were on different file systems. (2001/05/24) NBL - improved VBR support to recognize Xing headers. (2001/05/15) PS1 - allow ~/ notation in /loadconfig, /loadalias, /loadchannels, /loadhandler, and similarly /saveconfig etc. (2001/05/15) PS1 - changed /set, /alias, /ban, /block, /cban, /join, /handler, /ignore, /notify, and /server commands to behave like /pvars, /aliaslist, /banlist, /blocklist, /cbanlist, /clist2, /handlerlist, /ignorelist, /hotlist, and /serv when no arguments are given. This removes the need for the latter commands, but we keep them for compatibility. Also, /set, /alias, and /handler will print the current value when just one argument is given. (2001/05/15) PS1 - removed duplicate "removed turd" message. (2001/05/15) MG1 - fixed a bug in the command list which prevented the /retryall command from working. (2001/05/03) RK1 - fixed a segfault in mark_incomplete. (2001/04/28) NBL - added support for VBR (variable bit rate). (2001/04/27) PS1 - if no download path given, use $CWD by default as announced (and not $HOME as in ps9). (2001/04/27) PS1 - changed autoconf magic to link against ncurses or curses, but not both. (2001/04/27) PS1 - fixed appearance of horizontal and vertical lines for cygwin32. (2001/04/27) PS1 - replaced sys_errlist[] by strerror() for cygwin32 and Solaris compatibility. (2001/04/24) PS1 - eliminated ECANCELED for OpenBSD and cygwin32 compatibility.v1.4.4-ps9 2001/04/23 (2001/04/23) SL1 - 'm' on search screen now also toggles between display in megabytes and bytes. (2001/04/23) SL1 - added -s flag to /search command to limit file size searched - this works on OpenNap servers and is ignored on Napster. (2001/04/23) PS1 - moved all nap config files under ~/.nap directory; automatically move some old config files to their new location automatically (for the next couple of releases). (2001/04/22) MDZ - added sample nap-session script. (2001/04/22) MDZ - added Debian info to userguide.html. (2001/04/22) MDZ - fixed some potential sprintf buffer overflows. (2001/04/22) MDZ - default upload, download, and incomplete directory names relative to the home directory, and allow "~/" syntax. (2001/04/22) MDZ - include time.h in event.c (2001/04/22) PS1 - removed non-functional /hup command. (2001/04/22) PS1 - added feature to specify multiple passwords and email addresses in config file. (2001/04/22) PS1 - cleaned up hotlist code. (2001/04/22) PS1 - fixed a bug where the incoming socket was not deleted when a download was deleted, causing bytes to spill. (2001/04/22) PS1 - added hook to request remotely queued item immediately as soon as a download from that user ends. (2001/04/22) PS1 - added /purgeup and /purge commands (2001/04/22) PS1 - improved the output of some commands such as /pvars. (2001/04/22) PS1 - deleted some unused code (2001/04/22) PS1 - overhauled upload state model to match the new download state model. (2001/04/21) PS1 - when download request times out because server did not send ack, re-send the request rather than stopping the download. (2001/04/21) PS1 - fixed status line display to include queued downloads (2001/04/21) PS1 - disabled messages about "too many uploads", unless variable "showtoomanyuploads" is set to 1. (2001/04/21) PS1 - added "help" feature to search screen. (2001/04/21) PS1 - added ability to "remotely queue" downloads if the remote user's upload limit is reached. The way this is implemented is by silently retrying the download every 15 seconds. (2001/04/21) PS1 - allow numeric ranges in /get to be separated by spaces or commas. Allow ranges in /ddown, /dup, /force. (2001/04/21) PS1 - print usage message when command misused. (2001/04/21) PS1 - made suffix ".incomplete" configurable (2001/04/21) PS1 - added "autopurge" feature (2001/04/21) PS1 - adjusted /tquit to wait for queued downloads as well as ongoing ones. Added /unquit commands. (2001/04/21) PS1 - major overhaul of download state model. We now have proper queueing and global and per-user download limits. Added /force command to start immediate download of queued item. (2001/04/20) PS1 - made changes to gnum and addsock. (2001/04/20) PS1 - reorganized wait for ping results using use timers rather than a special copy of sockfunc(). (2001/04/20) PS1 - changed timer implementation to use arbitrary callback functions. (2001/04/20) PS1 - fixed a bug where recvpack did not always set errno on error.
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -