E. Cobham Brewer 18101897. Dictionary of Phrase and Fable. 1898.
Fogie or Fogey.
An old fogey. Properly an old military pensioner. This term is derived from the old pensioners of Edinburgh Castle, whose chief occupation was to fire the guns, or assist in quelling street riots. (Allied to fogat, phogot, voget, feged, fogde, etc.)
What has the world come to [said Thackeray] . . when two broken-nosed old fogies like you and me sit talking about love to each other.Trollope: W. M. Thackeray, chap. i. p. 61.