bin/57466: dialog(1) does not read stdin, breaks subversion port

Bram Moolenaar Bram at
Fri Jul 23 11:40:17 PDT 2004

The following reply was made to PR bin/57466; it has been noted by GNATS.

From: Bram Moolenaar <Bram at>
To: "Bruce A. Mah" <bmah at>
Cc: freebsd-gnats-submit at, bram at
Subject: Re: bin/57466: dialog(1) does not read stdin, breaks subversion
Date: Fri, 23 Jul 2004 20:37:59 +0200

 Bruce -
 > This PR caught my eye because at one point I used to maintain the
 > subversion port.  When did it ever use the dialog command?  It didn't
 > when I used to maintain it, and it doesn't seem to now.
 > Is this still a problem?
 I'll try it out (now using FreeBSD 4.9)...  Hmm, now the subversion port
 breaks because of a nasty dependency:
 	An older version of textproc/expat2 is already installed (expat-1.95.6_1)
 The usual problem: 126 packages depend on expat-1.95.6_1!  Thus I can't
 use the subversion port at this time.  This kind of dependency makes
 the port system completely useless!
 Note that the original problem is not with subversion, it just happened
 to occur in the subversion port.  The actual problem is with "dialog".
 I tried making a test to show the problem with just running "dialog":
 	dialog --yesno question 6 50 |& tee /tmp/tt
 Problem is that keys like <Tab> and <Space> are not handled.  But Enter
 is used.  Could it be that the terminal is not set to raw mode?  Without
 redirecting stderr it works fine, thus I suspect a stty() is done on
 stderr while the input is read from stdin.  The xterm settings are also
 messed up (scrolling works as if the number of lines is much less, need
 to do a "soft rest" to fix that).
 - Bram
 hundred-and-one symptoms of being an internet addict:
 65. The last time you looked at the clock it was 11:30pm, and in what
     seems like only a few seconds later, your sister runs past you to
     catch her 7am school bus.
  /// Bram Moolenaar -- Bram at --   \\\
 ///        Sponsor Vim, vote for features -- \\\
 \\\              Project leader for A-A-P --        ///
  \\\  Buy at Amazon and help AIDS victims -- ///

More information about the freebsd-bugs mailing list