Login
Username:

Password:

Remember me



Lost Password?

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

Members: 0
Guests: 18

more...


Browsing this Thread:   1 Anonymous Users






Re: Makelink Problems
#6
Just can't stay away
Just can't stay away


See User information
Cool, thank you muchly!

Posted on: 2013/2/14 3:39
 Top  Twitter  Facebook  Google Plus  Linkedin  Del.icio.us  Digg  Reddit  Mr. Wong 


Re: Makelink Problems
#5
Home away from home
Home away from home


See User information
Soft links should work in the next nightly build (2013-02-14).

Quote:

NathanH13 wrote:

delete list
try
try: object not found
du1:try
du1:try: object not found

From book, "If you modify the file or any of the links connected to it
the links are removed and the links become files in their own right."


I'm fairly sure this only applies to hard links, so the test above gives the correct result.

The other tests you gave now work as expected.

Posted on: 2013/2/13 16:49
 Top  Twitter  Facebook  Google Plus  Linkedin  Del.icio.us  Digg  Reddit  Mr. Wong 


Re: Makelink Problems
#4
Just can't stay away
Just can't stay away


See User information
Interesting read, thanks. There appears to even be conceptual differences amongst the developers as to how it should work in all situations.

They would make my life easier in some circumstances too but I'm scared to use them currently. Likely not a high priority especially given historical flakiness; what is correct behavior? Maybe the command should respond with, "Not implemented" when used. Thanks.

Nathan

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


Re: Makelink Problems
#3
Home away from home
Home away from home


See User information
AFAIR links caused always problems on AmigaOS. At least in AmigaOS 3.1 (last version I ever used and possessed), you could always find situations, where links did not behave as expected/documented. I used them a lot (as I was used to them in Unix), but you had be very careful.

AROS seems to be too much 3.1 compatible already ;).

Just found some discussion about links in AmigaOS from the old days:

http://groups.google.com/group/comp.sys.amiga.programmer/browse_thread/thread/92ad59286728d2f0/3a1cd5c4545fb2fe

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


Re: Makelink Problems
#2
Home away from home
Home away from home


See User information
AFAIK, there are currently problems with handling links, so their use is discouraged.

They would have simplified my life, too, with Icaros scripts, but I had to found some alternative ways to do what I needed.

Posted on: 2013/1/18 9:13
p.bes
Icaros Desktop AROS distribution mantainer
 Top  Twitter  Facebook  Google Plus  Linkedin  Del.icio.us  Digg  Reddit  Mr. Wong 


Makelink Problems
#1
Just can't stay away
Just can't stay away


See User information
I'm typing in examples from the Mastering AmigaDOS tm book. I'm using
icAROS 1.5.0 on a pendrive with SFS formatted RDB partitions.

From a shell:
cd DU1:
copy c:list du1:
makelink try du1:list
try
try: object not found

However, typing "DU1:try" correctly lists contents of DU1:
Continuing:
delete try

Results in, "Not Deleted: object is in use" infinite loop which locks
shell. CTRL+C and opening new shell:
cd DU1:
du1:try
... "Correctly lists contents of DU1:"
delete list
try
try: object not found
du1:try
du1:try: object not found

From book, "If you modify the file or any of the links connected to it
the links are removed and the links become files in their own right."

Another example at shell:
echo >DU1:LT "This is a link test."
makelink LT2 DU1:LT
type LT2

Results in a system requestor, "Please insert volume "p'QBriefcase" in
any drive". The p'Q is garbage.

DOpus correctly recognizes these links via underlining. It took a reboot
and DOpus to delete them, however. Please let me know if you see the
same, I'm doing something wrong or if this is a work-in-progress. Thanks.

Nathan

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







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