support command line buffer