Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question?
If it is not in the man pages or the how-to's this is the place! |
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.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
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.
|
|
03-13-2004, 08:29 AM
|
#1
|
LQ Newbie
Registered: Mar 2004
Location: Clearwater, FL
Posts: 4
Rep:
|
Text Mode Editor: What Choices? BASH, VI, EMACS?
Extreem
I know this is not a true Programming Forum, but this is a rather Newbie Question.
Can you use the editors like, BASH, VI, EMACS, etc. for writing C++ files? Or are they ONLY for scripts?
The main process I am writing, doesn't use a user interface. It uses interprocess communication like shared memory. But I don't need all of the graphics overhead that they KDE compiler uses. Which I think is a form a GNU.
Any help you can give will be deeply appreciated.
Thanks
LinxAI
|
|
|
03-13-2004, 08:37 AM
|
#2
|
Member
Registered: Aug 2003
Location: Dunedin NZ
Distribution: Mint 13 Cinnamon
Posts: 653
Rep:
|
C++ is only text ... right. If so, then any text editor (vi etc) should work ok.
Baldrick
|
|
|
03-13-2004, 09:01 AM
|
#3
|
LQ Newbie
Registered: Mar 2004
Location: Clearwater, FL
Posts: 4
Original Poster
Rep:
|
Thanks Baldrick65,
I had thought it might work, but I am so new to this I wasn't sure.
I know that "LinuxQuestions" doesn't cover SUSE, but I thought this was pretty generic.
Just an FYI: the gnu compiler that comes with SUSE 9 is wrapped in some kind of KDE graphics wrapper and it's driving me nuts. You tell it to create a new project and I get the garbage I get at work with windows. (1000 lines of sourcecode later and then it gives me a blank slate for writing my program) Then I can write my 2 line program. ;-p
Thanks Loads!
|
|
|
03-13-2004, 09:45 AM
|
#4
|
Senior Member
Registered: Feb 2003
Distribution: Slackware
Posts: 4,113
Rep:
|
Quote:
Originally posted by LinxAI
I know that "LinuxQuestions" doesn't cover SUSE, but I thought this was pretty generic.
|
LQ covers SuSE - SuSE just doesn't yet choose to have an official presence and, thus, a subforum. If you did have something SuSE-specific you could really post it in whatever category was most appropriate but especially in the main 'Linux - Distributions' forum as opposed to a subforum. Plenty of SuSE users and generally knowledgeable folks around to help you out.
|
|
|
03-13-2004, 01:32 PM
|
#5
|
LQ Newbie
Registered: Mar 2004
Location: Clearwater, FL
Posts: 4
Original Poster
Rep:
|
Getting that warm and fuzzy feeling!
Thanks Digiot!
After reading some of the items in the distributions forum, I guess I was feeling a little like SUSE was on the outside looking in. Very glad to see that I misunderstood what was being said.
And I shouldn't be too surprised about SUSE. Considering I have been building Applications with Microsoft .NET, I shouldn't be too surprised. Mi*****ft doesn't want to officially help anyone either.
If it weren't for forum sites like this I would be still at,
10 LET X=3
Thanks again.
LinxAI
|
|
|
03-27-2004, 03:36 PM
|
#6
|
Member
Registered: Aug 2003
Location: 63123
Distribution: OpenSuSE/Ubuntu
Posts: 419
Rep:
|
Quote:
Originally posted by LinxAI
Thanks Baldrick65,
I had thought it might work, but I am so new to this I wasn't sure.
I know that "LinuxQuestions" doesn't cover SUSE, but I thought this was pretty generic.
Just an FYI: the gnu compiler that comes with SUSE 9 is wrapped in some kind of KDE graphics wrapper and it's driving me nuts. You tell it to create a new project and I get the garbage I get at work with windows. (1000 lines of sourcecode later and then it gives me a blank slate for writing my program) Then I can write my 2 line program. ;-p
Thanks Loads!
|
Are talking about KDevelop? That isnt the GNU compiler, it is just an IDE for program development, and is very useful for GUI applications and complex multi file projects.
LinuxAI: any unix text editor, (emacs, vi, nano/pico, kwrite, etc etc) will work for kind of text file...whether it be source, .txt, scripts, etc. The only
difference is their learning curve, for a simple commandline editor I use
nano or pico. Vi and Emacs are more 'leet' editors that require reading
a manual to use, so I dont enjoy those. If you have any programming questions you can email me directly, or post in the programming forum.
|
|
|
03-27-2004, 04:17 PM
|
#7
|
Senior Member
Registered: Nov 2002
Location: pikes peak
Distribution: Slackware, LFS
Posts: 2,577
Rep:
|
Quote:
Originally posted by jinksys
Vi and Emacs are more 'leet' editors
|
No VI is not a "leet" editor.
vi/vim is the default text editor in Slackware, which is why most people use it!! but some Slack people like to use "emacs" also........it's a matter of choice, which is what linux is about, right?
|
|
|
03-27-2004, 04:22 PM
|
#8
|
Moderator
Registered: Apr 2002
Location: earth
Distribution: slackware by choice, others too :} ... android.
Posts: 23,067
|
Quote:
Originally posted by 320mb
No VI is not a "leet" editor.
|
lol
Quote:
vi/vim is the default text editor in Slackware, which is why most people use it!! but some Slack people like to use "emacs" also........it's a matter of choice, which is what linux is about, right?
|
One correction: in Slack vi is a symlink to elvis,
by default, not to vim.
Cheers,
Tink
P.S.: vi sucks :D
|
|
|
03-27-2004, 05:00 PM
|
#9
|
Member
Registered: Jun 2003
Location: Tampa, Fl
Distribution: Gentoo, Slackware
Posts: 828
Rep:
|
Quote:
Originally posted by Tinkster
P.S.: vi sucks
|
So does emacs. Thats why I use nano.
-Joey
|
|
|
03-27-2004, 05:17 PM
|
#10
|
Senior Member
Registered: Feb 2004
Location: Somerset, England
Distribution: Slackware 10.2, Slackware 10.0, Ubuntu 9.10
Posts: 1,938
Rep:
|
I'm surprised that no one has yet pointed out that Bash is not an editor, it's a shell.
|
|
|
03-27-2004, 10:03 PM
|
#11
|
LQ Addict
Registered: Dec 2003
Location: Maine, USA
Distribution: Slackware/SuSE/DSL
Posts: 1,320
Rep:
|
Bash could be an editor...in an annoyingly complicated way....with the help of some tools like cat, sed, awk, etc...
|
|
|
03-28-2004, 02:05 AM
|
#12
|
LQ Newbie
Registered: Mar 2004
Location: Salo, Finland
Distribution: Mandrake
Posts: 4
Rep:
|
I prefer nano, because it's easy to use yet being a small editor.
|
|
|
03-28-2004, 11:17 PM
|
#13
|
Member
Registered: Aug 2003
Location: 63123
Distribution: OpenSuSE/Ubuntu
Posts: 419
Rep:
|
Quote:
Originally posted by Escobar
I prefer nano, because it's easy to use yet being a small editor.
|
Exactly why I use it, it dont one thing and it does it well.
|
|
|
All times are GMT -5. The time now is 10:02 PM.
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|