delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2011/02/02/11:44:20

X-Recipient: archive-cygwin AT delorie DOT com
X-SWARE-Spam-Status: No, hits=-4.5 required=5.0 tests=AWL,BAYES_00,DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,RCVD_IN_DNSWL_HI,T_RP_MATCHES_RCVD
X-Spam-Check-By: sourceware.org
To: cygwin AT cygwin DOT com
MIME-Version: 1.0
Subject: Fw: 1.7.7: window cuts off output / saving output
X-KeepSent: 6333FB03:7FF6CAC3-8525782B:005B9162; type=4; name=$KeepSent
Message-ID: <OF6333FB03.7FF6CAC3-ON8525782B.005B9162-8525782B.005BED38@lnotes-gw.ent.nwie.net>
From: RISINGP1 AT nationwide DOT com
Date: Wed, 2 Feb 2011 11:44:05 -0500
X-IsSubscribed: yes
Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Id: <cygwin.cygwin.com>
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sourceware.org/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

>On Feb  2 11:13, Rachel Trent wrote:
>> I have a seemingly simple problem that I either haven't found the
>> answer to or I didn't understand the answer when I saw it. I presume
>> I'm not describing it with the correct terminology...
>> 
>> Short version:
>> In layman's terms, the Cygwin window cuts off at the top, and I'd like
>> to know if the output that's been cut off is forever lost or if I
>> might be able to save it to a file or view it some other way.
>> 
>> Long version:
>> Within a larger script, I copied over a thousand files from one server
>> to another using the following command:
>> cp -R -n -p -v "$package" "$destination" | tee -a 
"$destination"/copiedfiles.txt

In the future, to capture the errors as well:

cp -R -n -p -v "$package" "$destination" 2>&1 | tee -a 
"$destination"/copiedfiles.txt

>> 
>> However, several files failed to copy due to permissions issues/etc,
>> and the copiedfiles.txt file does not include the error information.
>> The onscreen output does include this information (due to using the -v
>> verbose option), however I can only scroll up to see about 300 lines
>> of information (surprise! I wasn't expecting this). My question is:
>> can I somehow access the output that was cut off?
>
>This is not a Cygwin problem.  The scrollback buffer is provided by the
>underying Windows console.  You can change that in the console window
>properties dialog.
>

--
Problem reports:       http://cygwin.com/problems.html
FAQ:                   http://cygwin.com/faq/
Documentation:         http://cygwin.com/docs.html
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple

- Raw text -


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