LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - General
User Name
Password
Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.

Notices


Reply
  Search this Thread
Old 07-12-2004, 05:18 PM   #16
superztnt
LQ Newbie
 
Registered: Jun 2004
Location: Iowa
Distribution: Suse 9.0, Fedora Core 2
Posts: 18

Rep: Reputation: 0

1. I like the command line the best. I think it is faster and easier.

2. I like the color coding like with jedit or emacs when coding.

3. I like to use vi for viewing or modifying text files, but of course office apps have their place too.
 
Old 07-12-2004, 06:11 PM   #17
kev82
Senior Member
 
Registered: Apr 2003
Location: Lancaster, England
Distribution: Debian Etch, OS X 10.4
Posts: 1,263

Rep: Reputation: 51
1) if its a filesystem im familiar with then i tend to use the commandline but a gui can be quicker if you dont know what your looking for or if you dont have name completion (smbclient - grrr)

2&3) i dont think ive used an editor other than vim in the last few years, i carry the windows version on my usb pen just incase im at someone elses computer. i was in the mysql client earlier today just testing a new query before i copied it into a php file and i noticed i'd put "catagoories" instead of "catagories", by the time my brain caught up with me and i realised i wasnt in vim, i had already typed <ESC>2Fox$a so it is pretty fast once you can do it without concious thought.

for the majority of stuff i dont use X at all, i use a hardware terminal. this stops me from running the 3 evil programs mplayer, zsnes, and arnold(my cpc464 emulator) but ive not found a console email/news program i like so i use X for that and also general web browsing i do in X.

by jrdioko
when editing code do you use a graphical editor with nice syntax highlighting or do you prefer command-line editors.

you seem to imply command-line editors dont have syntax highlighting, i can assure you that both vim and emacs have syntax highlighting and much more than any simple editor can offer but they both have steep learning curves, and are not particularly intuitive. hence the following quote

cant remember who said this
is emacs a virus? its the only program i have ever run where the only way i could quit out of it was to reboot my computer

Last edited by kev82; 07-12-2004 at 06:13 PM.
 
Old 07-12-2004, 06:24 PM   #18
kj6loh
Member
 
Registered: Jun 2004
Posts: 47

Rep: Reputation: 17
Mostly from the command line, vi or vim is my editor of choice. Syntax highlighting? what's that?
 
Old 07-12-2004, 06:56 PM   #19
jrdioko
Member
 
Registered: Oct 2002
Distribution: Debian 6.0.2 (squeeze)
Posts: 944

Original Poster
Rep: Reputation: 30
Quote:
you seem to imply command-line editors dont have syntax highlighting, i can assure you that both vim and emacs have syntax highlighting and much more than any simple editor can offer but they both have steep learning curves, and are not particularly intuitive.
I created this post before I did enough research into vim/emacs, and I see now that they both have this functionality (and much more). At this point, I'm just trying to pick one to learn well and stick with. I mapped my Ctrl key to Caps Lock and I've tried both, but I still don't know which I prefer. They're both so different. Anyway, don't mean to start a vi vs. emacs war here, keep the replies coming.
 
Old 07-12-2004, 09:45 PM   #20
jspenguin
Member
 
Registered: Feb 2003
Location: Wichita, KS
Distribution: Heavily modified Redhat
Posts: 194

Rep: Reputation: 30
I use X (graphical) programs for the following tasks:

- Editing files (Emacs (not XEmacs though))
- Web browsing (Firefox)
- Graphics editing (Gimp)
- Watching videos (Mplayer, AAlib not quite good enough)
- Playing games
 
Old 07-13-2004, 03:39 PM   #21
plainkeyman
LQ Newbie
 
Registered: Jun 2004
Posts: 18

Rep: Reputation: 0
i always use the tab way, but i am looking for a good gui file manager (anyone?) that doesn't crash on me. always use mozilla for web browsing. i use my ~/.fluxbox/keys file to launch every program i commonly use, cli for the rest.

i code lots and use jedit, little emacs, and no vi


linuxfond:
Quote:
OK. I really need to lock up my desktop to protect it from my kids.
In the KDE there is a button on the tastbar. What is the command for it? Can I lock my screen from fluxbox?
This is needed for the survival of this system - there are plenty of little hazards on and under the table.
my ~/.fluxbox/keys file has this in it:
Code:
Mod4 l :ExecCommand xscreensaver-command -lock
 
Old 07-13-2004, 09:09 PM   #22
Lleb_KCir
Senior Member
 
Registered: Nov 2003
Location: Orlando FL
Distribution: Debian
Posts: 1,765

Rep: Reputation: 45
im way far from guru, but i am willing to answere the questions as they apply to me.

Quote:
1. Do you use a graphical file manager/browser or do everything from the command line? If you're moving/copying several files involving long pathnames and filenames, do you type everything out or "cheat" and use an app in X?
i try and use as much CLI as possible, but if i am moving more then a few files around i am more then not coming from my winXP box, so i will use winSCP and sFTP over and move them that way.

Quote:
2. For the developers out there, when editing code do you use a graphical editor with nice syntax highlighting or do you prefer command-line editors.
not a dev, but i prefer to use vi/vim or gedit. gedit is basicaly notepad for gnome so im comfortable with it. my preferance is vim when dealing with HTML (im even newer to html then i am to linux) as the colors change as you type in the code to tell you if you goofed or not.

Quote:
3. And finally, speaking of command-line editors... does anyone really use vi/vim for all text editing? I understand the importance of knowing how to use it in case you're on a machine that doesn't have the more user-friendly editors, but it seems like it just takes too long to accomplish a task that way (what with jumping back and forth to the esc button, etc.).
VI/VIM are the ONLY 2 CLI editors i even know how to use.
 
Old 07-13-2004, 09:32 PM   #23
diablo111
Member
 
Registered: Jul 2004
Location: the other side of morning
Distribution: PCLOS, Fedora Core, Slackware and Mepis.
Posts: 54

Rep: Reputation: 15
1. I use command line with tab completetion for 90% of everything I do.
2. n/a to me
3. I use vi when I'm in a non-gui run level...from the gui I prefer gedit or Kwrite and usually call it up from the command line.
 
Old 07-13-2004, 10:16 PM   #24
Joey.Dale
Member
 
Registered: Jun 2003
Location: Tampa, Fl
Distribution: Gentoo, Slackware
Posts: 828

Rep: Reputation: 39
1. cli (lots faster)

2. eclipise (gui)

3. I use nano, I know vi but don't like it

-Joey
 
Old 07-14-2004, 01:25 AM   #25
BajaNick
Senior Member
 
Registered: Jul 2003
Location: So. Cal.
Distribution: Slack 11
Posts: 1,737

Rep: Reputation: 46
Command line but I keep forgetting the commands cuz I dont use it everyday. I try to use drag and drop but most of the time I end up with permission problems so I have to use command line. I love Joe for an editor, its simple to use and learn.
 
Old 07-18-2004, 12:15 PM   #26
jailbait
LQ Guru
 
Registered: Feb 2003
Location: Virginia, USA
Distribution: Debian 12
Posts: 8,340

Rep: Reputation: 550Reputation: 550Reputation: 550Reputation: 550Reputation: 550Reputation: 550
"1. Do you use a graphical file manager/browser or do everything from the command line? If you're moving/copying several files involving long pathnames and filenames, do you type everything out or "cheat" and use an app in X?"

I use kfmclient or nautilus for file management. I use the CLI when I su root.

"2. For the developers out there, when editing code do you use a graphical editor with nice syntax highlighting or do you prefer command-line editors."

I use kwrite. I never use syntax highlighting.

"3. And finally, speaking of command-line editors... does anyone really use vi/vim for all text editing? I understand the importance of knowing how to use it in case you're on a machine that doesn't have the more user-friendly editors, but it seems like it just takes too long to accomplish a task that way (what with jumping back and forth to the esc button, etc.)."

I never use vi or vim. I don't even install them. I use mp for a command line editor.

http://www.triptico.com/software/mp.html

4. I do almost all package management with CLI rpm. Occasionally I use kpackage. I consider the various automated package managers to be modern inconveniences.

5. When answering questions on LinuxQuestions I use a lot of CLI commands in my answers because it is simply easier to fix a broken system with CLI commands.

--------------------
Steve Stites
 
Old 07-18-2004, 06:27 PM   #27
Muddy
Member
 
Registered: May 2002
Location: Ohio
Distribution: Mandrake 9.2 Custom Kernel & Mythtv!
Posts: 256

Rep: Reputation: 30
I would not say I'm a guru, but I'm more comfortable in the console than with the gui's.
 
Old 07-19-2004, 11:28 AM   #28
frob23
Senior Member
 
Registered: Jan 2004
Location: Roughly 29.467N / 81.206W
Distribution: OpenBSD, Debian, FreeBSD
Posts: 1,450

Rep: Reputation: 48
1) I use the command like for all sorts of tasks. It is just quicker. About the only thing I have a window manager open for is so I can just click to get another xterm (aterm actually) or for commonly run graphical programs like mozilla.

2) When editing code I usually use emacs. I used to be very hardcore for vi... but I have never been good fighting religious wars, I tend to see the positives for both.

3) For everything but coding I use vi[m]. That amounts to 90-95% of the time I spend in an editor these days -- I have tried to take a break from coding as it consumed too much of my life. It is small, efficient, and does what I need it to do. Oh, and if I have a paper for school and they want it in .doc format I'll open OpenOffice
 
Old 07-19-2004, 09:37 PM   #29
jpat1023
Member
 
Registered: Oct 2003
Location: USA
Distribution: Red Hat 9, Ubuntu 10; Windows Server 2003 and XP
Posts: 34

Rep: Reputation: 15
Always got a terminal open.

1. I do everything in a command line interface. It's ten times faster.

2. I'm about half and half when editing code. I like to use vi, and sometimes I use Kate because its just like an IDE except you compile with the built-in command line.

3. Anytime I edited a config file or anything I only use vi(m).
 
Old 07-19-2004, 09:58 PM   #30
chii-chan
Member
 
Registered: Sep 2003
Location: chikyuu (E103N6)
Distribution: Redhat 8.0 (2.4.25-custom), Fedora Core 1 (2.4.30-custom)
Posts: 357

Rep: Reputation: 30
I use command line only when:

1. Installing rpm files.
2. Mplayer.
3. Editing config files using vi.
4. When I want to su to root (then open nautilus from command line).
5. Compiling something.
6. When my Linux box is broken.
7. To show how 'cool' Linux is to my friends.

Other than that, I do everything in Nautilus and WindowManager interface.
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Is there a single command to list all hardware installed (command line)? davee Linux - Hardware 6 02-28-2009 07:19 PM
Command to output file content line by line aznluvsmc Programming 2 09-12-2004 07:45 PM
51 characters only in the 1st Line of command line eggCover Linux - General 2 07-29-2004 01:28 PM
Command to display whole filestructure hierarchy f/ command line? mjewell Linux - Newbie 10 01-19-2004 10:48 AM
Where is Command line utility for Cups and command tutorial mossy Linux - Software 8 01-16-2004 12:24 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - General

All times are GMT -5. The time now is 05:15 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration