Longstreet, John, active 1779-1784, Captain