Login
Username:

Password:

Remember me



Lost Password?

Register now!
Main Menu
Who is Online
18 user(s) are online (13 user(s) are browsing Forum)

Members: 0
Guests: 18

more...


Browsing this Thread:   1 Anonymous Users




(1) 2 »


Re: List Problem
#14
Home away from home
Home away from home


See User information
@NathanH13

Baseline functionality is generally based on AmigaOS 3.1.

Yes, bug reports would be extremely welcome, no matter how minor. Ideally individually reported in the Sourceforge bug tracker.

Posted on: 2013/1/26 18:00
 Top  Twitter  Facebook  Google Plus  Linkedin  Del.icio.us  Digg  Reddit  Mr. Wong 


Re: List Problem
#13
Just can't stay away
Just can't stay away


See User information
Thanks!

Posted on: 2013/1/26 17:31
 Top  Twitter  Facebook  Google Plus  Linkedin  Del.icio.us  Digg  Reddit  Mr. Wong 


Re: List Problem
#12
Home away from home
Home away from home


See User information
I've attached the fixed List command.

Attach file:


Link only for registered users

Posted on: 2013/1/26 17:09
 Top  Twitter  Facebook  Google Plus  Linkedin  Del.icio.us  Digg  Reddit  Mr. Wong 


Re: List Problem
#11
Home away from home
Home away from home


See User information
Quote:
ncafferkey wrote:
...you are combining two separate parameters...

i totally missed that part . you are right .
In that case, setenv does the same behaviour.

red:
come to think about it. Isn't it so that readitem 'just' splits up arguments when space _or_ '=' is encountered (exception quoted) ? that would explain the behaviour. It then fails only when the parameters are exactly as named (or another priority is given to recognizing the named arguments)

Posted on: 2013/1/26 16:31

Edited by magorium on 2013/1/26 17:12:50
 Top  Twitter  Facebook  Google Plus  Linkedin  Del.icio.us  Digg  Reddit  Mr. Wong 


Re: List Problem
#10
Home away from home
Home away from home


See User information
Quote:

magorium wrote:
But afaic remember it is/was always possible in classic to use the OPTION=VALUE pair in/for every parameter of a shellcommand. It was just preferences made by user.


Yes, but in this case you are combining two separate parameters with the '='. If it works in AmigaOS, I suspect it is a hack built into its Set command.

Posted on: 2013/1/26 16:20
 Top  Twitter  Facebook  Google Plus  Linkedin  Del.icio.us  Digg  Reddit  Mr. Wong 


Re: List Problem
#9
Home away from home
Home away from home


See User information
Quote:
ncafferkey wrote:
What does "Set ?" show?

in case of both classic and aros:
NAME,STRING/F

But afaic remember it is/was always possible in classic to use the OPTION=VALUE pair in/for every parameter of a shellcommand. It was just preferences made by user.

Posted on: 2013/1/26 16:04
 Top  Twitter  Facebook  Google Plus  Linkedin  Del.icio.us  Digg  Reddit  Mr. Wong 


Re: List Problem
#8
Just can't stay away
Just can't stay away


See User information
Lightbulb going of!?

I've been trying to get a bunch of my Amiga OS scripts running under icAROS. To me, its amazing how well things work but its also frustrating because of the many _extremely minor_ oddities I run across; even amongst different versions of Amiga OS.

Is there one particular OS 3.0 CD that is the definitive standard of C: and RexxMast versions that is being captured in AROS? Or perhaps a list of all versions of C: to be targeted. If that was known, my UAEPipe and SQL scripts could provide an automated and searchable test suite of functionality using examples from (what I use as my bible) Mastering AmigaDOS.

Would this be useful or duplicative to work elsewhere? Report deviations one-at-a-time or in one fell swoop? Thanks.

Nathan

Posted on: 2013/1/26 16:01
 Top  Twitter  Facebook  Google Plus  Linkedin  Del.icio.us  Digg  Reddit  Mr. Wong 


Re: List Problem
#7
Home away from home
Home away from home


See User information
@magorium

Thanks for the research.

What does "Set ?" show?

@NathanH13

I think your book's differentiation between creation and modification dates is bogus, because native Amiga filesystems do not store a creation date/time.

Posted on: 2013/1/26 15:41
 Top  Twitter  Facebook  Google Plus  Linkedin  Del.icio.us  Digg  Reddit  Mr. Wong 


Re: List Problem
#6
Home away from home
Home away from home


See User information
Hi Neil,

I can confirm the behaviour as decribed earlier.

Although my reference stated that the format can be manipulated by the dateformat variabele, i myself could not manipulate it with classic OS (workbench 40.42).

So the only thing left that afaik could influence this is the selected country (haven't tried that).

I think it's save to say your patch is valid, as it showed exactly the same behaviour for me in classic.

Sorry for any confusion i might have caused.

regards


PS: dunno if it is/was adressed already, but i also noticed i can use "set myvariable=myvalue" using classic, which failed for me under Icaros.

Posted on: 2013/1/26 10:43
 Top  Twitter  Facebook  Google Plus  Linkedin  Del.icio.us  Digg  Reddit  Mr. Wong 


Re: List Problem
#5
Just can't stay away
Just can't stay away


See User information
Thanks folks. Sorry about that, from Mastering AmigaDOS pg.165:

"By default, LIST always tries to specify the weekday and time of a file's creation (assuming the file was created recently). This switch tells it to display the exact date the file was last MODIFIED [caps from original text]."

Simple example for anyone running icAROS and Amibridge OS3.0:
From icAROS Shell:
Ram:
List
Clipboards <Dir> ---rwed Today 18:54:37
ENV <Dir> ---rwed Today 18:54:41
T <Dir> ---rwed Today 19:11:23
3 directories - 3 blocks used

List DATES
Clipboards <Dir> ---rwed Today 18:54:37
ENV <Dir> ---rwed Today 18:54:41
T <Dir> ---rwed Today 19:11:23
3 directories - 3 blocks used

From OS3 Shell:
Ram:
List
Disk.info 2556 ----rwed Today 19:13:55
ENV Dir ----rwed Today 19:13:54
Clipboards Dir ----rwed Today 19:13:52
T Dir ----rwed Today 19:14:14
1 file - 3 directories - 10 blocks used

List DATES
Disk.info 2556 ----rwed 25-Jan-13 19:13:55
ENV Dir ----rwed 25-Jan-13 19:13:54
Clipboards Dir ----rwed 25-Jan-13 19:13:52
T Dir ----rwed 25-Jan-13 19:15:05
1 file - 3 directories - 10 blocks used

Thanks,

Nathan


Posted on: 2013/1/26 2:17
 Top  Twitter  Facebook  Google Plus  Linkedin  Del.icio.us  Digg  Reddit  Mr. Wong 




(1) 2 »



You can view topic.
You cannot start a new topic.
You cannot reply to posts.
You cannot edit your posts.
You cannot delete your posts.
You cannot add new polls.
You cannot vote in polls.
You cannot attach files to posts.
You cannot post without approval.
You cannot use topic type.
You cannot use HTML syntax.
You cannot use signature.
You cannot create PDF files.
You cannot get print page.

[Advanced Search]


Search
Top Posters
1 paolone
paolone
4462
2 nikolaos
nikolaos
4206
3 magorium
magorium
4095
4 phoenixkonsole
phoenixkonsole
3942
5 deadwood
deadwood
2917
6 ncafferkey
ncafferkey
2810
7 mazze
mazze
2222
8 Kalamatee
Kalamatee
2212
9 clusteruk
clusteruk
2114
Powered by XOOPS © 2001-2025 The XOOPS Project