electric telegraph in warfare