Text console implementation for glhck