From owner-freebsd-questions Sun Dec 9 0: 5:50 2001 Delivered-To: freebsd-questions@freebsd.org Received: from rutger.owt.com (rutger.owt.com [204.118.6.16]) by hub.freebsd.org (Postfix) with ESMTP id EDF8B37B405 for ; Sun, 9 Dec 2001 00:05:44 -0800 (PST) Received: from owt.com (owt-207-41-94-232.owt.com [207.41.94.232]) by rutger.owt.com (8.9.3/8.9.3) with ESMTP id AAA09732; Sun, 9 Dec 2001 00:05:38 -0800 Message-ID: <3C131B55.10601@owt.com> Date: Sun, 09 Dec 2001 00:05:41 -0800 From: Kent Stewart User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.0; en-US; rv:0.9.4) Gecko/20011019 Netscape6/6.2 X-Accept-Language: en-us MIME-Version: 1.0 To: Anthony Atkielski Cc: "P. U. (Uli) Kruppa" , freebsd-questions@FreeBSD.ORG Subject: Re: telnet to a Win2k-pro machine 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> Content-Type: text/plain; charset=windows-1252; format=flowed Content-Transfer-Encoding: 7bit Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG 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
you can do something like ":.,$s/$/
/" and you will add a "
" 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