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

Welcome to IWETHEY!

New I am SCREWED
The company the merged with mine and gained all the power inserted a "technical" project manager to "help" with my project.

The guy is a subject matter expert, who helped move them off their mainframe, so he sounds good.

And they moved to a Solaris system, so he's not an idiot.

Except:

He never bother to learn a Unix editor. The ONLY way he can modify files is from a Windows Samba share, running a Windows editor.

And regular expressions are too tough for him to understand. And he's the BEST they got.

ARRRRRGGGG!!!!!!
New :-( Get him a copy of UltraEdit.
[link|http://www.ultraedit.com/index.php?name=Content&pa=showpage&pid=10|UltraEdit].

He may love it. It has help for regex. He'll be in your debt... ;-)

Hang in there.

Cheers,
Scott.
(Satisfied customer, nothing more.)
New UltraEdit is great
if you want to avoid Windows, try nedit, or if Mac OS X is an option, try TextMate.
Have fun,
Carl Forde
New UE costs money.
SCiTE is free and Free. And it's *tiny* and fast and stuff.


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 OT: Shouldn't you be on your honeymoon?
-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 he's gotta come up for air once in a while. ;-j
A positive attitude may not solve all your problems, but it will annoy enough people to make it worth the effort. (Herm Albright)
New That is one of the current Win choices.
I need to come up with a Unix character mode editor that junior Perl programmers (Ex COBOL programmers) can use.

Desire perl syntax highlighting.
New nano?
In my trying to set up [link|http://ubuntuforums.org/showthread.php?t=186747|MythTV on Ubuntu 6.06] a few weeks ago, I found that the default Gnome editor wouldn't let me edit files I needed to change due to some permission issue, but nano worked fine. I was able to figure it out without reading any manual, so it's probably a good choice.

It does [link|http://wiki.linuxhelp.net/index.php/Nano_Syntax_Highlighting#Perl|perl syntax highlighting too], with some configuration.

HTH.

Cheers,
Scott.
(Who had to quit for a while after fighting with getting IVTV working, step 5.2, and being unsuccessful...)
New Install requested
Already on my Linux box, asked for them to put it on the Solaris.
New I use nano as my default editor.
I don't consider it a bad editor at all.

I use emacs and vi, but only if pico or nano aren't available.

nano can help him graduate into vim, vi or emacs once he gets used to the PuTTY stuff and howto use it properly.

And that syntax highlighting Katzer pointed out can be hugely extended.

Also, on Debian and Ubuntu, /etc/nanorc has a lot of it already there just commented out.
--
[link|mailto:greg@gregfolkert.net|greg],
[link|http://www.iwethey.org/ed_curry|REMEMBER ED CURRY!] @ iwethey
Freedom is not FREE.
Yeah, but 10s of Trillions of US Dollars?
SELECT * FROM scog WHERE ethics > 0;

0 rows returned.
Expand Edited by folkert Aug. 10, 2006, 12:29:22 PM EDT
New Hmmm
Once a user is actively using as something as simple and easy as nano, I highly doubt they will move to another editor after that point.

Just like you won't.

No matter how productive the other editor is, the core incentive to move is not there, ie: they are accomplishing what they need to accomplish using the simple editor.

I asked to have it put on the box so this one guy can at least work directly.

But for people who are new to the environment, who claim to be programmers, who I have some responsibility for (career direction, education, management recommendations for what they should be doing in a few months) I'll give a choice.

vim or eamcs.

Choose one or the other. But if you choose emacs, I can't help you if you run into a problem.

If the response is: Nah, that's too hard, I heard so-and-so say that this editor (nano) is much easier. I'll let them. But I'll also know that they don't really care about learning to best way to do something, they care about immediate gratification. And as time goes on, I'm sure the ones that choose vim or emacs will also be the ones who learn the best and produce the best, which is a virtuous cycle.

Also, I LIKE modal. Sorry. And it's not baby chick, I've worked with many editors before I started using vi. Single character movement is the quickest, especially though laggy dial-up or network. And vi was designed to be the minimum number of keystrokes to type and transmit to do a given task.
New No "undo"
What piece of crap.
New Try this
In the [link|http://www.linux.com/article.pl?sid=05/08/24/145234|list of plugins] I mentioned in the other post, there's a link to "cream", which is a vim targeted at new users. Might be worth a look.
===

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 played with cream
It is INCREDIBLY slow.
New I won't respond to that post
Mostly because I'm afraid to read whatever is under that subject line.
===

Purveyor of Doc Hope's [link|http://DocHope.com|fresh-baked dog biscuits and pet treats].
[link|http://DocHope.com|http://DocHope.com]
New Undo is only necessary for htose who make mistaeks.
I didn't know that nano had no undo. Oh well.

For safety, one could enable the [link|http://www.nano-editor.org/dist/v1.2/nano.html#SEC4|-B flag] to make backups on saves. But yeah, it's not ideal.

Cheers,
Scott.
New You can force it to be the default
in /etc/nanorc
## Backup files to filename~.\nset backup

--
[link|mailto:greg@gregfolkert.net|greg],
[link|http://www.iwethey.org/ed_curry|REMEMBER ED CURRY!] @ iwethey
Freedom is not FREE.
Yeah, but 10s of Trillions of US Dollars?
SELECT * FROM scog WHERE ethics > 0;

0 rows returned.
New No, I use them all. I am not a programmer.
Though when I do bulk changes etc... I use a stream editior

I could change. If I could gain 1 hour a day... I would have quite a long time ago.

If I were a programmer, I'd have a MUCH different set of feelings.
--
[link|mailto:greg@gregfolkert.net|greg],
[link|http://www.iwethey.org/ed_curry|REMEMBER ED CURRY!] @ iwethey
Freedom is not FREE.
Yeah, but 10s of Trillions of US Dollars?
SELECT * FROM scog WHERE ethics > 0;

0 rows returned.
New Never "learned" vi, eh? I like him already!
vi is to editors what BASIC is to programming languages. (Yes, that is an SAT question...or should be....)
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
Editor flame war.

No thanks.

Tell me one that:

Runs on Solaris and Linux.
Windows would be nice as well to keep it the same.
Works in character mode on Linux and Solaris.
Has Perl,C, and PHP syntax highlighting.
Show matching braces, parens, etc.
Has word completion, ie: If I type a long variable name once, I never have to type it again.

Past that, I don't care.
New Well...
Not sure about working in character mode, but there's Visual SlickEdit, for one. There's also emacs (with which I am unfamiliar, but I'm sure Peter can fill me in on it.)

And tell me how that word completion thingie works in vi. No documentation I've ever seen on vi (not that documentation is any UNIX utility's strong suit) documents that little trick.

Oh, and syntax editing highlighting doesn't exist in vi...it does exist in vim, which most Unicies have mapped to the "vi" command....



[Edit: see strikeouts]
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, 01:22:03 PM EDT
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..."
New Emacs.
Best multiple-machine environment feature:

Open a dired (directory edit: ls on steroids) remotely via scp/ssh, then edit and save the files remotely as if they were local. This works over FTP as well.
Regards,

-scott anderson

"Welcome to Rivendell, Mr. Anderson..."
New You can do that in vi, too
I wouldn't be surprised if the interface is a little clunkier though. I remember setting up a bash alias to handle the remoting part. Something like 'alias vir = 'vim -r user@host:/'. (Don't use that command, it's pseudo-bash.)
===

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 don't see that in the man page.
The closest thing is "--remote", which isn't the same thing at all as it requires a "vim server" (shudder) running on the remote machine.
Regards,

-scott anderson

"Welcome to Rivendell, Mr. Anderson..."
New Nope, it's a plugin
[link|http://www.vim.org/tips/tip.php?tip_id=337|The tip on it] says the plugin is installed by default, though. To me that's close enough to "default behavior" as to make no difference.


Oh, and when I said the auto-completion above was done via a macro, I meant plugin.
===

Purveyor of Doc Hope's [link|http://DocHope.com|fresh-baked dog biscuits and pet treats].
[link|http://DocHope.com|http://DocHope.com]
New Looks somewhat similar
Except for the remote file browsing capability you get with dired in Emacs.
Regards,

-scott anderson

"Welcome to Rivendell, Mr. Anderson..."
New Yeah, it's not as general-purpose
That's why I set up the alias. Actually probably a quick bash script, now that I think about it. I had to already know the remote file structure for it to be useful. And if I knew that, and had SSH access, I'd just connect to the remote box and edit in vim there.
===

Purveyor of Doc Hope's [link|http://DocHope.com|fresh-baked dog biscuits and pet treats].
[link|http://DocHope.com|http://DocHope.com]
New Right.
I like to use Emacs to browse the file structure on the web servers in DEV. Sometimes I use it to make remote mods to Javascript files for testing as well.
Regards,

-scott anderson

"Welcome to Rivendell, Mr. Anderson..."
New nano can edit files on remote machines...
just not as pretty.

But I believe its simplicity is a big plus.

Basically it is reading a file into a new buffer, using the execute command from the read-file command

But still at this point the peep needs something simple in character mode.
--
[link|mailto:greg@gregfolkert.net|greg],
[link|http://www.iwethey.org/ed_curry|REMEMBER ED CURRY!] @ iwethey
Freedom is not FREE.
Yeah, but 10s of Trillions of US Dollars?
SELECT * FROM scog WHERE ethics > 0;

0 rows returned.
New Emacs is as simple as you make it.
"emacs somefile"
<use arrow, page, home, end keys to move around>
Type some stuff to put it in the file.
C-x C-c to save and exit (That's the one key combo you *have* to learn, and even that could be rebound to F10 or something).

If they know the bash keybindings, then they know a good portion of the basic Emacs bindings as well.

The advantage of Emacs is that it grows with the user. It's a lot simpler for people to learn than vim if they are new to both (I've verified that here with QA people coming from Notepad to a Solaris environment). The modal nature of vi/vim kills newbies every time.
Regards,

-scott anderson

"Welcome to Rivendell, Mr. Anderson..."
New "Modal == teh sukc" for newbies, indeedly do.
If I had to do it all over again, I'd choose emacs... everyday and twice on Sunday.

The thing is, unlearning the bad habits vi/vim have taught me over the years would be very difficult. Its like learning to live with a chronic pain, you learn to love it after a while and define your life around and with it.
--
[link|mailto:greg@gregfolkert.net|greg],
[link|http://www.iwethey.org/ed_curry|REMEMBER ED CURRY!] @ iwethey
Freedom is not FREE.
Yeah, but 10s of Trillions of US Dollars?
SELECT * FROM scog WHERE ethics > 0;

0 rows returned.
New What bad habits would they be? (new thread)
Created as new thread #264763 titled [link|/forums/render/content/show?contentid=264763|What bad habits would they be?]
"Insert crowbar. Apply force."
New why cant he use the xeditor on solaris?
Any opinions expressed by me are mine alone, posted from my home computer, on my own time as a free american and do not reflect the opinions of any person or company that I have had professional relations with in the past 50 years. meep
New 'X' - not character mode
New Emacs with CUA Mode?
[link|http://www.cua.dk/cua.html|http://www.cua.dk/cua.html]

--
Chris Altmann
     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)

Escape from the prison planet!
672 ms