From: Grant on
On Tue, 27 Oct 2009 10:26:00 -0700, Thad Floryan <thad(a)thadlabs.com> wrote:

>On 10/27/2009 10:02 AM, Thad Floryan wrote:
>> [...]
>> The SheevaPlug does have an SD slot and a JTAG connector, too, for debug
>> purposes. I only use the external 2.5" HD in the USB enclosure for doing
>> compiles (that I don't care to do on another Linux box using the cross-
>> development software).
>
>You may get a kick out of seeing this:
>
>root(a)debian:~# pwd
>/root
>root(a)debian:~# ed hw.c

ed! I haven't seen that since late '70s ;) They didn't give you vi?

>hw.c: No such file or directory
>a
>#include <stdio.h>
>main(){printf("Hello world!\n");}
>.
>w
>53
>q
>root(a)debian:~# make hw
>cc hw.c -o hw
>root(a)debian:~# file hw
>hw: ELF 32-bit LSB executable, ARM, version 1 (SYSV), dynamically linked (uses
>shared libs), for GNU/Linux 2.6.16, not stripped
>root(a)debian:~# gcc --version
>gcc (Ubuntu 4.3.3-5ubuntu4) 4.3.3
>Copyright (C) 2008 Free Software Foundation, Inc.
>This is free software; see the source for copying conditions. There is NO
>warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
>
>root(a)debian:~# ./hw
>Hello world!
>root(a)debian:~# ll hw*
>-rwxr-xr-x 1 root root 9554 Oct 27 17:21 hw*
>-rw-r--r-- 1 root root 53 Oct 27 17:21 hw.c

Now I want one :)

Grant.
--
http://bugsplatter.id.au
From: jan olieslagers on
Grant schreef:
>
> ed! I haven't seen that since late '70s ;) They didn't give you vi?
>

I remember working in a place where vi was reserved for senior
sysadmins. To even mention vim was a no-no, deadly to carreers. Ah, them
good old days of ed...
From: Thad Floryan on
On 10/27/2009 12:11 PM, Grant wrote:
> On Tue, 27 Oct 2009 10:26:00 -0700, Thad Floryan <thad(a)thadlabs.com> wrote:
>
>> On 10/27/2009 10:02 AM, Thad Floryan wrote:
>>> [...]
>>> The SheevaPlug does have an SD slot and a JTAG connector, too, for debug
>>> purposes. I only use the external 2.5" HD in the USB enclosure for doing
>>> compiles (that I don't care to do on another Linux box using the cross-
>>> development software).
>> You may get a kick out of seeing this:
>>
>> root(a)debian:~# pwd
>> /root
>> root(a)debian:~# ed hw.c
>
> ed! I haven't seen that since late '70s ;) They didn't give you vi?
> [...]

Hah hah! vi is there as is emacs, but it would have been difficult to
display its/their output in a Usenet posting. I suppose I could have
just used cat and finished with a ^D, but showing that ed still exists
is/was useful. :-)

ed was important to know how to use back in the early days of UNIX when
booting to single-user mode meant using a 5-1/4" floppy without much else
being on the floppy than a mini-kernel and a few utils from /sbin and /etc

I still have three fully-functional AT&T 3B1 (aka UNIXPC aka PC7300) which
run SysVR2 for which a boot floppy has ed on it. Not sure about my old
Sun 3/60 systems though -- they booted from tape (when not using disks).
From: Grant on
On Tue, 27 Oct 2009 14:00:38 -0700, Thad Floryan <thad(a)thadlabs.com> wrote:

>On 10/27/2009 12:11 PM, Grant wrote:
>> On Tue, 27 Oct 2009 10:26:00 -0700, Thad Floryan <thad(a)thadlabs.com> wrote:
>>
>>> On 10/27/2009 10:02 AM, Thad Floryan wrote:
>>>> [...]
>>>> The SheevaPlug does have an SD slot and a JTAG connector, too, for debug
>>>> purposes. I only use the external 2.5" HD in the USB enclosure for doing
>>>> compiles (that I don't care to do on another Linux box using the cross-
>>>> development software).
>>> You may get a kick out of seeing this:
>>>
>>> root(a)debian:~# pwd
>>> /root
>>> root(a)debian:~# ed hw.c
>>
>> ed! I haven't seen that since late '70s ;) They didn't give you vi?
>> [...]
>
>Hah hah! vi is there as is emacs, but it would have been difficult to
>display its/their output in a Usenet posting. I suppose I could have
>just used cat and finished with a ^D, but showing that ed still exists
>is/was useful. :-)
>
>ed was important to know how to use back in the early days of UNIX when
>booting to single-user mode meant using a 5-1/4" floppy without much else
>being on the floppy than a mini-kernel and a few utils from /sbin and /etc
>
>I still have three fully-functional AT&T 3B1 (aka UNIXPC aka PC7300) which
>run SysVR2 for which a boot floppy has ed on it. Not sure about my old
>Sun 3/60 systems though -- they booted from tape (when not using disks).

I met ed on cp/m -- was so glad when I found wordstar :) Me not a big
iron user. Odd thing was I could read and understand your ed stuff so
many decades since seeing it!

Grant.
--
http://bugsplatter.id.au