Search found 185 matches

by colinw
Mon Mar 18, 2013 6:30 am
Forum: General AmigaOS
Topic: Moving symbolic links on SFS partition??
Replies: 28
Views: 9540

Re: Moving symbolic links on SFS partition??

Is it possible to move symbolic links on an SFS partition? If yes then how? If not then why? Because softlinks are references to other objects on the same volume or on others. For dospacket based filesystems, softlink targets are generally relative to the links directory, if you were to be able to ...
by colinw
Mon Mar 11, 2013 11:18 pm
Forum: General Developer Support
Topic: ExamineObject()
Replies: 10
Views: 10258

Re: ExamineObject()

[...] int64 fileSize = dat->FileSize; if ( EXD_IS_LINK(dat) && 0 == fileSize) { // it's a link try to resolve it [...] Please avoid making assumptions like this, the filesize has no bearing on whether something is a linked object or not. Please distribute only example code provided in the la...
by colinw
Mon Jan 07, 2013 1:44 am
Forum: General Developer Support
Topic: IDOS->Printf output not the same as printf
Replies: 2
Views: 1818

Re: IDOS->Printf output not the same as printf

All arguments to Printf() are 32 bit minimum width, (VARARGS68K), your format string must specifiy them that way.
ie; %ld instead of %d - %lc instead of %c - etc...

Please review the DOS Printf() / VPrintf() / VFPrintf() autodocs.
by colinw
Mon Jan 07, 2013 1:32 am
Forum: General AmigaOS
Topic: Workbench DSI plus ISI before opening screen
Replies: 6
Views: 3511

Re: Workbench DSI plus ISI before opening screen

There is a 'LOGDIR" tooltype in the sys:system/grimreaper icon.
It would be appropriate to set it to somewhere more permanent.
by colinw
Wed Sep 12, 2012 12:41 am
Forum: General Developer Support
Topic: Does AmigaDOS ParsePattern() do anything?
Replies: 2
Views: 3544

Re: Does AmigaDOS ParsePattern() do anything?

Yes, it does something, five very important things. Firstly, it provides the API compatibility for 68K software from OS3 and before that previously used some special high-ascii characters to "tokenise" patterns for the old 68K pattern matcher. Secondly, for OS4, it provides the API for aut...
by colinw
Fri Jul 20, 2012 11:15 pm
Forum: General AmigaOS
Topic: ASL file requester: create new dir behaviour
Replies: 5
Views: 4127

Re: ASL file requester: create new dir behaviour

It works properly with asl.library 53.46 Releasenotes: asl.library 53.46 (28.7.2011) - When trying to create a new directory, the string requester now opens with the "Rename_Me" text already highlighted. This saves the user having to manually delete or mark the text before entering the new...
by colinw
Mon Jun 18, 2012 11:50 pm
Forum: General AmigaOS
Topic: Mysterious environmental variable
Replies: 19
Views: 7644

Re: Mysterious environmental variable

Which is exactly why I wrote the IDOS->FileSystemAttr() function.
You will never know what any given filesystem will support unless you ask it.

We can always aim for a target, which is why I have included the new values
as defines in the next SDK includes (in dos/dos.h)
by colinw
Mon Jun 18, 2012 2:48 am
Forum: General AmigaOS
Topic: Mysterious environmental variable
Replies: 19
Views: 7644

Re: Mysterious environmental variable

Apparently none of our current filesystems handle 255 char filenames. If ram-handler is updated to handle 255 char filenames I would assume that we will get a new disk filesystem that will handle 255 char filenames. It would be sort of dumb to let the user create files in RAM: with filenames greate...
by colinw
Fri Jun 15, 2012 8:13 am
Forum: General AmigaOS
Topic: Mysterious environmental variable
Replies: 19
Views: 7644

Re: Mysterious environmental variable

Whenever I run Ranger a strange environmental variable appears in ENV: that cannot be removed after I quit Ranger. The variable constists of a "1" followed by 106 "z" (i.e. 1zzzzzzzzzzzzz ...). The variable is empty. I can't delete the variable or remove it with Unsetenv. Is thi...
by colinw
Sun May 13, 2012 12:09 am
Forum: General AmigaOS
Topic: [SOLVED] IPrefs looking for non existant Volume/Assign..
Replies: 11
Views: 5006

Re: IPrefs looking for non existant Volume/Assign..

Yeah, AmiDock is annoying. When you drag something into it, it always stores the full path to the destination, including the volume name. Whenever you drag something from the system disk (like a Commodity or docky) into AmiDock, you have to go in and edit the path from the volume name to SYS:. This...