Slashdot Mirror


Why this? Yet Another vi-based Editor?

Poizon writes "The guys from freehackers.org have begun developing yet another vi-like editor, called Yzis (speak: "Why this?"). Their primary goal is to seperate the text processing engine and the GUI, in order to be able to integrate it into window managers like KDE as a native component. They have previously worked on KVim, a Vim port to KDE, so chances are good that they will succeed with Yzis. Sounds interesting, doesn't it?"

120 comments

  1. Not really by keesh · · Score: 4, Informative

    This is one of the things Vim 7 will do. And really, I couldn't bear going back to plain old vi after having used vim for so long. Too many features missing...

    1. Re:Not really by Cthefuture · · Score: 2, Interesting

      I was thinking the same thing. Maybe they are suffering from Not Invented Here syndrome.

      With that said, I wouldn't mind having a VI-like editor intregrated into Kdevelop. I like Kdevelop and the Visual-Studio-like features, but I often sorely miss my Vim functionality and I end up being forced to switch back and forth between a terminal and Kdevelop.

      --
      The ratio of people to cake is too big
    2. Re:Not really by Michael.Forman · · Score: 3, Insightful


      I desperately would like to see the integration of multimode text editors into more GUIs. Right now there is a usability ceiling built into GUIs. They're designed for beginning and intermediate users with no advanced user features. The productivity jump I gained from moving from a standard text editor to vi was profound. Now I'm forced to dumb it down in GUIs.

      Michael.

      --
      Linux : Mac :: VW : Mercedes
    3. Re:Not really by nwbvt · · Score: 1
      From the website:
      Yzis is a new editor "vim-like". The idea behind Yzis is to develop a powerful, fast editor featuring most of Vim features and hopefully more.
      --
      Mathematics is made of 50 percent formulas, 50 percent proofs, and 50 percent imagination.
    4. Re:Not really by drinkypoo · · Score: 2, Interesting

      I got the impression you could easily do this with vim already, which is why vim is now three separate projects kinda: vim-core, vim, and gvim. Couldn't they just wrap vim-core up and make it into a component right now?

      --
      "You're right," Fisheye says. "I should have set it on 'whip' or 'chop.'"
    5. Re:Not really by Anonymous Coward · · Score: 0

      There is a vi Kpart for KDE.

    6. Re:Not really by Anonymous Coward · · Score: 0

      There are plenty of good, GUI-based, programmers' editors. CodeWright and SlickEdit to name a couple. (XEmacs may be stretching the point a bit too far.)

      Of course, everyone who wasn't writing Yet Another IRC Client and his grandmother wrote Yet Another Text Editor, so there are free-beer choices, too.

      You're just using the wrong tools.

    7. Re:Not really by harikiri · · Score: 3, Informative
      Apparently, because Kvim is kparts-enabled behind the scenes, you can use it as the default editor for Kdevelop, just like Kate.

      In fact, after a brief look at the FAQ for Kvim:

      What's an editor component ?

      A component is a subpart of an application that you can embed dynamically in other applications. Making KVim available as a Kde component means that every Kde application will be able to embed Vim when it needs an editor : KDevelop, mail clients, news clients, ...

      PS, More IDE's need vi(m) support!!!

      --
      Man watching 6 MSCE's around a sun box, looks alot like the opening scene's of 2001:space odyssey...
    8. Re:Not really by Anonymous Coward · · Score: 0

      He's not using the wrong tool. Whether or not you think vi is a good editor, he's trained in it and he doesn't want to switch. I'm the same way. I always end up filling "conventional" editors and applications with vi commands. It'd make my life considerably easier to have vi everwhere. (I'd like to use it right now!)

      And I'm not trying to start a "vi vs. $whatever" flame war, but don't make the mistake of underestimating the power of vi. Find someone who's been using it for a decade or so and watch him. If it's not thoroughly impressive, then your guy doesn't really know vi.

    9. Re:Not really by frisket · · Score: 2, Interesting
      Sounds interesting, doesn't it?

      Noooooooooooooooooooooooooooooooooooooo!

      Multimode editing in GUI editors would be fine, but that's not the issue.

      Dual-mode editors à la vi went out with the Ark. Imagine if you had to press i in Word before you could type text, and had to press Esc before you could do anything else.

    10. Re:Not really by Anonymous Coward · · Score: 0

      The program "vi" is a multimode editor stupid. In one mode the alphanumeric keys are used for control and in the other mode they type characters.

      Power users like multimode editors because it vastly increases the speed of text-file editing. If you're not a power user and it frightens you (enough for you to claim it "went out with the Ark"), relax the rest of the OS has been dumbed down for people just like you.

    11. Re:Not really by Pedersen · · Score: 2, Interesting
      Dual-mode editors à la vi went out with the Ark. Imagine if you had to press i in Word before you could type text, and had to press Esc before you could do anything else.

      I don't imagine it, I do it. Oftentimes with annoying consequences. I much prefer the vi style of editing. I feel like I go a hundred times faster than any other mode.

      --

      GPL made simple: What was my stuff is now our stuff. If you improve our stuff, please keep it our stuff.
    12. Re:Not really by drsmithy · · Score: 1
      I feel like I go a hundred times faster than any other mode.

      This does not mean that you actually do.

  2. yez by nocomment · · Score: 4, Funny

    ziss zounds quite intellestink.

    --
    /* oops I accidentally made a comment, sorry */
    /* http://allyourbasearebelongto.us */
    1. Re:yez by zoloto · · Score: 1

      it's zomething zpecial
      zomething, unique.

      -zima commercials

  3. NSTextField by Ster · · Score: 1, Interesting

    You can use some 'vi' shortcuts in Cocoa's NSTextField (or is it NSTextView?), which is used for text input fields. I'm using Safari, so I can hit ^A and go to the beginning of the line, ^E for the end, ^D to forward-delete, etc.

    -Ster

    1. Re:NSTextField by Neon+Spiral+Injector · · Score: 4, Informative

      Those are actually Emacs commands. vi would be ^ for the start of a line, and $ for the end.

      I too often find myself hitting Esc and then typing vi commands in text boxes, like here on /. A real vi mode would be welcome in input widgets.

    2. Re:NSTextField by Bklyn · · Score: 1

      Those are all shortcuts lifted from Emacs.

    3. Re:NSTextField by Ster · · Score: 1
      Those are actually Emacs commands. vi would be ^ for the start of a line, and $ for the end.

      D'oh!

      You're right, it uses emacs commands, not vi commands. That's what I meant, I swear... :-)

      Mod parent up, grandparent down.

      -Ster

    4. Re:NSTextField by Frizzle+Fry · · Score: 1

      Hey! I just tried it out and you're right. ^ does go the start of a line. I never knew that. But why would anyone actually use that? It seems a lot less efficient than 0 to me, since it requires a shift key. Maybe it just feels slower because 0 is such a habit and I never use ^. Is there any difference between the two? Does ^ actually have any advantage (also, I'm using vim, so please tell me if 0 isn't part of standard vi)?

      --
      I'd rather be lucky than good.
    5. Re:NSTextField by torpor · · Score: 1


      ^ and $ are, if I recall, the sed/ed cmd for 'beginning of line', and 'end of line' so it makes sense that vi is using the same character to 'match the pattern' ...

      --
      ; -- the corruption of government starts with its secrets. a truly free people keep no secrets. --
    6. Re:NSTextField by br0ck · · Score: 1

      You can use any editor you wish using mozex.

    7. Re:NSTextField by Neon+Spiral+Injector · · Score: 2, Informative

      ^ goes to the first non-whitespace character. 0 (zero) goes to the first charater on the line.

      So if you have a indented line, ^ will take you after the indent. Where the 0 would take you to the space or tab that starts the line.

    8. Re:NSTextField by Neon+Spiral+Injector · · Score: 2, Informative

      Technically they are POSIX regex anchors. So any program that speaks regex will have similar functionality.

    9. Re:NSTextField by BenjyD · · Score: 1

      I use vi to write code most of the time. Yesterday a colleague asked me to help him with some code, so I sat down and tried to fix it for him using his emacs session. After five minutes filling his code with ^, $ and :w, I let him do the typing.

    10. Re:NSTextField by enodev · · Score: 1

      You hopefully know that escape is also mapped to ^[ which is much more ergonomic.

    11. Re:NSTextField by justMichael · · Score: 1

      I think it's rooted a little higher than that. The same keystrokes work in Terminal.app and I think just about everywhere that the app doesn't grab them for it's own shortcuts.

      Disclaimer: I'm not in front of my Mac so I can't check how many places this actually works.

  4. What's with the abnormal names already? by Ieshan · · Score: 4, Interesting

    Geeks must have some sort of Advertising Impairment Syndrome, where in order to make a brand-name, they take the most unpronouncable and esoteric combinations of characters and stick them together.

    It's like all the crazies who go ballistic at people when people don't pronounce a hard "G" at the beginning of "Gnome". Why the fuck should they? It's pronounced differently in every other word beginning with "G-N".

    This might get modded flamebait, but every geek on slashdot knows it's true. Slashdot ITSELF is an example (tee hee! "http colon slash slash slash dot dot org!"). It IS cool, but it severely impedes the chances that anyone will ever recognize your product, or even download it, because if I had a conversation with a friend about this, I'd never be able to go google for it without specifically asking how to spell it.

    1. Re:What's with the abnormal names already? by JabberWokky · · Score: 4, Insightful
      This is a backend, intended for usage within another project. In cases like that, it is better to have a distinctive set of characters for Google to find (a process I call 'kiboing'). Only developers are going to use this. Any end users will use it as part of an editor. Think KHTML versus Konqueror. KHTML is the engine, Konqueror the user facing application.

      Of course, cars seem to be going towards alphabet soup in their naming (I swear there's a model with the suffix MFC). I'd say that there's no more market tested and carefully chosen names than car model names. The Chevy Nova notwithstanding. :) Maybe people are starting to like esoteric combinations of characters.

      --
      Evan

      --
      "$30 for the One True Ring. $10 each additional ring!" -- JRR "Bob" Tolkien
    2. Re:What's with the abnormal names already? by arcanumas · · Score: 1

      You mean Xouvert is not a marketeer's dream?

      --
      Slashdot Sig. version 0.1alpha. Use at your own risk.
    3. Re:What's with the abnormal names already? by dietz · · Score: 1

      I'd say that there's no more market tested and carefully chosen names than car model names. The Chevy Nova notwithstanding. :)

      http://www.snopes.com/business/misxlate/nova.asp

    4. Re:What's with the abnormal names already? by JabberWokky · · Score: 2, Funny
      Yeah, I actually knew that. I was trying to reduce the people jumping in point out the Nova UL and blur my point. What I got was a reply jumping in to point out the UL status. Ah, well. Slashdot - the nexus of all nitpicks.

      --
      Evan "Next time I footnote"

      --
      "$30 for the One True Ring. $10 each additional ring!" -- JRR "Bob" Tolkien
    5. Re:What's with the abnormal names already? by Anonymous Coward · · Score: 0
      Slashdot ITSELF is an example (tee hee! "http colon slash slash slash dot dot org!"). It IS cool, but it severely impedes the chances that anyone will ever recognize your product

      Slashdot clearly wasn't hard enough to figure out. It hasn't kept out the rift-raft. Anyway, strange names isn't limited to geek things. There are plenty of examples. Drug names are far worse. I have to type mine up before I donate blood, otherwise it takes all day.

    6. Re:What's with the abnormal names already? by Tackhead · · Score: 2, Funny
      > Geeks must have some sort of Advertising Impairment Syndrome, where in order to make a brand-name, they take the most unpronouncable and esoteric combinations of characters and stick them together.
      >
      > It's like all the crazies who go ballistic at people when people don't pronounce a hard "G" at the beginning of "Gnome". Why the fuck should they? It's pronounced differently in every other word beginning with "G-N".

      So we did it your way.

      "Yzis" == "why this", but it's also a play on "vi zis", vit un boguz Zherman aggzent.

      Except, of course, that "vi" isn't pronounced "vye" except by noobs and clueless twits. It's pronounced "vee eye", as in, two syllables, for "visual interface". But "vim" is always pronounced "vim", not "vee eye emm", that is, it's proper to use one syllable instead of three.

      Flammed if you do, flammed if you don't.

      Why this? There's only one explanation: The naming convention for yzis was chosen by a Vast EMACS-Wing Conspiracy as part of an attempt to get both of the "vi" camps to wage holy war upon each other instead of the true enemy.

      "Vellllly intellestink. But schtupid."

    7. Re:What's with the abnormal names already? by Frizzle+Fry · · Score: 3, Insightful
      It IS cool, but it severely impedes the chances that anyone will ever recognize your product, or even download it, because if I had a conversation with a friend about this, I'd never be able to go google for it without specifically asking how to spell it.

      But most geeks don't find out about these projects from conversations. They find out about them by reading about them online somewhere, in email, etc. They don't need to ask for the spelling because they have it right there and can copy it to google or wherever. It's not impaired advertising, it's advertising that has adapted to its market. If something isn't going to be advertised on tv and radio, but will instead be discovered through a text medium (web, email, chat), then it is not mainly concerned with the things you discuss. Frankly, this name does happen to be pretty stupid, though.

      As for why Gnome should have a hard G (I didn't actually know this; anyone I've known who used gnome didn't pronounce the G), the answer is presumably because it is a play on Gnu, which has the G pronounced the same way.
      --
      I'd rather be lucky than good.
    8. Re:What's with the abnormal names already? by scrytch · · Score: 2, Informative

      > I'd say that there's no more market tested and carefully chosen names than car model names. The Chevy Nova notwithstanding. :)

      Urban legend actually. http://www.snopes.com/business/misxlate/nova.asp

      --
      I've finally had it: until slashdot gets article moderation, I am not coming back.
    9. Re:What's with the abnormal names already? by cant_get_a_good_nick · · Score: 1

      Of course, cars seem to be going towards alphabet soup in their naming
      Pontiac 6000SUX is my favorite (Robocop)
      Jokes aside, there are too many different cars that use LS, from the Saturn LS, Lincoln LS6 LS8, Lexus LS450, ... Very hard to differentiate.

      I'd say that there's no more market tested and carefully chosen names than car model names.
      Buick Lacrosse anyone? Actually I think all the names are too researched. What the hell is Achieva? Too many things are trademarked, so people have to make stuff up, but then give them all this "emotes this and inspires that..." garbage. I like Chevy Eviscerator, that I'd buy.

    10. Re:What's with the abnormal names already? by Jahf · · Score: 1

      I'm a "guh-nome" pronouncer but I don't foist it on others (I still get the willies when I hear someone say "lie-nihks" though).

      However the one that gets me isn't "guh-nome" or "nome" it is "jee-nome". Ugh. Not as bad as "lie-nihks" (couldn't you at LEAST pronounce the "nuhks" at the end instead of "nihks"?) but it seems to be more common nowadays.

      I've heard "kuh-dee" once for KDE ... I think that one took the stupid cake, but "jee-nome" ... ugh.

      --
      It is more productive to voice thoughtful opinions (reply) than to judge (moderate) others.
    11. Re:What's with the abnormal names already? by Feztaa · · Score: 1

      It's like all the crazies who go ballistic at people when people don't pronounce a hard "G" at the beginning of "Gnome". Why the fuck should they? It's pronounced differently in every other word beginning with "G-N".

      Whenever I hear somebody pronounce it "Jnome", I smack them. ;)

    12. Re:What's with the abnormal names already? by theridersofrohan · · Score: 1
      Think KHTML versus Konqueror. KHTML is the engine, Konqueror the user facing application.


      I understand your point, but Konqueror is not exactly the most marketable name in the history of computing.

    13. Re:What's with the abnormal names already? by JabberWokky · · Score: 2, Interesting
      So says the person with the metal sig line.

      Seriously, it makes perfect sense... Navigator, Explorer, Konqueror, Safari. They lead you out into that internet thingy. Mostly that part called the world wide web. Makes sense to me.

      --
      Evan

      --
      "$30 for the One True Ring. $10 each additional ring!" -- JRR "Bob" Tolkien
    14. Re:What's with the abnormal names already? by some+guy+I+know · · Score: 1
      It's like all the crazies who go ballistic at people when people don't pronounce a hard "G" at the beginning of "Gnome". Why the fuck should they? It's pronounced differently in every other word beginning with "G-N".
      That's just gnot true.
      For example, "GNU" is prognougnced "guh-NEW", Gnumeric is prognougnced "guh-new-MARE-ick", etc.
      So why shouldgn't we correct people who mis-prognougnce "gnome"?
      It doesgn't meagn that we're grammer gnazis or agnythigng.
      What are you, some kignd of gnut?
      --
      Those who sacrifice security to condemn liberty deserve to repeat history or something. - Benjamin Santayana
    15. Re:What's with the abnormal names already? by bmckeever · · Score: 1

      In cases like that, it is better to have a distinctive set of characters for Google to find (a process I call 'kiboing').

      In stark contrast to Microsoft, who insist on naming new technologies after top level domains. When do you think they'll come out with a management tool called .Org?

      --
      Your favorite .sig sucks
    16. Re:What's with the abnormal names already? by matithyahu · · Score: 0

      Flammed?
      is that like being flamed or am I not understanding the accent?

  5. Why? by Anonymous Coward · · Score: 4, Funny

    Why do another vi when the ultimate vi based editor is here ?

    1. Re:Why? by redfcat76 · · Score: 1

      Is there a vim plugin for emacs?

    2. Re:Why? by Dave2+Wickham · · Score: 1

      M-x viper-mode :P

  6. Answer by silicon+not+in+the+v · · Score: 1, Offtopic
    Sounds interesting, doesn't it?
    No. Next question.
    --
    We may experience some slight turbulence and then...explode. -Capt. Mal Reynolds
    1. Re:Answer by Anonymous Coward · · Score: 0

      Funny was the type of mod I was going for, but Informative is kind of a bonus. I just don't think vi is that good anyway, and especially vi-alikes seem like a total waste of time to me.

  7. Re:The untold truth about text editors by Anonymous Coward · · Score: 1, Insightful

    Yes, but the whole world would probably be happy if their computer was as simple to use as their TV, if their cars could drive themselves, and if all food came prepackaged and ready-to-eat.

    But then there's us, the mechanics, the cooks, and yes, the computer geeks who demand a whole lot more from our tools. And something as simple as notepad.exe sure as hell aint enough for us.

    Sorry if manual transmissions and charcoal bbq's are "out-of-date", but you can do a lot more and have a lot more fun with them. Same with Vim, and vi motion keys.

  8. you answered your own question by blunte · · Score: 1
    I'd never be able to go google for it without specifically asking how to spell it


    Ok it wasn't a question above, but you explained one good reason for picking goofy and goofily spelled names - findability on Google.

    Would you rather search for "slashdot" on Google, or "nerd news"? Which one will give the most accurate results?

    Imagine searching for "VI Editor Plugin". I don't know about you, but I'd rather search for "Yzis".
    --
    .sigs are for post^Hers.
    1. Re:you answered your own question by Ieshan · · Score: 1

      "Nerd News" actually returns Slashdot. =)

    2. Re:you answered your own question by blunte · · Score: 1

      Yes of course it does, since "nerd news" as a phrase isn't terribly common. But searching for "slashdot" gives an entire first page of Google that only goes to /. (actually, one page goes to some student's protest against /., but it is of course the same slashdot.)

      --
      .sigs are for post^Hers.
  9. Re:The untold truth about text editors by kwench · · Score: 5, Interesting

    I agree that vi is a PITA when you are used to the new colorful world of windows, buttons and menus.

    But... this project is aiming at providing a plugin-like editor for all applications.

    Example: I am currently typing this text in a small textarea in Opera.
    Imagine I'd like to replace all occurences of "I" with "we". What can I do? Search and spell checking works fine in Opera (I don't know about other browsers), even on texts in textareas, which is already something. But a Find&Replace function is simply not there.
    Now imagine your browser with your favorite editor (like vi) as plugin. You do the great vi-magic like :s/I/we/g and you are done.

  10. Re:The untold truth about text editors by stefanlasiewski · · Score: 2, Insightful

    I don't think these guys are targetting the Word Processor market. There are several of those already.

    VI is a powerful text editor. I would love to see it embedded in more documents, if only that I can seemly switch between VI the text editor, and use my VI commands in this Slashdot webform, and then hop on over to Evolution to type up a quick email.

    After a while, you have the need search the documents for all occurances of a pattern that begins with "http://www.", "https://www" or "ftp://ftp", a common string in the middle, and a variety of filenames in the end. Each line needs to be turned from a plain text string into an HTML hyperlink.

    BTW, you need to replace 65% of these, not 100%, so you might want to confirm each change.

    And by the way, you need to make this change on 50 files.

    You can do that in VI, and it's actually suprisingly easy once you go through the learning curve.

    --
    "Can of worms? The can is open... the worms are everywhere."
  11. Re:The untold truth about text editors by Anonymous Coward · · Score: 0

    Command mode being the default will confuse average users to death. Text boxes should clearly be emacs based so regular people won't know the difference, but people who know how to use a good editor will have all the commands available.

  12. Re:The untold truth about text editors by nwbvt · · Score: 0, Troll
    Well then they can use notepad.

    This is a product for that .1% of the population who wants it, not the 99.9% who don't.

    --
    Mathematics is made of 50 percent formulas, 50 percent proofs, and 50 percent imagination.
  13. KDE - a Window Manager!? by swotl · · Score: 1, Offtopic
    Please - KDE is much more than a Window Manager. KDE contains as one small part of the whole, a window manager called "KWin", but it can use any other conforming to the standards.

    Try it out for yourself and find out why none of us KDE users can live without its Browser, its E-mail client or its complete office suite.

    --
    -
    sig sig sputnik
  14. another one.... by vmircea · · Score: 1

    There are already a good deal of VI based editors... Not to bash on their project or anything, it still seems interesting, and it's not a bad idea. But perhaps they would be better off just taking something such as vim or some other similar editor and modifying it... Or even making something a bit new. Most people will still stick with editors like open-office, because of they way they work, and making another VI editor that doesn't really break the mold wont change this. Just my two cents.

    1. Re:another one.... by Anonymous Coward · · Score: 0

      Guess what we tried with kvim ;)
      I did not work and fix bugs in kvim for 2 years just for pleasure ;) We wanted to add new cool stuff at the beginnings but :
      1 - vim's code is horrible
      2 - vim's authors does not want more new features (kvim will only be added in vim7, that's at least 2 years after our main stable release which was kvim 6.0)
      3 - vim's main event loop is fully incompatible with most GUIs

      So I just don't want to wait 2 years for every new feature to be added ;)
      In 2 years, I believe we can rewrite a complete vim using some helpers libraries (like Qt) (I don't want to reinvent the wheel either like vim does).

      We don't focus on being able to compile on Amiga, I don't care a dim about amiga, but if yzis works on linux and BSDs (and eventually win32) that's all I want, and that's all most people want these days.

      So I don't know if it will take 1 year, 2 or 10, but we'll just do it and in a much more open way than vim. That's the point.

      Cheers,
      Mikmak (kvim maintainer, yzis author) (sorry too lame to create an account on /. ;)

  15. Re:The untold truth about text editors by Brandybuck · · Score: 1

    99.9% of the people who know what a text editor is, and deliberately choose it over a word processor, want much more than to simply "start typing". More than likely, they'll want the behavior to be different when they're typing C++ source code than when they're typing HTML. Those writing a novel are going to have different needs than those writing a sendmail configuration file.

    --
    Don't blame me, I didn't vote for either of them!
  16. wordpad has command mode too by ufnoise · · Score: 4, Funny

    Whenever you move the mouse to the top menubar and select save in wordpad, you are entering command mode. Move the mouse back down to the text area and you are back in edit mode.

  17. Re:The untold truth about text editors by Lochin+Rabbar · · Score: 2, Insightful

    Command mode being the default will confuse average users to death. Text boxes should clearly be emacs...

    So, just make insert mode default and 95% of users will never notice anything, but if you make emacs the default you'll end up with a browser within the editor within the browser. I know that browsers have been touted as an alternative to operating systems but let's not make that alternative OS emacs.

  18. Re:The untold truth about text editors by merphant · · Score: 1

    Well, if you were using Mozilla you could grab mozex. You can make it open up a terminal window with vim when you edit a textbox. When you save it gets plopped back in the textbox. It's not exactly seamless, but it sure makes webmail and stuff a lot nicer to use.

  19. Re:The untold truth about text editors by nri · · Score: 1

    "I don't think these guys are targetting the Word Processor market."

    They should. I got :wq all the way through my doco and emails ;-)

    --
    if :w! doesn't work, try :!cvs commit -m""
  20. Cocoa GUI by rawg · · Score: 2, Funny

    This sounds great! Finally I can have a Cocoa GUI for VIM!

    --
    The above is not worth reading.
    1. Re:Cocoa GUI by rubyfreak · · Score: 1

      Actually there's been an OS X version of Vim available for quite some time now, but it uses Carbon bindings instead of Cocoa.

    2. Re:Cocoa GUI by rawg · · Score: 1

      Yeah, that's why I made the comment. I use the Carbon GUI now and it's great, but lacking in all the cool Cocoa features...IE Fonts and Services.

      --
      The above is not worth reading.
  21. Product, sell, market. by jotaeleemeese · · Score: 2, Interesting

    What about have fun, program, enjoy yourself?

    Frankly people that immediately go in market-speak mode are a real nuisance....

    --
    IANAL but write like a drunk one.
    1. Re:Product, sell, market. by black+mariah · · Score: 1

      I think he's talking more about the people that seem to think the more unpronounceable their project name, the longer their cock is.

      --
      'Standards' in computing only impress those who are impressed by things like 'standards'.
    2. Re:Product, sell, market. by zangdesign · · Score: 2, Insightful

      I get annoyed by the recursive names - it's been done to death. It was interesting the first time, cute the second time; the third time it was annoying, and the fourth - well, I apologize to all the small children and dogs of the world.

      --
      To celebrate the occasion of my 1000th post, I will post no more forever on Slashdot. Goodbye.
    3. Re:Product, sell, market. by Anonymous Coward · · Score: 0
      It was interesting the first time, cute the second time; the third time it was annoying, and the fourth

      So each time you hear a recursive name, it's not as good as last time.

      Do you mean like this?
      G(N) = G(N-1) - U

  22. Vim macro language a little archaic by PylonHead · · Score: 1, Funny

    It might be time to replace Vim's macro langague with a more widespread, general purpose language. Lisp anyone?

    --
    # (/.);;
    - : float -> float -> float =
    1. Re:Vim macro language a little archaic by be-fan · · Score: 2, Funny

      Vimacs? To tell the truth, a Common-Lisp based editor with the Vi modal setup would kick ass...

      --
      A deep unwavering belief is a sure sign you're missing something...
    2. Re:Vim macro language a little archaic by Dave9876 · · Score: 1

      If you can stand just having elisp, then viper-mode is for you.

    3. Re:Vim macro language a little archaic by LWATCDR · · Score: 1

      Lisp widespread? General purpose???
      I would suggest python or perl would be more widespread and general purpose than Lisp. But if you must why not scheme?

      --
      See my blog http://ilovecookes.blogspot.com/ for light hearted technical information.
    4. Re:Vim macro language a little archaic by Anonymous Coward · · Score: 0
      Actually, yes, we replaced the awful vim scripting language with a widespread scripting language: lua


      There are other goodies in yzis, like syntax highlighting file (which will soon be used for folding too) written in xml and easier to write than the one of vim.

    5. Re:Vim macro language a little archaic by PylonHead · · Score: 1

      There you go ruining a perfectly good troll with a legitimate response. Well, maybe it will knock some sense into whoever modded my post "off topic".

      I haven't used lua yet, but I've heard good things about it. Most importantly, you've realized that language design is hard, and creating your own language from scratch is often the wrong idea.

      --
      # (/.);;
      - : float -> float -> float =
  23. Re:The untold truth about text editors by Anonymous Coward · · Score: 1, Funny

    Just wait until you read my upcoming novel. It's called "sendmail.cf: How I wasted my life"

  24. Re:The untold truth about text editors by Hatta · · Score: 2, Funny

    You will actually scare people off by pitching what seems to be an out-of-date typewriter.

    Yes, but isn't it fun watching them run?

    --
    Give me Classic Slashdot or give me death!
  25. Editors listing by Anonymous Coward · · Score: 3, Informative
    There's a big list of editors here, which includes several vi clones (or based on vi[m]) like Elvis, Cream, Vile and WinVim.

    All of these run on Windows only but there are a lot of Unix/Linux eds that have Win32 ports. There are other tools (IDEs and so on) there as well. I found that site while looking for a Windows version of PICO - I ended up using nano instead, which I didn't know existed (old Unix head that I am). Nano runs great on a Windows console, BTW.

    Personally I would like to see someone come up with a list or a wiki of all free/libre editors for *nix/*BSD. There are a few lists around, but none are very comprehensive.

    1. Re:Editors listing by Anonymous Coward · · Score: 0

      Personally I would like to see someone come up with a list or a wiki of all free/libre editors for *nix/*BSD.

      well.. just start one on wikipedia (or some other popular wiki site).

  26. C++ by OmniVector · · Score: 2, Interesting

    ugh. of course the authors just HAD to do this in C++, making it a bitch to integrate into objective-c based programs. At the very least objective-c++ with os x will work, but the gnustep people are completely shut in the dark. why do people code in that unportable language? c LINKS WITH EVERYTHING. sigh.

    --
    - tristan
    1. Re:C++ by Anonymous Coward · · Score: 0
      Good point, the only external systems they have integrated with so far are part of KDE. If they really want to interface with arbitrary programs, libraries, and environments then C++ linkage spec will not work - it's intentionally non-portable. I've read the Rationale for this a couple times, but I'm still not convinced it is still necessary or useful, regardless, C++ linkage will make this project semi-portable at best. C++ language feature support from compilers is another story, slowly improving, but having to port a C++ program when moving to a different compiler on the same OS is a fact of life when using any C++ much more advanced than the subset that is shared with C89.

      I'm sure they will wind up redefining the interface portion with 'extern "C"' linkage. As long as their interface design is not a ridiculous 'lets see how many C++ features we can use' abomination then that won't be too difficult.

    2. Re:C++ by BenjyD · · Score: 1

      Because C blows goats. I have proof.

    3. Re:C++ by OmniVector · · Score: 2, Interesting

      i don't deny that C has it's fair share if issues. the problem is this project is a development library with the end goal of being integrated into text widgets. The only language that allows them to do this everywhere (GNUStep, gtk2, Qt) is C. C links with obj-c, obviously with other C libraries, and c++ libraries. The simple truth is by doing this project in c++ you make a port to other libraries extremely difficult and doesn't that defeat the purpose of why they are writing this in the first place as a portable, interchangable backend?

      --
      - tristan
    4. Re:C++ by Anonymous Coward · · Score: 0

      There are only 3 major classes sofar in yzis. Using libyzis is about instantiating those three classes. The other classes are only used internally.

      So, writing a binding in another language (C) is not very complicated. You just have to map those three classes to C functions and structures. We did that at the beginning but it is too tedious to maintain while the API is moving a lot. However, once the API has stabilised, we can start doing it again.

      We will welcome any foreign language contribution. Given what I just said, there is not much difficulty in mapping libyzis in objective C.

  27. My ideal text widget... by Mulligan · · Score: 1

    would allow me to connect it to an emacsclient session. That way I can take advantage of all the goodies I have loaded into my main emacs session, have seamless integration with my kill and search rings and not take a year and a day (er, 10 seconds) to load.

    I can only hope that the interfaces necessary to do this will fall out of this work.

  28. Re:The untold truth about text editors by Anonymous Coward · · Score: 0
    Text boxes should clearly be emacs based

    You can keep your 4 meg text editor.
    [cheezy@opus cheezy]# ls -al `which emacs`
    -rwxr-xr-x 2 root root 4404396 Apr 15 13:51 /usr/bin/emacs
    [cheezy@opus cheezy]# ls -al `which vi`
    -rwxr-xr-x 1 root root 468852 Oct 14 2003 /bin/vi
  29. Yeah! Vi rocks! by phlurg · · Score: 2, Funny

    This sounds awesome. Vi is cool!!!! quit exit :q :q! done :q!!!!!!! dammit! close editor freak~!4%)(*@#@@(*!@*&)

    1. Re:Yeah! Vi rocks! by Anonymous Coward · · Score: 1, Funny

      > This sounds awesome. Vi is cool!!!! quit exit :q :q! done :q!!!!!!! dammit! close editor freak~!4%)(*@#@@(*!@*&)

      You must be using Emacs. IIRC, its exit sequence is Ctrl-Alt-Meta-Shift-TH1SUX-Delete-Enter. Either that or it launches a flight simulator, an email program, and recompiles your kernel.

  30. Re:The untold truth about text editors by Arial+Sharon,+10pt. · · Score: 1

    No, they should run $EDITOR or $VISUAL and be done with it.

    --
    Am I dead yet?
  31. Snatch by LittleBigLui · · Score: 1

    "Fuck me hell Tom, what's that?"

    "It's me belt Turkish."

    "No Tommy there's a gun in your trousers.
    What's a gun doing in your trousers?"

    "It's for protection!"

    "Protection from what, Zee Germans?"

    --
    Free as in mason.
  32. Troll? by bigchris · · Score: 1

    wtf? How on *earth* is this a troll?!?

    1. Re:Troll? by Anonymous Coward · · Score: 0

      the editors are too busy masturbating to Sailor Moon to give a fuck about fair moderation.

    2. Re:Troll? by Anonymous Coward · · Score: 0
      Sailor Moon got the boom anime babes, that make me think the wrong thing.

      Just do a search for 'sailormoon hentai' or 'sailormoon slash' to learn more.

  33. Re:The untold truth about text editors by bigchris · · Score: 1

    You reckon you wasted your life on sendmail.cf? Check this out:

    I tried to post this to slashdot, but I got the following: "Lameness filter encountered. Post aborted! Reason: Please use fewer 'junk' characters."

    sendmail blows slashdot's little brain.

  34. Anime! by Anonymous Coward · · Score: 0

    "Otaku unite." -
    Niira - nayami@anime-chat.com

  35. Re:The untold truth about text editors by kwench · · Score: 1

    eight megabytes and constant swapping is a way of life, not a simple text editor. :-)

    If you want plain text editing use e3 or nano.

    vi with insert mode as default is a good alternative for plugins because it doesn't get in the way and is still powerful. All other texteditors use some cryptic Control-something-shortcuts that nobody understands anyway...

  36. Re:The untold truth about text editors by Anonymous Coward · · Score: 0

    After a while, you have the need search the documents for all occurances of a pattern that begins with "http://www.", "https://www" or "ftp://ftp", a common string in the middle, and a variety of filenames in the end. Each line needs to be turned from a plain text string into an HTML hyperlink.

    BTW, you need to replace 65% of these, not 100%, so you might want to confirm each change.

    And by the way, you need to make this change on 50 files.

    You can do that in VI, and it's actually suprisingly easy once you go through the learning curve.


    You can do that in VI? Wow, how amazing! Unlike every other editor I've used (apart from MS Notepad, and possibly pico), where... uh, you can also do that.

    VI was amazing back in the '60s (or was it the '70s? I haven't a clue, it was well before I was born anyway), but today we have things called "UI standards" which mean that 99% of applications use a common set of shortcut keys. There's no excuse for all this :we1232asfdcf!&QW&RsEA or C-M-X-frobnicate-foo-yadayadayada nonsense that VI and emacs fans rave about. Come back when you can fit in with the rest of my desktop environment.

  37. What's the problem? by Chemisor · · Score: 1

    > quit

    In my vim, :quit works just fine and so does :exit
    Are you still in insert mode?

    > :q

    The reason :q prompts you is that you haven't saved
    your file yet. It is no diffierent from those annoying "Are you sure?" dialogs.

    > :q! done :q!!!!!!! dammit! close editor freak

    Surely, just typing :q! or :wq would do the trick.

    1. Re:What's the problem? by Anonymous Coward · · Score: 0

      :x also works.

  38. Spellcheck please? by frenchgates · · Score: 2, Insightful

    This is why sites like slashdot get less respect than they should. "Seperate" is not a word. Come on, editors, is there something non-open-sourcey or Microsofty about a quick spell check before posting an item?

    --
    Syntax error: loose != lose, affect != effect, then!=than
    1. Re:Spellcheck please? by denny_d · · Score: 1

      I couldn't agree with you more.

  39. vim is scriptable in python by llimllib · · Score: 1

    link. It has been for a long time.

  40. wish they'd do this for emacs by roju · · Score: 1

    I hate to be the one to bring up Emacs, but I've been craving an Emacs editing widget for ages. Hell, to make both camps happy, it would be nice to see the desktop environments provide an editing widget that could be customized to be either like a Windows edit box, or Vim or Emacs.

    It's frustrating as all hell to try to delete a line with ctrl-a ctrl-y and end up with a bunch of selected text. Sigh.

    1. Re:wish they'd do this for emacs by Anonymous Coward · · Score: 0

      In soviet russia, Emacs widgets you...

  41. Ooops! by Anonymous Coward · · Score: 0

    My mistake; that should be "grammar", not "grammer".
    Sorry for the mispelligng.

  42. History of "Why this" by Anonymous Coward · · Score: 1, Interesting

    For anybody's information, here is a more detailed explanation of the "Why this":

    http://mirror1.yzis.org/viewcvs/trunk/README?rev =6 10&view=auto

    History:
    ========
    Before working on Yzis, the authors (Mickael Marchand, Thomas Capricalli and
    Philippe Fremy) had been working on GVim. GVim is clearly the best vi
    compatible editor today. It contains tons of features, which are very clear
    improvements upon the original vi: visual selection, unlimited undo, powerful
    syntax highlighting, script language, splitted windows, ...

    We did two things with GVim. First, we ported it on KDE and created KVim. The
    second step was to make KVim embeddable as an editor component into any KDE
    application. The idea was to be able to use a vi editor anywhere: in KDevelop,
    in Kate, in KMail, ... We managed to complete both tasks but the second one
    was very difficult to achieve and a number of problems could not be overcome.
    For example, kvim can not have multiple windows on the same buffer, and thus
    won't integrate in Kate.

    While working with the gvim code base, we have been comfronted with a growing
    amount of difficulites:
    - there is a huge pile of C files without much documentation.
    - it is difficult to find one's way through the code.
    - the code was written in C and has very little abstraction, which make it
    difficult to follow.
    - the vi engine is tied to the concept of console editor. We have to add hacks
    after hacks to make it work as a graphical component (for example, we need
    to fork a process, embed a graphical window, and run an event loop at full
    speed while still not taking the whole CPU to just make the component work).
    - the main author of GVim is very reluctant to add any small change, even
    those that won't affect the current behaviour
    - the codebase is very big and the author does not want to introduce any new
    feature, in fear of breaking something.

    So, on one side we had implementation limitations and problems, on the other
    side it was not possible to do any new developments on the editor. We
    discussed that with the GVim team and came to the conclusion that it was not
    possible to work with GVim to have a vi-like editor in KDE as a good
    component.

    At this point, the decision was simple. Either spend lot of time in working
    around limitations of GVim, or dropping the idea of a good vi editor component
    for KDE or start a new vi editor. Kudos to Thomas Capricelli and Mickael
    Marchand who took over the third decision. This decision was taken shortly
    before Fosdem 2003. The design documents and the name were hacked during the
    Fosdem.

    They put up a website, a subversion server, mailing lists and started
    coding. To avoid the many problems of gvim, we took the following decisions:
    1. clearly separate the vi engine from the gui
    2. use C++ to provide a clean design
    3. abstract the views, the buffer and the gui in the engine
    4. have a KDE gui
    5. have a text gui
    6. provide a C interface in case a hard-core C coder wants to contribute
    7. use some Qt classes for the engine. Qt would bring a string class that
    handles unicode correctly (multibyte support is knightmare in gvim), efficient
    lists implementations, and other goodies. Moreover, we were very familiar and
    efficient with Qt.
    8. Use tinyQ as a backup solution for the people not willing to link with Qt
    just for a few template classes.

    Over the time, maintaining a C binding to C++ turn out to be quite tedious and
    time consuming. It would also make the code quite complicated. So the C
    binding was dropped and yzis started to develop slowly but steadily.

  43. Vi modes by mst76 · · Score: 1

    For many people vi starts to make much more sense when they think of it as not having an input and a command mode, but just a command mode. Every key you press is a command. I think a good way to learn vi is to use it first to edit existing files, learning the motion, replacement and delete commands. Then introduce insert and append as just some other commands that happen to be terminated with ESC.

    Still, I have to agree that it will confuse most people who have used other editors/wordprocessors.

  44. Re:The untold truth about text editors by Anonymous Coward · · Score: 0

    The reason vi commands are "cryptic" is that they aren't simple chords like your standard shortcuts. They are command sequences which typically include a count, command, and a motion. For example, to delete up through the next four left parenthesis the command is "d4f(". I'd like to see you do that with anything other than vi. And while that example might seem silly to you it's the sort of thing that vi experts do all the time (especially while programming!).

  45. Re:The untold truth about text editors by Anonymous Coward · · Score: 0
    No one's bothering to switch between edit mode and command mode.

    Then why can't they just start typing? What's the click for?

  46. Re:The untold truth about text editors by nwbvt · · Score: 1
    Anyone care to inform me how that is a troll?

    Honestly, I'm not griping I just want to know what the basis was for that. I certainly did not intend it to "insult or enrage" people nor did I try to "mix up vital facts or otherwise distort reality". My intention was to merely note that the program does not need to apeal to all users or even a majority of users or even more than .1% of the population for it to be useful.

    --
    Mathematics is made of 50 percent formulas, 50 percent proofs, and 50 percent imagination.
  47. Emacs instead by Frank+T.+Lofaro+Jr. · · Score: 1

    Why use vi when there is emacs? :)

    --
    Just because it CAN be done, doesn't mean it should!
  48. You can provide a C wrapper for it by Anonymous Coward · · Score: 0

    extern "C" void wrap_cpp_func()
    { // call C++ here
    }

    What's the big deal?

    And furthermore - these guys are contributing free code - what right do you have to bitch, bitch?

    If you are so concerned about C purity - write it yourself in C.

  49. Just a heads up by Anonymous Coward · · Score: 0

    I'm not sure if anyone will read this butVim 6.3 is out.