[Date Prev][Date Next][Thread Prev][Thread Next] [Search] [Date Index] [Thread Index]

Re: [MacPerl] buffer size of "MacPerl" window



At 4:00 PM 8/27/96, Matthias Ulrich Neeracher wrote:
>blisbarn@i-max.co.nz (Matt & Sheryl) writes:
>>after reading a file into the "MacPerl" window of MacPerl and then saving
>>it through an applescript i discovered that the top part of the file was
>>missing.
>>
>>i presume that this is because the buffer size of the window in question
>>has been reached and MacPerl automatically deletes lines off of the top.
>
>Right.
>
>>does anyone know how to increase the buffer size of the "MacPerl" window?
>
>The current size is 30'000 characters. If it were easy to increase it, there
>wouldn't have been a need for a limit in the first place :-)
>
>TextEdit is limited to 32767 characters. In another program, I just started
>using (limitless) WASTE with excellent results, so switching over would be an
>option (WASTE is reported to also handle Kanij, and soon right-to-left
>scripts). However, I don't really have much tim to spend on it.

What about just having an option to redirect the ouput to another program
(like BBEdit)?  Actually, right now the output IS redirected to BBEdit if
running the script using the "Run Perl" BBEdit Extension, isn't it?



#================================================================
perl -e 'srand();if(rand>.5){$i=0;foreach(@ARGV){@$i=split(//);$z
[$i]=0;foreach$l(@$i){$s[$i][$z[$i]]=$l;$z[$i]++;}$i++;}foreach$m
(@s){foreach$g(@{$m}){print$g}print" ";$m++}}else{print(join(" ",
@ARGV))}print"\n"' McClellan Clan Motto: Think On

Chris Nandor                                       pudge@pcix.com
PGP Key 0xB76E72AD                    http://pudge.petersons.com/