remove linenoise
Reference PX4 code
Replace old global variable to our project definition