diff options
author | Mark Mitchell <mark@codesourcery.com> | 2001-06-13 18:37:16 +0000 |
---|---|---|
committer | Mark Mitchell <mmitchel@gcc.gnu.org> | 2001-06-13 18:37:16 +0000 |
commit | acabb5961626e554446585f720c2ca1eeb688973 (patch) | |
tree | 2f56287b1fb509301b1cd8bf05a1a825d7feff65 /contrib/gennews | |
parent | e373113c9786c078f2ca7f670301cd7d839151bc (diff) | |
download | gcc-acabb5961626e554446585f720c2ca1eeb688973.tar.gz |
* gennews: Set TERM to vt100 for Lynx.
From-SVN: r43343
Diffstat (limited to 'contrib/gennews')
-rwxr-xr-x | contrib/gennews | 5 |
1 files changed, 4 insertions, 1 deletions
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 |