IWETHEY v. 0.3.0 | TODO
1,095 registered users | 1 active user | 0 LpH | Statistics
Login | Create New User
IWETHEY Banner

Welcome to IWETHEY!

New I think auto-complete is a macro
And anyone saying "vi" today really means "vim". Don't they?
===

Purveyor of Doc Hope's [link|http://DocHope.com|fresh-baked dog biscuits and pet treats].
[link|http://DocHope.com|http://DocHope.com]
New Depends on who you ask
Around here, we still have systems with good bad ol' plain vanilla vi.









And it still sucks!



jb4
"So don't pay attention to the approval ratings that say 68% of Americans disapprove of the job this man is doing. I ask you this, does that not also logically mean that 68% approve of the job he's not doing? Think about it. I haven't."
Stephen Colbert, at the White House Correspondent's Dinner 29Apr06
New So have them fix it
I was tasked with working on a Sun box that was vanilla vi.
Full gvim was on it the next day.
New Yeah...comma...right
And the IT departemnt of Large Giant Corp., whose servers are located under a pile of dust in India somewhere, is gonna listen to me?!?

Whatever you're smokin, please pass some of it over to me, 'cause it's gotta be some serious good shit!
jb4
"So don't pay attention to the approval ratings that say 68% of Americans disapprove of the job this man is doing. I ask you this, does that not also logically mean that 68% approve of the job he's not doing? Think about it. I haven't."
Stephen Colbert, at the White House Correspondent's Dinner 29Apr06
New Sigh
How do you access it?
Can you scp files?
If so, edit locally using the scp plugin.
New I don't make large edits on these systems
When I need to do real work, I use ED4W on a Windows system (the files I need to work with are generally on ClearCase servers, so access to them is just as fast on winders as on a Linux system...and the tools are much better).
jb4
"So don't pay attention to the approval ratings that say 68% of Americans disapprove of the job this man is doing. I ask you this, does that not also logically mean that 68% approve of the job he's not doing? Think about it. I haven't."
Stephen Colbert, at the White House Correspondent's Dinner 29Apr06
Expand Edited by jb4 Aug. 10, 2006, 03:50:03 PM EDT
New Is vim the windows version of vi?
If so, I have both.

I still like the old one best.

Brenda



"When you take charge of your life, there is no longer need to ask permission of other people or society at large. When you ask permission, you give someone veto power over your life." -- By Geoffrey F. Abert
****************************

"Be who you are and say what you feel, because those who mind, don't matter - and those who matter, don't mind." -- By Dr. Seuss
***********************************

"Sometimes it takes a whole lot more strength to walk away than to stand there and fight." -- By the character of John Abbott: said on Young & Restless on 5/19/06
*********************************
New Nope, 'vim' is 'vi, improved'
[link|http://www.linux.com/article.pl?sid=05/08/24/145234|http://www.linux.com...d=05/08/24/145234]
For a comprehensive look at the differences between vi and vim, you can enter :help differences at the vim command line.

New features include multiple windows, syntax highlighting, multiple levels of undo, and color themes. All of these improvements are made possible by the use of vim plugins.
Also, if your version has scroll bars and mouse support it's actually gvim. I haven't noticed any difference between Linux and Windows versions, assuming you have permissions set up correctly. (I haven't compared vi on Linux and Windows.)
===

Purveyor of Doc Hope's [link|http://DocHope.com|fresh-baked dog biscuits and pet treats].
[link|http://DocHope.com|http://DocHope.com]
Expand Edited by drewk Aug. 11, 2006, 02:35:10 PM EDT
New I seem to have both kinds
[link|http://www.linux.com/article.pl?sid=05/08/24/145234|http://www.linux.com...d=05/08/24/145234]


For a comprehensive look at the differences between vi and vim, you can enter :help differences at the vim command line.


Hmmm, I can't tell what I have from that, does the DOS version tell you what it is somewhere when you open it?

New features include multiple windows, syntax highlighting, multiple levels of undo, and color themes. All of these improvements are made possible by the use of vim plugins.
Also, if your version has scroll bars and mouse support it's actually gvim. I haven't noticed any difference between Linux and Windows versions, assuming you have permissions set up correctly. (I haven't compared vi on Linux and Windows.)


I actually have two versions, I have a DOS version that runs from the Dos Shell and is used with the C prompt, and I have a version that is windows supported with mouse and scroll bars that turned out to be easier to use with some of my specific editing needs.

I still like the DOS one best though. ;)

Edit: The Windows one (VIM) seems to be VIM 63. I can't find what the DOS one is.

Brenda



"When you take charge of your life, there is no longer need to ask permission of other people or society at large. When you ask permission, you give someone veto power over your life." -- By Geoffrey F. Abert
****************************

"Be who you are and say what you feel, because those who mind, don't matter - and those who matter, don't mind." -- By Dr. Seuss
***********************************

"Sometimes it takes a whole lot more strength to walk away than to stand there and fight." -- By the character of John Abbott: said on Young & Restless on 5/19/06
*********************************
Expand Edited by Nightowl Aug. 11, 2006, 02:49:02 PM EDT
Expand Edited by Nightowl Aug. 11, 2006, 02:50:41 PM EDT
New If it has multiple levels of 'undo' it's probably vim
===

Purveyor of Doc Hope's [link|http://DocHope.com|fresh-baked dog biscuits and pet treats].
[link|http://DocHope.com|http://DocHope.com]
New Hmmm I only know of one undo command.
Do you mean that I can undo more than one move, is that what multiple levels of undo is in the DOS version? I'm really curious now as to which one I have. I'll have to ask John when he gets home.

Brenda



"When you take charge of your life, there is no longer need to ask permission of other people or society at large. When you ask permission, you give someone veto power over your life." -- By Geoffrey F. Abert
****************************

"Be who you are and say what you feel, because those who mind, don't matter - and those who matter, don't mind." -- By Dr. Seuss
***********************************

"Sometimes it takes a whole lot more strength to walk away than to stand there and fight." -- By the character of John Abbott: said on Young & Restless on 5/19/06
*********************************
New What's the command you use to start it?
Look in the shortcut. If it's 'vi', then it's vi. If it's 'vim', then it's vim.
--\n-------------------------------------------------------------------\n* Jack Troughton                            jake at consultron.ca *\n* [link|http://consultron.ca|http://consultron.ca]                   [link|irc://irc.ecomstation.ca|irc://irc.ecomstation.ca] *\n* Kingston Ontario Canada               [link|news://news.consultron.ca|news://news.consultron.ca] *\n-------------------------------------------------------------------
New vi :)
John checked the version and here's the official name:

Xvi 2.15 Oct 24, 1992.

Brenda

Edit: I'm adding to this post in hopes that it will show up again on the right date. (crossing my claws)




"When you take charge of your life, there is no longer need to ask permission of other people or society at large. When you ask permission, you give someone veto power over your life." -- By Geoffrey F. Abert
****************************

"Be who you are and say what you feel, because those who mind, don't matter - and those who matter, don't mind." -- By Dr. Seuss
***********************************

"Sometimes it takes a whole lot more strength to walk away than to stand there and fight." -- By the character of John Abbott: said on Young & Restless on 5/19/06
*********************************
Expand Edited by Nightowl Aug. 12, 2006, 12:08:55 PM EDT
New Of course vim can be aliased to "vi"...
Glad to be of some confusion... ;-)
jb4
"So don't pay attention to the approval ratings that say 68% of Americans disapprove of the job this man is doing. I ask you this, does that not also logically mean that 68% approve of the job he's not doing? Think about it. I haven't."
Stephen Colbert, at the White House Correspondent's Dinner 29Apr06
New Re: Of course vim can be aliased to "vi"...
Of course. ;)

But I have both, the real vi, and vim. ;)

Brenda



"When you take charge of your life, there is no longer need to ask permission of other people or society at large. When you ask permission, you give someone veto power over your life." -- By Geoffrey F. Abert
****************************

"Be who you are and say what you feel, because those who mind, don't matter - and those who matter, don't mind." -- By Dr. Seuss
***********************************

"Sometimes it takes a whole lot more strength to walk away than to stand there and fight." -- By the character of John Abbott: said on Young & Restless on 5/19/06
*********************************
New Yes, I mean vim
And here is how completion works.

my $long_variable_name = 'test';
my $short = 'y';
my $lopsided = 'tilt';

if ($l^N

The ^N says go find the Next word (wrapping, also will work through all other files in the current file list) that starts with 'l' and expand it. It immediately shows long_variable_name.

If I don't want that, I hit another ^N and it replaces is with lopsided.
If I don't want that, another ^N just leaves it with the 'l' since there are no more word matches.

^P will match working your way backwards.

Emacs has something like it as well.

This functionality is a HUGE win in my programming style. I started using very long descriptive variable names that I NEVER typoed, and was able to code much faster at the same time.
New Was I right about that being a plugin?
Because that is damn useful. One more trick to add to the toolbox. (Now where was that "learning curves for common editors" graph, anyway?)
===

Purveyor of Doc Hope's [link|http://DocHope.com|fresh-baked dog biscuits and pet treats].
[link|http://DocHope.com|http://DocHope.com]
New No idea
It is simply there on every gvim I've used for the past 3 years.
I certainly didn't do anything to add it.
New Hmm, gvim vs vim
I'm pretty sure I'm always using vim, not gvim. Mostly, gvim adds mouse support and scrollbars. I like vim mostly because I don't need the mouse to be productive.

Sticking with vim allows me to open within the current terminal rather than spawning a new window, which also allows me to do neat things with screen, like detaching when I leave work and reattaching when I get home. (Okay, it used to let me do that, when I still had a Linux box on my desk.)


While looking to see if there were other differences, I found [link|http://www.linux.com/article.pl?sid=05/08/24/145234|this list of other plugins]. Looks like there's a couple of flavors of directory views available. Might work remotely, like Scott described with Emacs.
===

Purveyor of Doc Hope's [link|http://DocHope.com|fresh-baked dog biscuits and pet treats].
[link|http://DocHope.com|http://DocHope.com]
New I prefer gvim
I've never gotten a color scheme on vim that I like for syntax highlighting.

And I can't really envision a time I'd need a screen session for editing purposes.
New No law says you have to use a mouse and scroolbars
Gvim is vim. The advantage is that when you're ripping through a 10,000 line file, grabbing the scroll bar and sliding it to where the offending line is is a whole lot easier IMnsHO than Page Downing for the better part of forever. YMMV



(Yes I know...but anybody who claims that 10,000 line files don't exist has got their head stuck up a cloud...or some other orifice!)



jb4
"So don't pay attention to the approval ratings that say 68% of Americans disapprove of the job this man is doing. I ask you this, does that not also logically mean that 68% approve of the job he's not doing? Think about it. I haven't."
Stephen Colbert, at the White House Correspondent's Dinner 29Apr06
New :7000<ENTER> or 7000G
New But the day goes faster hitting Page Down 200x. ;-)
New Assuming, of course, that you know the target line...
...is in the same screen as line 7000. Gad, you must be psychic.




(And, if you're true to your craft, that would make you a faithful psychic...)




jb4
"So don't pay attention to the approval ratings that say 68% of Americans disapprove of the job this man is doing. I ask you this, does that not also logically mean that 68% approve of the job he's not doing? Think about it. I haven't."
Stephen Colbert, at the White House Correspondent's Dinner 29Apr06
New No, that's not what I was going to say
I was going to say, that if I ever find a 10k line file, I'll find the jackass who wrote it and make him fix it.








Yeah, I know it doesn't work in real life.
===

Purveyor of Doc Hope's [link|http://DocHope.com|fresh-baked dog biscuits and pet treats].
[link|http://DocHope.com|http://DocHope.com]
New I've seen enough of them.
And I also know how and why they get created. I'm not excusing, just saying.
Regards,

-scott anderson

"Welcome to Rivendell, Mr. Anderson..."
New Here
wc -l /etc/termcap
14761 /etc/termcap
New And the last time you needed to edit /etc/termcap was...?
-YendorMike

"They that can give up essential liberty to obtain a little temporary safety deserve neither liberty nor safety."
- Benjamin Franklin, 1759 Historical Review of Pennsylvania
New About 21 years ago
I used to write termcap entries for a living.
New YPB
New Wasn't so bad.
I worked for a company called Telexpress. They has a terminal
emulater called Teleterm. The program was table driven, and
allowed you to create new terminal definitions.

A customer might buy a canned system from a vertical market
vendor that included a server (Unix, Pick, Vax, etc) and some
terminals. The terminal could be ANYTHING. In those
days, new ones were popping up all the time. They would want
to hook up their PCs (days of original PC and XT) to the
system.

So they would send us a terminal and the manual. I would
review the manual and create a termcap entry for the terminal
if it did not exist. I would then reverse that and create
the table entries that our software would use to create a
new terminal.

Was a great education. I owe them a lot for it.
New I think the term would be "pathological example"
Do you have any other examples of what you would consider decent code -- meaning something that you wouldn't re-write if given the time -- that exceed 10k lines?
===

Purveyor of Doc Hope's [link|http://DocHope.com|fresh-baked dog biscuits and pet treats].
[link|http://DocHope.com|http://DocHope.com]
New Oops, time travelling on the reboot
Do you have any other examples of what you would consider decent code -- meaning something that you wouldn't re-write if given the time -- that exceed 10k lines?
===

Purveyor of Doc Hope's [link|http://DocHope.com|fresh-baked dog biscuits and pet treats].
[link|http://DocHope.com|http://DocHope.com]
Expand Edited by drewk Aug. 11, 2006, 10:25:23 AM EDT
New No, really, that's what happened
Do you have any other examples of what you would consider decent code -- meaning something that you wouldn't re-write if given the time -- that exceed 10k lines?
===

Purveyor of Doc Hope's [link|http://DocHope.com|fresh-baked dog biscuits and pet treats].
[link|http://DocHope.com|http://DocHope.com]
Expand Edited by drewk Aug. 11, 2006, 10:25:48 AM EDT
New 10K lines? Pshaw.
Allow me to gloat/whimper at the time I had to edit a 3-million-line file. I'll also slide in some VMS advocacy.

It was a (very) large DXF, and I used the VMS editor, which is cunningly called "edit" and which has that "I was written by real programmers, me" feel about it. It never crashes. It never accidentally fucks you up. The box (1GHz 21264 with 2GB RAM and "lots" of disk) didn't even blink when I went from one end of the file to the other - this is always a good test to see if the programmer really wants you to edit Very Big Files with their editor. Didn't take long to save it, either. And I got a free version. And if you "diff/par somefile.dxf" without specifying the version number it automatically assumes you mean this version against the previous version, which is of course what you wanted. And you can do the diff right there in the editor.

VMS pwnz j00. But you knew that.


Peter
[link|http://www.no2id.net/|Don't Let The Terrorists Win]
[link|http://www.kuro5hin.org|There is no K5 Cabal]
[link|http://guildenstern.dyndns.org|Home]
Use P2P for legitimate purposes!
[link|http://kevan.org/brain.cgi?pwhysall|A better terminal emulator]
New Yes, I **did** know that.
I just didn't know what you said to mean that...
jb4
"So don't pay attention to the approval ratings that say 68% of Americans disapprove of the job this man is doing. I ask you this, does that not also logically mean that 68% approve of the job he's not doing? Think about it. I haven't."
Stephen Colbert, at the White House Correspondent's Dinner 29Apr06
New That's what incremental search is for...
Regards,

-scott anderson

"Welcome to Rivendell, Mr. Anderson..."
     I am SCREWED - (broomberg) - (71)
         :-( Get him a copy of UltraEdit. - (Another Scott) - (16)
             UltraEdit is great - (cforde)
             UE costs money. - (pwhysall) - (2)
                 OT: Shouldn't you be on your honeymoon? -NT - (Yendor) - (1)
                     he's gotta come up for air once in a while. ;-j -NT - (jbrabeck)
             That is one of the current Win choices. - (broomberg) - (11)
                 nano? - (Another Scott) - (1)
                     Install requested - (broomberg)
                 I use nano as my default editor. - (folkert) - (8)
                     Hmmm - (broomberg) - (7)
                         No "undo" - (broomberg) - (5)
                             Try this - (drewk) - (2)
                                 I've played with cream - (broomberg) - (1)
                                     I won't respond to that post - (drewk)
                             Undo is only necessary for htose who make mistaeks. - (Another Scott) - (1)
                                 You can force it to be the default - (folkert)
                         No, I use them all. I am not a programmer. - (folkert)
         Never "learned" vi, eh? I like him already! - (jb4) - (50)
             Sigh - (broomberg) - (49)
                 Well... - (jb4) - (37)
                     I think auto-complete is a macro - (drewk) - (36)
                         Depends on who you ask - (jb4) - (13)
                             So have them fix it - (broomberg) - (3)
                                 Yeah...comma...right - (jb4) - (2)
                                     Sigh - (broomberg) - (1)
                                         I don't make large edits on these systems - (jb4)
                             Is vim the windows version of vi? - (Nightowl) - (8)
                                 Nope, 'vim' is 'vi, improved' - (drewk) - (7)
                                     I seem to have both kinds - (Nightowl) - (6)
                                         If it has multiple levels of 'undo' it's probably vim -NT - (drewk) - (5)
                                             Hmmm I only know of one undo command. - (Nightowl) - (4)
                                                 What's the command you use to start it? - (jake123) - (3)
                                                     vi :) - (Nightowl) - (2)
                                                         Of course vim can be aliased to "vi"... - (jb4) - (1)
                                                             Re: Of course vim can be aliased to "vi"... - (Nightowl)
                         Yes, I mean vim - (broomberg) - (21)
                             Was I right about that being a plugin? - (drewk) - (20)
                                 No idea - (broomberg) - (19)
                                     Hmm, gvim vs vim - (drewk) - (18)
                                         I prefer gvim - (broomberg)
                                         No law says you have to use a mouse and scroolbars - (jb4) - (16)
                                             :7000<ENTER> or 7000G -NT - (broomberg) - (2)
                                                 But the day goes faster hitting Page Down 200x. ;-) -NT - (Another Scott)
                                                 Assuming, of course, that you know the target line... - (jb4)
                                             No, that's not what I was going to say - (drewk) - (11)
                                                 I've seen enough of them. - (admin)
                                                 Here - (broomberg) - (7)
                                                     And the last time you needed to edit /etc/termcap was...? -NT - (Yendor) - (6)
                                                         About 21 years ago - (broomberg) - (5)
                                                             YPB -NT - (hnick) - (1)
                                                                 Wasn't so bad. - (broomberg)
                                                             I think the term would be "pathological example" - (drewk)
                                                             Oops, time travelling on the reboot - (drewk)
                                                             No, really, that's what happened - (drewk)
                                                 10K lines? Pshaw. - (pwhysall) - (1)
                                                     Yes, I **did** know that. - (jb4)
                                             That's what incremental search is for... -NT - (admin)
                 Emacs. - (admin) - (10)
                     You can do that in vi, too - (drewk) - (9)
                         I don't see that in the man page. - (admin) - (4)
                             Nope, it's a plugin - (drewk) - (3)
                                 Looks somewhat similar - (admin) - (2)
                                     Yeah, it's not as general-purpose - (drewk) - (1)
                                         Right. - (admin)
                         nano can edit files on remote machines... - (folkert) - (3)
                             Emacs is as simple as you make it. - (admin) - (2)
                                 "Modal == teh sukc" for newbies, indeedly do. - (folkert) - (1)
                                     What bad habits would they be? (new thread) - (static)
         why cant he use the xeditor on solaris? -NT - (boxley) - (1)
             'X' - not character mode -NT - (broomberg)
         Emacs with CUA Mode? - (altmann)

Calendars are a minor issue.
332 ms