A combined electromechanical driver and a linear clamping and stapling surgical attachment assembly, comprising: an electromagnetic driver including: an elongated flexible shaft and at least one steering wire disposed along the elongated shaft and configured to steer the elongated shaft, characterized by at least two axially rotatable drive shafts (136a, 136b) situated within the elongated shaft, and a motor arrangement to drive the drive shafts; and a linear clamping and stapling attachment assembly including: an upper jaw; a lower jaw in opposed correspondence with the upper jaw, the upper and lower jaws being relatively movable between an open position and a closed position, an upper and a lower turning member (158a, 158b) configured to cooperate with a distal end of each of the at least two drive shafts of the electromagnetic driver, the upper and lower turning members being substantially parallel to each other; a threaded vertical shaft coupled to the upper turning member via a transverse gearing member (162, 166), the upper jaw having a threaded bore through which the vertical shaft extends, wherein turning of a first respective one of the drive shafts of the electromagnetic driver rotates the upper turning member to effect turning of the vertical shaft to cause the relative movement of the upper jaw with respect to the lower jaw between the open position and the closed position, and a staple driver to drive fasteners through tissue and toward the upper jaw, a second respective one of the drive shafts rotating the lower turning member to drive the staple driver. an elongated flexible shaft and at least one steering wire disposed along the elongated shaft and configured to steer the elongated shaft, characterized by at least two axially rotatable drive shafts (136a, 136b) situated within the elongated shaft, and a motor arrangement to drive the drive shafts; and a linear clamping and stapling attachment assembly including: an upper jaw; a lower jaw in opposed correspondence with the upper jaw, the upper and lower jaws being relatively movable between an open position and a closed position, an upper and a lower turning member (158a, 158b) configured to cooperate with a distal end of each of the at least two drive shafts of the electromagnetic driver, the upper and lower turning members being substantially parallel to each other; a threaded vertical shaft coupled to the upper turning member via a transverse gearing member (162, 166), the upper jaw having a threaded bore through which the vertical shaft extends, wherein turning of a first respective one of the drive shafts of the electromagnetic driver rotates the upper turning member to effect turning of the vertical shaft to cause the relative movement of the upper jaw with respect to the lower jaw between the open position and the closed position, and a staple driver to drive fasteners through tissue and toward the upper jaw, a second respective one of the drive shafts rotating the lower turning member to drive the staple driver. an upper jaw; a lower jaw in opposed correspondence with the upper jaw, the upper and lower jaws being relatively movable between an open position and a closed position, an upper and a lower turning member (158a, 158b) configured to cooperate with a distal end of each of the at least two drive shafts of the electromagnetic driver, the upper and lower turning members being substantially parallel to each other; a threaded vertical shaft coupled to the upper turning member via a transverse gearing member (162, 166), the upper jaw having a threaded bore through which the vertical shaft extends, wherein turning of a first respective one of the drive shafts of the electromagnetic driver rotates the upper turning member to effect turning of the vertical shaft to cause the relative movement of the upper jaw with respect to the lower jaw between the open position and the closed position, and a staple driver to drive fasteners through tissue and toward the upper jaw, a second respective one of the drive shafts rotating the lower turning member to drive the staple driver.