Added #define statements to create constants

LINUX has constants representing the max length for Login Names, Paths
and Host names.  I wanted to take advantage of this fact.   However,
OSX does not.  So I created OSX-friendly #define statements.  I also
changed the getPrompt() function to the printPrompt() function.