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

📄 changes

📁 BCAST Implementation for NS2
💻
📖 第 1 页 / 共 5 页
字号:
           libtecla.h             A couple of the function prototypes in libtecla.h have             (FILE *) argument declarations, which means that stdio.h             needs to be included. The header file should be self             contained, so libtecla.h now includes stdio.h.18/03/2001 Version 1.2.4 released.           README html/index.html configure.in             Incremented minor version from 3 to 4.18/03/2001 mcs@astro.caltech.edu           getline.c             The fix for the end-of-line problem that I released a             couple of weeks ago, only worked for the first line,             because I was handling this case when the cursor position             was equal to the last column, rather than when the cursor             position modulo ncolumn was zero.           Makefile.in Makefile.rules             The demos are now made by default, their rules now being             int Makefile.rules instead of Makefile.in.           INSTALL             I documented how to compile the library in a different             directory than the distribution directory.             I also documented features designed to facilitate             configuring and building the library as part of another             package.17/03/2001 Markus Gyger (logged here by mcs)           getline.c             Until now cursor motions were done one at a time. Markus             has added code to make use the of the terminfo capability             that moves the cursor by more than one position at a             time. This greatly improves performance when editing near             the start of long lines.           getline.c             To further improve performance, Markus switched from             writing one character at a time to the terminal, using             the write() system call, to using C buffered output             streams. The output buffer is only flushed when             necessary.           Makefile.rules Makefile.in configure.in             Added support for compiling for different architectures             in different directories. Simply create another directory             and run the configure script located in the original             directory.           Makefile.in configure.in libtecla.map             Under Solaris, Linux and HP-UX, symbols that are to be             exported by tecla shared libraries are explicitly specified             via symbol map files. Only publicly documented functions             are thus visible to applications.           configure.in             When linking shared libraries under Solaris SPARC,             registers that are reserved for applications are marked             as off limits to the library, using -xregs=no%appl when             compiling with Sun cc, or -mno-app-regs when compiling             with gcc. Also removed -z redlocsym for Solaris, which             caused problems under some releases of ld.           homedir.c  (after minor changes by mcs)             Under ksh, ~+ expands to the current value of the ksh             PWD environment variable, which contains the path of             the current working directory, including any symbolic             links that were traversed to get there. The special             username "+" is now treated equally by tecla, except             that it substitutes the return value of getcwd() if PWD             either isn't set, or if it points at a different             directory than that reported by getcwd().08/03/2001 Version 1.2.3 released.08/03/2001 mcs@astro.caltech.edu           getline.c             On compiling the library under HP-UX for the first time             I encountered and fixed a couple of bugs:             1. On all systems except Solaris, the callback function                required by tputs() takes an int argument for the                character that is to be printed. Under Solaris it                takes a char argument. The callback function was                passing this argument, regardless of type, to write(),                which wrote the first byte of the argument.  This was                fine under Solaris and under little-endian systems,                because the first byte contained the character to be                written, but on big-endian systems, it always wrote                the zero byte at the other end of the word. As a                result, no control characters were being written to                the terminal.             2. While attempting to start a newline after the user hit                enter, the library was outputting the control sequence                for moving the cursor down, instead of the newline                character. On many systems the control sequence for                moving the cursor down happends to be a newline                character, but under HP-UX it isn't. The result was                that no new line was being started under HP-UX.04/03/2001 mcs@astro.caltech.edu           configure.in Makefile.in Makefile.stub configure config.guess           config.sub Makefile.rules install-sh PORTING README INSTALL             Configuration and compilation of the library is now             performed with the help of an autoconf configure             script. In addition to relieving the user of the need to             edit the Makefile, this also allows automatic compilation             of the reentrant version of the library on platforms that             can handle it, along with the creation of shared             libraries where configured. On systems that aren't known             to the configure script, just the static tecla library is             compiled. This is currently the case on all systems             except Linux, Solaris and HP-UX. In the hope that             installers will provide specific conigurations for other             systems, the configure.in script is heavily commented,             and instructions on how to use are included in a new             PORTING file.24/02/2001 Version 1.2b released.22/02/2001 mcs@astro.caltech.edu           getline.c             It turns out that most terminals, but not all, on writing             a character in the rightmost column, don't wrap the             cursor onto the next line until the next character is             output. This library wasn't aware of this and thus if one             tried to reposition the cursor from the last column,             gl_get_line() thought that it was moving relative to a             point on the next line, and thus moved the cursor up a             line. The fix was to write one extra character when in             the last column to force the cursor onto the next line,             then backup the cursor to the start of the new line.           getline.c             On terminal initialization, the dynamic LINES and COLUMNS             environment variables were ignored unless             terminfo/termcap didn't return sensible dimensions. In             practice, when present they should override the static             versions in the terminfo/termcap databases. This is the             new behavior. In reality this probably won't have caused             many problems, because a SIGWINCH signal which informs of             terminal size changes is sent when the terminal is             opened, so the dimensions established during             initialization quickly get updated on most systems.18/02/2001 Version 1.2a released.18/02/2001 mcs@astro.caltech.edu           getline.c             Three months ago I moved the point at which termios.h             was included in getline.c. Unfortunately, I didn't notice             that this moved it to after the test for TIOCGWINSZ being             defined. This resulted in SIGWINCH signals not being             trapped for, and thus terminal size changes went             unnoticed. I have now moved the test to after the              inclusion of termios.h.12/02/2001 Markus Gyger     (described here by mcs)           man3/pca_lookup_file.3 man3/gl_get_line.3           man3/ef_expand_file.3 man3/cpl_complete_word.3             In the 1.2 release of the library, all functions in the             library were given man pages. Most of these simply             include one of the above 4 man pages, which describe the             functions while describing the modules that they are in.             Markus added all of these function names to the lists in             the "NAME" headers of the respective man pages.             Previously only the primary function of each module was             named there.11/02/2001 mcs@astro.caltech.edu           getline.c             On entering a line that wrapped over two or more             terminal, if the user pressed enter when the cursor             wasn't on the last of the wrapped lines, the text of the             wrapped lines that followed it got mixed up with the next             line written by the application, or the next input             line. Somehow this slipped through the cracks and wasn't             noticed until now. Anyway, it is fixed now.09/02/2001 Version 1.2 released.04/02/2001 mcs@astro.caltech.edu           pcache.c libtecla.h             With all filesystems local, demo2 was very fast to start             up, but on a Sun system with one of the target             directories being on a remote nfs mounted filesystem, the             startup time was many seconds. This was due to the             executable selection callback being applied to all files             in the path at startup. To avoid this, all files are now             included in the cache, and the application specified             file-selection callback is only called on files as they             are matched. Whether the callback rejected or accepted             them is then cached so that the next time an already             checked file is looked at, the callback doesn't have to             be called. As a result, startup is now fast on all             systems, and since usually there are only a few matching             file completions at a time, the delay during completion             is also usually small. The only exception is if the user             tries to complete an empty string, at which point all             files have to be checked. Having done this once, however,             doing it again is fast.           man3/pca_lookup_file.3             I added a man page documenting the new PathCache module.           man3/<many-new-files>.3             I have added man pages for all of the functions in each             of the modules. These 1-line pages use the .so directive             to redirect nroff to the man page of the parent module.           man Makefile update_html             I renamed man to man3 to make it easier to test man page             rediction, and updated Makefile and update_html             accordingly. I also instructed update_html to ignore             1-line man pages when making html equivalents of the man             pages.           cplmatch.c             In cpl_list_completions() the size_t return value of             strlen() was being used as the length argument of a "%*s"             printf directive. This ought to be an int, so the return             value of strlen() is now cast to int. This would have             caused problems on architectures where the size of a             size_t is not equal to the size of an int.02/02/2001 mcs@astro.caltech.edu           getline.c             Under UNIX, certain terminal bindings are set using the             stty command. This, for example, specifies which control             key generates a user-interrupt (usually ^C or ^Y). What I             hadn't realized was that ASCII NUL is used as the way to             specify that one of these bindings is unset. I have now             modified the code to skip unset bindings, leaving the             corresponding action bound to the built-in default, or a             user provided binding.28/01/2001 mcs@astro.caltech.edu           pcache.c libtecla.h             A new module was added which supports searching for files             in any colon separated list of directories, such as the             unix execution PATH environment variable. Files in these             directories, after being individually okayed for             inclusion via an application provided callback, are             cached in a PathCache object. You can then look up the             full pathname of a given filename, or you can use the             provided completion callback to list possible completions             in the path-list. The contents of relative directories,             such as ".", obviously can't be cached, so these             directories are read on the fly during lookups and             completions. The obvious application of this facility is             to provide Tab-completion of commands, and thus a             callback to place executable files in the cache, is             provided.           demo2.c             This new program demonstrates the new PathCache             module. It reads and processes lines of input until the             word 'exit' is entered, or C-d is pressed. The default             tab-completion callback is replaced with one which at the             start of a line, looks up completions of commands in the             user's execution path, and when invoked in other parts of             the line, reverts to normal filename completion. Whenever             a new line is entered, it extracts the first word on the             line, looks it up in the user's execution path to see if

⌨️ 快捷键说明

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