xref: /freebsd/contrib/dialog/README (revision a96ef4501919d7ac08e94e98dc34b0bdd744802b)
14c8945a0SNathan Whitehorn-(1999-12-25)-------------------------------------------------------------------
24c8945a0SNathan WhitehornThis version of dialog, formerly known as cdialog is based on the Debian
34c8945a0SNathan Whitehornpackage for dialog 0.9a (see CHANGES for recent modifications)
44c8945a0SNathan Whitehorn- T.Dickey <dickey@invisible-island.net>
54c8945a0SNathan Whitehorn
64c8945a0SNathan Whitehorn-(1996-01-15)-------------------------------------------------------------------
74c8945a0SNathan WhitehornI have uploaded cdialog-0.9a.tar.gz to sunsite. It should be moved
84c8945a0SNathan Whitehornto pub/Linux/utils/shell, I think.
94c8945a0SNathan Whitehorn
104c8945a0SNathan WhitehornStarting point for cdialog v.0.9a was dialog-0.6c. Many new features
114c8945a0SNathan Whitehornlike as Resolution-independence, Auto-sizing, Maximizing, more widget
124c8945a0SNathan Whitehornon the same screen (multi-widget), etc. were added. New widget are
134c8945a0SNathan Whitehorntailbox and tailbox-in-background. Here are the options:
144c8945a0SNathan Whitehorn
154c8945a0SNathan Whitehorn   Usage: dialog <Common options> <Box options>
164c8945a0SNathan Whitehorn          { --and-widget <Common options> <Box options> }
174c8945a0SNathan Whitehorn
184c8945a0SNathan Whitehorn   Common options: <Global options>
194c8945a0SNathan Whitehorn       [--backtitle <backtitle>] [--sleep <secs>] [--beep] [--beep-after]
204c8945a0SNathan Whitehorn       [--clear] [--begin <y> <x>] [--aspect <ratio>] [--print-size]
214c8945a0SNathan Whitehorn       [--print-maxsize] [--size-err] [--separate-output] [--cr-wrap]
224c8945a0SNathan Whitehorn       [--tab-len <n>] [--tab-correct] [--print-version] [--no-kill]
234c8945a0SNathan Whitehorn       [--title <title>]
244c8945a0SNathan Whitehorn
254c8945a0SNathan Whitehorn   Global options: [--shadow] [--no-shadow] [--separate-widget "<str>"]
264c8945a0SNathan Whitehorn
274c8945a0SNathan WhitehornAt the moment, mouse support with libgpm can't be added because it
284c8945a0SNathan Whitehorndoes't implement the wtimeout() function of ncurses. Wtimeout() is
294c8945a0SNathan Whitehornneeded to have more widgets (es.tailbox) cooperating on the same
304c8945a0SNathan Whitehornscreen... I don't know if with newer versions of libgpm it's possible.
314c8945a0SNathan Whitehorn
324c8945a0SNathan WhitehornI have no more time to write docs for this new version...Is there
334c8945a0SNathan Whitehornanyone, that looking at the code, can do it??? Ouch! :-)
344c8945a0SNathan WhitehornDon't flame me!
354c8945a0SNathan Whitehorn
364c8945a0SNathan WhitehornFor the future, if any volunteer want, the way to evolve cdialog is to
374c8945a0SNathan Whitehorn1) make a daemon for a better support of multi-tasking or implementing
384c8945a0SNathan Whitehorn   multithreading.
394c8945a0SNathan Whitehorn2) add an option that could permit to read commands (--options) from a
404c8945a0SNathan Whitehorn   file, like as in a normal programming language, but maintaining
41*a96ef450SBaptiste Daroussin   compatibility with older version of dialog.
424c8945a0SNathan Whitehorn
434c8945a0SNathan WhitehornI no longer could maintain cdialog...
444c8945a0SNathan WhitehornExecutable and library name of cdialog are the same of dialog, for
45*a96ef450SBaptiste Daroussincompatibility.
464c8945a0SNathan Whitehorn
474c8945a0SNathan WhitehornI think that only one directive should be follow: don't use a resource
484c8945a0SNathan Whitehornlike stdin, stdout when you'll write new options for cdialog; these
494c8945a0SNathan Whitehornresources have to be shared from all widgets on the command line.
504c8945a0SNathan WhitehornGuage uses stdin :-/ so that can't be mixed for example with an inputbox,
514c8945a0SNathan Whitehornbut it was made before of multi-widget. However this is not a big problem!
524c8945a0SNathan Whitehorn
534c8945a0SNathan WhitehornTHERE ARE NO *KNOWN* BUGS. If anyone has much time and can find the way
544c8945a0SNathan Whitehornto add wtimeout() support to libgpm, also mouse could be supported.
554c8945a0SNathan Whitehorn
564c8945a0SNathan WhitehornPlease use ncurses-1.9.4 or newer.
574c8945a0SNathan Whitehorn
584c8945a0SNathan Whitehorn|  __   |  demarco_p@abramo.it:~$ make Linux | more > UserFriendly;
594c8945a0SNathan Whitehorn| /__)  |  /~~  _   _ _   _   /~\  _     /  .  _          |
604c8945a0SNathan Whitehorn|/  ako | (___ (_) | ) ) (-' (__/ | )   /__ | | ) (_| ><  .  coordinator.
614c8945a0SNathan Whitehorn
62