From: Eef Hartman on
Lew Pitcher <lewpitcher(a)lewpitcher.ca> wrote:
> If you want to think in a minimal, survivalist manner, you should
> lookup the "ex" command.

If you really wanna go minimal, look up "ed" (i.e. the stream editor,
sed, is derived from THAT, nor from the EXtended editor ex).
--
*******************************************************************
** Eef Hartman, Delft University of Technology, dept. SSC/ICT **
** e-mail: E.J.M.Hartman(a)tudelft.nl - phone: +31-15-278 82525 **
*******************************************************************
From: Mike Jones on
Responding to Clemens Ladisch:

> Michael Black wrote:
>> On Wed, 25 Nov 2009, Mike Jones wrote:
>> > Can we (extra pretty) PLEASE have Nano on the install disks?
>>
>> Am I missing the question? Both Nano and MC are in Slackware 13 [...]
>> The only other way I can interpret your question is that you think it
>> should be available when booting the DVD during the install phase.
>
> The Slackware installer uses busybox, so vi (and ed) is all that's
> available then. It runs from a RAM disk, so it's very unlikely that a
> separate editor will be added, even one as small as nano.


Something as small as Nano = no, but Vi, which is huge (and complex) by
comparison, is the standard? From the installation disk boot? This
doesn't add up.

Surely the lightest editor (143kB on my system) would make sense. I get
the idea Vi is included in so many places because those who do the
hacking and tweaking, and the developing, all use it. This doesn't mean
its a useful tool to end users and casual dabblers like moi though.


Hmmm...?

http://www.theregister.co.uk/1999/05/27/half_of_users_attack_their/

;\

--
*=( http://www.thedailymash.co.uk/
*=( For all your UK news needs.
From: Martin Schmitz on
Mike Jones wrote:
> Something as small as Nano = no, but Vi, which is huge (and complex)
> by comparison, is the standard? From the installation disk boot? This
> doesn't add up.

Nano is about five times bigger than standard vi (in disksize, in
functionality vi is about 100 times "bigger"):

[dakini]~$ ls -l /usr/bin/nano /usr/bin/nvi
-rwxr-xr-x 1 root root 145884 2008-09-16 02:07 /usr/bin/nano
-rwxr-xr-x 3 root root 30354 2009-04-05 15:39 /usr/bin/nvi

Martin

From: Eef Hartman on
Mike Jones <Not(a)arizona.bay> wrote:
> Something as small as Nano = no, but Vi, which is huge (and complex) by
> comparison, is the standard? From the installation disk boot?

The "vi" in the ramdisk image is NOT a separate program, it is one of
the many commands, served by the single "busybox" executable
(all commands are just sym-links TO that executable):

BusyBox combines tiny versions of many common UNIX utilities into a
single small executable. It provides minimalist replacements for most
of the utilities you usually find in GNU coreutils, util-linux, etc.
The utilities in BusyBox generally have fewer options than their
full-featured GNU cousins; however, the options that are included
provide the expected functionality and behave very much like their
GNU counterparts.

The "vi" in busybox is probably less then 50 KB and has the following
command syntax:
vi

vi [OPTIONS] [FILE]...

Edit FILE

Options:

-c Initial command to run ($EXINIT also available)
-R Read-only - do not write to the file
-H Short help regarding available features

(from the busybox website: http://www.busybox.net).

PS: the ls, rm, cp and e.g. grep and gunzip commands are in busybox
too, Pat _is_ using a separate "tar" executable, but there is a
minimal tar in busybox too).
--
*******************************************************************
** Eef Hartman, Delft University of Technology, dept. SSC/ICT **
** e-mail: E.J.M.Hartman(a)tudelft.nl - phone: +31-15-278 82525 **
*******************************************************************
From: Lew Pitcher on
On November 26, 2009 07:35, in alt.os.linux.slackware, Eef Hartman
(E.J.M.Hartman(a)tudelft.nl) wrote:

> Mike Jones <Not(a)arizona.bay> wrote:
>> If you're going to have obscure stuff like joe and jove in the default
>> install, the Nano should be in there too, to be fair about it.
>
> But nano (and mc) _are_ in the (13.0 probably "and before") distribution
> (the tagfile for the "ap" set gives:
> jed:OPT
> joe:OPT
> jove:OPT
> mc:OPT
> nano:REC
[snip]

I took the OP's request to mean to ask for Nano on the "Live system" part of
the install DVD. Nano and Pico have been readily available as parts of
install packages for quite some time.

--
Lew Pitcher
Master Codewright & JOAT-in-training | Registered Linux User #112576
Me: http://pitcher.digitalfreehold.ca/ | Just Linux: http://justlinux.ca/
---------- Slackware - Because I know what I'm doing. ------