Hello, attached is a patch to samterm to make the up and down arrow keys move the cursor. When the down arrow key is pressed it should go to the next newline plus the number of characters from the previous newline, unless that is beyond the next next newline, then go to that. And for the up arrow key: go the previous previous newline plus the number of characters from the previous newline, unless that is beyond the previous newline, then go to that. I'm relatively new to Plan9, any comments welcome. Joey