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
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
* 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
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
* 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
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
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
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
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
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
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
+++ 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
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
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
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
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
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
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
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
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
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
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
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
% 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
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
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
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
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
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
[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
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
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
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
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
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
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 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
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
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
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
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
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
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
(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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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?
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,
--
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
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
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
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
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
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
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
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.
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
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
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
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
[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
- 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
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
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
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
- 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
=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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
201 - 300 of 328 matches
Mail list logo