]> gcc.gnu.org Git - gcc.git/commitdiff
* gennews: Set TERM to vt100 for Lynx.
authorMark Mitchell <mark@codesourcery.com>
Wed, 13 Jun 2001 18:37:16 +0000 (18:37 +0000)
committerMark Mitchell <mmitchel@gcc.gnu.org>
Wed, 13 Jun 2001 18:37:16 +0000 (18:37 +0000)
From-SVN: r43343

contrib/ChangeLog
contrib/gennews

index 6a4af875af101ecaa73b960e6d566f9e4d8d1784..057f9c2bb869ec36f071c1f43e136378ae32bb5d 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 784bdf394dbd432c1295afd5bcf90b537a864301..ac7abdf2bec9783675fe629e91b696d71edd0c62 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
This page took 0.078663 seconds and 5 git commands to generate.