Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 09 Dec 2001 00:05:41 -0800
From:      Kent Stewart <kstewart@owt.com>
To:        Anthony Atkielski <anthony@freebie.atkielski.com>
Cc:        "P. U. (Uli) Kruppa" <root@pukruppa.de>, freebsd-questions@FreeBSD.ORG
Subject:   Re: telnet to a Win2k-pro machine
Message-ID:  <3C131B55.10601@owt.com>
References:  <20011208223542.U29324-100000@big> <04cb01c1804f$2673f5b0$0a00000a@atkielski.com> <3C12BCBB.80700@owt.com> <04e401c18050$314ea060$0a00000a@atkielski.com> <3C12BEEC.6010402@owt.com> <04eb01c18054$217e7b70$0a00000a@atkielski.com> <3C12CB0E.2050203@owt.com> <04f201c1805f$4c43ba40$0a00000a@atkielski.com>

next in thread | previous in thread | raw e-mail | index | archive | help


Anthony Atkielski wrote:

> Kent writes:
> 
> 
>>It is too easy to use one of the system
>>running the proper OS for the task than
>>it is to make task run on the wrong OS.
>>
> 
> Hmm ... is making things easy a bad thing?


What I have found is that if you do it on the right system, that is when 
it is the easiest, fastest, and most reliable.


> 
> 
>>Cray thought that just using vi was abusing
>>their system.
>>
> 
> What did they suggest in its place?
> 
> 
>>There are only about 6 commands that you
>>need to know to get started.
>>
> 
> Yeah, and they all look like Esc-Ctrl-Q+Y+z+!+*+"+"+:+5.


Not if you are setup properly. You only send :.. and the ":" puts into a 
command mode and ".." is the command. However, if you want to change the 
end of a line to a <br> you can do something like ":.,$s/$/<br>/" and 
you will add a "<br>" to the end of every line of text from ".", the 
current location to "$" the end of the file. You can do this with sed if 
you want to. To exit, some people us ":wq" but I happen to like ":x".


> 
> 
>>Notepad won't do regular expressions.
>>
> 
> I have yet to come across a need for regular expressions in the editing I
> do.


We have an inventory document that I convert to text and then into HTML 
that people in a 100 mile radius of this area use and I have to change 
the end of the line. It is really easy with regular expressions.


> 
> 
>>Doing a proper cross line cut and paste
>>is hard from vi.
>>
> 
> I haven't even figured out how to delete characters yet.  And not having the
> screen instantly updated seems like a pointless burden to bear, now that
> teletypes are no longer common.
> 
The usual way is nx where n is the number of characters you want to delete. The 

change shows up immediately.


Kent

-- 
Kent Stewart
Richland, WA

mailto:kbstew99@hotmail.com
http://users.owt.com/kstewart/index.html
FreeBSD News http://daily.daemonnews.org/


To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-questions" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?3C131B55.10601>