LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Software (http://www.linuxquestions.org/questions/linux-software-2/)
-   -   xterm: why do I need to press Enter twice, in xterm? (http://www.linuxquestions.org/questions/linux-software-2/xterm-why-do-i-need-to-press-enter-twice-in-xterm-786369/)

GrapefruiTgirl 02-02-2010 02:30 AM

xterm: why do I need to press Enter twice, in xterm?
 
Google turned up only one item about this, on a Cygwin mailing list, and there was no answer given in the follow-up posts.

If I launch an xterm, it pops up as it should. Now, at the command prompt there, if I hit ENTER, nothing happens. I have to hit ENTER a second time, to get the usual effect (a newline occurs).

Also, if I enter a command at the prompt, like:

Code:

me@machine# echo "hello"
again, I need to hit ENTER twice.

Why is this? Can I make it not be like this? Annoying! :mad:

Thanks for any insight :)

Sasha

jschiwal 02-02-2010 02:45 AM

Sorry Sasha, but I don't have that problem with cygwin at work. One setting when installing Cygwin is whether to use Unix newllines or Windows style newline / returns. Which did you opt for.

That is the only thing I can think of.

GrapefruiTgirl 02-02-2010 03:03 AM

Hi Jim :)

Sorry if I mislead the reader, but Cygwin is not involved here in my scenario; only Slackware.

It was just that the only *reference* I located via Google, happened to be on a Cygwin mailing list.

I have cruised the xterm manpage several times, both for this issue, and just because I wanted to gather up all the other switched I am giving to my xterm when it starts; but I didn't note any particular stuff in the docs about CR/LF/newline.. Maybe I should look again?

NOTE: The xterm manpage is some 5000+ lines, so I may have missed something.

Sasha


All times are GMT -5. The time now is 08:23 PM.