Without makes and models we can't give you a specific answer.
In general you would
connect the cable box to the TV with HDMI for viewing cable
connect the DVD recorder to the TV with AV cables for viewing DVDs
connect the surround sound to the TV audio output for sound
connect the cable box av or RF out to the DVD recorder to record from the cable box