 }
 
 
-#define kLineLen (32)
-char linebuf[kLineLen];
 
 void cmd_eformat( void )
 {
   Serial.print( "Formatting EEPROM..." );
-  for( int i=0 ; i<=E2END ; i++ )
+  for( int i=0 ; i<kEESize ; i++ )
   {
     EEPROM.write( i, 0x00 );
 //    digitalWrite( kLED, i & 0x020 );


void cmd_elist( void )
{
  int ch = 'X';

  for( int i=0 ; (i<=E2END) && (ch != '\0') ; i++ )
  {
    ch = EEPROM.read( i );

    if( ch == '\0' ) continue;
    Serial.write( (char *) &ch, 1 );
  }
}

void cmd_eload( void )
{
}

void cmd_esave( void )
{
}


void loop()
{


	// process it
	if( !strcmp( linebuf, "mem" )) { cmd_mem(); }
	else if( !strcmp( linebuf, "new" )) { cmd_new(); }
	else if( !strcmp( linebuf, "list" )) { cmd_list(); }
	else if( !strcmp( linebuf, "eformat" )) { cmd_eformat(); }
	else if( !strcmp( linebuf, "elist" )) { cmd_elist(); }
	else if( !strcmp( linebuf, "eload" )) { cmd_eload(); }
	else if( !strcmp( linebuf, "esave" )) { cmd_esave(); }
	else if( linebuf[0] >= '0' && linebuf[0] <= '9' ) {
		Serial.println( "Consume Line To Ram" );
	}
	else if( linebuf[0] != '\0' ){
		Serial.println( "Huh?" );
	}
