the current is pass through the straight wire. The magnetic field established around it has its lines of force:
Circular and endless
Oval in shape and endless
Straight
Parabolic
The pointer of a magnetic compass:
Is affected only by permanent magnets
Align itself parallel to the applied magnetic field
Vibrates in the magnetic field of the current
Aligns itself perpendicular to the magnetic field