From: Greg Ercolano <erco@(email surpressed)>
Subject: Re: Limitation in frames command?
   Date: Fri, 05 Oct 2007 21:44:03 -0400
Msg# 1627
View Complete Thread (7 articles) | All Threads
Last Next
Greg Ercolano wrote:
> Dylan Penhale wrote:
>> Can you tell me if there is string length limitation for the frames command?
>> e.g. frames 1 300 150 2-30 34-299 ... etc ...
> 
> 	This came up in the early days of rush, I think its something
> 	like 2048 or 4096, or something like that.

   Just verified it.. it's 2048.

   I ran 'rush -submit' interactively, then pasted together a huge
   'frames' command, and got it to barf up its 'line too long' error:

% rush -submit
frames 1 222 33333 4444 55555 666 77777 8888 999 9999 1 222 33333 4444 55555 666 77777 8888 999 9999 1 222 33333 4444 55555 666 77777 8888 999 9999 1 222 33333 4444 55555 666 77777 8888 999 9999 1 222 33333 4444 55555 666 77777 8888 999 9999 1 222 33333 4444 55555 666 77777 8888 999 9999 1 222 33333 4444 55555 666 77777 8888 999 9999 1 222 33333 4444 55555 666 77777 8888 999 9999 1 222 33333 4444 55555 666 77777 8888 999 9999 1 222 33333 4444 55555 666 77777 8888 999 9999 1 222 33333 4444 55555 666 77777 8888 999 9999 1 222 33333 4444 55555 666 77777 8888 999 9999 1 222 33333 4444 55555 666 77777 8888 999 9999 1 222 33333 4444 55555 666 77777 8888 999 9999 1 222 33333 4444 55555 666 77777 8888 999 9999 1 222 33333 4444 55555 666 77777 8888 999 9999 1 222 33333 4444 55555 666 77777 8888 999 9999 1 222 33333 4444 55555 666 77777 8888 999 9999 1 222 33333 4444 55555 666 77777 8888 999 9999 1 222 33333 4444 55555 666 77777 8888 999 9999 1 222 33333 4444 55555 666 77777 8888 999 9
999 1 222
33333 4444 55555 666 77777 8888 999 9999 1 222 33333 4444 55555 666 77777 8888 999 9999 1 222 33333 4444 55555 666 77777 8888 999 9999 1 222 33333 4444 55555 666 77777 8888 999 9999 1 222 33333 4444 55555 666 77777 8888 999 9999 1 222 33333 4444 55555 666 77777 8888 999 9999 1 222 33333 4444 55555 666 77777 8888 999 9999 1 222 33333 4444 55555 666 77777 8888 999 9999 1 222 33333 4444 55555 666 77777 8888 999 9999 1 222 33333 4444 55555 666 77777 8888 999 9999 1 222 33333 4444 55555 666 77777 8888 999 9999 1 222 33333 4444 55555 666 77777 8888 999 9999 1 222 33333 4444 55555 666 77777 8888 999 9999 1 222 33333 4444 55555 666 77777 8888 999 9999 1 222 33333 4444 55555 666 77777 8888 999 9999 1 222 33333 4444 55555 666 77777 8888 999 9999 1 222 33333 4444 55555 666 77777 8888 999 9999 1 222 33333 4444 55555 666 77777 8888 999 9999 1 222 33333 4444 55555 666 77777 8888 999 9999 1 222 33333 4444 55555 666 77777 8888 999 9999 1 222 33333 4444 55555 666 77777 8888 999 9999 1 222 333
33 4444
55555 666 77777 8888 999 9999 1 222 33333 4444 55555 666 77777 8888 999 9999 1 222 33333 4444 55555 666 77777 8888 999 9999 1 222 33333 4444 55555 666 77777 8888 999 9999 1 222 33333 4444 55555 666 77777 8888 999 9999 1 222 33333 4444 55555 666 77777 8888 999 9999 1 222 33333 4444 55555 666 77777 8888 999 9999 1 222 33333 4444 55555 666 77777 8888 999 9999 1 222 33333 4444 55555 666 77777 8888 999 9999 1 222 33333 4444 55555 666 77777 8888 999 9999 1 222 33333 4444 55555 666 77777 8888 999 9999 1 222 33333 4444 55555 666 77777 8888 999 9999 1 222 33333 4444 55555 666 77777 8888 999 9999 1 222 33333 4444 55555 666 77777 8888 999 9999 1 222 33333 4444 55555 666 77777 8888 999 9999 1 222 33333 4444 55555 666 77777 8888 999 9999 1 222 33333 4444 55555 666 77777 8888 999 9999 1 222 33333 4444 55555 666 77777 8888 999 9999 1 222 33333 4444 55555 666 77777 8888 999 9999 1 222 33333 4444 55555 666 77777 8888 999 9999 1 222 33333 4444 55555 666 77777 8888 999 9999 1 222 33333 4444 555
55 666
77777 8888 999 9999 1 222 33333 4444 55555 666 77777 8888 999 9999 1 222 33333 4444 55555 666 77777 8888 999 9999 1 222 33333 4444 55555 666 77777 8888 999 9999 1 222 33333 4444 55555 666 77777 8888 999 9999 1 222 33333 4444 55555 666 77777 8888 999 9999 1 222 33333 4444 55555 666 77777 8888 999 9999
rush: 'rush -submit': 'frames 1 222 33333 4444 55555 666 77777 ..': Line too long (>2048 max)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^

> 	Whatever the limit is, rush prints an obvious 'line too long'
> 	message if it does hit the internal limit.
> 
> 	But you don't have to cram everything onto a single line;
> 	the frames command can be specified several times to accumulate
> 	a large list, eg:
> 
> rush -submit << EOF
> ..
> frames 1 300 150 2-30
> frames 34-299 381 456
> frames 489 581-786
> ..

-- 
Greg Ercolano, erco@(email surpressed)
Rush Render Queue, http://seriss.com/rush/
Tel: (Tel# suppressed)
Fax: (Tel# suppressed)
Cel: (Tel# suppressed)

Last Next