Through the early 1990s the design and function of locomotive's headlights changed little save for the FRA's requirements of candela output (a term that describes a unit of luminous intensity). In an effort to further improve safety for both the train crew and those trackside (motorists, pedestrians, or even railroad workers) the FRA finally made a change to the age-old practice of headlight usage (a device which had really been given little thought over the years by most except for the workers that maintained them). On March 6, 1996 the federal agency on safety and oversight of the railroad industry released a new rule stating that locomotives operating at speeds of greater than 20 mph that regularly passed through public grade crossings would be required to use ditch lights.
According to the FRA these auxiliary lights, which must burn at 200,000 candela, would be situated on the front and rear pilots of a locomotive to form a triangle and be placed at least 36 inches above the rail head; they would also be located either 36 inches or 60 inches apart from one another depending on the distance from the primary headlight. In one final added measure of safety the lights would be required to flash alternately "at least 40 intervals per minute and no more than 180 intervals per minute." The FRA's requirements for the new lights were quite strict stating that they must be activated any time a locomotive was in motion and if a bulb was burned out or not functioning it must be replaced as soon as possible. Railroads were given a little over a year to implement the lights on all locomotives and a date of December 31, 1997 was set as the time in which to do so.
There were few exceptions with the new rule but one notable exemption stated that any locomotive manufactured prior to December 31, 1948 and not used in regular commuter or intercity passenger service would be deemed historic equipment and thus not required to be equipped with the lights. As such, virtually no steam locomotives operating today carry the equipment and most classic diesels found pulling excursions also do not operate the lights. However, you can find them in use on early Electro-Motive cab models either operated by Class Is (for their business trains) or a few tourist lines. Of note is the Norfolk Southern's fleet of restored F units pulling its Office Car Special (OCS). When the locomotives were overhauled shop forces countersunk the ditch lights into the nose giving them a very nice, clean, and finished appearance.
Depending on your interest level of locomotives, and diesels in particular, a few books on the subject which may be of interest include Mike Schafer’s Vintage Diesel Locomotives and J. Parker Lamb's Evolution Of The American Diesel Locomotive. As the title suggests Mr. Lamb's book provides a general history of the diesel through the years. In the case of Mr. Schafer's book, it is not particularly long (less than 100 pages) but it is nevertheless pretty interesting! His title provides a quick look at several classic diesel models from early Electro-Motive products to venerable designs by Baldwin, Fairbanks Morse, and the American Locomotive (Alco).