I don't think making the cursor a vertical line is possible in xterm. It is possible, however, to make it underlined. Just run xterm -uc.
It might be possible to do what you want using another terminal emulator. For example, I use Konsole and I can set the cursor shape to "Block", "I-Beam" and "Underline".
It seems xterm has added support for the vertical bar or I-beam cursor.
You can change the cursor by inserting one of the following lines in your ~/.bashrc file (if you use bash):
References:
This depends on the Terminal emulator you're on.
Try looking at the menu:preferences:Window:cursortype if there's any.
I've seen changing the terminal cursor in Mac/Apple's terminal. Try to see in your linux box.
I don't think making the cursor a vertical line is possible in xterm. It is possible, however, to make it underlined. Just run
xterm -uc
.It might be possible to do what you want using another terminal emulator. For example, I use Konsole and I can set the cursor shape to "Block", "I-Beam" and "Underline".