These come from Harry Woodworth Huntington’s My Dog and I (1897). The black dog is Bellingham Bailiff and the rather dark wheaten (?) is Bonny C. from the Newcastle Kennels in Brookline, Massachusetts.
These dogs have much longer legs and less exaggerated heads than the modern show dogs. They don’t have Groundskeeper Willie faces either. I have no concept of what size these dogs are, but they look like a dog that could go into a fox lair or badger sett in wild country of Scotland.
Scottish terriers are derived from the Aberdeen and Highland terriers. The Highland dog looked a bit more like what we would call a cairn terrier, and the Aberdeen terrier appears to be a Scottish terrier with a slightly broken coat.
These are something like the Scottish version of the German teckel.