 	Serial.print( ":) " );
 	
 	// get a line of input
+#ifdef kLocalEcho
+	getSerialLine( linebuf, kLineLen, true );
+#else
 	getSerialLine( linebuf, kLineLen, false );
-#ifdef kLocalEcho
-        Serial.println( linebuf );
 #endif
 
 	bptr = linebuf;

#define kBLuBVersion	"v0.08  2013-June-26  yorgle@gmail.com"

// v0.08  2013-June-26  Autoload and Autorun added
//
// v0.07  2013-June-25  PEek, POke, for RAM and EEPROM implemented
//			auto-pinMode()

    chp++;
  } while(    //Serial.available()
           buf[chp-1] != '\n'
           && buf[chp-1] != '\r'
           && chp < maxbuf );

  // terminate the buffer
  buf[chp] = '\0';

  // strip newline
  if( chp > 0 && ( buf[ chp-1 ] == '\n' || buf[ chp-1 ] == '\r') ) { buf[chp-1] = '\0'; chp--; }
  if( chp > 0 && ( buf[ chp-1 ] == '\n' || buf[ chp-1 ] == '\r') ) buf[chp-1] = '\0';

  if( echoback ) Serialprint( "\n" );
}
