| 3:46 am on Mar 10, 2003 (gmt 0)|
Seriously, vi. Do everything on the server remotely, multiple windows possible, I can access my code from any machine, with vim there is color coding, I can change and run. Once stuff is working just copy it from the development directory to the working directory...no messy uploads.
| 4:17 am on Mar 10, 2003 (gmt 0)|
working directly on the server has many benefits. No need to upload being the main one. it's always good to develop on a nix machine running a server with perl php mysql ect installed. Always good to have as close a match as possible on your development server to the environment you have on your true server.
| 4:29 am on Mar 10, 2003 (gmt 0)|
textpad, love it
| 4:35 am on Mar 10, 2003 (gmt 0)|
Site search on "favorite editor" and "text editor".
We've had quite a few threads on the subject.
| 10:24 am on Mar 10, 2003 (gmt 0)|
locally: nedit -- very stable, fully featured
remote : vi - its everywhere!
| 12:25 pm on Mar 10, 2003 (gmt 0)|
working on the server side is great
but if y work on a win machine, you shoud try edit+
you can also use codecharge for routine forms related coding (admin interfaces and stuff like that)it speeds up je job all while generating very clean code
| 1:02 pm on Mar 10, 2003 (gmt 0)|
Nothing beats GNU Emacs. It even has a built in psychologist if you get too frustrated.
| 7:14 am on Mar 11, 2003 (gmt 0)|
I second TextPad (and Introduced jatar_k to it myself) :-P
| 7:17 am on Mar 11, 2003 (gmt 0)|
If I have to just to tweak something I use Notepad. If it's something serious I use jatar_k ;)
| 7:33 am on Mar 11, 2003 (gmt 0)|
Hahaha... Yeah, I seem to call upon him myself frequently.
| 8:21 am on Mar 11, 2003 (gmt 0)|
I prefer to use pico when ssh'ing into the remote unix server as vi offers so many commands i only know the basics ;)
| 3:39 pm on Mar 11, 2003 (gmt 0)|
In order of preference I use:
One of my first experiences of vi, years ago, left permanent scars. I got into it by accident (The default editor is *what*?), while su'ed to root on my high school's server. I promptly did several things I knew I didn't want to save, couldn't figure out how to exit, so I telneted in from another machine and killed the vi process. Vi then e-mailed me about how it had saved my mess for me and would be happy to recover it every day for a month or so until I finally got my hands on a reference for the darned editor and figured out how to make it stop. Ever since then, it's been at the bottom of my list of editors to try.
| 8:17 pm on Mar 11, 2003 (gmt 0)|
I'm so ingrained in emacs, I often find myself trying to move around text boxes like this using emacs commands.
| 8:47 pm on Mar 11, 2003 (gmt 0)|
And ain't it annoying that C-e launches the mail client in Opera?
Most of the high frequency key combos from (x)Emacs turn out to work in Moz/Gecko for Linux, as well as a whole slew of other *nix programs. Heck, they work in Bash command-line editing. What more reason could you need to learn Emacs?
| 8:48 pm on Mar 11, 2003 (gmt 0)|
< Religious War >
Instead of just touting the best editor (which is, incidentally, vi), let's bring this up a notch.
Things to consider: GUI or Command line and Novice or Expert?
Under a GUI: if Windows, I recommend UltraEdit32 (not free) or TextPad. My friends pimp Visual Slickedit at me. If Mac, BBEdit or Alpha. In Unix: there's no "defacto" GUI editors in UNIX guis that I know of...
CLI: I pimp vi because I feel it's a text editor, just like it's supposed to be: Lightweight and flexible. There is GNU Nano, mx and Emacs, too (but mx is way too hard on the hands, IMO).
Now, for the bigger question, Novice or Expert. Textpad is great for Novices, Ultraedit and Visual Slickedit have too many configuration options and are too confusing if you haven't used them for years. Same with Alpha, though I find BBEdit is very close good at appealing to novice users and experienced users alike. Under a command line, 'pico' is king if you don't want to have to memorize a book of commands.
For experts: The holy war between i and emacs has existed since 1984, and before that it was vi vs. teco (of which emacs is decended). The service two very different camps: the old school of many small programs working in concert (vi) and fluid integration (emacs). vi is veru much a programmer's editor and is focused to the point of being obtuse at times. Emacs has the kitchen sink vibe, which is a reason many people don't use it.
When looking for an editor: If I was looking for en editor, these are the points to consider:
* What platforms will I be using it on? Do I want it to run on multiple platforms?
* Menus or Keystrokes? Decide if you have a preference for either and choose editors accordingly because I have yet to see one where Mouse CLicks and Keystrokes are represented evenly.
* Speed or Features? Again with vi vs. emacs: Do you want a small, fast tense editor that is focused on one purpose, or so you want a larger tool that can handle other functions for you by itself?
* Cost? Duh, this is obvious. UltraEdit is like 80 bucks, BBEdit is the same, IIRC. But they're well crafted tools, so you have to decide if it's worth it to you to pay for it.
| 12:36 am on Mar 15, 2003 (gmt 0)|
i am a Macintosh user and for writting perl cgi i use the program:Text-Edit Plus ...
I use it for reading all text files and docs...
but if any can recommand a beter to on Macintosh for writting perl let me know ...
| 5:47 pm on Mar 15, 2003 (gmt 0)|
Didn't mean to start a holy war - my anecdote was mostly for fun. Laugh at the high school student who was scared to death by what is actually a nice auto-recover feature :)
I assume that if you really know vi, it's modality becomes a feature rather than a bug? If someone is trying to decide between the two, it might help them to know a bit about it. I can't really help, since I don't use it.
I'm also a little suprised by your characterization of vi and emacs as command-line only editors. Most of the time when I start either flavor of Emacs I get a new window with scrollbars, a menu bar, and a tool bar from which most things can be accomplished, and I just started Elvis to confirm that it had at least a tool bar and scroll bar. I've also pointed and clicked at various things that use terminal interfaces, so the distinction doesn't seem to be very strong. (Unless you want to get into proportional fonts, but who needs proportional fonts for text-editing?)
| 6:30 pm on Mar 15, 2003 (gmt 0)|
Sitting on a Win/PC, I use Perl Builder/PHP builder for testing my perl/php script before uploading them. I don't like those for coding, but they let me run the scripts (as long as you have perl/php installed). Actually, I do a lot of command line testing, but use the programs for advanced scripts/functions.
| 6:58 pm on Mar 15, 2003 (gmt 0)|
If you are on Linux, nice GUI editors for doing all the HTML/PHP/Perl stuff is Bluefish (GTK2) [bluefish.openoffice.nl] and Quanta Plus (Qt) [quanta.sourceforge.net], both are free and running well on Linux/KDE.
| 8:25 pm on Mar 15, 2003 (gmt 0)|
Okay, you're right, I was unfaily characterizing Emacs and vi as text based editors; by that I mean that they were originally keyboard only, no mouse, few menus. I know there is emacs for X (which I have never used) and many varieties gvim (which I think suck , personally :)). I don't use them in gui mode or menu mode because of that thing I said before about gui versus text -- if it was designed to be a keybard interface in the begining, that's that way it should stay becase I have yet to find one that can play in both worlds well.
Of course, I still play "adventure" on an Apple ][, so grains of salt apply :)
I know you weren't trying to start a holy war, but when you ask coders which editor is the "best" it almost inevetiably degrades to that. I just wanted to put something down more meaningful than "vi rules and emacs sucks!"
| 11:43 pm on Mar 16, 2003 (gmt 0)|
I use PFE (Programmers File Editor), it was the first neat (doesnt need installing) and free editor that I found which did the things i needed such as line numbers and unix format.
Its not been updated for a few years but I still use it, habit perhaps and after all it still does what I need.
| 12:00 am on Mar 17, 2003 (gmt 0)|
Seens as you all seem to be Unix/Linux/Perl/php I just wanna put my Win/ASP size 9's in for a mo
I have used a variety of tools over time, textpad being a great favourite at one point, but now use Microsoft InterDev for ASP/HTML (I always write in pure code, no WYSIWYG)
Having started in the work of Unix/Perl/C I have started using Emacs, which I hate and PFE which is a good little app, but it doesn't support Syntax Highlighting which is really annoying and confusing