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

📄 changes

📁 This version of dialog, formerly known as cdialog is based on the Debian package for dialog 0.9a (se
💻
📖 第 1 页 / 共 3 页
字号:
	  --extra-button and --extra-label options.	+ correct displayed cursor position in inputbox when returning to the	  input area after traversing the buttons with tabs, etc.	+ add left/right arrows for traversal in calendar and timebox dialogs.	+ implement two new functions dlg_next_ok_buttonindex() and	  dlg_prev_ok_buttonindex(), using these to hide details about the	  traversal over buttons in several widgets.	+ modify checkbox.c and menubox.c to verify if both --help-button and	  --item-help are specified before assuming that selecting the help	  button should cause the "HELP {item-help}" message to be printed	  (reported by Marcel Ritter <Marcel.Ritter@rrze.uni-erlangen.de>).	+ modify init_dialog() to work around HP's broken tty driver (report by	  John Mudd <John.Mudd@ImageSoft.Fiserv.com>).  Specifically, the	  problem is that when opening /dev/tty directly (to support the	  --stdout option), the terminal does not change to raw mode.  The	  workaround opens /dev/tty only as needed; the --stdout option does	  not work on HPUX but otherwise dialog works.	+ updated el.po (patch by kromJx <kromJx@crosswinds.net>).2002/05/19	+ add --no-collapse option to allow one to retain tabs and repeated	  blanks in a message box (request by Roberto Simoni	  <rs@menhir-informatica.com>).	+ use DLG_EXIT_ESC constant rather than -1's in several places.  This	  has the effect of changing some exit-with-error cases to denote that	  the exit was because ESC was pressed (patch by Diego Alvarez	  <diego.alvarez@entelchile.net>, forward by Santiago Vila).	+ bump package version to 0.9b (with patch-date, as usual).	+ add --exit-label option (request by Roberto Simoni	  <rs@menhir-informatica.com>).	+ updated de.po to correct translation for "Cancel" (from Michael	  Piefel <piefel@debian.org> fixes Debian #146402).	+ use definitions from autoconf macro AC_HEADER_TIME to ensure that	  time() is properly prototyped.	+ update pl.po, adding translation for "Help" (patch by Swiergot	  <swiergot@hacking.pl>).	+ update COPYING file, to reflect address change of FSF (reported by	  Santiago Vila).	+ update some configuration script macros:  CF_CHECK_CACHE,	  CF_CURSES_CPPFLAGS, CF_HEADER_PATH and CF_MAKEFLAGS.	+ correct misuse of "$with_XXX" variables in the configure script,	  which prevented configuration against curses library as opposed to	  ncurses.	+ update config.guess, config.sub2002/03/09 (a)	+ modify geometry of samples/fselect scripts to allow them to run in	  a 24x80 screen (report/patch by Santiago Vila).	+ correct exit-code for menubox.c when Cancel is pressed.  This was	  unintentionally altered when adding --help-button (reported by	  Patrick J Volkerding)2002/03/09	+ add --timeout option, which forces the program to exit with an error	  if no user response is given within the specified number of seconds	  (request by <andrew@argoncorp.com>).	+ modify calendar widget to allow day/month/year values to default to	  the current date (request by <Ron.Perrella@bellsouth.com>).	+ modify display of buttons in checklist.c and menubox.c to handle the	  case where the button label is empty (Debian #134388).	+ extended logic for ok/cancel/help to make this work with checklist	  widget.	+ revert pt_BT.po, apply changes to pt.po (report by Frederic L W	  Meunier).	> several changes from Stanislav Ievlev <inger@alt-linux.org>:	+ add options --help-button and --help-label to make menubox display a	  third button which can be used to return an exit code causing the	  calling script to show extended help information.	+ use home/end keys in input string-editing, e.g., inputbox.	+ add option --max-input to limit length of string returned by inputbox	  and other widgets which allow the user to edit a string.2001/12/02	+ add --ok-label and --cancel-label options (request by Kyle Sallee	  <cromwell@kublai.com> independent of Xdialog).	+ correct usage message for --fselect option (reported by Patrick J	  Volkerding).	+ add samples/debian.rc, for comparison with slackware.rc	+ corrected samples/slackware.rc, which was just the compiled-in	  default values (patch by Patrick J Volkerding).	+ modify search rule for rc-file to add a global rc file /etc/dialogrc	  (patch by Patrick J Volkerding <volkerdi@slackware.com>).	+ updated pt_BR.po with modified entries for fselect.c (Frederic L W	  Meunier).	+ add pl.po (Swiergot <swiergot@l02.ids.czest.pl>).2001/11/11	+ modify command-line parsing to allow a "--" argument to act as an	  escape, so the next argument is not recognized as an option if it	  begins with "--".  This is apparently one of popt's undocumented	  features, upon which some Debian scripts depend (Debian #116642).	+ add da.po (Morten Brix Pedersen <morten@wtf.dk>).	+ add an install-strip rule to makefile, changing the normal install	  rule to not strip the installed executable (based on discussion with	  Santiago Vila).	+ initialize my_output variable if user cannot open /dev/tty, e.g., if	  su'd to another user (patch by Richard Braakman <dark@ssh.com> Debian	  #117177).	+ add configure option --with-ncursesw, to allow configure/build with	  wide-character version of ncurses.2001/10/14	+ add option --ignore, to make dialog be ignore options that it does	  not recognize.	+ add option --trim, to trim literal newlines and repeated spaces from	  text that will be displayed.  Add samples/msgbox2, which is the	  same as msgbox1, but using --trim (cf: change for Debian #102942).	+ minor correction to attributes for buttons.c to use active_attr on	  the right-side of a button.	+ add a sample dialog rc-file slackware.rc based on diffs from		http://ftp1.sourceforge.net/pub/mirrors/slackware/slackware/source/a/hdsetup/	  (discussion with Frederic L W Meunier).	+ modify dialog.pl to avoid using a statically-named tempfile, allowing	  multiple processes to use this script (patch by <euclid80@yahoo.com>,	  Debian #110609).	+ correct fprintf() call in j_menu() function, i.e., "--menu" option,	  which did not guard against expanding '%' embedded in the parameters	  (Stavros Chatzistefanidis <sxatz@yahoo.com>).	+ add et.po (Ivar Smolin <okul@trenet.ee>).	+ update fr.po (Frederic L W Meunier).	+ modify to allow scripts to alter the exit codes, mainly to	  distinguish ESC and ERROR exits.  This is done by setting a shell	  variable such as DIALOG_ESC to a new value (request by Petr Vandrovec	  <vandrove@vc.cvut.cz>, Debian #99264)2001/08/27	+ use VPATH in makefile to support build with configure --srcdir, if	  the make program supports that.  Note that samples/install/makefile	  is not generated, due to awkward limitation of autoconf script	  (reported by Frederic L W Meunier <0@pervalidus.net>).	+ add po/pt_BR.po (Frederic L W Meunier <0@pervalidus.net>).	+ correct sense of --enable/--disable shown in configure --help (report	  by Frederic L W Meunier <0@pervalidus.net>).	+ correct logic for --clear option, broken in 2000/07/02 (fixes Debian	  #110254).2001/08/11	+ porting fixes to work on AIX: flush output to work around bug in	  curses library, use ./killall in scripts to avoid conflict with	  AIX program by that name.	+ modify dlg_trim_string() to retain literal newlines if the string	  does not contain "\\n" strings, and to retain leading blanks on the	  resulting lines, for compatibility with older scripts (Debian	  #102942).	+ add charset specification to cs.po	+ change dates in CHANGES to consistent format, add el.po for Greek	  (patch by kromJx <kromJx@crosswinds.net>).	+ eliminate static globals (bss, data) from modules rc, tailbox,	  textbox using better parameter-passing convention, and const.	+ cleanup temporary files in a few of the sample scripts.	+ rewrote tailboxbg using select() rather than fork(), thereby	  eliminating lock-files.  Only one process should be trying to display	  on the screen at any given time.	+ add error check to ensure that numeric parameters are really numbers.	+ correct off-by-one in error messages reporting too-few or too-many	  tokens for a given option (reported by George Mirchev).	+ fix typo in manpage, "textboxbg" where "tailboxbg" was meant	  (reported by George Mirchev <la@mail.techno-link.com>).	+ use DLG_EXIT_xxx symbols consistently for all exit codes.	+ updated es.po (patch by Santiago Vila).	+ updates for some configure script macros from lynx:  CF_MAKEFLAGS,	  CF_NCURSES_VERSION, CF_PROG_EXT.	+ fixes to compile if <term.h> is included, e.g., when building with	  AIX curses (report by Suzi Dowson <Suzi.Dowson@capgemini.co.uk>).2001/05/27	+ updated dialog.pot	+ modify fselect.c to work with autosize, i.e., given height and width	  zero (report by Martin Povolny).	+ add a null-pointer check in justify_text(), needed by fselect.c	+ add several more options which dialog can safely ignore, from	  Xdialog 2.0.2	+ refinements for configure macros checking for $CPPFLAGS, from lynx.	+ update config.guess, config.sub to match autoconf 2.50	> Martin Povolny <martin@solnet.cz>:	+ add cs.po	+ use nl_langinfo() to customize names for day-of-week, and month2001/05/11	> Vincent Stemen <dialog@AdvancedResearch.org>:          Fixed dialog.c to not pass menu items through dlg_trim_string().          Stripping extra spaces out of the menu items broke some of my          scripts by altering the string that it compared to know which menu          item was selected.  There should be no need to do justification on          the menu items, which are always one line, anyway.2001/04/29	> Vincent Stemen <dialog@AdvancedResearch.org>:	+ rewrote the text justification code to be able to have preformatted	  text in the prompts with extra spaces like the older versions of	  dialog.  If there are "\n" strings in the text, then extra spaces are	  preserved.  Lines are always wrapped on word boundaries.        + fixed --cr-wrap to break lines on '\n' (newline) characters and not          add an extra line at the top and bottom of the text.  It now works          as the manual says it should.	+ it is no longer necessary to use "\n\" at the end of lines to escape	  the '\n' character.  "\n" now works.  However, the old way, "\n\"	  still works.        + the fixes involved the following changes:          - rewrote dlg_trim_string() to recognize preformatted text (know            when not to strip extra spaces) and to pay attention to --cr-wrap.          - rewrote justify_text() which now calls a new function in util.c,            print_line(), to print each line and end it on a word boundary.	  - modified real_auto_size() to call a new function	    auto_size_preformated() to calculate the box size for preformatted	    text.          - removed skip_blanks() and skip_text() since they are not used by            the new justify_text().          - modified dialog.c to not call dlg_trim_string() on title strings            so that titles retain their spaces.        + modified the following demo files in the sample directory:          - inputbox	      changed all "\n\" strings to "\n" to demonstrate the extra	      backslash is no longer needed.          - inputbox1              removed all the "\n\" strings from the end of the lines to              properly demonstrate --cr-wrap.          - msgbox1	      this sample was using "--aspect 9 --cr-wrap".  Rewrote it to	      properly demonstrate --aspect.  9 is already dialog's default	      aspect ratio.  It now creates several dialogs in sequence,	      demonstrating aspect ratios of 9, 12 and 6 and properly	      demonstrates --cr-wrap.        + made the following changes to the manual (dialog.1).          - rewrote the description of --aspect to be more understandable.          - rewrote the description of --cr-wrap to be more correct and more            detailed.  It did say, "Otherwise, the text for each dialog will            display on a single line.", which is not correct.  It wraps the            text to fit in the box.	> T.Dickey:	+ use logic from menubox dialog in checklist to handle autosizing when	  list height is given as zero (fixes problem reported by Eric Veltman	  <eveltman@baan.nl>).	+ modify checklist and menubox dialogs to check for too-wide data, and	  truncate one or both of the name and text fields to fit (also	  reported by Eric Veltman).	+ corrected a few items from Vincent's patch:	  - use C89-style comments rather than C++	  - restore logic in justify_text() which checks for win==0, needed to	    work with standard curses implementations other than ncurses.	    The first call on justify_text() passes a null pointer as a flag	    to indicate that checking should be done, but no screen updates.	  - avoid modifying the buffer in decode_percent(), otherwise a message	    containing a space or newline would be truncated at the whitespace.	  - modify dlg_button_x_step() and dlg_button_layout() slightly to	    work with altered print_autowrap(), etc.	+ fixes to build/work with SunOS 4.x 5lib curses2001/04/15	+ fix a memory leak in mouse_region().	+ simplify handling of optional parameters with new functions	  optional_str() and optional_num().	+ add calendar and timebox dialogs (compatible with Xdialog).	+ correct typo in fallback definition for getparyx, and remove void	  cast for mouse_open and mouse_close which prevented build with	  Sun's Solaris compiler.	+ rename --enable-lxdialog configure option to --enable-Xdialog	+ modify CF_NCURSES_CPPFLAGS macro to match more variations of ncurses	  header files.	+ update config.guess, config.sub	+ modify some configure script macros to avoid problems with buggy	  autoconf 2.49c which breaks changequote().2001/01/15	+ small fix to revised real_auto_size() and justify_text() to avoid	  adding origin to box-width, which broke samples/wheel.	+ apply 1999/12/25 tempfile change to wheel and copismall samples.	+ add sample script for tailboxbg.	+ revised lock-file management to better ensure that locks are actually	  created by the tailbox subprocess(es).	+ correct hardcoded signal 15 in tailbox to SIGHUP to match	  documentation.  Signal 15 is usually SIGTERM, which cannot be caught.	+ correct off-by-one comparison of return-value for arg_rest() which	  made		dialog --gauge test 10 50

⌨️ 快捷键说明

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