Comparison of the main magnetic and plasma features in the environments of comets Grigg-Skjellerup and Halley