Another fairly cheap way that works good on short travel machines is either non-metallic flexible conduit, or metallic liquid-seal super flex conduit.
This can be obtained by the foot complete with end fittings, from local Electrical supply houses.
Just form a loop that will extend out to the max. travel. Simple ways can be used to prevent catching of the loop.
The advantage is it offers good protection from oil & chips on Mills etc.
In N.Am. Thomas & Betts is one supplier.
If you are looking at the curtain idea (called Festooning), use 3/4" pipe for a hanger and get industrial curtain loops, from Home Depot (Like shower curtain hangers but steel).
Al.
CNC, Mechatronics Integration and Custom Machine Design
“Logic will get you from A to B. Imagination will take you everywhere.”
Albert E.