/rescue/vi doesn't work without /usr (no terminal db)

2005-08-25 Thread N.J. Thomas
I just booted into single user on a 5.4-p6 system. I needed to edit something on the root fs, but /rescue/vi wouldn't work, it complained about not finding the terminal database. I saw some mention in the archives from June about fixing this, though I don't think anything has been comitted yet

Re: /rescue/vi doesn't work without /usr (no terminal db)

2005-08-25 Thread Giorgos Keramidas
On 2005-08-25 10:04, N.J. Thomas [EMAIL PROTECTED] wrote: I just booted into single user on a 5.4-p6 system. I needed to edit something on the root fs, but /rescue/vi wouldn't work, it complained about not finding the terminal database. I saw some mention in the archives from June about

Re: /rescue/vi doesn't work without /usr (no terminal db)

2005-08-25 Thread N.J. Thomas
* Giorgos Keramidas [EMAIL PROTECTED] [2005-08-25 17:10:37 +0300]: On 2005-08-25 10:04, N.J. Thomas [EMAIL PROTECTED] wrote: In the meantime, how can I run /rescue/vi without /usr? I don't think you can. It only needs a read-only /usr though, so if /usr is a local filesystem you can

Re: /rescue/vi doesn't work without /usr (no terminal db)

2005-08-25 Thread Alex Zbyslaw
N.J. Thomas wrote: BUGS Most of the rescue tools work even in a fairly crippled system. The most egregious exception is the rescue version of vi(1), which currently requires that /usr be mounted so that it can access the termcap(5) files. Hopefully, a failsafe

Re: /rescue/vi doesn't work without /usr (no terminal db)

2005-08-25 Thread N.J. Thomas
* Alex Zbyslaw [EMAIL PROTECTED] [2005-08-25 19:22:48 +0100]: BUGS Most of the rescue tools work even in a fairly crippled system. The most egregious exception is the rescue version of vi(1), which currently requires that /usr be mounted so that it can access

Re: /rescue/vi doesn't work without /usr (no terminal db)

2005-08-25 Thread Lars Kristiansen
somewhere convinient may be helpful. It kind of simulates vi behaviour if started as e3vi. /usr/ports/editors/e3 A full featured text editor written in assembler -- Lars Thomas ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org

Recovering vi crashes

2005-08-22 Thread gsstoller
While I try to close (and save, if need be) any vi windows that I have open, I still run into cases where I get mail from root that I have a killed vi process and can recover the file by typing vi -r file-name unfortunately most of the time I get a core

Re: pdksh cli as vi

2005-06-17 Thread Jochen Keil
User Bodza wrote: the same effect. after loggin in it's not working but if i give the set -o vi from the shell it's ok. You have to put set -o vi into your ~/.kshrc. To make sure kshrc makes use of it you also have to put ENV=~/.kshrc export ENV into your ~/.profile. Most shells will use

pdksh cli as vi

2005-06-16 Thread bdz
i use ksh everywhere and the comman line is set to behave like vi so i can search/edit commands pretty fast. on my freebsd5.4 i have installed pdksh-5.2.14p2 from packages. in the .profile EDITOR and VISUAL both exported as vi and after login i can see that: freebsd54$ set|grep vi EDITOR=vi

Re: pdksh cli as vi

2005-06-16 Thread Jochen Keil
Hi. if i switch to command mode strange things happen. like i press 'h' to go to the left and it just adds 'h's to the command line. but if i give it a export VISUAL=vi from the command line everything is ok. Did you try using set -o vi? Regards, Jochen

Re: pdksh cli as vi

2005-06-16 Thread User Bodza
On Thu, Jun 16, 2005 at 03:45:03PM +0200, Jochen Keil wrote: Hi. if i switch to command mode strange things happen. like i press 'h' to go to the left and it just adds 'h's to the command line. but if i give it a export VISUAL=vi from the command line everything is ok. Did you try using

Re: vi editor related question

2004-08-30 Thread Shantanu
+++ Soo-Hyun Choi [freebsd] [28-08-04 00:52 +0100]: | Hi, | | I edit C++ codes with a certain text editor under Windows XP, and then | I open the C++ codes using vi editor under FreeBSD. Then, there are | bunch of ^M sign at the end of each line. Does anyone know why this | is happening

Re: vi editor related question

2004-08-28 Thread Lucas Holt
with a certain text editor under Windows XP, and then I open the C++ codes using vi editor under FreeBSD. Then, there are bunch of ^M sign at the end of each line. Does anyone know why this is happening? And, does anyone can tell me how to avoid this kind of things? Cheers

Re: vi editor related question

2004-08-28 Thread Geert Hendrickx
On Sat, Aug 28, 2004 at 09:20:54AM +0530, Subhro wrote: I have come across a script (Perl) called dos2unix. You can check that out too. Google for the link. Regards S. It's in the Ports tree: textproc/unix2dos. Simply do: dos2unix filename if you want to edit the file under FreeBSD

vi editor related question

2004-08-27 Thread Soo-Hyun Choi
Hi, I edit C++ codes with a certain text editor under Windows XP, and then I open the C++ codes using vi editor under FreeBSD. Then, there are bunch of ^M sign at the end of each line. Does anyone know why this is happening? And, does anyone can tell me how to avoid this kind of things? Cheers

Re: vi editor related question

2004-08-27 Thread Kevin D. Kinsey, DaleCo, S.P.
Soo-Hyun Choi wrote: Hi, I edit C++ codes with a certain text editor under Windows XP, and then I open the C++ codes using vi editor under FreeBSD. Then, there are bunch of ^M sign at the end of each line. Does anyone know why this is happening? Microsoft has chosen (for a long time now

Re: vi editor related question

2004-08-27 Thread Parv
in message [EMAIL PROTECTED], wrote Soo-Hyun Choi thusly... I edit ... certain text editor under Windows XP, and then I open ... using vi editor under FreeBSD. Then, there are bunch of ^M sign at the end of each line. Does anyone know why this is happening? Cause is the default line ending

Re: vi editor related question

2004-08-27 Thread Mike Jeays
On Fri, 2004-08-27 at 20:46, Parv wrote: in message [EMAIL PROTECTED], wrote Soo-Hyun Choi thusly... I edit ... certain text editor under Windows XP, and then I open ... using vi editor under FreeBSD. Then, there are bunch of ^M sign at the end of each line. Does anyone know why

Re: vi editor related question

2004-08-27 Thread Radek Kozlowski
On Fri, Aug 27, 2004 at 10:52:04PM -0400, Mike Jeays wrote: If you are using plain vi, you can get rid of the unwanted characters with the command :1,$s/ctrl-v-m//g where ctrl-v-m' means hold down the Ctrl key while you press v followed by m. You will see them magically disappear. Another

Re: vi editor related question

2004-08-27 Thread Subhro
I have come across a script (Perl) called dos2unix. You can check that out too. Google for the link. Regards S. On Sat, 28 Aug 2004 05:46:04 +0200, Radek Kozlowski [EMAIL PROTECTED] wrote: On Fri, Aug 27, 2004 at 10:52:04PM -0400, Mike Jeays wrote: If you are using plain vi, you can get rid

bash, vi, mutt vs UK settings

2004-07-31 Thread Stacey Roberts
Hello, Could someone let me know how I can set a system up so that when using vi, mutt, etc, when I enter SHIFT 3, I get the UK Pound sign (the GB currency symbol), please? In every other application (GUI-based) this is fine, but its the terminal related operations that appear

Re: bash, vi, mutt vs UK settings

2004-07-31 Thread Mark Napper
Just pop keymap=uk.iso into rc.conf and reboot or if you dont want to do that run the kbdmap program. HTH Mark Stacey Roberts wrote: Hello, Could someone let me know how I can set a system up so that when using vi, mutt, etc, when I enter SHIFT 3, I get the UK Pound sign (the GB currency

Re: bash, vi, mutt vs UK settings

2004-07-31 Thread Stacey Roberts
Hello Mark, Thanks for the reply. - Original Message - From: Mark Napper [EMAIL PROTECTED] To: To [EMAIL PROTECTED] Date: Sat, 31 Jul, 2004 13:37 BST Subject: Re: bash, vi, mutt vs UK settings Just pop keymap=uk.iso into rc.conf and reboot or if you dont want to do that run

RE: vi / EAGAIN Problem

2004-07-02 Thread Gustafson, Tim
% of the time) fixes the problem. It also only happens when I press a key - if I let vi sit there with a file loaded into it, it will not get the error no matter how long I wait. The problem only happens when I press a key, and not always the first one. I can usually work in vi for 10-15 seconds before

Re: vi / EAGAIN Problem

2004-07-01 Thread Sergey Zaharchenko
On Wed, Jun 30, 2004 at 07:24:57AM -0400, Gustafson, Tim probably wrote: Hello everyone. I finally have the output of a ktrace of the problem where vi returns Error: input: Resource temporarily unavailable to me. It can be downloaded from the following link. Reading the kdump of your file

vi / EAGAIN Problem

2004-06-30 Thread Gustafson, Tim
Hello everyone. I finally have the output of a ktrace of the problem where vi returns Error: input: Resource temporarily unavailable to me. It can be downloaded from the following link. Any information that can tell me what's going on here and maybe what I can do to fix it would be greatly

Re: vi / EAGAIN Problem

2004-06-30 Thread Jonathan Chen
On Wed, Jun 30, 2004 at 07:24:57AM -0400, Gustafson, Tim wrote: Hello everyone. I finally have the output of a ktrace of the problem where vi returns Error: input: Resource temporarily unavailable to me. It can be downloaded from the following link. Any information that can tell me what's

Re: Resource temporarily unavailable crash in vi

2004-06-13 Thread Lucas Holt
I've experienced this bug on several occasions. Each time I was using vi over a ssh session. X11 was not loaded on the system. I never did figure it out, and after a reinstall the problem did not occur often. I suspect it has something to do with virtual memory. On Jun 12, 2004, at 1:17

Resource temporarily unavailable crash in vi

2004-06-12 Thread Benjamin Lutz
Hello, I'm lately experiencing the Resource temporarily unavailable crash in vi a lot. I've had the same thing happen in other programs (eg, cvs, while it was waiting for input), so it's not something that's specific to vi. Someone even had it happen with cat: http://unix.derkeiler.com/Mailing

vi, threading, EAGAIN, nonblocking (was: Error: input: Resource temporarily unavailable)

2004-06-05 Thread Mark Terribile
[Sorry if this has been answered; I'm catching up on freebsd-questions and I haven't seen it in the next seven or eight digests.] Tim Gustafson writes: I am getting the following error in vi pretty consistently: Error: input: Resource temporarily unavailable Usually I get this at every

Re: Formatting an email for this list using vi

2004-01-27 Thread Ruben de Groot
On Mon, Nov 17, 2003 at 07:34:54AM -0600, Gary typed: Hi Frederick, --On Monday, November 17, 2003 09:58:00 AM +1100 Frederick Bowes [EMAIL PROTECTED] wrote: I have just started learning to use vi, and remember someone posting something a while ago about how to re-format an email reply

Re: Formatting an email for this list using vi

2004-01-27 Thread Michael D Hughes
I use par to format/reformat my emails. = Copied from message sent on Tue Jan 27 06:26:32 2004 by Ruben de Groot Subject:Re: Formatting an email for this list using vi. On Mon, Nov 17, 2003 at 07:34:54AM -0600, Gary typed: Hi Frederick, --On Monday, November 17, 2003 09:58:00 AM

Re: Formatting an email for this list using vi

2004-01-27 Thread Michael D Hughes
I use par to formatted/reformatted my emails. = Copied from message sent on Tue Jan 27 06:26:32 2004 by Ruben de Groot Subject:Re: Formatting an email for this list using vi. On Mon, Nov 17, 2003 at 07:34:54AM -0600, Gary typed: Hi Frederick, --On Monday, November 17, 2003 09:58

Re: Formatting an email for this list using vi

2004-01-27 Thread Gary
Hi Michael, --On Tuesday, January 27, 2004 06:52:55 AM -0600 Michael D Hughes [EMAIL PROTECTED] wrote: I use par to format/reformat my emails. = Copied from message sent on Tue Jan 27 06:26:32 2004 by Ruben de Groot Subject:Re: Formatting an email for this list using vi. On Mon, Nov 17

Re: how to get rid of ^M character using vi

2004-01-26 Thread Jerry McAllister
how do i get rid of this annoying character ^M using vi, in pico i used the arguments '-w' but what about in vi? Those are extra carriage return characters generally displayed as CR or ^M or \r depending on which programmers convention is being used. There are lots of ways to strip

Re: Formatting an email for this list using vi

2004-01-26 Thread Gary
Hi Frederick, --On Monday, November 17, 2003 09:58:00 AM +1100 Frederick Bowes [EMAIL PROTECTED] wrote: I have just started learning to use vi, and remember someone posting something a while ago about how to re-format an email reply to have proper 60 character width or something like that, does

how to get rid of ^M character using vi

2004-01-25 Thread marlon corleone
how do i get rid of this annoying character ^M using vi, in pico i used the arguments '-w' but what about in vi? cheers _ MSN 8 with e-mail virus protection service: 2 months FREE* http://join.msn.com/?page=features/virus

Re: how to get rid of ^M character using vi

2004-01-25 Thread Kent Stewart
On Sunday 25 January 2004 01:43 am, marlon corleone wrote: how do i get rid of this annoying character ^M using vi, in pico i used the arguments '-w' but what about in vi? starting on the 1st line type :.,$s/ctrlvctrlm// The .,$ tells it to process from the current line to the last one

Re: how to get rid of ^M character using vi

2004-01-25 Thread Avijit Pathania
Looks like your file might have been edited in a dos text editor. You can try running dos2unix against it to see if that helps. marlon corleone wrote: how do i get rid of this annoying character ^M using vi, in pico i used the arguments '-w' but what about in vi? cheers

Re: how to get rid of ^M character using vi

2004-01-25 Thread Bernard El-Hagin
Kent Stewart [EMAIL PROTECTED] wrote: On Sunday 25 January 2004 01:43 am, marlon corleone wrote: how do i get rid of this annoying character ^M using vi, in pico i used the arguments '-w' but what about in vi? starting on the 1st line type :.,$s/ctrlvctrlm// The .,$ tells it to process from

Re: how to get rid of ^M character using vi

2004-01-25 Thread Dan Welch
On Sun, Jan 25, 2004 at 09:43:21AM +, marlon corleone wrote: how do i get rid of this annoying character ^M using vi, in pico i used the arguments '-w' but what about in vi? This colon (ed) command works in FreeBSD's included vi's command mode: :%s/^M//g followed by pressing Enter

Re: how to get rid of ^M character using vi

2004-01-25 Thread Greg Wooledge
If *every* line ends with ^M (which is almost always going to be the case, if the file has been produced on a DOS/Windows system), then you can just use this: :%s/.$// to delete the last character of each line. This has an obvious downside, but the advantages are that it's easier to type and to

Re: how to get rid of ^M character using vi

2004-01-25 Thread Eric Dyer
One thing that works from the command line too col -bx oldfile newfile mv newfile oldfile Picked that up from a freebsd box that had a freebsd-tips or something like that fortune file running on login At 09:27 AM 1/25/2004, Greg Wooledge wrote: If *every* line ends with ^M (which is almost

Re: how to get rid of ^M character using vi

2004-01-25 Thread Albert Vest
(usually when building ports, to capture the output). THE ^M (sometimes two) are plainly visible when opening the file in ee. All FreeBSD4.7, no dos involved. marlon corleone wrote: how do i get rid of this annoying character ^M using vi, in pico i used the arguments '-w' but what about

RE: how to get rid of ^M character using vi

2004-01-25 Thread Dom De Vitto
Try: :1,$sX^V^MX?? Where '^' means 'control', e.g. ^V is control-V, ^M is control-M. Control-V can be used to enter any non-printable ascii character. Easy when you know. Dom PS. the same magic works outside of VI, with sed

Re: Using Vi through a Serial Console

2004-01-19 Thread Mario Antonio
Scott, Thanks a lot. I really appreciate it. It worked beautifully Mario Antonio - Original Message - From: Scott W [EMAIL PROTECTED] To: Mario Antonio [EMAIL PROTECTED] Cc: [EMAIL PROTECTED] Sent: Sunday, January 18, 2004 11:37 AM Subject: Re: Using Vi through a Serial Console

Re: Using Vi through a Serial Console

2004-01-18 Thread Scott W
Mario Antonio wrote: Dear List, When I make a serial connection to a FreeBSD server that has its serial port configured as a console, how can I make the vi editor work? Mario --- [This e-mail was scanned for viruses by Webjogger's AntiVirus Protection System

Using Vi through a Serial Console

2004-01-17 Thread Mario Antonio
Dear List, When I make a serial connection to a FreeBSD server that has its serial port configured as a console, how can I make the vi editor work? Mario --- [This e-mail was scanned for viruses by Webjogger's AntiVirus Protection System] ___ [EMAIL

Re: Using Vi through a Serial Console

2004-01-17 Thread Tillman Hodgson
On Sat, Jan 17, 2004 at 06:52:31PM -0500, Mario Antonio wrote: Dear List, When I make a serial connection to a FreeBSD server that has its serial port configured as a console, how can I make the vi editor work? What doesn't work about it? And you've already set your TERM environment

Re: halt while booting: recovering vi editor sessions /kv

2003-12-29 Thread Lowell Gilbert
Kai Vermehr [EMAIL PROTECTED] writes: While booting I get the message recovering vi editor sessions and the booting process is halted for a couple of minutes. I'm new to FreeBSD so I don't know where to look. Booting is resumed and some time later I get a message that sendmail is starting

halt while booting: recovering vi editor sessions /kv

2003-12-28 Thread Kai Vermehr
While booting I get the message recovering vi editor sessions and the booting process is halted for a couple of minutes. I'm new to FreeBSD so I don't know where to look. Booting is resumed and some time later I get a message that sendmail is starting -- again taking a long time ... Any ideas

Re: halt while booting: recovering vi editor sessions /kv

2003-12-28 Thread Doug Hardie
If the first one or two DNS server entries are not working you will see this behavior. On Dec 28, 2003, at 15:23, Kai Vermehr wrote: While booting I get the message recovering vi editor sessions and the booting process is halted for a couple of minutes. I'm new to FreeBSD so I don't know

use vi style in all line-edit environment

2003-12-23 Thread Zhang Weiwu
I have been using vi all the time, even in csh I set bindkey -v to use vi style command-line edit. But when the context is switched to python, mysql, or scilab I have to warn myself not to type in vi style. Very often in mysql I mistyped something and try to type a x to correct it, or I press

Re: use vi style in all line-edit environment

2003-12-23 Thread Jan Grant
On Tue, 23 Dec 2003, Zhang Weiwu wrote: I have been using vi all the time, even in csh I set bindkey -v to use vi style command-line edit. But when the context is switched to python, mysql, or scilab I have to warn myself not to type in vi style. Very often in mysql I mistyped something

Formatting an email for this list using vi

2003-11-17 Thread Frederick Bowes
Hi, I have just started learning to use vi, and remember someone posting something a while ago about how to re-format an email reply to have proper 60 character width or something like that, does anyone remember how that is done? Thanks, Fred

Re: Formatting an email for this list using vi

2003-11-17 Thread Sven Pfeifer
Hi, Frederick Bowes [EMAIL PROTECTED] wrote: Hi, I have just started learning to use vi, and remember someone posting something a while ago about how to re-format an email reply to have proper 60 character width or something like that, does anyone remember how that is done? I do something

Re: Formatting an email for this list using vi

2003-11-17 Thread mike bueide
On Mon, Nov 17, 2003 at 09:58:00AM +1100, Frederick Bowes wrote: Hi, I have just started learning to use vi, and remember someone posting something a while ago about how to re-format an email reply to have proper 60 character width or something like that, does anyone remember how

Re: Formatting an email for this list using vi

2003-11-17 Thread Julien Gabel
I have just started learning to use vi, and remember someone posting something a while ago about how to re-format an email reply to have proper 60 character width or something like that, does anyone remember how that is done? When you're in the editor: :set wm=20 will give 60 character

Re: Formatting an email for this list using vi

2003-11-17 Thread Ruben de Groot
On Mon, Nov 17, 2003 at 04:44:09PM +0100, Julien Gabel typed: I have just started learning to use vi, and remember someone posting something a while ago about how to re-format an email reply to have proper 60 character width or something like that, does anyone remember how that is done

Re: Formatting an email for this list using vi

2003-11-17 Thread Julien Gabel
I have just started learning to use vi, and remember someone posting something a while ago about how to re-format an email reply to have proper 60 character width or something like that, does anyone remember how that is done? When you're in the editor: :set wm=20 will give 60 character

Re: newbie: vi - go to previous file

2003-11-15 Thread [EMAIL PROTECTED]
On Tuesday, November 11, 2003, Konrad Heuer wrote: On Tue, 11 Nov 2003, Zhang Weiwu wrote: Hello. I am using the BSD's vi not vim. I learned from :exusage that :N is to swich to the next file in argument list while :P swich to the previous file. :N woks fine, while :P does nothing. say, I

newbie: vi - go to previous file

2003-11-11 Thread Zhang Weiwu
Hello. I am using the BSD's vi not vim. I learned from :exusage that :N is to swich to the next file in argument list while :P swich to the previous file. :N woks fine, while :P does nothing. Say, I run vi file1 file2, which opens file1, :N begin to edit file2, then I press :P, I thought I

Re: newbie: vi - go to previous file

2003-11-11 Thread Konrad Heuer
On Tue, 11 Nov 2003, Zhang Weiwu wrote: Hello. I am using the BSD's vi not vim. I learned from :exusage that :N is to swich to the next file in argument list while :P swich to the previous file. :N woks fine, while :P does nothing. Say, I run vi file1 file2, which opens file1, :N begin

Re: Installation issue, V4.9 vis a vi constant rebooting

2003-11-02 Thread Lowell Gilbert
Wayne Spivak [EMAIL PROTECTED] writes: I'm trying to install FreeBSD 4.9 on a HP NetServer E45, with AHA 2910 AHA 2940 SCSI cards. The 2940 has two drives connected. Each time I try the install, after the Visual screen, it finds the hardware and then states: Waiting 15 seconds for

RE: Installation issue, V4.9 vis a vi constant rebooting

2003-11-02 Thread Wayne Spivak
Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Lowell Gilbert Sent: Sunday, November 02, 2003 10:14 AM To: Wayne Spivak Cc: [EMAIL PROTECTED] Subject: Re: Installation issue, V4.9 vis a vi constant rebooting Wayne Spivak [EMAIL PROTECTED] writes: I'm trying to install

Installation issue, V4.9 vis a vi constant rebooting

2003-11-01 Thread Wayne Spivak
I'm trying to install FreeBSD 4.9 on a HP NetServer E45, with AHA 2910 AHA 2940 SCSI cards. The 2940 has two drives connected. Each time I try the install, after the Visual screen, it finds the hardware and then states: Waiting 15 seconds for drives to settle Rebooting, hit. Any ideas?

vi (diff (ps -ax) (ps -ax -m)) in bash

2003-10-11 Thread Herculano de Lima Einloft Neto
I'm used to this kind of redirection in Linux.. it only gets me empty files in FreeBSD. Is there something I can do? One other thing.. where could I setup man for search highlighting? I'm getting tired of toggling -G everytime. :) FreeBSD 5.1 RELEASE Thanks in advance, --

vi and wrap text

2003-10-08 Thread Bryan Cassidy
I want to know is there a way to wrap the text in vi? In emacs you can just hit Esc+q and it will wrap the text. How about vi? ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail

Re: vi and wrap text

2003-10-08 Thread Francesco Casadei
On Wed, Oct 08, 2003 at 06:22:45AM -0500, Bryan Cassidy wrote: I want to know is there a way to wrap the text in vi? In emacs you can just hit Esc+q and it will wrap the text. How about vi? ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org

Re: vi and wrap text

2003-10-08 Thread Peder Blom
On Wed, 8 Oct 2003 06:22:45 -0500 Bryan Cassidy [EMAIL PROTECTED] wrote: I want to know is there a way to wrap the text in vi? In emacs you can just hit Esc+q and it will wrap the text. How about vi? I dont use emacs, but isn't Esc+q the command to rewrap text? I'm not aware of any

Re: vi and wrap text

2003-10-08 Thread Gary gv-list-freebsdquestions
Hi Bryan, On Wednesday, October 8, 2003, 6:22:45 AM, you wrote: B I want to know is there a way to wrap the text in vi? In emacs you can B just hit Esc+q and it will wrap the text. How about vi? I don't know any in VI, but if you install the VIM package, to wrap text, you can just hit esc gqip

Re: vi and wrap text

2003-10-08 Thread Bryan Cassidy
AM, you wrote: B I want to know is there a way to wrap the text in vi? In emacs you can B just hit Esc+q and it will wrap the text. How about vi?I don't know any in VI, but if you install the VIM package, to wrap text, you can just hit esc gqip and it is done..-- Gary Life is what

Re: vi and wrap text

2003-10-08 Thread Gary
Hi Bryan, On Wednesday, October 8, 2003, 10:30:50 AM, you wrote: B Thanks for all the replies. I'm gonna read up on some of the B things everyone told me but in the mean time I think I'm gonna B take garys advise and try vim. It works great, and you can alias it in your shell .rc file, so vi

Re: vi and wrap text

2003-10-08 Thread Bill Campbell
On Wed, Oct 08, 2003, Gary gv-list-freebsdquestions@mygirlfriday.info wrote: Hi Bryan, On Wednesday, October 8, 2003, 6:22:45 AM, you wrote: B I want to know is there a way to wrap the text in vi? In emacs you can B just hit Esc+q and it will wrap the text. How about vi? I don't know any in VI

Re: vi and wrap text

2003-10-08 Thread parv
in message [EMAIL PROTECTED], wrote Bill Campbell thusly... Another one I use a lot in my ~.vimrc file is ``map F5 {!}fmt'' So you add other arguments to pass to fmt (for carriage-return character is missing).(?) which rewraps the current paragraph the cursor is in when I press the F5 key.

Re: vi and wrap text

2003-10-08 Thread Bill Campbell
of paragraph, ``fmt'' the command to execute. For anybody else who is still reading, 'EscE' works as described above except the formatting point is the line containing the current position of the cursor. The formatting commands of vi/vim are truly amazing, and I frequently learn new tricks after

Re: vi and wrap text

2003-10-08 Thread parv
in message [EMAIL PROTECTED], wrote Bill Campbell thusly... I also have a locally written version of fmt that will take a ``-q'' option to handle e- mail quoted text that removes the quotes, reformats, then puts a single level of quotes back on I hear par(1) can out do both fmt(1) vim's

The VI editor (old)

2003-09-04 Thread Mark Terribile
I found something that might be relevant to this old question: I have trouble using vi and vim under freebsd, under linux red hat it was working perfect. The trouble is that the arrow-keys doesn't work when I'm in insert mode. I have heard that it's important to use the right

The VI editor

2003-08-30 Thread mats
Hi I have trouble using vi and vim under freebsd, under linux red hat it was working perfect. The trouble is that the arrow-keys doesn't work when I'm in insert mode. I have heard that it's important to use the right terminalprogram. In vim it's ok with the fancy swedish letters with dots over

Re: The VI editor

2003-08-30 Thread Joshua Oreman
[Please break your lines at a manageable length -- 72 is good] On Sat, Aug 30, 2003 at 04:30:10AM +0200 or thereabouts, mats wrote: Hi I have trouble using vi and vim under freebsd, under linux red hat it was working perfect. The trouble is that the arrow-keys doesn't work when I'm

Re: The VI editor

2003-08-30 Thread Markie
- Original Message - From: Joshua Oreman [EMAIL PROTECTED] To: mats [EMAIL PROTECTED] Cc: [EMAIL PROTECTED] Sent: Saturday, August 30, 2003 5:44 AM Subject: Re: The VI editor [Please break your lines at a manageable length -- 72 is good] On Sat, Aug 30, 2003 at 04:30:10AM +0200

``Resource temporarily unavailable'' in vi

2003-07-14 Thread Mikhail Teterin
Every once in a while, a vi-session dies on me with: input: Resource temporarily unavailable What does it mean, why does it happen, and how can I prevent it? Thanks a lot! -mi P.S. Running recent -current. ___ [EMAIL PROTECTED

Re: ``Resource temporarily unavailable'' in vi

2003-07-14 Thread Barney Wolff
On Mon, Jul 14, 2003 at 06:08:32PM -0400, Mikhail Teterin wrote: Every once in a while, a vi-session dies on me with: input: Resource temporarily unavailable What does it mean, why does it happen, and how can I prevent it? I suspect vi's not handling an EAGAIN error return. I get

Re: ``Resource temporarily unavailable'' in vi

2003-07-14 Thread Matthias Buelow
Mikhail Teterin writes: Every once in a while, a vi-session dies on me with: input: Resource temporarily unavailable Are you running ksh93 per chance? I've seen this after I started an OpenGL program such as xscreensaver-demo from ksh93 (however that could have influenced the terminal

Re: ``Resource temporarily unavailable'' in vi

2003-07-14 Thread Joshua Lokken
- Original Message - From: Matthias Buelow [EMAIL PROTECTED] To: Mikhail Teterin [EMAIL PROTECTED] Cc: [EMAIL PROTECTED]; [EMAIL PROTECTED] Sent: Monday, July 14, 2003 3:43 PM Subject: Re: ``Resource temporarily unavailable'' in vi Mikhail Teterin writes: Every once in a while

Re: ``Resource temporarily unavailable'' in vi

2003-07-14 Thread Mikhail Teterin
=Every once in a while, a vi-session dies on me with: = = input: Resource temporarily unavailable =Are you running ksh93 per chance? I've seen this after I started an =OpenGL program such as xscreensaver-demo from ksh93 (however that =could have influenced the terminal settings or whatever

Re: ``Resource temporarily unavailable'' in vi

2003-07-14 Thread Andrew Elmore
On Tue, Jul 15, 2003 at 12:43:40AM +0200, Matthias Buelow wrote: Mikhail Teterin writes: Every once in a while, a vi-session dies on me with: input: Resource temporarily unavailable Are you running ksh93 per chance? I've seen this after I started an OpenGL program

Re: Can vi edit binary file in hex format?

2003-07-09 Thread Daniel Bye
On Wed, Jul 09, 2003 at 06:15:36AM +0100, Supote Leelasupphakorn wrote: Is there option that enable standard vi (accompany wiht FreeBSD) for editing binary file in hex format ? Don't know, but there are a handful of hex editors in ports. Maybe one of them will fit? [danielby: /usr/ports

Re: Can vi edit binary file in hex format?

2003-07-09 Thread Alexander Haderer
At 11:00 09.07.2003 +0100, Daniel Bye wrote: On Wed, Jul 09, 2003 at 06:15:36AM +0100, Supote Leelasupphakorn wrote: Is there option that enable standard vi (accompany wiht FreeBSD) for editing binary file in hex format ? Don't know, but there are a handful of hex editors in ports. Maybe one

Re: Can vi edit binary file in hex format?

2003-07-09 Thread othermark
Supote Leelasupphakorn wrote: Is there option that enable standard vi (accompany wiht FreeBSD) for editing binary file in hex format ? I do this fairly regularly, just use xxd. For example try this: cp /bin/cat ~/mycat vi ~/mycat now editing in vi [esc] :%!xxd now editing mycat in hex

Can vi edit binary file in hex format?

2003-07-08 Thread Supote Leelasupphakorn
Is there option that enable standard vi (accompany wiht FreeBSD) for editing binary file in hex format ? Thanks in advance, Want to chat instantly with your online friends? Get the FREE Yahoo! Messenger http

Re: vi

2003-07-06 Thread Matthew D. Fuller
On Sun, Jul 06, 2003 at 03:04:16AM +0800 I heard the voice of adrian kok, and lo! it spake thus: My friend puts some words in in.txt eg: xxx wq! and vi in.txt then this program in in.txt will automatically do it and finally save and exit With vim, use -s (see manpage

Re: vi

2003-07-05 Thread adrian kok
Hi all My friend puts some words in in.txt eg: xxx wq! and vi in.txt then this program in in.txt will automatically do it and finally save and exit So it is not relvant about vi in.txt to change the content in in.txt Thank you --- Fernando Gleiser [EMAIL PROTECTED] wrote: On Sat, 5

vi

2003-07-04 Thread adrian kok
Can I avoid this warning message from vi? When I run vi in.txt Vim: Warning: Input is not from a terminal Thank you ___ Do You Yahoo!? Get your free @yahoo.com.hk address at http://mail.english.yahoo.com.hk

Re: vi

2003-07-04 Thread Paul Chvostek
On Sat, Jul 05, 2003 at 12:15:06AM +0800, adrian kok wrote: Can I avoid this warning message from vi? When I run vi in.txt Vim: Warning: Input is not from a terminal The man page for vi says: Vi is a screen oriented text editor. Ex is a line-oriented text edi- tor. Ex and vi

Re: vi

2003-07-04 Thread Fernando Gleiser
On Sat, 5 Jul 2003, adrian kok wrote: Can I avoid this warning message from vi? When I run vi in.txt Vim: Warning: Input is not from a terminal Run vi in.txt If you need to edit a file from a script, use ex or sed instead Fer

Re: how do i invoke the command ee or vi when system fails to load

2003-03-12 Thread Giorgos Keramidas
brought me out of read only mode so I could run vi to fix my rc.conf...hope this helps... Nah. It's not a good idea to use mount -a before fsck. The safest thing you can do if you haven't tinkered with the sizes and/or order of the partitions is to run: # fsck -p mount -u / mount -va

Re: how do i invoke the command ee or vi when system fails toload

2003-03-12 Thread Mike Meyer
In [EMAIL PROTECTED], Giorgos Keramidas [EMAIL PROTECTED] typed: Nah. It's not a good idea to use mount -a before fsck. The safest thing you can do if you haven't tinkered with the sizes and/or order of the partitions is to run: # fsck -p mount -u / mount -va I disagree. If the

Re: how do i invoke the command ee or vi when system fails to load

2003-03-12 Thread Jim Trigg
On Tue, Mar 11, 2003 at 11:44:40PM -0600, Franklin Pierce wrote: - Original Message - From: Tom Parquette [EMAIL PROTECTED] Date: Tue, 11 Mar 2003 18:55:07 -0500 To: NOEL BALANSAG [EMAIL PROTECTED] Subject: Re: how do i invoke the command ee or vi when system fails to load NOEL

how do i invoke the command ee or vi when system fails to load

2003-03-11 Thread NOEL BALANSAG
hello. pardon my stupid question, but how do i invoke the command ee or vi? i recently removed partition no. 2 on my disk, and fbsd resides on partition no. 3, so now i have 2 partitions, windoze on partition 1 and = fbsd on partition 2. but when i boot into fbsd, the system cannot see the files

<    1   2   3   4   >