open with line buffer