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.
All of the question about where/whether Kate (or almost any other editor, IDE, or other GUI tool) exists, points to the fact that vi is about the only text editor that is virtually guaranteed to be present on any Linux/Unix host. Learning the basics of vi will serve you well if you are going to be involved in Linux as a programmer or Sys-Admin for any length of time.
My take on IDE's is that they are great as long as they are actually helping to reduce complexity. When you are at a low spot on the learning curve, they are a component that actually adds complexity, and are therefore counterproductive. When I've had to sit down at an unfamiliar IDE, I have always found myself wondering whether the problem I was trying to solve at any particular instant was actually part of the overall, real problem, or simply a lack of understanding of the tool. If possible in these circumstances, I felt a lot more comfortable when I could jump back to good old commandline tools and Makefiles, which are a lot closer to the mainstream of my knowledge base, and are revealing, rather than concealing.
--- rod.
Working with UNIX-like systems since 1991 I still happily don't know 'vi'.
My favorite editor is 'nedit'; 'nano' and 'joe' are good console editors.
the gcc and glibc manuals are great, but is there some sort of reference that for example i could search a function and get the description, list of paramaters and return variable type?
the gcc and glibc manuals are great, but is there some sort of reference that for example i could search a function and get the description, list of paramaters and return variable type?
man pages and info pages provide all of this.
To look up the details on, say, printf() :
man pages and info pages provide all of this.
To look up the details on, say, printf() :
Code:
man printf
# or...
info printf
---- rod.
Sometimes you'll need to specify e.g. man 3 printf (C functions) or man 2 read (system calls) because some functions have corresponding programs or shell built-ins (like the two I mentioned.) If it looks like you're at a command-line manpage, try either 2 or 3. Some of the more obscure glibc functions don't have manpages, however.
Quote:
Originally Posted by theNbomr
All of the question about where/whether Kate (or almost any other editor, IDE, or other GUI tool) exists, points to the fact that vi is about the only text editor that is virtually guaranteed to be present on any Linux/Unix host. Learning the basics of vi will serve you well if you are going to be involved in Linux as a programmer or Sys-Admin for any length of time.
This is a good point, altough one's primary development environment generally won't be a terminal on "some random Unix box." You can also generally count on at least one of pico, nano, jpico, or ee being on a given "modern" system. Another important thing to note is that console editors are good for editing and programming in a text-only environment; however, they're unsuitable as software development tools. In this context I define "programming" as the act of writing code and "software development" as the design and execution of multiple acts of programming in some sort of non-trivial way. Sure, you could write cat with vi, but I wouldn't expect to write a large application with it.
Kevin Barry
PS I've been meaning to get good at vi, but it "just isn't convenient."
the gcc and glibc manuals are great, but is there some sort of reference that for example i could search a function and get the description, list of paramaters and return variable type?
Your question has already been answered; anyway try
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.