ProgrammingThis forum is for all programming questions.
The question does not have to be directly related to Linux and any language is fair game.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
i'm learning C now, later C++. using DJGPP isn't so nice on MS-DOS yet, no LFNs etc. and other limitations that is only one terminal, no multitasking etc.
question:
is there a small IDE for linux console? (i'm using a celeron 333 atm). for C it would be sufficient i guess?
what i would need is a wide documentation, help on .h files, includes etc.
on MS-DOS i use RHIDE. something similar is appreciated.
later on i might use eclipse or code::blocks. read another thread about c/c++ IDE suggestions here yet, but that's too much i think for getting started.
thx for answers
regards
marquisor
PS: i don't like vi, elvis and other derivates. my favourite is jed. but if no way around, then i have to learn how to control vi *sigh*
I personally found emacs easier to pick up if you're forced to run using the command line. Other than that eclipse is a bit heavier but definitely worth it since it helps along with dependencies and other things for new coders.
Learning vi is not so difficult at all. But maybe this http://www.pegasoft.ca/tia.html is the right one for you. Besides other programming languages there is support for C and C++.
i read much about emacs. how far is this a standard? other derivates, clones, editors with same controls, keyboard shortcuts, handling?
i don't wanna "try" vi, emacs, elvis, vim etc. alltogether.
what if i would have to stick to ONE of them, what is recommended for coding?
i think i'll swallow the bitter pill and get used to emacs. or is that going to be replaced by more modern, user-friendly editors soon?
what do i have to install exactly on slackware 13.1 to get an emacs IDE running on console?
@Tinkster: sorry didn't see the sticky thread there. good stuff. but also very much for a beginner the gnome issue yes..
i read about kdevelop is dependent on kde stuff and so on. an ide without any dependencies would be best for me, as i want to have my code portable as possible, that mostly will be other windowmanagers?! MS-DOS, Windows and maybe 68k machines.
Linux boxes allow to install manpages, so help on header files and standard functions is available through 'man' command. For example:
Code:
sergei@amdam2:~> man -k stdio.h
stdio.h (0p) - standard buffered input/output
...
The bottom line: why do you need an IDE in the first place ?
interesting! but where do i get those manpages? and how to install them?
are they part of some devel-packages?
ok, nano is on my slack here, but no syntax highlighting, integrated debugger which shows src-code line where the error is etc. therefore i want an IDE! or at least a capable editor with those features
ok wrote a small hello.c program in nano, saved, cc hello.c -o hello. and i'm done, yes...
In Slackware you don't need devel-packages, development stuff is installed already with the "normal" packages. Manpages should also be installed if you install a package.
root@slack333:~# man stdio.h
No manual entry for stdio.h
what packages are installed?
only have emacs:
Code:
root@slack333:~# slackpkg search emacs
Looking for emacs in package list. Please wait... DONE
The list below shows all packages with name matching "emacs".
[ installed ] - emacs-23.2-i486-1
[uninstalled] - emacspeak-ss-1.9.1-i386-1
[uninstalled] - emacspeak-32.0-i486-1
You can search specific files using "slackpkg file-search file".
root@reactor: man -k stdio
DBD::Gofer::Transport::stream (3) - DBD::Gofer transport for stdio streaming
DBD::Gofer::Transport::stream [] (3) - DBD::Gofer transport for stdio streaming
__flbf [] (3) - interfaces to stdio FILE structure
__fpending [] (3) - interfaces to stdio FILE structure
__fpurge [] (3) - interfaces to stdio FILE structure
__freadable [] (3) - interfaces to stdio FILE structure
__freading [] (3) - interfaces to stdio FILE structure
__fsetlocking [] (3) - interfaces to stdio FILE structure
__fwritable [] (3) - interfaces to stdio FILE structure
__fwriting [] (3) - interfaces to stdio FILE structure
_fbufsize [] (3) - interfaces to stdio FILE structure
_flushlbf [] (3) - interfaces to stdio FILE structure
flockfile [] (3) - lock FILE for stdio
ftrylockfile [] (3) - lock FILE for stdio
funlockfile [] (3) - lock FILE for stdio
getc_unlocked [] (3) - non-locking stdio functions
getchar_unlocked [] (3) - non-locking stdio functions
putc_unlocked [] (3) - non-locking stdio functions
putchar_unlocked [] (3) - non-locking stdio functions
stdio [] (3) - standard input/output library functions
root@reactor:
Use man's -k (keyword) option to get all mentions of a particular keyword. The (3) indicates the page is in section (or chapter) 3 of the man pages. Most common pages are in section 8.
interesting! but where do i get those manpages? and how to install them?
...
It depends on your distro. It should have some kind of package manager, and the manager should have some kind of search function. Also, the website of your distro should have some info on packages.
One can run X on a 300MHz machine, and one can use in such a case some kind of light WEB browser, e.g. 'dillo'. The latter should be sufficient for simple sites like www.die.net - a lot manpages on it.
Last edited by Sergei Steshenko; 10-04-2010 at 02:41 PM.
yes i think i stick with emacs. have to go to find some useful .pdfs for it to get into learning it...
some tips where/how should i startup with emacs? :/
rhide on ms-dos is very nice. i'm looking for sometehing similar for linux console. debug window, feature to evaluate expressions etc.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.