Webster’s Revised Unabridged Dictionary · 1913
Stargasing
Star′gas′ing, n. 1. The act or practice of observing the stars with attention; contemplation of the stars as connected with astrology or astronomy. Swift.
2. Hence, absent-mindedness; abstraction.