OSDN Git Service

* gennews: Set TERM to vt100 for Lynx.
authormmitchel <mmitchel@138bc75d-0d04-0410-961f-82ee72b054a4>
Wed, 13 Jun 2001 18:37:16 +0000 (18:37 +0000)
committermmitchel <mmitchel@138bc75d-0d04-0410-961f-82ee72b054a4>
Wed, 13 Jun 2001 18:37:16 +0000 (18:37 +0000)
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@43343 138bc75d-0d04-0410-961f-82ee72b054a4

contrib/ChangeLog
contrib/gennews

index 6a4af87..057f9c2 100644 (file)
@@ -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.
index 784bdf3..ac7abdf 100755 (executable)
@@ -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