summaryrefslogtreecommitdiff
path: root/contrib
diff options
context:
space:
mode:
authormmitchel <mmitchel@138bc75d-0d04-0410-961f-82ee72b054a4>2001-06-13 18:37:16 +0000
committermmitchel <mmitchel@138bc75d-0d04-0410-961f-82ee72b054a4>2001-06-13 18:37:16 +0000
commit07ade7de8dc0bbb269ac5e8f171c903e784a47e2 (patch)
tree2f56287b1fb509301b1cd8bf05a1a825d7feff65 /contrib
parent4b3205f104a7d21822469f68a65bab37b2208ffc (diff)
downloadgcc-07ade7de8dc0bbb269ac5e8f171c903e784a47e2.tar.gz
* gennews: Set TERM to vt100 for Lynx.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@43343 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'contrib')
-rw-r--r--contrib/ChangeLog4
-rwxr-xr-xcontrib/gennews5
2 files changed, 8 insertions, 1 deletions
diff --git a/contrib/ChangeLog b/contrib/ChangeLog
index 6a4af875af1..057f9c2bb86 100644
--- a/contrib/ChangeLog
+++ b/contrib/ChangeLog
@@ -1,3 +1,7 @@
+2001-06-13 Mark Mitchell <mark@codesourcery.com>
+
+ * gennews: Set TERM to vt100 for Lynx.
+
2001-06-13 Gerald Pfeifer <pfeifer@dbai.tuwien.ac.at>
* release: Remove.
diff --git a/contrib/gennews b/contrib/gennews
index 784bdf394db..ac7abdf2bec 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