Skip to search.

Breaking News Visit Yahoo! News for the latest.

×Close this window

arexx · This list is devoted to the powerful Amiga scripting language, ARexx. Here ARexx coders can share ideas, routines and generall

The Yahoo! Groups Product Blog

Check it out!

Group Information

? Already a member? Sign in to Yahoo!

Yahoo! Groups Tips

Did you know...
Message search is now enhanced, find messages faster. Take it for a spin.

Messages

Advanced
Messages Help
Messages 2421 - 2450 of 3844   Oldest  |  < Older  |  Newer >  |  Newest
Messages: Show Message Summaries Sort by Date ^  
#2421 From: "sarkis simon" <sarkis_44@...>
Date: Wed Jul 4, 2001 2:07 pm
Subject: Re: clipboard is there a setting for the size?
sarkis_44@...
Send Email Send Email
 
--- In arexx@y..., "sarkis simon" <sarkis_44@y...> wrote:
> I seem to max at 25,000.  Is there a setting and where?

UPdate?

The data that is sent to clipboard is the history of a wshell window
i went to the icon for shell wsell and wshell 2?
and increaSED SIze ..still maxes at29000 bytes?

sarkis

#2422 From: taoberly@...
Date: Thu Jul 12, 2001 7:46 pm
Subject: Converting disk icon names to DOS devices
taoberly@...
Send Email Send Email
 
I asked this question on the OS 3.9 mailing list, but didn't get much
of a response.  I am working on an Arexx script that reorganizes
Workbench disk icons (actually any icons on the Workbench) into a
preprogrammed order after bootup.  But I have a need to convert icon
names to DOS device names, so

"Workbench" becomes "DH0:"
"Empty" becomes "DF0:"
"Ram Disk" becomes "RAM:"

etc., etc.  I can do this by running the info command and parsing it
to death, but think there should be a more straightforward (and
faster) way.  Does anybody have any advice?

Thanks,

Todd

#2423 From: "Rolf Max Rotvel" <rotvel@...>
Date: Thu Jul 12, 2001 8:14 pm
Subject: Re: Converting disk icon names to DOS devices
rotvel@...
Send Email Send Email
 
On 12 Jul 2001, at 19:46, taoberly@... wrote:

> "Workbench" becomes "DH0:"
> "Empty" becomes "DF0:"
> "Ram Disk" becomes "RAM:"
>
> etc., etc.  I can do this by running the info command and parsing it
> to death, but think there should be a more straightforward (and
> faster) way.  Does anybody have any advice?

My Amiga is dead at the moment so this is from memory:

Have a look at the examinedt() function from the datatypes.library.
I'm pretty sure one of the fields is the full path of the item
examined using device names.

Regards

Rolf Max Rotvel

#2424 From: "Neil Bothwick" <neil@...>
Date: Thu Jul 12, 2001 10:22 pm
Subject: Re: Converting disk icon names to DOS devices
neil@...
Send Email Send Email
 
taoberly said,

> I asked this question on the OS 3.9 mailing list, but didn't get much
> of a response.  I am working on an Arexx script that reorganizes
> Workbench disk icons (actually any icons on the Workbench) into a
> preprogrammed order after bootup.  But I have a need to convert icon
> names to DOS device names, so

> "Workbench" becomes "DH0:"

The realname() function in rmh.library does this.


Cheers

Neil
--
Neil Bothwick - New Media Editor, Amiga Active Magazine

Okay, who put a "stop payment" on my reality check?

#2425 From: "Robert A. Sisk" <RSisk@...>
Date: Fri Jul 13, 2001 12:08 am
Subject: Assign GUI replacement available
RSisk@...
Send Email Send Email
 
Hello, ARexx fans.

In an effort to enliven this list, I'd like to offer a cool (IMHO) script
that provides a nice GUI for the functions of the AmigaDOS Assign command
(except that it doesn't list volumes or devices and doesn't support the
dismount feature).

It uses RxMUI to interface with MUI and RoyalBridge to access dos.library.
(It doesn't need the RoyalBridge: assign.)

I've tried to make the GUI intuitive and the gadgets are explained with
bubble help.

Several features are not obvious. You can load new targets in two
additional ways besides using the Insert button to open a drawer
requester: you can drag & drop targets, and you can drop icons on the
window. Both of the target lists support multiple selection. Finally, you
can reorder the new targets by dragging them to another position.

If I've managed to pique your interest in this program, just ask me for it
- off the list, please.

And if you do, you may want to save this message as documentation.

I'll welcome your comments, questions, and bug reports.

Kind regards,
--
Bob
Robert A. Sisk
RSisk@...

#2426 From: taoberly@...
Date: Fri Jul 13, 2001 1:05 am
Subject: Re: Converting disk icon names to DOS devices
taoberly@...
Send Email Send Email
 
Rolf and Neil,

--- In arexx@y..., "Rolf Max Rotvel" <rotvel@m...> wrote:
> On 12 Jul 2001, at 19:46, taoberly@m... wrote:
>
> > "Workbench" becomes "DH0:"
> > "Empty" becomes "DF0:"
> > "Ram Disk" becomes "RAM:"
> >
> > etc., etc.  I can do this by running the info command and parsing it
> > to death, but think there should be a more straightforward (and
> > faster) way.  Does anybody have any advice?
>
> My Amiga is dead at the moment so this is from memory:
>
> Have a look at the examinedt() function from the datatypes.library.
> I'm pretty sure one of the fields is the full path of the item
> examined using device names.

I don't have any programming documentation besides what shipped with
OS 3.1/3.5/3.9, so am not sure where else I could go to look it up.
If I ever decided to upload the script to Aminet, though, it would be
desirable to use an OS library.

--- In arexx@y..., "Neil Bothwick" <neil@w...> wrote:
> taoberly said,
>
> > I asked this question on the OS 3.9 mailing list, but didn't get much
> > of a response.  I am working on an Arexx script that reorganizes
> > Workbench disk icons (actually any icons on the Workbench) into a
> > preprogrammed order after bootup.  But I have a need to convert icon
> > names to DOS device names, so
>
> > "Workbench" becomes "DH0:"
>
> The realname() function in rmh.library does this.

That'll work.

Thanks guys,

Todd

#2427 From: "Rolf Max Rotvel" <rotvel@...>
Date: Fri Jul 13, 2001 9:27 am
Subject: Re: Re: Converting disk icon names to DOS devices
rotvel@...
Send Email Send Email
 
On 13 Jul 2001, at 1:05, taoberly@... wrote:

> > > "Workbench" becomes "DH0:"

> > Have a look at the examinedt() function from the datatypes.library.
> > I'm pretty sure one of the fields is the full path of the item
> > examined using device names.
>
> I don't have any programming documentation besides what shipped with
> OS 3.1/3.5/3.9, so am not sure where else I could go to look it up. If
> I ever decided to upload the script to Aminet, though, it would be
> desirable to use an OS library.

I dug out my Amiga Developer CD v2.1:

datatypes.library/--rexxhost--
datatypes.library/--rexxhost--

HOST INTERFACE
datatypes.library provides an ARexx function host interface that
enables ARexx programs to take advantage of the features of
datatypes.  The functions provided by the interface are
directly related to the functions described herein, with the
differences mostly being in the way they are called.

The function host library vector is located at offset -30
from the library. This is the value you provide to ARexx in
the AddLib() function call.

    FUNCTIONS
	 ExamineDT(FILENAME/A,VARIABLENAME,STEM/S,VAR/S)

    EXAMPLE
	 /* datatypes.rexx */
	 PARSE ARG fname
	 OPTIONS RESULTS

	 /* Load the datatypes.library as a function host */
	 IF ~SHOW('L','datatypes.library') THEN
	    CALL ADDLIB('datatypes.library',0,-30)

	    IF fname="" THEN DO
	       SAY "Usage:"
	       SAY "  rx datatypes <filename>"
	       EXIT
	    END

	    SAY 'var test'
	    type = ExamineDT(fname,,VAR)
	    SAY type

	    SAY 'stem test'
	    CALL ExamineDT(fname,dtstem.,STEM)

	    SAY '      Disk Key:' dtstem.DiskKey
	    SAY 'Dir Entry Type:' dtstem.DirEntryType
	    SAY '     File Name:' dtstem.FileName
	    SAY '    Protection:' dtstem.Protection
	    SAY '    Entry Type:' dtstem.EntryType
	    SAY '          Size:' dtstem.Size
	    SAY '        Blocks:' dtstem.NumBlocks
	    SAY '          Date:' dtstem.Date
	    SAY '       Comment:' dtstem.Comment
	    SAY '          Type:' dtstem.BaseType
	    SAY '     File Type:' dtstem.DataType
	    SAY '     Base Name:' dtstem.BaseName
	 EXIT

It's the dtstem.FileName you're looking for. The thing is,
I'm not sure whether it uses volume or device names. But
have a look.

Regards

Rolf Max Rotvel

#2428 From: taoberly@...
Date: Sat Jul 14, 2001 1:57 am
Subject: Re: Converting disk icon names to DOS devices
taoberly@...
Send Email Send Email
 
Hi Rolf,

--- In arexx@y..., "Rolf Max Rotvel" <rotvel@m...> wrote:
> On 13 Jul 2001, at 1:05, taoberly@m... wrote:
>
> > > > "Workbench" becomes "DH0:"
>
> > > Have a look at the examinedt() function from the datatypes.library.
> > > I'm pretty sure one of the fields is the full path of the item
> > > examined using device names.
> >
> > I don't have any programming documentation besides what shipped with
> > OS 3.1/3.5/3.9, so am not sure where else I could go to look it up. If
> > I ever decided to upload the script to Aminet, though, it would be
> > desirable to use an OS library.
>
> I dug out my Amiga Developer CD v2.1:
>
> datatypes.library/--rexxhost--
> datatypes.library/--rexxhost--

[...]

Hey, that's neat.  I didn't know datatypes.library could do all those
things.  I'm guessing these features were added with OS 3.5?  (If they
were available in 3.1, then I'm *really* out of touch! ;-)

> It's the dtstem.FileName you're looking for. The thing is,
> I'm not sure whether it uses volume or device names. But
> have a look.

Unfortunately, the Filename symbol just returns the volume name (if I
feed it Workbench:, it returns Workbench:).  It was a good try,
though...thanks for digging that out.  It definitely motivates me to
buy whatever OS4.x developer kit gets released.

I finished the first draft of the script, and it works fine with one
exception.  I want to run it as part of the boot process (I put it in
WBStartup), but the script always returns an error 10, specifically

   7 *-* ADDLIB('rmh.library',0,-30,0);
+++ Command returned 10

although it still works fine.  (I also get no errors if I run it
manually instead.)  Since the script is being processed, Rexxmast is
obviously loaded, so I'm a little confused about what's happening.  It
seems that *something* isn't finished loading, but I'm not sure what.
I may be able to hide it with SIGNAL, but would prefer to understand
what's happening.  Any suggestions?  Maybe I just need to insert a
short delay somewhere?

Thanks again,

Todd

#2429 From: Joseph Duchâtelet <jduchatelet@...>
Date: Fri Jul 13, 2001 4:19 pm
Subject: Re: Converting disk icon names to DOS devices
jduchatelet@...
Send Email Send Email
 
Hello Rolf

On 13-Jul-01, you wrote:

> On 13 Jul 2001, at 1:05, taoberly@... wrote:
>
>>>> "Workbench" becomes "DH0:"
>
>>> Have a look at the examinedt() function from the datatypes.library.
>>> I'm pretty sure one of the fields is the full path of the item
>>> examined using device names.
>>
>> I don't have any programming documentation besides what shipped with
>> OS 3.1/3.5/3.9, so am not sure where else I could go to look it up. If
>> I ever decided to upload the script to Aminet, though, it would be
>> desirable to use an OS library.
>
> I dug out my Amiga Developer CD v2.1:
>
> datatypes.library/--rexxhost--
> datatypes.library/--rexxhost--
>
> HOST INTERFACE
> datatypes.library provides an ARexx function host interface that
> enables ARexx programs to take advantage of the features of
> datatypes.
Very interesting: Is this the only OS library featuring an arexx port ?

Joseph

#2430 From: Alfonso Ranieri <ranieria@...>
Date: Mon Jul 16, 2001 3:50 am
Subject: Re: (N)Listtree
ranieria@...
Send Email Send Email
 
(I lost the original post by Robert)

     (N)Listtree are  betas rxmec. It means that many methods are to
be added and that they will change.

     Sorry but I can't see any way to notify the Name of a opened node:
let's suppose you do a Open All method call. The Open hook is called
for any node opened. I can notify the Name of the opened node there,
but when the notification reaches the Application object, you get
only the id of the last opened node. E.g. if you do

call Notify("nlisttree","opened","everytime","app","return","say
h.opened","triggerattr")

and 4 nodes are opened with a Open all method, you get 4 notifications
with always the last opened node. The good thing is that if a node is
opened clicking on it you get the right name. If it is resonable I will
leave the Opened attribute there.

-------------

Actually there is no way to get the tree entries and the tree
structure. I am working on it:


---

GetEntry - retrieves infos about a node

call DoMethod(obj,"GetEntry",<var>,<name>,[list],[flags])

Arguments:
var - an ARexx stem name
name - the node to get; a name or:
     Active
list - a node name or:
     Active
     Root
flags - one or more of:
     Activate
     SameLevel
     Visible

Result:
RC - a boolean to indicates if name was found
VAR - the contents of name
VAR.NAME - string, the name
VAR.ID - integer, the id
VAR.FROZEN - boolean, if the node is frozen
VAR.LIST - boolean, if the node is a list
VAR.NOSIGN - boolean, if the node is a list and it is not to have an arrows
VAR.OPEN - boolean, if the node is opened
VAR.SELECTED - boolean, if the node is selected
--

A new method called FindName:

---
FindName - finds a node starting at a position

call DoMethod(obj,"FindName",<var>,[tree],[pos],[flags])

Arguments:
var - an ARexx stem name
tree - the node to start at; a name or:
     Active
     Root
pos - the position relative to tree, one of:
     Active
     Head
     Next
     Parent
     Previous
     Tail
flags - one or more of:
     SameLevel
     Visible

Result:
RC - a boolean to indicates if the node was found:
VAR - the contents of name
VAR.NAME - string, the name
VAR.ID - integer, the id
VAR.FROZEN - boolean, if the node is frozen
VAR.LIST - boolean, if the node is a list
VAR.NOSIGN - boolean, if the node is a list and it is not to have an arrows
VAR.OPEN - boolean, if the node is opened
VAR.SELECTED - boolean, if the node is selected

Example:
...
call printList("root",0)
exit

printList: procedure
parse arg l,s
     call DoMethod("list","FindName","e",l,"head")
     do while rc
         say copies(" ",s) || "Name:"e.name "Value:"e "ID:"e.id "IsList:"e.list
         if e.list then call printList(e.name,s+1)
         call DoMethod("list","FindName","e",e.name,"next")
     end
     return

Note: this is the only method that will let you get the
tree structure.
--

Don't know if a GetEntries method will be added. It should returns
all the entries in a plain list and it is not usefull.

Note that a (N)Listtree should not be used to store a lot of data.
It should be very small. E.g. let's consider ContactManager:
it has a little listtree at the left that just indexes a nlist
at the right. The main part of the information is in the nlist
not in the listtree. This is the use of (N)Listtree I have in mind.
Doing such a thing ala Amirc servers list in ARexx is not a good
idea at all.

Ciao. Alfonso.

#2431 From: Alfonso Ranieri <ranieria@...>
Date: Mon Jul 16, 2001 3:52 am
Subject: Hummm
ranieria@...
Send Email Send Email
 
(N)Listtree : sorry it was not supposed to go here.

Ciao. Alfonso.

#2432 From: taoberly@...
Date: Mon Jul 16, 2001 4:39 pm
Subject: Final question
taoberly@...
Send Email Send Email
 
--- In arexx@y..., taoberly@m... wrote:

> I finished the first draft of the script, and it works fine with one
> exception.  I want to run it as part of the boot process (I put it in
> WBStartup), but the script always returns an error 10, specifically
>
>   7 *-* ADDLIB('rmh.library',0,-30,0);
> +++ Command returned 10
>
> although it still works fine.  (I also get no errors if I run it
> manually instead.)  Since the script is being processed, Rexxmast is
> obviously loaded, so I'm a little confused about what's happening.  It
> seems that *something* isn't finished loading, but I'm not sure what.
> I may be able to hide it with SIGNAL, but would prefer to understand
> what's happening.  Any suggestions?  Maybe I just need to insert a
> short delay somewhere?

FYI, I fixed this myself just by adding a CALL instruction.  So
simple...

I discovered that the RealName() function in rmh.library (which can
convert icon names to DOS devices) allocates 16480 bytes of chip ram
every time it's used, so I'll have to abandon this, too. :-(  INFO
looks better all the time.

I have a final question for everybody.  Is there a way to reuse the j
variable in this loop when calling a Workbench function, and if not,
why?  j received the length of the first icon name, but is never
updated in later iterations:

/* Icon test */

ADDRESS WORKBENCH

GETATTR window.icons.all.count NAME root VAR last_icon
GETATTR window.icons.all NAME root STEM icon

DO i = 0 to last_icon-1
GETATTR application.font.icon.size NAME '"'icon.i.name'"' VAR j
SAY icon.i.name" text is "j" pixels long"
END


Thanks,

Todd

#2433 From: "Robert A. Sisk" <RSisk@...>
Date: Mon Jul 16, 2001 8:37 pm
Subject: Re: Final question
RSisk@...
Send Email Send Email
 
On 16-Jul-01 taoberly@... <taoberly@...> wrote:

> I have a final question for everybody.  Is there a way to reuse the j
> variable in this loop when calling a Workbench function, and if not,
> why?  j received the length of the first icon name, but is never
> updated in later iterations:

> /* Icon test */

> ADDRESS WORKBENCH

> GETATTR window.icons.all.count NAME root VAR last_icon
> GETATTR window.icons.all NAME root STEM icon

> DO i = 0 to last_icon-1

   drop j  /* add this line */

> GETATTR application.font.icon.size NAME '"'icon.i.name'"' VAR j
> SAY icon.i.name" text is "j" pixels long"
> END

Evidently the command that sets j does so only when j is unassigned.

Kind regards,
--
Bob
Robert A. Sisk
RSisk@...

#2434 From: "Robert A. Sisk" <RSisk@...>
Date: Mon Jul 16, 2001 10:05 pm
Subject: Re: Final question
RSisk@...
Send Email Send Email
 
On 16-Jul-01 taoberly@... <taoberly@...> wrote:

> I have a final question for everybody.  Is there a way to reuse the j
> variable in this loop when calling a Workbench function, and if not,
> why?  j received the length of the first icon name, but is never
> updated in later iterations:

> /* Icon test */

> ADDRESS WORKBENCH

> GETATTR window.icons.all.count NAME root VAR last_icon
> GETATTR window.icons.all NAME root STEM icon

> DO i = 0 to last_icon-1
> GETATTR application.font.icon.size NAME '"'icon.i.name'"' VAR j
> SAY icon.i.name" text is "j" pixels long"
> END

Whoops! Forget my previous advice about drop. The problem is actually
that, on the second and later iteration, the variable j has a numeric
value value instead of its own name. That's what happens when you include
a variable in a command where you intend a constant. Try this version of
the command instead:

     'getattr application.font.icon.size name "'icon.i.name'" var J'

Kind regards,
--
Bob
Robert A. Sisk
RSisk@...

#2435 From: taoberly@...
Date: Tue Jul 17, 2001 1:23 am
Subject: Re: Final question
taoberly@...
Send Email Send Email
 
Hi Robert,

--- In arexx@y..., "Robert A. Sisk" <RSisk@w...> wrote:
> On 16-Jul-01 taoberly@m... <taoberly@m...> wrote:

> > /* Icon test */
>
> > ADDRESS WORKBENCH
>
> > GETATTR window.icons.all.count NAME root VAR last_icon
> > GETATTR window.icons.all NAME root STEM icon
>
> > DO i = 0 to last_icon-1
> > GETATTR application.font.icon.size NAME '"'icon.i.name'"' VAR j
> > SAY icon.i.name" text is "j" pixels long"
> > END

> The problem is actually
> that, on the second and later iteration, the variable j has a numeric
> value value instead of its own name.

Okay so far...

> That's what happens when you include
> a variable in a command where you intend a constant. Try this version of
> the command instead:
>
>     'getattr application.font.icon.size name "'icon.i.name'" var J'

Ah, so the problem was that instead of assigning the new value, Arexx
was substituting the exisiting value (as it would do under normal
circumstances) before it could evaluate the function?  The quotes
forgo any substitution until it has a chance to "look inside".  I
think I understand.  But why is caps necessary?  (I tried lowercase
and realize that does not work.)  I suppose it has something to do
with Arexx automatically turning lowercase values to caps...

Thanks for the help.  It works fine now, and the remaining hurdles are
quickly diminishing.  Alfonso was even kind enough to bang-out a new
version of rmh.library. ;-)

Thanks,

Todd

#2436 From: "Robert A. Sisk" <RSisk@...>
Date: Tue Jul 24, 2001 9:07 pm
Subject: pragma() errors
RSisk@...
Send Email Send Email
 
On my system these commands give arithmetic conversion errors instead of
showing the priority and stack respectively.

     rx "say pragma(p)"

     rx "say pragma(s)"

Martin Steigerwald of H&P has told me that he can't reproduce these
errors.

Can anyone confirm these problems?

OS 3.9 + BoingBag1 enhanced, rexxsyslib.library 44.1 12/25/99 33404

Kind regards,
--
Bob
Robert A. Sisk
RSisk@...

#2437 From: Andrew Bruno <abruno@...>
Date: Wed Jul 25, 2001 8:11 am
Subject: How do I:
abruno@...
Send Email Send Email
 
Hi,

Folks, my quest is to get to send commands to a shell.

If I do an "address command" bits will work, but I am having trouble getting
the string to work.

It is a bit of a "secret project" I am working on so I am kind of stuck on
what I tell anyone.

Say I have a lot of commands that are to be sent.

I guess I could put them in an "array" (STEM) and cycle through them.

That is the mechanics.  What I am a bit curoius about it waiting for the
reply.

Sorry.  I am rambling a bit but I have not touched the project for a while
and I have just got back to it after a faily long time.  :(

If the command consists of actual commands and variables do I have to do
anything or can I send it to the "CLI" as strings all stuck together?

eg:

part1 = 'this is '
part2 = ' test'

ADDRESS COMMAND
     part1 'a' part2

Would that send:

this is a test

to the CLI?

I have something like that, but it doesn't seem to work.  :(


Cya!
--
>:-I  net.startrek :-P     nyah nyah

Andrew Bruno
abruno@...

#2438 From: "Neil Bothwick" <neil@...>
Date: Wed Jul 25, 2001 8:33 am
Subject: Re: How do I:
neil@...
Send Email Send Email
 
Andrew Bruno said,

> Folks, my quest is to get to send commands to a shell.

> That is the mechanics.  What I am a bit curoius about it waiting for the
> reply.

ARexx will wait for the command to return, but won't return any output,
only the return code (provided you have "options results" at the start
of your script). To read output you'll have to redirect it to a file and
read that file after the command has returned.

> If the command consists of actual commands and variables do I have to do
> anything or can I send it to the "CLI" as strings all stuck together?

> eg:

> part1 = 'this is '
> part2 = ' test'

> ADDRESS COMMAND
>     part1 'a' part2

> Would that send:

> this is a test

Actually, it would be "this is  a  test" because you have used spaces to
join the strings as well as spaces within the strings.

I prefer to build the whole command into a single string, then I can
test with

say cmd
address command cmd
say RC

> I have something like that, but it doesn't seem to work.  :(

Don't forget that if any of the command's arguments contain spaces,
you'll need to include them in double quotes.


Cheers

Neil
--
Neil Bothwick - New Media Editor, Amiga Active Magazine

If you consult enough experts, you can confirm any opinion.

#2439 From: "Robert A. Sisk" <RSisk@...>
Date: Wed Jul 25, 2001 8:51 am
Subject: Re: How do I:
RSisk@...
Send Email Send Email
 
On 25-Jul-01 Andrew Bruno <abruno@...> wrote:

> part1 = 'this is '
> part2 = ' test'

> ADDRESS COMMAND
>    part1 'a' part2

> Would that send:

> this is a test

> to the CLI?

To see how an expression evaluates, just say it like this:

     say part1 'a' part2

Kind regards,
--
Bob
Robert A. Sisk
RSisk@...

#2440 From: "info@..." <info@...>
Date: Wed Jul 25, 2001 7:05 pm
Subject: Re: Linux Community joint statement against DMCA
info@...
Send Email Send Email
 
RMAU@yahoogroups.com

On 25-Jul-01, you wrote:

> In case anyone is interrested in this.
> ----- Original Message -----
>
> Here is an extract from the latest  EFF newsletter - Ian
>
>
> Respected British Scientist Resigns from US-Based Conference-Planning
> Committee
>
>  Citing Fear of Prosecution under DMCA
>
>   UK scientist & programmer Alan Cox, a key member of the USENIX Annual
>   Linux Showcase (ALS) planning committee, has resigned in the wake of
>   the arrest of DEFCON presenter Dmitry Sklyarov and legal threats
>   against USENIX presenter Prof. Edward Felten & colleagues, under the
>   questionably-constitutional US "Digital Millennium Copyright Act"
>   (DMCA). Cox sent USENIX the following open letter of resignation:
>
>     I hereby tender my resignation to the USENIX ALS committee.
>
>     With the arrest of Dimitry Sklyarov it has become apparent that it
>     is not safe for non-US software engineers to visit the United
>     States. While he was undoubtedly chosen for political reasons as a
>     Russian it is a good example for the US public that the risk
>     extends arbitarily further.
>
>     USENIX by its choice of a US location is encouraging other
>     programmers, many from Eastern European states hated by the US
>     government, to take the same risks. That is something I cannot
>     morally be part of. Who will be the next conference speaker slammed
>     into a US jail for years for committing no crime? Are USENIX
>     prepared to take the chance it will be their speakers?
>
>     Until the DMCA mess is resolved I would urge all non-US citizens to
>     boycott conferences in the USA and all US conference bodies to hold
>     their conferences elsehere.
>
>     I appreciate that this problem is not of USENIX making, but it must
>     be addressed.
>
>     Alan Cox
>
>   Similar resignations of non-US members of US conference- and other
>   event-planning bodies are increasing, with many more expected. It is
>   thus crystal clear that the DMCA is having one of the most palpable
>   "chilling effects" in American history on perfectly legal expression.
>   EFF remains very concerned about such "secondary effects" of this
>   legislation, and is committed to seeing it undone.
>
>   [Sources: Linux World News & NewsForge
>
>                                  - end -
>     _________________________________________________________________
> _______________________________________________
>
>
> Linux Community Joint Statement Against DMCA:
>
>  Digital Millennium Copyright Act Threatens Researchers
>
>    Free Speech, Free Sklyarov
>
>      A Community Declaration:
>
>   Dmitry Sklyarov, a Russian academic, has been imprisoned after
>   presenting a scientific paper at the DEF CON computer security
>   conference. His talk covered the restriction mechanisms used to
>   prevent people from reading electronic books. He was formally charged
>   with distributing software that could be used to circumvent copy
>   protection.
>   [See press coverage]
>
>   The Digital Millennium Copyright Act attacks freedom of speech and
>   assembly and damages the economic health of the United States.
>
>   Sklyarov was arrested by the FBI outside his hotel as he prepared to
>   go to the airport. The arrest was instigated by Adobe Systems
>   Corporation.
>
>   It is ironic that a Russian national is being held without bail in the
>   US for what is essentially a thoughtcrime. Through the passage of the
>   DMCA we have criminalized speech and scientific research about the
>   structure of computer programs as well as other simple acts such as
>   reading of books and other media.
>
>   The DMCA goes far beyond the need to protect from illegal copies of
>   books and other media. Since it criminalizes not only the act of
>   copying but even development and possession of programs which are
>   capable of reading these media for legitimate use. For example, the
>   DMCA criminalizes used book stores, in that the DMCA helps publishers
>   lock up books so tight that the electronic analog of a used book store
>   would be impossible.
>
>   This is not the first time that DMCA has been used as a weapon against
>   legitimate scientific research. The Electronic Frontier Foundation has
>   brought suit on behalf of USENIX and Princeton Professor Edward Felten
>   after the Professor and his research team were threatened with DMCA
>   prosecution by the RIAA (Recording Industry Association of America).
>   This threat was delivered after it became known that Professor Felten
>   was presenting a paper showing the insecurity of a method of
>   protecting music, just as Sklyarov was arrested after presenting a
>   similar paper about electronic books.
>
>   The DMCA, in spite of its supposed exception, punishes reverse
>   engineering. Bans on reverse engineering in the 70s would have made
>   the PC revolution (and companies like Compaq, Phoenix and Dell)
>   illegal.
>
>   The extremism of the DMCA provisions prohibiting research, development
>   and publication of tools for distributing and displaying copyrighted
>   works must be eliminated. These provisions drop an Iron Curtain on the
>   United States of America. It should never be illegal to make or
>   discuss such tools.
>
>   Noted Signatories (see Other Signatories page:
>    http://www.dibona.com/dmca/signers/index.shtml
>   for more):
>
>     Larry Augustin - CEO and Chairman, VA Linux Systems
>     Jeff Bates - Executive Editor, Slashdot.org
>     Brian Behlendorf - President, Apache Software Foundation, CTO
>     Collab.net
>     Chris DiBona - Grant Chair, Linux International
>     Miguel Di Icaza - Co-Founder and CTO, Ximian Inc.
>     Nat Friedman - Co-Founder and VP Product Development, Ximian Inc.
>     Marty Garbus - Attorney, Frankfurt, Garbus, Kurnit, Klein & Selz,
>     PC
>     Jon "Maddog" Hall - Executive Director, Linux International
>     Ed Hernstadt - Attorney, Frankfurt, Garbus, Kurnit, Klein & Selz,
>     PC
>     Rob Malda - Founder and Editor, Slashdot.org
>     Don Marti - Technical Editor, Linux Journal
>     Bruce Perens - Primary Author, "The Open Source Definition"
>     Eric S. Raymond - President, Open Source Initiative
>     Lawrence Rosen - Attorney, Rosenlaw.com and Executive Director,
>     Open Source Initiative
>     David Sifry - Co-Founder, LinuxCare, Inc.
>     Shari Steele - Executive Director, Electronic Frontier Foundation
>     Brad Templeton - Chairman of the BoardElectronic Frontier
>     Foundation
>     Linus Torvalds - Lead Kernel Developer, Linux
>     Art F. Tyde - CEO, Linuxcare
>     Bob Young - Co-Founder and Chairman, Red Hat, Inc.
>
>   Care to join them?
>
>   Sign your name to this declaration as well:
>     http://www.dibona.com/dmca/signup/index.shtml
>
>   Press Contacts:
>
>   Don Marti       dmarti@...
>   Eric S. Raymond esr@...
>   Bruce Perens    bruce@...
>   Chris DiBona    chris@...
>
>   Please note that all of the Press Contacts will be available for
>   discussion at the O'Reilly Open Source Conference the week of the 22nd
>   of July.
>
>   Resources:
>
>   The EFF page on Sklyarov: http://www.eff.org/IP/DMCA/US_v_Sklyarov/
>   The EFF page on Edward Felten: http://www.eff.org/Legal/Cases/
>   Felten_v_RIAA/
>   The Free-Sklyarov Mailing list: http://zork.net/mailman/listinfo/
>   free-sklyarov
>
>
>   EFFector       Vol. 14, No. 15       July 22, 2001     editor@...
>
>   A Publication of the Electronic Frontier Foundation     ISSN 1062-9424
>
>    In the 175th Issue of EFFector (now with over 28,000 subscribers!):
>
>
>   For more information on EFF activities & alerts: http://www.eff.org
>                                - end -
>
>
> _______________________________________________
> NCLUG mailing list
> NCLUG@...
> http://www.nclug.org/mailman/listinfo/nclug
>
>
>
>
Regards

#2441 From: "Neil Bothwick" <neil@...>
Date: Wed Jul 25, 2001 4:33 pm
Subject: Re: Re: Linux Community joint statement against DMCA
neil@...
Send Email Send Email
 
info@... said,

> On 25-Jul-01, you wrote:

>> In case anyone is interrested in this.
>> ----- Original Message -----
[200 lines of non-ARexx repost snipped]

If you're going to spam the list, at least keep it up to date. Adobe are
dropping the charges against Dimitry Sklyarov.


Cheers

Neil
--
Neil Bothwick - New Media Editor, Amiga Active Magazine

Define UNIVERSE; give two examples.
"The perceived world; 1) mine, 2) yours."

#2442 From: taoberly@...
Date: Wed Jul 25, 2001 6:58 pm
Subject: Re: pragma() errors
taoberly@...
Send Email Send Email
 
Hi Robert,

--- In arexx@y..., "Robert A. Sisk" <RSisk@w...> wrote:
> On my system these commands give arithmetic conversion errors instead of
> showing the priority and stack respectively.
>
>     rx "say pragma(p)"
>
>     rx "say pragma(s)"
>
> Martin Steigerwald of H&P has told me that he can't reproduce these
> errors.
>
> Can anyone confirm these problems?
>
> OS 3.9 + BoingBag1 enhanced, rexxsyslib.library 44.1 12/25/99 33404

Yes, I get the same errors and with the same OS and library.  As you
probably noticed, these functions seem to require a second argument:

rx "say pragma(p,-1)"
rx "say pragma(s,8192)"

Reading the Amiga ARexx manual, it seems to imply that this is just
the way it works, ie. "Directory" is the only option that explicitly
states it does not need a second argument.  Whether this is the way
it has always worked or the way it's supposed to work, though, I don't
know.

Hope that helps,

Todd

#2443 From: "Ash Wyllie" <ashw@...>
Date: Wed Jul 25, 2001 6:21 pm
Subject: Re: pragma() errors
ashw@...
Send Email Send Email
 
Gently extracted from the mind of Robert A. Sisk;


>On my system these commands give arithmetic conversion errors instead of
>showing the priority and stack respectively.

>    rx "say pragma(p)"

>    rx "say pragma(s)"

>Martin Steigerwald of H&P has told me that he can't reproduce these
>errors.

>Can anyone confirm these problems?

>OS 3.9 + BoingBag1 enhanced, rexxsyslib.library 44.1 12/25/99 33404

The p and s options need a second numeric arguement. In this case it's a
misleading error messsage.




                          -ash
                          for assistance dial MYCROFTXXX

#2444 From: Andrew Bruno <abruno@...>
Date: Sat Aug 11, 2001 3:49 am
Subject: Back to my "ITERATE" problem
abruno@...
Send Email Send Email
 
Hi,

I have now got back into the swing of things and am  playing with this
"terminate the loop" thing.

This is the example program:

/*  */

ECHO 'Starting the program.'

test.1 = "ANDREW"
test.2 = "BARNEY"
test.3 = "CHARLIE"
test.4 = "DANNIEL"
test.5 = "EDWARD"
test.6 = "FREDERICK"

name = "EDWARD"

DO i = 1 to 6
     IF name = test.i THEN
     DO
         ECHO 'Found'
         ITERATE i
     END
     ECHO i
END

ECHO 'Exiting program'



The ITERATE i line is added later but this is what I get with the line in:

Starting the program.
1
2
3
4
Found
6
Exiting program


Without:

Starting the program.
1
2
3
4
Found
5
6
Exiting program


So I guess the ITERATE command is not doing what I want.

I guess the best way to do it is instead of the ITERATE i line, I should put
in i=6 and it will then stop altogether - right?

I am posting this as obvious as the answer is, to maybe help others who
are/were as confused as I was when I asked the question.

:)


Cya!
--
This is only a test. Had this been an actual tagline...

Andrew Bruno
abruno@...

#2445 From: Steve & Ulli Bowman <stevebow@...>
Date: Sat Aug 11, 2001 6:07 am
Subject: Re: Back to my "ITERATE" problem
stevebow@...
Send Email Send Email
 
G'day Andrew Bruno,

On 11-Aug-01, on the subject of "[arexx] Back to my "ITERATE" problem",
you spoke thus:

> /*  */
>
> ECHO 'Starting the program.'
>
> test.1 = "ANDREW"
> test.2 = "BARNEY"
> test.3 = "CHARLIE"
> test.4 = "DANNIEL"
> test.5 = "EDWARD"
> test.6 = "FREDERICK"
>
> name = "EDWARD"
>
> DO i = 1 to 6
>    IF name = test.i THEN
>    DO
>        ECHO 'Found'
          ECHO i             <--- Add this
>        ITERATE i
>    END
>    ECHO i
> END
>
> ECHO 'Exiting program'
>
>
>
> The ITERATE i line is added later but this is what I get with the line
> in:
>

The ITERATE command transfers control back to the DO loop without
executing your original ECHO command.

Add the extra Echo command as above so i is echoed in both cases of true
and false.

> So I guess the ITERATE command is not doing what I want.
>

Or not what you expected ;^).

--
Steve Bowman - Sydney, Australia

"Size matters not.  Look at me.  Judge me by my size, do you?  Hmmm?"
-- Yoda

#2446 From: Bernd Gollesch <bgollesch@...>
Date: Sat Aug 11, 2001 11:11 am
Subject: Re: Back to my "ITERATE" problem
bgollesch@...
Send Email Send Email
 
> I have now got back into the swing of things and am  playing with this
> "terminate the loop" thing.

If you want to "terminate the loop" if the name is found you have to
use the "LEAVE" command. ITERATE just will continue with the loop at
the start.

> DO i = 1 to 6
>    IF name = test.i THEN
>    DO
>        ECHO 'Found'
          LEAVE i
>    END
>    ECHO i
> END

You will get:

> 1
> 2
> 3
> 4
> Found
> Exiting program

--
CU, Bernd Gollesch          /'''\          Europa, Austria, Styria
A 1200 - 060/50MHz         ( o o )                Writer for:
2MB Chip 32MB Fast ---oOOO---(_)---OOOo--- http://www.amigascene.com/

#2447 From: "Ash Wyllie" <ashw@...>
Date: Sat Aug 11, 2001 3:29 pm
Subject: Re: Back to my "ITERATE" problem
ashw@...
Send Email Send Email
 
Gently extracted from the mind of Andrew Bruno;


>Hi,

>I have now got back into the swing of things and am  playing with this
>"terminate the loop" thing.

>This is the example program:

>/*  */

>ECHO 'Starting the program.'

>test.1 = "ANDREW"
>test.2 = "BARNEY"
>test.3 = "CHARLIE"
>test.4 = "DANNIEL"
>test.5 = "EDWARD"
>test.6 = "FREDERICK"

>name = "EDWARD"

>DO i = 1 to 6
>    IF name = test.i THEN
>    DO
>        ECHO 'Found'
>        ITERATE i
>    END
>    ECHO i
>END

>ECHO 'Exiting program'



>The ITERATE i line is added later but this is what I get with the line in:

>Starting the program.
>1
>2
>3
>4
>Found
>6
>Exiting program


>Without:

>Starting the program.
>1
>2
>3
>4
>Found
>5
>6
>Exiting program


>So I guess the ITERATE command is not doing what I want.

>I guess the best way to do it is instead of the ITERATE i line, I should put
>in i=6 and it will then stop altogether - right?

>I am posting this as obvious as the answer is, to maybe help others who
>are/were as confused as I was when I asked the question.

>:)


I assume that you wish to know which i gives (test.i = name). If that is true
replace ITERATEe with LEAVE.




                          -ash
                          for assistance dial MYCROFTXXX

#2448 From: Andrew Bruno <abruno@...>
Date: Sat Aug 11, 2001 10:27 pm
Subject: Re: Back to my "ITERATE" problem Thanks!
abruno@...
Send Email Send Email
 
Hello Bernd

On 11-Aug-01, you wrote:

> If you want to "terminate the loop" if the name is found you have to
> use the "LEAVE" command. ITERATE just will continue with the loop at
> the start.


YES YES YES YES YES  (As Sally said at the table with Harry looking on in
"When Harry met Sally")

That is what I want.

Thanks!

Now my codes will work factors of speed quicker!




Regards
--
Sail on, Servo! I love a robot with panache! -- Dr. Forrester

Andrew Bruno
abruno@...

#2449 From: "Dave Clarke" <bj73@...>
Date: Sun Aug 12, 2001 6:10 am
Subject: Re: Back to my "ITERATE" problem
bj73@...
Send Email Send Email
 
Once upon a time, 11-Aug-01 13:49:28, Andrew Bruno spoke thus about
'[arexx] Back to my "ITERATE" problem':

>I have now got back into the swing of things and am  playing with this
>"terminate the loop" thing.

>This is the example program:

>/*  */

>ECHO 'Starting the program.'

>test.1 = "ANDREW"
>test.2 = "BARNEY"
>test.3 = "CHARLIE"
>test.4 = "DANNIEL"
>test.5 = "EDWARD"
>test.6 = "FREDERICK"

>name = "EDWARD"

>DO i = 1 to 6
>    IF name = test.i THEN
>    DO
>        ECHO 'Found'
>        ITERATE i
>    END
>    ECHO i
>END

>ECHO 'Exiting program'

If you're trying to terminate the loop when you've found a match then you
should be using LEAVE or BREAK depending on your circumstances.

>So I guess the ITERATE command is not doing what I want.

>I guess the best way to do it is instead of the ITERATE i line, I should put
>in i=6 and it will then stop altogether - right?

ITERATE causes the next iteration of the loop, (ie. simply put, returns
script flow back to the previous DO command).

Dave
--
    _--_|\   Dave Clarke       | Four Wheel Drive: - Helps you get stuck    |
   /      \                    |          faster, harder, further from help.|
   \_.--.*/ <-Melbourne        | Powered by: A3000 '060/50+604/180 138MB    |
         v  bj73@...   |             P-IV/Concierto/Pablo/Paloma    |
--
Ah, you've come to help me find the Zero Room. -- The Doctor

#2450 From: Joseph Duchâtelet <jduchatelet@...>
Date: Tue Aug 14, 2001 6:48 pm
Subject: RawInsert
jduchatelet@...
Send Email Send Email
 
Hello

I am trying to use RawInsert from Franz Schwartz

It is supposed to accept the 'Commodities key combination syntax'
I am trying to put an 'arrow' in such a combination.
Can anybody tell me how ?

Thanks

Joseph

Messages 2421 - 2450 of 3844   Oldest  |  < Older  |  Newer >  |  Newest
Add to My Yahoo!      XML What's This?

Copyright © 2010 Yahoo! Inc. All rights reserved.
Privacy Policy - Terms of Service - Guidelines NEW - Help