Geared steam locomotive
This gearing is part of the machinery within the locomotive and should not be confused with the pinion that propels a rack locomotive along the rack between the rails. The geared steam locomotives that have been built have been for conventional track, relying on the adhesion between wheels and rail.
Train whistle
Steam whistles were almost always actuated with a pull cord (or sometimes a lever) that permitted proportional (tracker) action, so that some form of "expression" could be put into the sound. Many locomotive operators would have their own style of blowing the whistle, and it was often apparent who was operating the locomotive by the sound. Modern locomotives often make use of a push button switch to operate the air horn, eliminating any possibility of altering the horn's volume or pitch.