Locating or determining the position of objects in boreholes or wells {, e.g. the position of an extending arm}; Identifying the free or blocked portions of pipes by detecting an acoustic anomalies, e.g. using mud-pressure pulses