Text in OpenGL, UNIX enviroment

Could anyone please briefly describe how to write text in open gl enviroment in UNIX(Solaris) enviroment. I was recomended to use glBitmapFont(), but I am having trouble finding any docs on it, so if possible describe how that function can be used ???
Thanks
ā€“ Konstantin