Re: compilation errors in win98

2001-06-22 Thread james crease

In message <[EMAIL PROTECTED]>, 
Aaron Craig <[EMAIL PROTECTED]> writes
>At 21:49 20.06.2001 +0100, james crease wrote:
>>I have a perl script which generates many compilation errors which 
>>scroll off the DOS window perl is running in. How do I capture (or 
>>recover) the lines that have scrolled away?
>>--
>>james crease
>>
>
>Use EditPlus2 as your editor.  You can capture perl output in an output 
>window inside the program, copy and paste it, as well as double click a 
>line number and get taken directly to that line in your code, among 
>many other helpful features.
>
>
Thanks for that. I've just tried it and it looks well worth the bucks.

I still think it odd that the distribution of Perl for Windows doesn't 
mention this problem when using the standard M$ command window.


-- 
james crease
http://wocediu.org   Tel. +1 302 645 4240
http://www.codata.orgTel. +44 1608 642335



Re: compilation errors in win98

2001-06-21 Thread james crease

In message <[EMAIL PROTECTED]>, Tim Musson 
<[EMAIL PROTECTED]> writes
>Hey james,
>
>Thursday, June 21, 2001, 9:26:34 AM, you wrote:
>
>jc> The version of DOS I have on win98SE doesn't allow for a scroll
>jc> bar as  suggested by one comment nor does it have a layout tab to
>jc> set the size  of the window although it does allow a set to a
>jc> maximum of 50 lines.
>
>Are you not trying to run it in a command window from the GUI then?
>Just booting to DOS?
>
running from the MS DOS icon in Start/Programs
-- 
james crease
http://wocediu.org   Tel. +1 302 645 4240
http://www.codata.orgTel. +44 1608 642335



Re: compilation errors in win98

2001-06-21 Thread james crease

In message <993124108.25145.2.camel@cowens>, Chas Owens 
<[EMAIL PROTECTED]> writes
>The problem is that the error messages are going to stderr instead of
>stdout.  The standard DOS shell (command.com or cmd.exe depending on
>your system) doesn't understand how to capture stderr.  The solution is
>to get a better shell.  Cygnus (now RedHat) makes cygwin a complete unix
>style development enviroment for Windows boxen that includes the best
>command shell available (IMHO): bash
>(http://sources.redhat.com/cygwin/).  I have also heard that 4dos gives
>you the ability to capture stderr, but have never used their product
>myself (http://www.jpsoft.com/).  There are almost certainly other
>packages out there.

Thanks to all for suggestions.
Comments- I suspect Chas above has the likely solution.
The version of DOS I have on win98SE doesn't allow for a scroll bar as 
suggested by one comment nor does it have a layout tab to set the size 
of the window although it does allow a set to a maximum of 50 lines.

If there are any other thoughts on stderr capture I'd be pleased to hear 
them :-(




>
>On 21 Jun 2001 09:26:28 +0100, james crease wrote:
>> Thanks I had tried that already and doesn't seem to work at compile
>> time:-(
>>
>> In message <00e401c0f9cc$02ee7340$0901a8c0@profit>, Jos I. Boumans
>> <[EMAIL PROTECTED]> writes
>> >try capturing the output:
>> >
>> >perl foo.pl > outputfile.txt
>> >
>> >all that perl spits out should be in the outputfile.txt then
>> >
>> >regards,
>> >
>> >Jos Boumans
>> >
>> >- Original Message -
>> >From: "james crease" <[EMAIL PROTECTED]>
>> >To: <[EMAIL PROTECTED]>
>> >Sent: Wednesday, June 20, 2001 10:49 PM
>> >Subject: compilation errors in win98
>> >
>> >
>> >> I have a perl script which generates many compilation errors which
>> >> scroll off the DOS window perl is running in. How do I capture (or
>> >> recover) the lines that have scrolled away?
>> >> --
>> >> james crease
>> >>
>> >>
>>
>> --
>> james crease
>> http://wocediu.org   Tel. +1 302 645 4240
>> http://www.codata.orgTel. +44 1608 642335
>>
>--
>Today is Boomtime, the 26th day of Confusion in the YOLD 3167
>Keep the Lasagna flying!
>
>

-- 
james crease
http://wocediu.org   Tel. +1 302 645 4240
http://www.codata.orgTel. +44 1608 642335



Re: compilation errors in win98

2001-06-21 Thread james crease




In message <[EMAIL PROTECTED]>, Sally 
<[EMAIL PROTECTED]> writes
>Why don't you work on the ones you can see, then the list will shrink, and
>you'll get rid of the errors eventually. I know that's not the point but it
>is a solution.

This is not  I think likely to help as most of the errors are 
consequential on the original "real " error, but thanks for the thought.


>
>
>-Original Message-
>From: james crease [mailto:[EMAIL PROTECTED]]
>Sent: 21 June 2001 09:26
>To: [EMAIL PROTECTED]
>Subject: Re: compilation errors in win98
>
>
>Thanks I had tried that already and doesn't seem to work at compile
>time:-(
>
>In message <00e401c0f9cc$02ee7340$0901a8c0@profit>, Jos I. Boumans
><[EMAIL PROTECTED]> writes
>>try capturing the output:
>>
>>perl foo.pl > outputfile.txt
>>
>>all that perl spits out should be in the outputfile.txt then
>>
>>regards,
>>
>>Jos Boumans
>>
>>- Original Message -
>>From: "james crease" <[EMAIL PROTECTED]>
>>To: <[EMAIL PROTECTED]>
>>Sent: Wednesday, June 20, 2001 10:49 PM
>>Subject: compilation errors in win98
>>
>>
>>> I have a perl script which generates many compilation errors which
>>> scroll off the DOS window perl is running in. How do I capture (or
>>> recover) the lines that have scrolled away?
>>> --
>>> james crease
>>>
>>>
>
>--
>james crease
>http://wocediu.org   Tel. +1 302 645 4240
>http://www.codata.orgTel. +44 1608 642335

-- 
james crease
http://wocediu.org   Tel. +1 302 645 4240
http://www.codata.orgTel. +44 1608 642335



Re: compilation errors in win98

2001-06-21 Thread james crease

Thanks I had tried that already and doesn't seem to work at compile 
time:-(

In message <00e401c0f9cc$02ee7340$0901a8c0@profit>, Jos I. Boumans 
<[EMAIL PROTECTED]> writes
>try capturing the output:
>
>perl foo.pl > outputfile.txt
>
>all that perl spits out should be in the outputfile.txt then
>
>regards,
>
>Jos Boumans
>
>- Original Message -
>From: "james crease" <[EMAIL PROTECTED]>
>To: <[EMAIL PROTECTED]>
>Sent: Wednesday, June 20, 2001 10:49 PM
>Subject: compilation errors in win98
>
>
>> I have a perl script which generates many compilation errors which
>> scroll off the DOS window perl is running in. How do I capture (or
>> recover) the lines that have scrolled away?
>> --
>> james crease
>>
>>

-- 
james crease
http://wocediu.org   Tel. +1 302 645 4240
http://www.codata.orgTel. +44 1608 642335



compilation errors in win98

2001-06-20 Thread james crease

I have a perl script which generates many compilation errors which 
scroll off the DOS window perl is running in. How do I capture (or 
recover) the lines that have scrolled away?
-- 
james crease