+#include <cstdlib>
+#include <cstdio>
+
+#include "international.hh"
+
+using namespace std;
+
+/* Is progress indication at NEWLINE? */
+static bool progress_newline = true;
+
+/* Display user information that is not a full message. */
+void
+progress_indication (string s)
+{
+ /* Test if all silly progress_indication ("\n") can be dropped now. */
+ if (s == "\n")
+ return;
+
+ fputs (s.c_str (), stderr);
+ fflush (stderr);
+ if (s.length ())
+ progress_newline = s[s.length () - 1] == '\n';
+}