LinuxQuestions.org
Visit Jeremy's Blog.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 10-08-2012, 03:42 PM   #1
Ackbach
LQ Newbie
 
Registered: Oct 2012
Location: CT, USA
Distribution: (Lu|U)buntu, Debian
Posts: 2

Rep: Reputation: Disabled
BusyBox version of VI


Most likely, I will be needing to edit source code files on a single-board computer with BusyBox (version 1.10.4) installed. I am aware that the version of vi shipped with BusyBox is somewhat stripped-down. The question is this: does anyone have a cheat sheet or list of commands that work in the BusyBox version of vi? Even if it's the latest version of BusyBox, that'd be helpful. I know, for example, that the following vi commands do not work in BusyBox:

Q
CTRL-v
(
)
[
[[
]]
F
T

No doubt there are more that do not work.

Thanks!
 
Old 10-08-2012, 10:35 PM   #2
nugat
Member
 
Registered: Sep 2012
Posts: 122

Rep: Reputation: 31
Quote:
Originally Posted by Ackbach View Post
Most likely, I will be needing to edit source code files on a single-board computer with BusyBox (version 1.10.4) installed. I am aware that the version of vi shipped with BusyBox is somewhat stripped-down. The question is this: does anyone have a cheat sheet or list of commands that work in the BusyBox version of vi? Even if it's the latest version of BusyBox, that'd be helpful.
you could try downloading the source code for busybox and taking a look in there. for example, look in this file:

Code:
busybox-1.20.2/editors/vi.c
there is definitely the option to add in certain vi features, if you are compiling busybox yourself. in fact, this is just what i did when i found myself in a similar situation. For that, you'll want uClibc, too.
 
1 members found this post helpful.
Old 10-09-2012, 03:59 PM   #3
jefro
Moderator
 
Registered: Mar 2008
Posts: 19,514

Rep: Reputation: 3017Reputation: 3017Reputation: 3017Reputation: 3017Reputation: 3017Reputation: 3017Reputation: 3017Reputation: 3017Reputation: 3017Reputation: 3017Reputation: 3017
Wonder is a standalone version of vi would be easier to install.


http://en.wikibooks.org/wiki/Learnin...tor/BusyBox_vi
 
1 members found this post helpful.
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Using BusyBox version of netcat for listening tcp port A-Rap Linux - Software 4 03-15-2012 05:27 PM
[SOLVED] Busybox qwerty4061 Linux - Embedded & Single-board computer 3 01-11-2012 12:56 PM
Busybox Meh Linux - Newbie 4 03-01-2010 02:31 AM
Regarding distribution + kernel version + gcc version + glib version. JCipriani Linux - General 8 04-19-2008 03:54 PM
Busybox and vi krizzz Linux - Software 3 03-24-2005 06:33 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 10:12 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration