I want to write Web pages with PHP, HTML, MySQL and Javascript. I've been wondering about what editor to use in my developement. I have suse linux so it would have to run on linux. I am used to Windows so I am thinking that I should use Quanta. But there are the emac and xmac and the vi editors. I am not familiar with how those work, but would I be missing out on them if I decide not to use them? Would they be better than Quanta or Bluefish? See I'm trying to figure out what would be best. I plan to do lots of Web development. Also, as a side not. I really don't understand emac or vi. Why would I want to use key board commands to navigate in text files when I can have a GUI to do everything? Does emac or vi have any advantage from me just using kate in KDE? Why should I use emac or vi when I can use a text editor in a GUI? I just don't want to miss something here. I don't care about linux or windows, I just care about making web sites, so I'm looking for an editor for that. Does anybody have any suggestions? Nick _________________________________________________________________ MSN Movies - Trailers, showtimes, DVD's, and the latest news from Hollywood! http://movies.msn.click-url.com/go/onm00200509ave/direct/01/
Nick Mudge wrote:
Also, as a side not. I really don't understand emac or vi. Why would I want to use key board commands to navigate in text files when I can have a GUI to do everything? Does emac or vi have any advantage from me just using kate in KDE? Why should I use emac or vi when I can use a text editor in a GUI? I just don't want to miss something here.
emacs and vi date from when Unix computers generally did not have mice and ran on text consoles. There are versions of them that have extensive GUI features - the one I use most is XEmacs - and so many of the standard GUI editing features are available. The main advantage of these text editors is efficiency. If you are writing programs, it is often faster to edit with the keyboard. For example, emacs and vi let you delete to the next comma, delete 17 lines, select 300 lines and write them to a separate file - all in a few keystrokes. The downside of this is that you have to learn the keystrokes. A reasonable comparison is between touch typing and the approach most of us use. There are other advantages. Emacs and vi support text highlighting in lots of languages including HTML. They also support a lot of programmers' features: for example, emacs lets you compile and debug programs and can jump straight to problem lines of code. I've not yet found that emacs/vi are ideal for writing web pages, though they are improving. You might want to try bluefish of quanta instead, especially if you don't want to spend the time learning a new editor. I think the best editor is probably still DreamWeaver. You ought to can run that through DreamWeaver if you want all the benefits of a Linux platform. -- JDL
On Sat, 2004-06-19 at 09:54, John Lamb wrote: <snip> .. </snip>
emacs and vi date from when Unix computers generally did not have mice and ran on text consoles. There are versions of them that have extensive GUI features - the one I use most is XEmacs - and so many of the standard GUI editing features are available.
I've not yet found that emacs/vi are ideal for writing web pages, though they are improving. You might want to try bluefish of quanta instead, especially if you don't want to spend the time learning a new editor. I think the best editor is probably still DreamWeaver. You ought to can run that through DreamWeaver if you want all the benefits of a Linux platform.
-- JDL
You could also try NVu. http://www.nvu.com/ Rudolf
Rudolf Schnetler wrote:
On Sat, 2004-06-19 at 09:54, John Lamb wrote: <snip> .. </snip>
emacs and vi date from when Unix computers generally did not have mice and ran on text consoles. There are versions of them that have extensive GUI features - the one I use most is XEmacs - and so many of the standard GUI editing features are available.
I've not yet found that emacs/vi are ideal for writing web pages, though they are improving. You might want to try bluefish of quanta instead, especially if you don't want to spend the time learning a new editor. I think the best editor is probably still DreamWeaver. You ought to can run that through DreamWeaver if you want all the benefits of a Linux platform.
-- JDL
You could also try NVu. http://www.nvu.com/
Rudolf
I have had brief goes with bluefish, quanta, nvu and CoffeeCup. All seem reasonable, though CoffeeCup seems more designed for novices such as I, but probably worth a look anyhow. Regards Sid. -- Sid Boyce .... Hamradio G3VBV and keen Flyer ===== LINUX ONLY USED HERE =====
Op zaterdag 19 juni 2004 08:12, schreef Nick Mudge:
I want to write Web pages with PHP, HTML, MySQL and Javascript. I've been wondering about what editor to use in my developement. I have suse linux so it would have to run on linux. I am used to Windows so I am thinking that I should use Quanta. But there are the emac and xmac and the vi editors. I am not familiar with how those work, but would I be missing out on them if I decide not to use them? Would they be better than Quanta or Bluefish? See I'm trying to figure out what would be best. I plan to do lots of Web development.
Also, as a side not. I really don't understand emac or vi. Why would I want to use key board commands to navigate in text files when I can have a GUI to do everything? Does emac or vi have any advantage from me just using kate in KDE? Why should I use emac or vi when I can use a text editor in a GUI? I just don't want to miss something here.
I don't care about linux or windows, I just care about making web sites, so I'm looking for an editor for that. Does anybody have any suggestions?
Nick
_________________________________________________________________ MSN Movies - Trailers, showtimes, DVD's, and the latest news from Hollywood! http://movies.msn.click-url.com/go/onm00200509ave/direct/01/
For designing web pages I think nothing beats Quanta with its built in documentation of about everything and its upload/download facilties and project management. (probably can be done with emacs too after a crash course in LISP) Now why would anyone use vi(m) or emacs? Most likely because she has done so for like 30 years, although then she probably would consider vi for sissies and still use ed. :-) They are wonderful for complex substitutions in mutliple places. (A vi user does not need a dos2unix utility for instance: he loads the file and types :%s/.$/<ENTER> Then ZZ. Don't ask) And if you suddenly decide to redesign your site and haven't used .css (your bad luck) you might find yourself craving for sed to do a simple substitution on 100 files. So the answer is as usual... It depends. Best regards, -- Jos van Kan
Have you been around long enough to remember WordStar? Remember how hard it was to learn? Well square that and you have VI or EMACS. And WordStar was pretty friendly, when you learned it. Not these ancient UNIX things. Clumsy is the word! --doug On Saturday 19 June 2004 02:12, Nick Mudge wrote:
I want to write Web pages with PHP, HTML, MySQL and Javascript. I've been wondering about what editor to use in my developement. I have suse linux so it would have to run on linux. I am used to Windows so I am thinking that I should use Quanta. But there are the emac and xmac and the vi editors. I am not familiar with how those work, but would I be missing out on them if I decide not to use them?��Would�they�be�better�than�Quanta�or�Bluefish?�� See�I'm�trying�to�figure�out�what�would�be�best.�I�plan�to�do��� ���lots of Web development.
Also, as a side not. I really don't understand emac or vi. Why would I want to use key board commands to navigate in text files when I can have a GUI to do everything? Does emac or vi have any advantage from me just using kate in KDE? Why should I use emac or vi when I can use a text editor in a GUI? I just don't want to miss something here.
I don't care about linux or windows, I just care about making web sites, so I'm looking for an editor for that. Does anybody have any suggestions?
Nick
_________________________________________________________________ MSN Movies - Trailers, showtimes, DVD's, and the latest news from Hollywood! http://movies.msn.click-url.com/go/onm00200509ave/direct/01/
Doug McGarrett wrote:
Have you been around long enough to remember WordStar? Remember how hard it was to learn? Well square that and you have VI or EMACS. And WordStar was pretty friendly, when you learned it. Not these ancient UNIX things. Clumsy is the word! --doug
I'm just now learning VI, but it _DOES_ offer easy capitalization changes - assuming you're in command mode. Even the "great" word processors don't offer that feature by default! I definitely see the advantages VI offers over other text editors. As has been said, several times, you have to know the commands. The author of the tutorial I'm reading through says he gets by on just 10% of the commands. That might be all I have time to learn. :-) -- Don Parris Webmaster Matheteuo Christian Fellowship Charlotte, NC http://matheteuo.org/ webdev@matheteuo.org
Brad Bendily wrote:
times, you have to know the commands. The author of the tutorial I'm reading through says he gets by on just 10% of the commands. That might be all I have time to learn. :-)
where's the tutorial? BB
http://www.vim.org/docs.php Try the book. It's actually fairly well written. I'm impressed! -- Don Parris Webmaster Matheteuo Christian Fellowship Charlotte, NC http://matheteuo.org/ webdev@matheteuo.org
* Brad Bendily <__at__dot__> [06-19-04 23:22]:
where's the tutorial?
in /usr/bin the *name* of the tutorial, in case that is what you *really* wanted to know, is vimtutor. -- Patrick Shanahan Registered Linux User #207535 http://wahoo.no-ip.org @ http://counter.li.org HOG # US1244711 Photo Album: http://wahoo.no-ip.org/photos
On Sat, 19 Jun 2004, Patrick Shanahan wrote:
* Brad Bendily <__at__dot__> [06-19-04 23:22]:
where's the tutorial?
in /usr/bin
the *name* of the tutorial, in case that is what you *really* wanted to know, is vimtutor.
I've been using vi for a few years now. I've pretty much conqeured everything in that tutorial. It would hvae been real helpful about 4 years ago. But still I learned a couple things from it. Very nice I'll be sure to pass it around to all the newbies I know! i'm curious if anyone knows how to do a "and" search in vi? for instance I want to find a sentence that has the text "file and paper" in it? I don't have a problem using the "typical" vi functions, it's just the "power" stuff that I can't wrap my head around. bb
Brad Bendily wrote:
On Sat, 19 Jun 2004, Patrick Shanahan wrote:
* Brad Bendily <__at__dot__> [06-19-04 23:22]:
where's the tutorial?
in /usr/bin
the *name* of the tutorial, in case that is what you *really* wanted to know, is vimtutor.
I've been using vi for a few years now. I've pretty much conqeured everything in that tutorial. It would hvae been real helpful about 4 years ago. But still I learned a couple things from it. Very nice I'll be sure to pass it around to all the newbies I know!
i'm curious if anyone knows how to do a "and" search in vi?
for instance I want to find a sentence that has the text "file and paper" in it?
I don't have a problem using the "typical" vi functions, it's just the "power" stuff that I can't wrap my head around.
bb
ESCape if you are in entry mode. /file and paper <Enter> Regards Sid. -- Sid Boyce .... Hamradio G3VBV and keen Flyer ===== LINUX ONLY USED HERE =====
i'm curious if anyone knows how to do a "and" search in vi?
for instance I want to find a sentence that has the text "file and paper" in it?
I don't have a problem using the "typical" vi functions, it's just the "power" stuff that I can't wrap my head around.
bb
ESCape if you are in entry mode. /file and paper <Enter> Regards Sid.
Actually i didn't ask the right question I would like a search that finds every line with the words "file" and "paper" . so a search for /file and paper looks for that exact string. i want to find lines with both words on it and not just one? BB
On Sunday 20 June 2004 23:08, Brad Bendily wrote:
Actually i didn't ask the right question I would like a search that finds every line with the words "file" and "paper" .
so a search for /file and paper looks for that exact string.
i want to find lines with both words on it and not just one?
Could one use the :grep command for this perhaps?
On Sunday 20 June 2004 23:08, Brad Bendily wrote:
Actually i didn't ask the right question I would like a search that finds every line with the words "file" and "paper" .
so a search for /file and paper looks for that exact string.
i want to find lines with both words on it and not just one?
The search item is a regular expression and it is line oriented, so to find a line that contains both "file" and "paper" (which implies any number of characters in between), do this: /file.*paper -- Regards, Faber Linux New Jersey: Open Source Solutions for New Jersey http://www.linuxnj.com
The search item is a regular expression and it is line oriented, so to find a line that contains both "file" and "paper" (which implies any number of characters in between), do this:
/file.*paper
sweet. that's exactly what i was looking for. thanks a lot! BB
On Sunday 20 June 2004 19:04, Brad Bendily wrote:
i'm curious if anyone knows how to do a "and" search in vi?
for instance I want to find a sentence that has the text "file and paper" in it?
I'm just learning vim but (from the tutorial) Lesson 6.4: SET OPTION ** Set an option so a search or substitute ignores case ** 1. Search for 'ignore' by entering: /ignore Repeat several times by hitting the n key 2. Set the 'ic' (Ignore case) option by typing: :set ic 3. Now search for 'ignore' again by entering: n Repeat search several more times by hitting the n key 4. Set the 'hlsearch' and 'incsearch' options: :set hls is 5. Now enter the search command again, and see what happens: /ignore As I say, I only know this because I was doing the tutorial today.
Don Parris wrote:
Doug McGarrett wrote:
Have you been around long enough to remember WordStar? Remember how hard it was to learn? Well square that and you have VI or EMACS. And WordStar was pretty friendly, when you learned it. Not these ancient UNIX things. Clumsy is the word! --doug
I'm just now learning VI, but it _DOES_ offer easy capitalization changes - assuming you're in command mode. Even the "great" word processors don't offer that feature by default! I definitely see the advantages VI offers over other text editors. As has been said, several times, you have to know the commands. The author of the tutorial I'm reading through says he gets by on just 10% of the commands. That might be all I have time to learn. :-)
I've been using vi for over 21 years and I only use a small subset of the commands, just what's necessary to insert, delete, save, replace, page up/page down and that's about it. It's been said in the trade that the one thing that impeded the progress of Unix was the lack of a decent text editor and life is too short to fully learn vi. If Unix guys had designed screwdrivers the way they made editors, you'd need a 3 week course in order to use one properly. Then you come to Solaris and find they still teach "ksh -o vi" to recall and edit the command line, here I've been a refusenik, if I bring up bash, I find guys opening another window so they can use dead-bug-ugly ksh. I fully taught people to use the mainframe editor MVS/SPF in 5 minutes flat, there was also a clone for DOS/Windows called SPF/PC that I used to demo to amazed Linux guys to show them what a text editor should be capable of. When I have any heavy editing to do in Linux, global replacements, etc., I use cooledit. Regards Sid. -- Sid Boyce .... Hamradio G3VBV and keen Flyer ===== LINUX ONLY USED HERE =====
On Saturday 19 June 2004 05:20 pm, Don Parris wrote:
Doug McGarrett wrote:
I'm just now learning VI, but it _DOES_ offer easy capitalization changes - assuming you're in command mode. Even the "great" word processors don't offer that feature by default! I definitely see the advantages VI offers over other text editors. As has been said, several times, you have to know the commands. The author of the tutorial I'm reading through says he gets by on just 10% of the commands. That might be all I have time to learn. :-)
-- Don Parris Webmaster
Take a look at kvim Jerome
On Fri, 2004-06-18 at 23:12, Nick Mudge wrote:
I want to write Web pages with PHP, HTML, MySQL and Javascript. I've been wondering about what editor to use in my developement. I have suse linux so it would have to run on linux. I am used to Windows so I am thinking that I should use Quanta. But there are the emac and xmac and the vi editors. I am not familiar with how those work, but would I be missing out on them if I decide not to use them?WouldtheybebetterthanQuantaorBluefish? SeeI'mtryingtofigureoutwhatwouldbebest.Iplantodolots of Web development.
Also, as a side not. I really don't understand emac or vi. Why would I want to use key board commands to navigate in text files when I can have a GUI to do everything? Does emac or vi have any advantage from me just using kate in KDE? Why should I use emac or vi when I can use a text editor in a GUI? I just don't want to miss something here.
I don't care about linux or windows, I just care about making web sites, so I'm looking for an editor for that. Does anybody have any suggestions?
Nick
I was taught manual editing; no frontpage; so for me Quanta is fine if you need large changes or testing F6 lets you toggle view as page and back to code without saving. for a small change kedit is just fine it depends upon your coding style. I like paragraphs which run off the page so I can see more coding in a frame before scrolling. Then there is kwrite, nedit and gedit. Just my opinion. CWSIV
Op dinsdag 22 juni 2004 06:27, schreef Carl William Spitzer IV:
I like paragraphs which run off the page so I can see more coding in a frame before scrolling. Then there is kwrite, nedit and gedit.
there is kate as well. This let you fold functions, and split screens so one can work in different locations in the document at the same time. -- Richard Bos Without a home the journey is endless
* Richard Bos
Op dinsdag 22 juni 2004 06:27, schreef Carl William Spitzer IV:
I like paragraphs which run off the page so I can see more coding in a frame before scrolling. Then there is kwrite, nedit and gedit.
there is kate as well. This let you fold functions, and split screens so one can work in different locations in the document at the same time.
And there is 'fte' which will also fold functions, split screens and provide syntax highlighting with macro capability. -- Patrick Shanahan Registered Linux User #207535 http://wahoo.no-ip.org @ http://counter.li.org HOG # US1244711 Photo Album: http://wahoo.no-ip.org/photos
Of course there is the "commercial" solution. Visual SlickEdit (www.slickedit.com) It is by far the best editor I've used. It costs $299 in US for Linux and is well, well worth it. That is all we use here on M$ & Linux boxes both. If you are already familiar with M$ products like Visual Studio, this will be a breeze to use. 2cents> B-) On Tuesday 22 June 2004 01:14 pm, Patrick Shanahan wrote:
* Richard Bos
[06-22-04 14:06]: Op dinsdag 22 juni 2004 06:27, schreef Carl William Spitzer IV:
I like paragraphs which run off the page so I can see more coding in a frame before scrolling. Then there is kwrite, nedit and gedit.
there is kate as well. This let you fold functions, and split screens so one can work in different locations in the document at the same time.
And there is 'fte' which will also fold functions, split screens and provide syntax highlighting with macro capability.
-- Patrick Shanahan Registered Linux User #207535 http://wahoo.no-ip.org @ http://counter.li.org HOG # US1244711 Photo Album: http://wahoo.no-ip.org/photos
participants (15)
-
Brad Bendily
-
Brad Bourn
-
Carl William Spitzer IV
-
Don Parris
-
Doug McGarrett
-
Faber Fedor
-
Jake
-
Jerome Lyles
-
John Lamb
-
Jos van Kan
-
Nick Mudge
-
Patrick Shanahan
-
Richard Bos
-
Rudolf Schnetler
-
Sid Boyce