WelcomeWelcome | FAQFAQ | DownloadsDownloads | WikiWiki

Author Topic: Disabling 'vi' support  (Read 5867 times)

Offline Holmes.Sherlock

  • Newbie
  • *
  • Posts: 25
    • Team Reboot
Disabling 'vi' support
« on: May 21, 2012, 05:51:33 AM »
Core distro has native support for vi editor which I do not need. Is there any way to remove support for vi command & repackage/remaster the ditro myself, thereby making it thinner?

Offline curaga

  • Administrator
  • Hero Member
  • *****
  • Posts: 11044
Re: Disabling 'vi' support
« Reply #1 on: May 21, 2012, 05:57:35 AM »
It is a part of busybox, not the separate package vi. To remove it you'd need to rebuild busybox.

I estimate you would only gain ~25kb by doing so.
The only barriers that can stop you are the ones you create yourself.

Offline Holmes.Sherlock

  • Newbie
  • *
  • Posts: 25
    • Team Reboot
Re: Disabling 'vi' support
« Reply #2 on: May 21, 2012, 05:59:38 AM »
It is a part of busybox, not the separate package vi. To remove it you'd need to rebuild busybox.

I estimate you would only gain ~25kb by doing so.


Actually, I want to add native support for nano editor. Not only that, I'd like to add support for few more command & add native support for a few also, thus customizing it according to my need.

Offline curaga

  • Administrator
  • Hero Member
  • *****
  • Posts: 11044
Re: Disabling 'vi' support
« Reply #3 on: May 21, 2012, 06:20:07 AM »
See ezremaster.
The only barriers that can stop you are the ones you create yourself.

Offline SamK

  • Hero Member
  • *****
  • Posts: 713
Re: Disabling 'vi' support
« Reply #4 on: May 22, 2012, 03:41:43 AM »
Hi Holmes.Sherlock

Is there any way to remove support for vi command & repackage/remaster the ditro myself, thereby making it thinner?
Actually, I want to add native support for nano editor.
Perhaps e3 in the repo may be worth a look. 

Including dependencies, the respective download sizes are:
nano.tcz 0.24MB
e3.tcz 0.02MB

IIRC Nano was a clone of Pico.  e3 emulates the key bindings of WordStar, Emacs, Pico, Nedit, or vi.  Additionally, Nedit emulation is very close to the key bindings used by many GUI editors in different distros and OSs.
   

Offline Holmes.Sherlock

  • Newbie
  • *
  • Posts: 25
    • Team Reboot
Re: Disabling 'vi' support
« Reply #5 on: May 22, 2012, 04:36:45 AM »
Perhaps e3 in the repo may be worth a look. 

Is e3 a full-fledged text editor or an add-on to text editors?

Offline solorin

  • Full Member
  • ***
  • Posts: 184
Re: Disabling 'vi' support
« Reply #6 on: May 22, 2012, 05:07:53 AM »
. . . if you don't know, now you know. . .
        ----- R.I.P. Biggie Smalls -----


Offline AbNoRMiS

  • Hero Member
  • *****
  • Posts: 550
  • nothing can be impeccable in this imperfect world
    • @ß№®M!$
Re: Disabling 'vi' support
« Reply #8 on: May 22, 2012, 09:59:07 AM »
thanks to google we know the answers to many questions
 ;)
[removed completely offtopic paragraph. please stick to the topic, this is not a forum for discussion of s*xual orientation. -gutmensch]
sorry for offtop
 :)
« Last Edit: May 22, 2012, 03:31:10 PM by gutmensch »
Basic Design Concept © @ß№®M!$
please forgive my terrible english :)