maemo.org - Talk

maemo.org - Talk (https://talk.maemo.org/index.php)
-   Nokia N900 (https://talk.maemo.org/forumdisplay.php?f=44)
-   -   Will good ol' ed be available? (https://talk.maemo.org/showthread.php?t=31305)

zeze 2009-09-05 01:26

Will good ol' ed be available?
 
To spare some of you some writing, I know this is a rather pointless, freakish question, but does anybody know 1) whether the N900 includes BusyBox by default and if so 2) whether the BusyBox build includes the ed text editor?

Thanks!

sjgadsby 2009-09-05 02:00

Re: Will good ol' ed be available?
 
Quote:

Originally Posted by zeze (Post 321854)
1) whether the N900 includes BusyBox by default

Yes.

Quote:

2) whether the BusyBox build includes the ed text editor?
I expect not, as previous Maemo releases have not included it. A shame, I know.

lma 2009-09-05 07:00

Re: Will good ol' ed be available?
 
It doesn't:
Code:

# CONFIG_ED is not set
but it should be straightforward to recompile the Debian (or Ubuntu) ed package.

linuxeventually 2009-09-05 08:11

Re: Will good ol' ed be available?
 
http://www.gnu.org/fun/jokes/ed.msg.html
XD

I just use nano, I don't understand you elitists.

zeze 2009-09-05 14:08

Re: Will good ol' ed be available?
 
Thanks to all for the replies. Is it possible to replace the default BusyBox with a more feature-rich binary (instead of adding individual binaries, say for ed)? Do you need to be a grown-up hacker to do so?

linuxeventually 2009-09-05 23:26

Re: Will good ol' ed be available?
 
Well you might be able to replace it with bash (I believe one of the packages in the repo is meant as replacement for busybox) that and you could compile coreutils (which is basically just a bunch of individual binaries). And if osso-xterm bothers you, there is ROXterm and perhaps other terminal emulators. Did you have a specific purpose in mind or is it simply a personal preference?

nowave7 2009-09-05 23:51

Re: Will good ol' ed be available?
 
You also have vi...

lma 2009-09-06 00:39

Re: Will good ol' ed be available?
 
And vim (which comes with ex) in extras. But ed is the standard text editor.

nowave7 2009-09-06 01:24

Re: Will good ol' ed be available?
 
Quote:

Originally Posted by lma (Post 322335)
And vim (which comes with ex) in extras. But ed is the standard text editor.

Standard text editor where? You can count on vi to be everywhere you look, but not on ed.

lma 2009-09-06 01:47

Re: Will good ol' ed be available?
 
Quote:

Originally Posted by nowave7 (Post 322355)
Standard text editor where?

I was going for subtlety, but... there.

sjgadsby 2009-09-06 01:50

Re: Will good ol' ed be available?
 
Quote:

Originally Posted by nowave7 (Post 322355)
Standard text editor where?

For many years, in Unix. Also in LPMuds, which is how I came to know it.

nowave7 2009-09-06 01:53

Re: Will good ol' ed be available?
 
That may be true, but still a lot of embedded systems based on Linux and mini Linux distros, use busybox, which only has vi, no ed so...
I personally have never used ed myself, and used vi quite a lot, but that doesn't have to mean anything :)

Andre Klapper 2009-09-06 14:14

Re: Will good ol' ed be available?
 
Feel free to file an enhancement request against Busybox in bugs.maemo.org to enable CONFIG_ED by default. No idea though if Nokians will agree as there's nano and vi available already.
It's all about personal preferences, I'd say...

texaslabrat 2009-09-06 18:10

Re: Will good ol' ed be available?
 
what about EMACS? j/k :p

texaslabrat 2009-09-06 18:20

Re: Will good ol' ed be available?
 
On a more serious note:

rather than lobby to modify the busybox (a rather large undertaking relatively speaking), is there some reason why those who want "ed" or "insert_favorite_app_here) can't just drop a statically compiled binary in their device's filesystem and be done with it? Seems like a sort of non-issue to me.

nowave7 2009-09-06 19:00

Re: Will good ol' ed be available?
 
Quote:

Originally Posted by texaslabrat (Post 322766)
what about EMACS? j/k :p

It's available for Diablo, it should be for Fremantle, at least soon, if it isn't now. :)

zeze 2009-09-06 19:56

Re: Will good ol' ed be available?
 
Quote:

Originally Posted by texaslabrat (Post 322768)
On a more serious note:

rather than lobby to modify the busybox (a rather large undertaking relatively speaking), is there some reason why those who want "ed" or "insert_favorite_app_here) can't just drop a statically compiled binary in their device's filesystem and be done with it? Seems like a sort of non-issue to me.

I would surely do that; I'm not about to make default ed inclusion in 2009 my life call. Could you (or anybody else) point me in that right direction if I wanted to do that. I guess I should find some source code for ed and compile it using the maemo SDK, right? Any site containing the details of the general process? (E.g., compiling statically, etc.)

Thanks again for all the feedback!

lma 2009-09-06 20:49

Re: Will good ol' ed be available?
 
Quote:

Originally Posted by zeze (Post 322803)
I guess I should find some source code for ed and compile it using the maemo SDK, right?

Right, although (since Maemo is derived from Debian) it should be easier to start from the Debian package.

However, ed does seem to be available (in the Fremantle SDK repository) after all :-)

zeze 2009-09-06 21:56

Re: Will good ol' ed be available?
 
Quote:

Originally Posted by lma (Post 322820)
However, ed does seem to be available (in the Fremantle SDK repository) after all :-)

Thanks for this! As you can see, I'm utterly unfamiliar with all things related to maemo. I must confess my sudden interest comes from drooling over the N900. Now it's time to start saving!

Cheers!

pelago 2009-09-06 21:59

Re: Will good ol' ed be available?
 
I see it's in diablo's repository too, http://repository.maemo.org/pool/diablo/free/e/ed/, although it doesn't show up in Application Manager. Hmm.

zeze 2010-02-08 00:02

Re: Will good ol' ed be available?
 
1 Attachment(s)
Five months on, here is an update, following Ima's link:


All times are GMT. The time now is 23:00.

vBulletin® Version 3.8.8