Hi On Wed, Jun 05, 2013 at 12:22:38PM -0700, Jack Bates wrote: > On 01/06/13 03:22 AM, Nicholas Marriott wrote: > > Hi > > > > What commands are you doing that regularly exceed 2048 bytes and why > > Thank you Nicolas, I often use tmux as part of scripts that run long > processes on Amazon EC2 instances (so if I get disconnected, I can > reattach later and check the progress). Here is an example: > > https://github.com/jablko/android/blob/master/Makefile > > > can't you put them in a temporary script or something and run that > > instead? > > Yes, that is how I work around the problem at the moment, it's just > unexpected and irritating when it happens. A higher limit wouldn't > eliminate the problem entirely (unless the limit was close to system > ARG_MAX), it would just save some irritation and avoid some workarounds. > I don't know what the tradeoffs of increasing COMMAND_LENGTH are...
Well, the problem is that every command needs to pass this over the Unix domain socket so anything larger wouldn't be ideal. Also it'd mean bumping the protocol version and I really don't want to do that for this. I'm not sure it's worth it when very few people will hit this limit and even then you can do it with scripts instead. > > Thanks again, > > > On Thu, May 30, 2013 at 08:49:05AM -0700, Jack Bates wrote: > >> I keep getting an error, "command too long" when I run: > >> > >> $ tmux new-session ... > >> > >> I wish that the tmux COMMAND_LENGTH was more than 2048. > >> > >> If tmux could handle commands of arbitrary length, up to something like > >> the maximum argument length for the system (ARG_MAX), that would be > >> cool. But even just increasing COMMAND_LENGTH a bit would be a > >> significant improvement for me... > >> > >> Thank you for tmux! > >> > >> ------------------------------------------------------------------------------ > >> Get 100% visibility into Java/.NET code with AppDynamics Lite > >> It's a free troubleshooting tool designed for production > >> Get down to code-level detail for bottlenecks, with <2% overhead. > >> Download for free and get started troubleshooting in minutes. > >> http://p.sf.net/sfu/appdyn_d2d_ap2 > >> _______________________________________________ > >> tmux-users mailing list > >> tmux-users@lists.sourceforge.net > >> https://lists.sourceforge.net/lists/listinfo/tmux-users > > ------------------------------------------------------------------------------ > How ServiceNow helps IT people transform IT departments: > 1. A cloud service to automate IT design, transition and operations > 2. Dashboards that offer high-level views of enterprise services > 3. A single system of record for all IT processes > http://p.sf.net/sfu/servicenow-d2d-j > _______________________________________________ > tmux-users mailing list > tmux-users@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/tmux-users ------------------------------------------------------------------------------ This SF.net email is sponsored by Windows: Build for Windows Store. http://p.sf.net/sfu/windows-dev2dev _______________________________________________ tmux-users mailing list tmux-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/tmux-users