Buck Rogers in the 25th Century
Capt. William "Buck" Rogers is a jovial space cowboy who is accidentally time-warped from 1987 to 2491. Earth is engaged in interplanetary war following a global holocaust, and Buck's piloting skills make him an ideal starfighter recruit for the Earth Defense Directorate, where his closest colleagues are Dr. Huer (Tim O'Connor), squadron leader Col. Wilma Deering (former model Erin Gray), the wisecracking robot Twiki (voiced by cartoon legend Mel Blanc), and a portable computer-brain named Dr. Theopolis.
Starring Gil Gerard, Pamela Hensley, Erin Gray, Henry Silva, Joseph Wiseman, Duke Butler, Felix Silla, Tim O'Connor
Watch "Buck Rogers in the 25th Century" on Tubi TV released in 1979. It's a action & adventure and drama movie, and has a rating of 6.9 out of 10 from Imdb which is usually fine for this kind of movie, and is currently available to watch for free.