aboutsummaryrefslogtreecommitdiff
path: root/contrib/gennews
diff options
context:
space:
mode:
Diffstat (limited to 'contrib/gennews')
-rwxr-xr-xcontrib/gennews5
1 files changed, 4 insertions, 1 deletions
diff --git a/contrib/gennews b/contrib/gennews
index 784bdf3..ac7abdf 100755
--- a/contrib/gennews
+++ b/contrib/gennews
@@ -49,6 +49,9 @@ echo $header
for file in $files; do
wfile=$website$file
echo $wfile
- lynx -dump $wfile
+ # We lie to Lynx about the kind of terminal in use because we
+ # want to get consistent output everywhere, and we want this
+ # script to work even when it is not run interactively.
+ env TERM=vt100 lynx -dump $wfile
echo $header
done