improve term (fix auto-scroll)
fix cursor position
jsLinux to work with or without trace