Gearboxes for cable way, cable car, chair lift, and cable railway winches