📄 changes.txt
字号:
example of how this is used. Another use would be to draw shadows around a box.12. OS2 ICC patches from Eddie Penninkhof <eddie.penninkhof@tip.nl>.13. Grammar tweaked to make the pow (^) operator postfix-unary. This makes more sense mathematically so that: a^b^c ==> a^(b^c); -(a)^b ==> -(a^b);14. New struct specific intrinsics: get_struct_field_names get_struct_field_value _push_struct_field_values See function reference for more information on these.Changes since 1.0.2 beta0. SLtt_init_video, SLtt_reset_video, SLsmg_resume_smg, SLsmg_suspend_smg have been modifed to return 0 upon success, or -1 upon error.1. Configure script modified to report slang version as 1.0.x instead of 1.0.0x.2. Bug fix involving automatic detection of color (Unix)3. slvideo.c bug fixed (WIN32, Thanks Chin Huang <cthuang@vex.net>)4. Slsignal modified so that fork is not used for CYGWIN32, suggested by vischne@ibm.net.5. Solaris ELF patches integrated into configure.in. Now ELF support is available for Linux and Solaris. Thanks Jan Hlavacek <lahvak@math.ohio-state.edu>.6. The library now works with MING32 and should work with CYGWIN as well. See INSTALL.pc and src/mkfiles/README for more information. Do NOT use the configure script under these environments.7. A new IBMPC_SYSTEM function added that affects WIN32, MSDOS, and OS/2 systems: SLang_getkey_map_to_ansi (int enable); If `enable' is non-zero, arrow and function keys will be mapped to the ansi equivalents.8. The WIN32 terminal support has been modified to be more consistent with the other platforms. In particular, mouse button press reporting has been added (SLtt_set_mouse_mode), and bright color support appears to have been fixed. Note: For MINGW32 and CYGWIN32, use src/mkfiles/makefile.all. Do not use the Unix configure script because WIN32 is NOT Unix.9. Several changes to slvideo.c that deals with the proper use of the scroll region for DOS/Windows type systems.10. demo/smgtest.c has been enhanced.11. Some cleanup performed to src/slprepr.c12. WIN32 and WIN16 preprocessing symbols are defined when appropriate.Changes since 1.0.1 beta1. More VMS patches. Thanks Andy.Changes since 1.0.0 beta1. Fixed a bug in the automatic detection of color terminal2. Patches to get it to compile on OS2 and VMS3. Replaced \r\n in slarray.c with \nChanges since 0.99-380. Many, many changes to the interpreter. See documentation.1. SLang_free_intrinsic_user_object shortened via define on VMS.2. Make sure slang.h does not defined REAL_UNIX_SYSTEM on OS/2.3. New search paths for termin directories include $HOME/.terminfo and /usr/share/terminfo.4. SLsystem function added. This is a replacement for `system'. It implements POSIX semantics for POSIX systems. Although Linux claims to be a POSIX system, it's `system' routine is broken.5. color names color0 ... color7, brightcolor0, ... brightcolor7 added for Unix and VMS systems.Changes since 0.99-371. SLang_input_pending returns -1 if Ctrl-Break pressed (DOS specific).2. SLtty_VMS_Ctrl_Y_Hook added for Ctrl-Y trapping. Keep in mind that this is called from an AST.3. Documentation updates4. Fixed bug dealing with keymaps with escape sequences involving characters with the high bit set.5. slkeypad code ported to DOS6. SLsmg_write_raw and SLsmg_read_raw functions added.7. Compilation error under QNX fixed.9. Small change involving SLang_flush_input.Changes since 0.99-361. Oops fixed a bug in alternate character set handling when SLtt_Use_Blink_For_ACS is set. This bug only affected DOSEMU.2. slvideo.c modification that affects DJGPP version of library. Now the screen is saved and restored.3. Updates to slcurses.c by Michael Elkins.4. If a color called `default' is specified, the escape sequence to set the default color will be sent. Be careful, not all terminals support this feature. If your terminal supports it, e.g., rxvt, then using setenv COLORFGBG default is a good choice.Changes since 0.99-351. Fixed alt char set bug introduced in 0.99-35.2. New intrinsic: _stk_reverse3. New demos: keypad, smgtest, pager4. The environment variable COLORFGBG may be used to specify default foreground background colors, e.g., in csh use: setenv COLORFGBG "white;black" to specify white on black as the default colors. This also means that a color name of NULL or the empty string "" will get mapped to the default color.5. Improved curses emulation provided by Michael Elkins (me@muddcs.cs.hmc.edu).6. Small bug fix to SLang_flush_output provided by Balakrishnan k <MDSAAA27@giasmd01.vsnl.net.in>.7. Updated some documentation in doc/cslang.tex (Gasp).8. Update vmsmake.com file provided by Martin P.J. Zinser (m.zinser@gsi.de).Changes since 0.99-340. OS/2 video problem solved by Rob Biggar (rb14@cornell.edu).1. The way the interpreter internally handles strings has changed. This should not affect programs which utilize the library. Now all strings returned by the function SLang_pop_string should be freed after use. The SLang_pop_string function will always set the value of the second parameter passed to it to a non-zero value. For this reason, programs should use the new function SLpop_string and always free the string returned by it after use.2. If SL_RLINE_NO_ECHO bit is set in the readline structure, the user response will not be echoed. 3. If terminal is xterm, the TERMCAP environment variable will be ignored. This change was necessary because of the braindead TERMCAP setting created by the latest version xterm. 4. Some of the keymap routines were re-coded. Now it is possible to have lowercase characters as part of the prefix character sequence.5. New modules. See demo/pager.c for information. See also the slrn source code for a more sophisticated use. SLscroll: may be useful for routines that deal with displaying linked lists of lines. SLsignal: POSIX signal interface for programs that use SLsmg and SLtt modules. doc/signal.txt may also prove useful. SLkeypad: Simplified interface to SLang keymaps. SLerrno: System independ errno routinesChanges since 0.99-331. A couple of interpreter bug fixes.2. Some macros, e.g., MEMSET, removed from slang.h. I do not feel that they belong there and it is unlikely that they are used by others. I made them avalable in the file src/jdmacros.h for anyone whose code depends on them. 3. The functions jed_mem??? have been renamed to SLmem???.4. New intrinsic: _obj_type returns type information about object on top of stack.Changes since 0.99-321. appropriate header files added for VMS2. Oops. 0.99-32 introduced a bug positioning cursor. :(Changes since 0.99-311. Simple minded curses emulation added. This should help those migrating from curses. See slang/src/curses/*.c for sample curses demo programs that the SLsmg routines can handle. See also slang/src/slcurses.c for some wrapper functions.2. Changed <config.h> to "config.h" in all source files.3. If system lacks terminfo directories, it is compiled with termcap support. This generalizes and replaces the test for NeXT. 4. New functions for slang/src/sldisply.c: void SLtt_get_screen_size (void); SLtt_Char_Type SLtt_get_color_object (int); void SLtt_set_color_fgbg (int, SLtt_Char_Type, SLtt_Char_Type); The first function attempts to deduce the correct values of SLtt_Screen_Rows and SLtt_Screen_Cols. This function is called by sltt_get_terminfo. New constants such as SLSMG_COLOR_BLACK, SLSMG_COLOR_RED, ... have been added to slang.h to facilitate the use of SLtt_set_color_fgbg.5. Improved error messages6. ELF support. Do: make elf; make install-elfChanges since 0.99.301. Small bug fixed that affects 64 bit machines with a certain byte ordering. 2. slutty.c: _POSIX_VDISABLE is used if defined.Changes since 0.99.290. BIG change in handling keymaps. Specifically, this change effects the change of the `f' field of the SLang_Key_Type structure. Before, this was VOID_STAR, now it is a union. The new change is much more portable. In addition, the function `SLang_define_key1' has been removed and replaced by `SLkm_define_key'. See src/slrline.c for the use of this new interface. For a short time, the old interface will be available if the preprocessor symbol `SLKEYMAP_OBSOLETE' is defined when slang is compiled. See jed and slrn source for more examples. 1. SLang_getkey now reads from /dev/tty (unix).2. If the first argument to SLang_init_tty is -1, the current value of the interrupt character will not be changed (unix).3. New intrinsic: timeChanges since 0.99.281. Oops! Horrible bug in src/slmemcmp fixed.2. slvideo: init_video modified to be more consistent with VMS/Unix routine.Changes since 0.99.271. More changes to the configure script2. It looks like hpterm support is in place. This terminal has a glitch that prevents efficient screen updating.3. New SLsmg function: void SLsmg_write_color_chars (unsigned short *s, unsigned int len) This function may be used to write a string of characters with attributes.Changes since 0.99.261. Slang now uses a configure script under Unix to configure itself.2. New intrinsic functions include _stk_roll, strchop, strchopr.3. Terminals which require an escape sequence to make their arrow keys work are now sent the escape sequence.Changes since 0.99.251. New SLsmg variables: SLsmg_Newline_Moves SLsmg_Backspace_Moves These variables control the interpretation of newline and backspace characters in smg. Changes since 0.99.241. SLSMG_RTEE_CHAR, etc... added to OS/2 part of slang.h2. Small fix for aix-termChanges since 0.99.230. The makefile for unix has been completely re-written. 1. Some problems dealing with certain color terminals have been resolved.2. `g' generic type added to SLcmd.Changes since 0.99.220. The Macro `VOID' has been removed. The whole point of this macro was to mimick `void *' declarations for compilers that did not support such a construct. Instead of `VOID *', slang.h now defines `VOID_STAR' and all `VOID *' declarations have been renamed to `VOID_STAR'. If you use the VOID macro in your application, you have two choices: 1. Rename all occurances of VOID * to VOID_STAR 2. Add: #define VOID void somewhere appropriate.1. \< and \> regular expressions added.Changes since 0.99.211. Oops. I added too much linux stuff (see 3 below). Some of it backed out to Linux only.Changes since 0.99.201. Problem on some VMS systems which lack prototype for atof fixed.2. New function: SLtt_set_mouse_mode. This is used to turn on/off mouse reporting on Unix and VMS systems.3. The terminal type `linux' is now recognized by the SLtt interface--- even if there is no termcap/terminfo entry for it.Changes since 0.99.191. User definable types must now have object identification numbers larger than 127. The lower limit used to be 100 but this comflicts with many applications (as well as slang itself) using lower case letters as the object number, e.g., create_array ('s', 10, 1); which creates an array of 10 strings (object number 's' = 115).2. New intrinsic: array_info available.3. regular expression matching bug involving \{m,n\} expressions fixed.4. New module: slprepr.c. This gives programs the ability to use the slang preprocessor.5. News slsmg functions: SLsmg_suspend_smg () and SLsmg_resume_smg (). These are designed to be used before and after suspension. The SLsmg state is remembered and a redraw is performed by the resume_smg function.6. The function `sltty_set_suspend_state' is now available for Unix systems. It may be used to turn on/off processing of the suspend character by the terminal driver.7. If SLtt_Try_Termcap is 0, the TERMCAP variable will not be parsed.8. SLang_TT_Read_FD variable is now available for unix. This is the file descriptor used by SLang_getkey.9. New preprocessor symbols available: SLMATH : If math functions are available SLUNIX : If unix system calls are available SLFILES : Stdio functions available FLOAT_TYPE : Floating point version
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -