EOF in Eclipse

C

Camellia

Hi all,
Can anyone please tell me how to pass an EOF signal in Eclipse? I've
googled it and searched the CDT manual but still couldn't find it. I've
tried ctrl+c and ctrl+d, they don't work.
Any suggestions are appreciated:)
 
K

Kenny McCormack

Hi all,
Can anyone please tell me how to pass an EOF signal in Eclipse? I've
googled it and searched the CDT manual but still couldn't find it. I've
tried ctrl+c and ctrl+d, they don't work.
Any suggestions are appreciated:)

Allow me to be the first to provide a helpful redirect.

You came here, because you probably thought this was comp.lang.ctrlc, but
as you can see that doesn't work. You might want to try: comp.lang.ctrld.
 
S

santosh

Camellia said:
Hi all,
Can anyone please tell me how to pass an EOF signal in Eclipse? I've
googled it and searched the CDT manual but still couldn't find it. I've
tried ctrl+c and ctrl+d, they don't work.
Any suggestions are appreciated:)

An EOF has meaning only in a command line based environment. I don't
know much about Eclipse, but from the command line under Windows and
DOS use CTRL+z. It's CTRL+d under UNIX type systems including Linux.
 
C

Camellia

Kenny McCormack wrote:
You came here, because you probably thought this was comp.lang.ctrlc, but
as you can see that doesn't work. You might want to try: comp.lang.ctrld.

Thanks for the input.
Well I tried to search for the eclipse group but ended up failed and
I've asked on the IRC channel of C & eclipse & cdt but no one knows
then I thought some people here may use eclipse to do C stuff so I just
gave it a try:)
 
C

Camellia

santosh said:
I don't know much about Eclipse, but from the command line under Windows and
DOS use CTRL+z. It's CTRL+d under UNIX type systems including Linux.

Thanks for the information.
Perhaps I should skip this little humble spot:)
 
C

CBFalconer

Camellia said:
Can anyone please tell me how to pass an EOF signal in Eclipse?
I've googled it and searched the CDT manual but still couldn't
find it. I've tried ctrl+c and ctrl+d, they don't work.
Any suggestions are appreciated:)

What's Eclipse? I see no mention of such a thing in the C
standard. I suspect you want some (unknown to me) newsgroup that
deals with Eclipse.

EOF is normally signalled with CTL-d on Linux and Unix based
systems, and with CTL-z on Windows and DOS based systems. I have
no idea what sort of system you are using.
 
J

jacob navia

CBFalconer a écrit :
What's Eclipse? I see no mention of such a thing in the C
standard. I suspect you want some (unknown to me) newsgroup that
deals with Eclipse.

EOF is normally signalled with CTL-d on Linux and Unix based
systems, and with CTL-z on Windows and DOS based systems. I have
no idea what sort of system you are using.

Eclipse is a program to fill your hard disk.

You download it, then it takes some 500MB away. But that is nothing
Chuck, your 486 will love it.

After you download those gigs and install the whole thing, you have to
DOWNLOAD again a thing called CDK to be able to edit programs in
your favorite language.

And then, (at last) the REALLY INTERESTING STUFF COMES!

You start it...

And then:

YOU WAIT!!!!!!

You wait, and you wait. And then....

YOU ARE STILL WAITING!!!!


After 5.30 Minutes waiting and thought something was wrong. Called
up the maintenance:

Me: Hello? IBM Maintenance? The debugger takes 5.30 + minutes just to
start. This is normal?

IBM Maintenance: Yes. The debugger uses Eclipse technology and it
is written in JAVA. But be patient. After the first few times
in my machine it takes only 2 minutes to start.

Me: Ahh OK. Just two minutes... OK.

The guy was right. Now the IBM debugger takes only 1 minute to start.

Afterwards it is PAINFULLY SLOW but that is JAVA and that is PROGRESS
we can't do anything about it.

Now you know what ECLIPSE is. The sun disappears, darkness is overall.

jacob
 
C

Camellia

jacob navia wrote:
[snip: eclipse is big and slow]

Well it takes fairly short to load on my laptop, about 5 seconds. And
the debugger
is bit longer. Yes as long as I have a quite small project in it:)
Could you please suggest some IDE that you think are better? I really
have no idea which one I should stick with.
 
S

santosh

Camellia said:
jacob navia wrote:
[snip: eclipse is big and slow]

Well it takes fairly short to load on my laptop, about 5 seconds. And
the debugger
is bit longer. Yes as long as I have a quite small project in it:)
Could you please suggest some IDE that you think are better? I really
have no idea which one I should stick with.

If you're not programming in multiple langauges and you don't need all
the bells and whistles of Eclipse, try code::blocks and DevC++.
Microsoft's Visual so and so environment is also available. There're
also KDevelop and Anjuta under Linux and other UNIX type systems.

You can also explore the possibility of working from a text editor like
Vim or Emacs. They're much less bloated than IDEs and provide many
powerful features for programming, especially in C.

Or you can do your editing with any text editor and invoke the compiler
and other utilities from the command line, which is the traditional
UNIX method.

I suggest trying all these methods out and using whatever is most
comfortable. But be warned that Vim and Emacs have a rather steep
learning curve. But once you've learned them, they become second nature
and more importantly, they, (Vim & Emacs), are available just about
everywhere. And unlike the other IDEs you don't need an X server
running. They can also be used in resource constrained environments
like DOS, (atleast Vim can).

You Google. You'll dig up more options than you'll have time to think
about. :)
 
S

santosh

Camellia said:
I'm in linux and ctrl+d WILL work in console, it just doesn't work in
my eclipse console.
Here's a bit about eclipse if you're interested:
http://en.wikipedia.org/wiki/Eclipse_(software)

Why don't you browse around on Eclipse's official website. I'm sure
this issue has come up and has been resolved long before now. Search
for any forums or mailing lists on Eclipse and ask this question on
them after subscribing.

As this group attracts a lot of C programmers working in diverse
environments, it's likely that most are not acquainted with Eclipse.
You'll get a much better response if you post to an Eclipse or even an
IDE specific group.
 
C

Camellia

santosh wrote:
I suggest trying all these methods out and using whatever is most
comfortable. But be warned that Vim and Emacs have a rather steep
learning curve. But once you've learned them, they become second nature
and more importantly, they, (Vim & Emacs), are available just about
everywhere. And unlike the other IDEs you don't need an X server
running. They can also be used in resource constrained environments
like DOS, (atleast Vim can).

Thank you I'll stick with Vim as always:)
I'm not. Did you fail to read my comment that Eclipse is off-topic
here? This newsgroup deals with the ISO standard C language, not
unknown things.

Sorry I'll stop right here:)
 
S

santosh

Camellia said:
santosh wrote:


Thank you I'll stick with Vim as always:)
<snip>

It's blasphemy for a True Vim'mer to even consider such fancy and
new-fangled notions as an IDE :)
 
C

Chris Dollin

jacob said:
Eclipse is a program to fill your hard disk.

You download it, then it takes some 500MB away.

cd ~/eclipse
du -h .

(nested output ending with)

139M .

Perhaps it's different under Windows.
After you download those gigs and install the whole thing, you have to
DOWNLOAD again a thing called CDK to be able to edit programs in
your favorite language.

Gosh. How shocking, that an IDE should need a plugin loaded
for a language other than its native one.
And then, (at last) the REALLY INTERESTING STUFF COMES!
(fx:snip)

After 5.30 Minutes waiting and thought something was wrong.

Something certainly was. Never took 5mins on either of my
boxes.

Eclipse is certainly chunky when running, though.

[The version of the C[++] tools I have on my other box is,
sadly, nowhere near as useful as the Java tools are,
although the syntax highlighting and post-compile-message-display
is handy, but what I /really/ want is refactoring & unit-test
support and it isn't there yet [for values of "yet" that mean
"when I downloaded it several months ago"].
]
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
473,997
Messages
2,570,239
Members
46,827
Latest member
DMUK_Beginner

Latest Threads

Top