Post #264,424
8/10/06 1:44:20 PM
|

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.
|
Post #264,427
8/10/06 2:02:46 PM
|

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]
|
Post #264,437
8/10/06 2:15:25 PM
|

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.
|
Post #264,456
8/10/06 3:53:36 PM
|

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
|
Post #264,465
8/10/06 4:59:30 PM
|

:7000<ENTER> or 7000G
|
Post #264,467
8/10/06 5:01:30 PM
|

But the day goes faster hitting Page Down 200x. ;-)
|
Post #264,471
8/10/06 5:07:21 PM
|

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
|
Post #264,474
8/10/06 5:20:44 PM
|

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]
|
Post #264,477
8/10/06 5:22:32 PM
|

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..."
|
Post #264,488
8/10/06 6:20:39 PM
|

Here
wc -l /etc/termcap 14761 /etc/termcap
|
Post #264,491
8/10/06 6:34:12 PM
|

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
|
Post #264,492
8/10/06 6:49:46 PM
|

About 21 years ago
I used to write termcap entries for a living.
|
Post #264,493
8/10/06 7:00:14 PM
|

YPB
|
Post #264,494
8/10/06 7:15:49 PM
|

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.
|
Post #264,497
8/10/06 5:05:33 PM
|

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]
|
Post #264,502
8/10/06 5:08:45 PM
8/11/06 10:25:23 AM
|

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]

Edited by drewk
Aug. 11, 2006, 10:25:23 AM EDT
|
Post #264,504
8/10/06 5:10:16 PM
8/11/06 10:25:48 AM
|

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]

Edited by drewk
Aug. 11, 2006, 10:25:48 AM EDT
|
Post #264,522
8/11/06 3:01:08 AM
|

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]
|
Post #264,954
8/15/06 3:10:51 PM
|

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
|
Post #264,476
8/10/06 5:22:12 PM
|

That's what incremental search is for...
Regards,
-scott anderson
"Welcome to Rivendell, Mr. Anderson..."
|