delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2002/05/02/13:26:50

Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sources.redhat.com/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sources.redhat.com/ml/#faqs>
Sender: cygwin-owner AT cygwin DOT com
Mail-Followup-To: cygwin AT cygwin DOT com
Delivered-To: mailing list cygwin AT cygwin DOT com
Message-Id: <5.1.0.14.2.20020502101039.02752af0@pop3.cris.com>
X-Sender: rrschulz AT pop3 DOT cris DOT com
Date: Thu, 02 May 2002 10:26:12 -0700
To: Paul Dilip K NPRI <PaulDK AT Npt DOT NUWC DOT Navy DOT Mil>, cygwin AT cygwin DOT com
From: Randall R Schulz <rrschulz AT cris DOT com>
Subject: Re: Mathematical Functions
In-Reply-To: <CEB144BF16CCD2118F4800805FE6A25302BD5E87@NPRI54EXC07.NPT.N
UWC.NAVY.MIL>
Mime-Version: 1.0

Mr. Paul,

[ This is entirely non-Cygwin-specific. ]

Apart from the FORTRAN business, about which I know nothing...

If you're running the ordinary BASH-in-a-console-window Cygwin, which is 
the default for a Cygwin installation when you launch using the "Cygwin 
Icon" on the desktop or in the Start menu, then you can set the amount of 
scroll-back in the window's Properties dialog.

The window configuration (font, colors, screen size, scroll-back buffer 
size, etc.) can all be preset permanently via the Properties dialog for the 
shortcut that launches Cygwin. If you use RXVT, then the control of these 
parameters is via invocation options to "rxvt.exe," whose documentation you 
should read to learn how to control these attributes.


Secondly, the reason I/O redirection didn't capture the compiler's error 
messages is that errors are sent to the "standard error" output, which 
requires a variant redirection syntax:

BASH & ash:

         command >normalOutput
         commandThatProducesErrorMessages >normalOutput 2>errorOutput
         commandThatProducesErrorMessages 2>errorOutput
         commandThatProducesErrorMessages >allOutput 2>&1

Note: The "2>&1" must come after the ">allOutput".

CSH / TCSH:
         command >normalOutput
         commandThatProducesErrorMessages >& allOutput


--
Randall Schulz
Mountain View, CA USA


At 07:07 2002-05-02, you wrote:
>...
>
>Also when compilation errors are too many, the output is lost as the 
>window is not a xwindow. Using redirection did not help(>). Is there any 
>other work around?
>
>Dilip K. Paul
>
>mailto:pauldk AT npt DOT nuwc DOT navy DOT mil


--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Bug reporting:         http://cygwin.com/bugs.html
Documentation:         http://cygwin.com/docs.html
FAQ:                   http://cygwin.com/faq/

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019