*
* The following attempts to decide what we are on, and declare
* some variables in the appropriate format. The wierd looking one (ttymode)
*
* The following attempts to decide what we are on, and declare
* some variables in the appropriate format. The wierd looking one (ttymode)