No, this is not possible in xterm .
You can use a terminal text editor such as Vim to make a choice. First you need to save the text in a file, and then edit it using a text editor. In Vim, press Control + V, then use the up and down arrow keys.
Philip ganchev
source share