best account is G. W. Allen's "Our Navy and the Barbary Corsairs" (1905), which may be supplemented by C. O. Paulli