This is the mail archive of the
fortran@gcc.gnu.org
mailing list for the GNU Fortran project.
Re: [RFC] diagnostics.c: For terminals, restrict messages to terminal width?
- From: FX <fxcoudert at gmail dot com>
- To: Dodji Seketeli <dodji at redhat dot com>
- Cc: Manuel LÃpez-IbÃÃez <lopezibanez at gmail dot com>, Tobias Burnus <burnus at net-b dot de>, gcc-patches <gcc-patches at gcc dot gnu dot org>, gfortran <fortran at gcc dot gnu dot org>
- Date: Wed, 10 Dec 2014 14:48:41 +0100
- Subject: Re: [RFC] diagnostics.c: For terminals, restrict messages to terminal width?
- Authentication-results: sourceware.org; auth=none
- References: <54837FDD dot 8000107 at net-b dot de> <871to7lq01 dot fsf at redhat dot com> <CAESRpQAng5wU3iLEWHqEXn7GSa4CbqdpJF3ep0dQt_Qz8suoZQ at mail dot gmail dot com> <87iohjk5ra dot fsf at redhat dot com>
> So the patch you (Manual) are proposing looks fine to me, with the
> environment variable taking precedence, *if* that is fine for Fortran,
> of course.
That seems fine to me, from the Fortran standpoint. COLUMNS is a bit of a special environment variable, which the shell (when it provides it) keeps synchronized to the terminal width anyway (as is the case for bash and zsh).
FX