Nilus the Sandman: The Boy Who Dreamed Christmas

Nilus the Sandman: The Boy Who Dreamed Christmas is a 1991 Canadian live-action/animated Christmas special. It aired on in Canada on December 1, 1991 and on  in the United States on December 10th that same year.

Plot
On Christmas Eve, a computer-savvy boy named Peter Fletcher has several items on his Christmas list and wonders if Santa Claus will be able to give him all the things he wants. Peter falls asleep and while he is dreaming he meets Nilus the Sandman who takes him on a magical flight in Peter's shoe to the North Pole to visit Santa at his workshop.

When they arrive, they find that the workshop is dark and without activity, and that Santa and a few of his elves are sitting around and looking depressed. Peter and Nilus discover that Santa has been forced out of work by a robotic clown called the Toymaster whom Santa and his elves originally created as a helper so they could mass-produce toys more efficiently to satisfy children's increasing demand for more toys. The Toymaster gives Peter, Nilus, and Santa a tour of his industrialized high-tech toy factory located underneath Santa's workshop. They see that the Toymaster forces the elves to work to exhaustion amongst a web of assembly lines and conveyor belts controlled by computers, and that the sleigh and reindeer have been replaced by a delivery rocket-plane. After the tour, Peter and Nilus express concern that this situation lacks the true "feeling" and "spirit" of Christmas. Santa laments that children now want far more toys than in the past, and that he and his elves could not satisfy that increased demand.

Peter comes up with the idea of only producing and delivering the top one or two items in each child's list, since children only remember their most special gifts. Since there would be far fewer gifts to make and deliver, Santa could accomplish the task with his elves and reindeer. The group then ponders what to do about the Toymaster. Peter abruptly goes back to the Toymaster's factory with Nilus following close behind. Peter explains to Nilus that during the tour he was able to hack into the Toymaster's computer network, which contains children's gift list information. Peter plans to use the Toymaster's computer terminal to access the gift lists and delete all but the top one or two gifts in each list in order to enable Santa and his helpers to once again make and deliver gifts. He begins by deleting items from his own list, and with each deletion a conveyor belt or other piece of factory hardware disappears, along with any gifts that are on it. He deletes all but his top item, a bicycle, at which point he stops to admire the bike as it comes down a conveyor belt. He comes back to his senses and returns to the computer terminal to finish reducing other children's lists by overriding the system with a single keystroke. However, clicking the key has no effect, and Peter discovers that the Toymaster unplugged the terminal just before Peter clicked the key. The Toymaster grabs Peter and Nilus, puts them on Peter's bike, and pushes them out of the control center. They speed down a path toward a fork in the road, at which point Peter decides to sacrifice his beloved bike for the sake of saving Christmas. Peter steers the bike away from the exit and towards the moving gears of the factory's control clock. Peter and Nilus jump off the bike, which then crashes into the gears, jamming them. This causes the factory to explode, destroying the Toymaster and all the gifts.

When the smoke clears, Peter finds that he is outside in the snow. Nilus calls him over to Santa's workshop where he sees that Santa and his elves are busy making gifts. The whole group celebrates, and Peter and Nilus get to ride along with Santa in his sleigh as he takes off on his delivery mission.

Peter wakes up on Christmas Day to find gifts under the tree and in his stocking. Peter empties his stocking and finds a toy train engine (which, in Peter's dream, Santa had mentioned was his favorite toy to make). It comes with a note from Santa apologizing for the loss of Peter's bike and hoping that he enjoys the toy locomotive. Peter then declares that "this really is a merry Christmas".