* Re: [9fans] ipod + plan9
@ 2007-12-25 6:02 josh
2007-12-25 10:21 ` arisawa
2008-01-02 19:49 ` Pietro Gagliardi
0 siblings, 2 replies; 5+ messages in thread
From: josh @ 2007-12-25 6:02 UTC (permalink / raw)
To: 9fans
>If it's a FAT-formatted (Windows =B230GB) one,
>then use usbfat: (described in the usbfs man page).
Actually it is described in usbdisk(4). But that's the only
place I can find usbfat: -- I don't have it on local systems,
and I don't find it in /n/sources/plan9/rc/bin or
../../386/bin/usb*.
Do you have a /bin/usbfat:?
--
Josh
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: [9fans] ipod + plan9
2007-12-25 6:02 [9fans] ipod + plan9 josh
@ 2007-12-25 10:21 ` arisawa
2008-01-02 19:49 ` Pietro Gagliardi
1 sibling, 0 replies; 5+ messages in thread
From: arisawa @ 2007-12-25 10:21 UTC (permalink / raw)
To: Fans of the OS Plan 9 from Bell Labs
Hello,
My system does not have "/bin/usbfat:"
I thing "usbfat:" is not implemented yet.
However, if iPod nano is formated in FAT,
the following sequence might help you.
term% usb/disk
usb/disk: maxlun 0
term% ls /n/disk
/n/disk/0
/n/disk/ctl
term% ls /n/disk/0
/n/disk/0/data
/n/disk/0/raw
term% disk/partfs /n/disk/0/data
term% disk/fdisk -p /n/disk/0/data
part dos 63 249887
part dos1 249921 258048
term% dossrv -f /n/disk/0/data:63 usbstorage
dossrv: serving #s/usbstorage
term% mount -c /srv/usbstorage /n/d:
term% ls /n/d:
/n/d:/.Trashes
/n/d:/._.Trashes
term%
Kenji Arisawa
On 2007/12/25, at 15:02, josh@utopian.net wrote:
>> If it's a FAT-formatted (Windows =B230GB) one,
>> then use usbfat: (described in the usbfs man page).
>
> Actually it is described in usbdisk(4). But that's the only
> place I can find usbfat: -- I don't have it on local systems,
> and I don't find it in /n/sources/plan9/rc/bin or
> ../../386/bin/usb*.
>
> Do you have a /bin/usbfat:?
>
> --
> Josh
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: [9fans] ipod + plan9
2007-12-25 6:02 [9fans] ipod + plan9 josh
2007-12-25 10:21 ` arisawa
@ 2008-01-02 19:49 ` Pietro Gagliardi
1 sibling, 0 replies; 5+ messages in thread
From: Pietro Gagliardi @ 2008-01-02 19:49 UTC (permalink / raw)
To: Fans of the OS Plan 9 from Bell Labs
It twas just added. Update your systems (/usr/glenda/bin/rc/pull)
along with some NVIDIA-related code.
On Dec 25, 2007, at 1:02 AM, josh@utopian.net wrote:
>> If it's a FAT-formatted (Windows =B230GB) one,
>> then use usbfat: (described in the usbfs man page).
>
> Actually it is described in usbdisk(4). But that's the only
> place I can find usbfat: -- I don't have it on local systems,
> and I don't find it in /n/sources/plan9/rc/bin or
> ../../386/bin/usb*.
>
> Do you have a /bin/usbfat:?
>
> --
> Josh
>
^ permalink raw reply [flat|nested] 5+ messages in thread
* [9fans] Acme aborts on a pointless Edit command
@ 2007-12-24 4:17 Anthony Martin
2007-12-24 5:25 ` erik quanstrom
0 siblings, 1 reply; 5+ messages in thread
From: Anthony Martin @ 2007-12-24 4:17 UTC (permalink / raw)
To: 9fans
I was feeling obscene and decided to test out stupid
commands in sam and acme. Here's something I didn't
expect.
Sam:
, x g/^/m. no change to file
Acme (Edit):
, x g/^/m. aborts in /sys/src/cmd/acme/ecmd.c:/^move
It aborts because "move overlaps itself" but the
question I have is, should it work like sam and
do *visually* nothing at all?
Anthony
P.S.
This came about because I was trying to find a way to
move lines matching a certain pattern to the beginning
of a file (like g/pattern/m0 in ed). Is there a nice
way to do this in sam?
Something that works like the ed command but leaves the
lines in original order, not reversed, would be even
better.
--
I spent a night with a blow-up girl and some LSD. -Freeheat
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: [9fans] Acme aborts on a pointless Edit command
2007-12-24 4:17 [9fans] Acme aborts on a pointless Edit command Anthony Martin
@ 2007-12-24 5:25 ` erik quanstrom
2007-12-24 17:24 ` Joel C. Salomon
0 siblings, 1 reply; 5+ messages in thread
From: erik quanstrom @ 2007-12-24 5:25 UTC (permalink / raw)
To: 9fans
i'd be willing to give it a pass if it whined a bit, but aborting
on user input is a bit antisocial.
by the way, the transliteration of the ed line reverse trick into acme
is
Edit ,x m$
(with diagnostic). Edit ,x m0 does not work as expected, especially
on the input file
1
2
- erik
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: [9fans] Acme aborts on a pointless Edit command
2007-12-24 5:25 ` erik quanstrom
@ 2007-12-24 17:24 ` Joel C. Salomon
2007-12-24 17:35 ` Pietro Gagliardi
0 siblings, 1 reply; 5+ messages in thread
From: Joel C. Salomon @ 2007-12-24 17:24 UTC (permalink / raw)
To: Fans of the OS Plan 9 from Bell Labs
On Dec 24, 2007 12:25 AM, erik quanstrom <quanstro@quanstro.net> wrote:
> i'd be willing to give it a pass if it whined a bit, but aborting
> on user input is a bit antisocial.
"Here I am, brain the size of a planet, and they ask me to move lines
around and back, doing nothing. Call that job satisfaction, 'cause I
don't. Excuse me while I go and abort()."
--Joel
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: [9fans] Acme aborts on a pointless Edit command
2007-12-24 17:24 ` Joel C. Salomon
@ 2007-12-24 17:35 ` Pietro Gagliardi
2007-12-25 1:51 ` [9fans] ipod + plan9 Philipp
0 siblings, 1 reply; 5+ messages in thread
From: Pietro Gagliardi @ 2007-12-24 17:35 UTC (permalink / raw)
To: Fans of the OS Plan 9 from Bell Labs
The UNIX philosophy: if something doesn't work, fix it. The code is
available and commented to a fault.
The DOS philosophy: if something doesn't work, get a new one or make
one yourself. The program DEBUG is a wonderful place to start.
The GCC philosophy: make something do simple little tasks and put it
together in a large program with a now-pointless acronym. Oh, and
give no warranty, and link lots and lots of useless and complicated
libraries, and spend hours finding bugs in a single configure file.
Choose one. Meanwhile, I'll be ed-ding /dev/sdC0/fossil to find all
occurrences of the string "exits" and move them to where they are
just to see ed blow up. (Seriously, you won't get far with ed-ding a
partition - I tried).
On Dec 24, 2007, at 12:24 PM, Joel C. Salomon wrote:
> On Dec 24, 2007 12:25 AM, erik quanstrom <quanstro@quanstro.net>
> wrote:
>> i'd be willing to give it a pass if it whined a bit, but aborting
>> on user input is a bit antisocial.
>
> "Here I am, brain the size of a planet, and they ask me to move lines
> around and back, doing nothing. Call that job satisfaction, 'cause I
> don't. Excuse me while I go and abort()."
>
> --Joel
^ permalink raw reply [flat|nested] 5+ messages in thread
end of thread, other threads:[~2008-01-02 19:49 UTC | newest]
Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2007-12-25 6:02 [9fans] ipod + plan9 josh
2007-12-25 10:21 ` arisawa
2008-01-02 19:49 ` Pietro Gagliardi
-- strict thread matches above, loose matches on Subject: below --
2007-12-24 4:17 [9fans] Acme aborts on a pointless Edit command Anthony Martin
2007-12-24 5:25 ` erik quanstrom
2007-12-24 17:24 ` Joel C. Salomon
2007-12-24 17:35 ` Pietro Gagliardi
2007-12-25 1:51 ` [9fans] ipod + plan9 Philipp
2007-12-25 5:20 ` Pietro Gagliardi
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).