>> On Thu, 13 Mar 2003 23:54:49 +0100, >> Jakob Bohm <[EMAIL PROTECTED]> said:
heading> Prompting in maintainer scripts</heading> p> > Package maintainer scripts may prompt the user if > - necessary. Prompting may be accomplished by hand, or by > - communicating with a program, such as > - <prgn>debconf</prgn>, which conforms to the Debian > - Configuration management specification, version 2 or > - higher. These are included in the > + necessary. Prompting may be accomplished by > + writing to standard output and reading from > + standard input, but this technique is deprecated. > + Otherwise, prompting must be accomplished by using > + the debconf system in a way which conforms to the > + Debian Configuration Management Specification, > + version 2 or higher. One implementation is the > + <prgn>debconf</prgn>, but there are others being > + developed, so it is recommended that packages > + avoid any features not in the official > + specification. The specification can be found in > + the file> debconf_specification</file> files in the package> debian-policy</package> package. > You may also find this file on the FTP site > Just trying to be helpful. Firstly, this is not broad enough, saying that communicating to the user by hand encompoassed all possible means of communicating, not just stdio. Secondly, the debconf language has become turgid, and in an effort to be absolutely and incontrovertibly unambiguous is beginning to verge on being incomprehensible. Package maintainer scripts may prompt the user if necessary. Prompting may be accomplished by hand (deprecated), or by communicating through a program which conforms to the Debian Configuration management specification, version 2 or higher (debconf, for example). manoj -- A father doesn't destroy his children. Lt. Carolyn Palamas, "Who Mourns for Adonais?", stardate 3468.1. Manoj Srivastava <[EMAIL PROTECTED]> <http://www.debian.org/%7Esrivasta/> 1024R/C7261095 print CB D9 F4 12 68 07 E4 05 CC 2D 27 12 1D F5 E8 6E 1024D/BF24424C print 4966 F272 D093 B493 410B 924B 21BA DABB BF24 424C