[axel-devel] [axel-Bugs][313431] Add terminal-width detection capabilities to axel
    axel-bugs at alioth.debian.org 
    axel-bugs at alioth.debian.org
       
    Sun Nov  1 22:16:45 UTC 2015
    
    
  
axel-Bugs item #313431 was changed at 2015-11-01 22:16 by Joao Eriberto Mota Filho
You can respond by visiting: 
https://alioth.debian.org/tracker/?func=detail&atid=413085&aid=313431&group_id=100070
Status: Open
Priority: 3
Submitted By: Adam Thompson (athompso-guest)
Assigned to: Nobody (None)
Summary: Add terminal-width detection capabilities to axel 
Initial Comment:
See attached patch for a rather crude attempt at allowing axel to adapt to different terminal widths.  Lack of this is particularly annoying to me since I often use terminals that aren't 
I'm not a C programmer, I just wanted to get this into the code as quickly as possible - there's probably a better way to accomplish this instead of passing (axel_t)s around to functions that don't otherwise need it.  I could do without if I was willing to abandon the macro, not sure what the cleanest approach is here.  (Global variable, maybe?  :-)
Still, that's arguably better than assuming all terminals are at least 80 characters wide... my netbook can only display 78 columns in my favourite font size, which kind of makes axel a pain to use.
At least the patch is small...
----------------------------------------------------------------------
Comment By: Joao Eriberto Mota Filho (eriberto)
Date: 2015-11-01 22:16
Message:
Hi Adam,
Can you try to reimplement for 2.5 version, available at here[1]?
Thanks.
Eriberto
[1] https://github.com/eribertomota/axel
----------------------------------------------------------------------
Comment By: Adam Thompson (athompso-guest)
Date: 2011-11-01 04:05
Message:
Oops, sorry, that diff was generated against SVN revision 122.
----------------------------------------------------------------------
You can respond by visiting: 
https://alioth.debian.org/tracker/?func=detail&atid=413085&aid=313431&group_id=100070
    
    
More information about the axel-devel
mailing list