Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Newcomers » Newcomers » Shell Enters Twice?(When I launch a shell to a remote system it always enters twice when I hit enter once. )
Shell Enters Twice? [message #1728992] Sat, 09 April 2016 03:51 Go to next message
Syd Koncz is currently offline Syd KonczFriend
Messages: 2
Registered: April 2016
Junior Member
Hi everyone,
I'm super new to Eclipse. Like really new.
I was just messing around with SSH and remote systems and I found that when I launch a shell to a remote system and I hit enter in the terminal it enters twice.

For instance when I run a program and it requires input twice for a name and number, I type the name hit enter and then it enters automatically again effectively skipping the second input.

Help?

Thanks so much!


Syd
Re: Shell Enters Twice? [message #1729048 is a reply to message #1728992] Sun, 10 April 2016 08:33 Go to previous messageGo to next message
Ed Merks is currently offline Ed MerksFriend
Messages: 33137
Registered: July 2009
Senior Member
Syd,

Perhaps you're on Windows and it's sending carriage return and linefeed
which the receiver interprets as two "enter-type" events.


On 09.04.2016 23:18, Syd Koncz wrote:
> Hi everyone, I'm super new to Eclipse. Like really new. I was just
> messing around with SSH and remote systems and I found that when I
> launch a shell to a remote system and I hit enter in the terminal it
> enters twice.
> For instance when I run a program and it requires input twice for a
> name and number, I type the name hit enter and then it enters
> automatically again effectively skipping the second input.
> Help?
>
> Thanks so much!
>
> Syd


Ed Merks
Professional Support: https://www.macromodeling.com/
Re: Shell Enters Twice? [message #1729085 is a reply to message #1729048] Mon, 11 April 2016 05:19 Go to previous messageGo to next message
Syd Koncz is currently offline Syd KonczFriend
Messages: 2
Registered: April 2016
Junior Member
How would I change that?


I'm running Eclipse on Linux.

[Updated on: Mon, 11 April 2016 05:20]

Report message to a moderator

Re: Shell Enters Twice? [message #1729093 is a reply to message #1729085] Mon, 11 April 2016 07:07 Go to previous messageGo to next message
Ed Merks is currently offline Ed MerksFriend
Messages: 33137
Registered: July 2009
Senior Member
Syd,

I would confirm the behavior in the program first. What exact
characters it is seeing. Is it able to deal with \r\n? In the terminal
try to see what Ctrl-N and Ctrl-R induce for behavior in your program.

On 11.04.2016 07:19, Syd Koncz wrote:
> How would I change that?


Ed Merks
Professional Support: https://www.macromodeling.com/
Re: Shell Enters Twice? [message #1729106 is a reply to message #1729093] Mon, 11 April 2016 08:58 Go to previous messageGo to next message
Tauno Voipio is currently offline Tauno VoipioFriend
Messages: 742
Registered: August 2014
Senior Member
Ed Merks wrote on Mon, 11 April 2016 10:07
Syd,

I would confirm the behavior in the program first. What exact
characters it is seeing. Is it able to deal with \r\n? In the terminal
try to see what Ctrl-N and Ctrl-R induce for behavior in your program.

On 11.04.2016 07:19, Syd Koncz wrote:
> How would I change that?


A little correction: '\n' is Control-J and '\r' is Control-M.


--

Tauno Voipio
Re: Shell Enters Twice? [message #1729112 is a reply to message #1729106] Mon, 11 April 2016 09:47 Go to previous message
Ed Merks is currently offline Ed MerksFriend
Messages: 33137
Registered: July 2009
Senior Member
Oop, yes, I should have checked my ASCII table. :-P

On 11.04.2016 10:58, Tauno Voipio wrote:
> Ed Merks wrote on Mon, 11 April 2016 10:07
>> Syd,
>>
>> I would confirm the behavior in the program first. What exact
>> characters it is seeing. Is it able to deal with \r\n? In the
>> terminal try to see what Ctrl-N and Ctrl-R induce for behavior in
>> your program.
>>
>> On 11.04.2016 07:19, Syd Koncz wrote:
>> > How would I change that?
>
>
> A little correction: '\n' is Control-J and '\r' is Control-M.
>


Ed Merks
Professional Support: https://www.macromodeling.com/
Previous Topic:vault pugin install
Next Topic:eclipse.ini JVM setting keeps getting removed.
Goto Forum:
  


Current Time: Fri Apr 19 12:29:11 GMT 2024

Powered by FUDForum. Page generated in 0.02922 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top