From: Daniel Barker Newsgroups: comp.os.msdos.djgpp Subject: Re: Question about Link with DJGPP Date: Sun, 18 Jul 1999 22:42:52 +0100 Organization: Edinburgh University Lines: 37 Message-ID: <37924A5C.71525C21@holyrood.ed.ac.uk> References: <19990717100338 DOT 15511 DOT rocketmail AT web601 DOT yahoomail DOT com> <3791002C DOT ED5E084D AT cartsys DOT com> NNTP-Posting-Host: dialup-101.publab.ed.ac.uk Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Trace: scotsman.ed.ac.uk 932334143 475 129.215.38.101 (18 Jul 1999 21:42:23 GMT) X-Complaints-To: usenet AT scotsman DOT ed DOT ac DOT uk NNTP-Posting-Date: 18 Jul 1999 21:42:23 GMT X-Mailer: Mozilla 4.51 [en] (Win98; I) X-Accept-Language: en To: djgpp AT delorie DOT com DJ-Gateway: from newsgroup comp.os.msdos.djgpp Reply-To: djgpp AT delorie DOT com Nate Eldredge wrote: > > Mohammad Hossein Manshaee wrote: [snip] > > another question: > > > > I have many errors with the compile my file. > > I want to see all the errors but they are move fast on the screen. > > What can I do? > > Look at the documentation for `redir'. Or, if you are compiling from the BASH prompt, you can redirect both standard output and standard error to a file, as follows: gxx @response-file >scrout.txt 2>&1 This sends output intended for the standard error stream (file descriptor 2) to the standard output stream (file descriptor 1), and redirects standard output to a file called "scrout.txt". The result is, all output from "gxx @response-file" that would have gone to the screen ends up in the file "scrout.txt". This can be viewed in a text editor. You could alternatively send all output to "less", which shows its input one screen at a time: gxx @response-file 2>&1 |less (again, from BASH). "less" is superior to DOS's own "more", and is in DJGPP package lss332. With "less", you scroll forwards a page by pressing SPACE, back a page by pressing "b", and quit by pressing "q". -- Daniel Barker.