English Amiga Board


Go Back   English Amiga Board > abime.net - Hosted Projects > project.ClassicWB

 
 
Thread Tools
Old 29 October 2006, 14:00   #1
killergorilla
Lesser Talent
 
killergorilla's Avatar
 
Join Date: Jan 2003
Location: UK
Age: 42
Posts: 7,957
JanoEditor / DOpus prob?

Hi Bloodwych..

weird prob this...

If I put a disk in df0: called "Disk01" and put another disk in df1: also called "Disk01" I can load them up seperately in the two dopus windows, not a problem.

however.. when I chose to edit a file on one of the disks (using the EDIT button) it seems to use the disk's label as the paramater to pass to JanoEditor (or it might be JanoEditor's fault), this can cause probs if both disks have a file on that is named the same (s:startup-sequence for instance).

JanoEditor should be opening DF0:S/startup-sequence NOT DISK01:s/startup-sequence.

Is there anyway to alter this behaviour or is that the only way JanoEditor can work?

EDIT: this does not happen when using the HEX button
killergorilla is offline  
Old 30 October 2006, 16:20   #2
Dan
Registered User
 
Dan's Avatar
 
Join Date: Nov 2004
Location: Germany
Posts: 629
you should not have same named disks in different drives , bcause you can
access disks by their names too , and WB/amiga dos gets confused ^^;
example :
"disk01:s/startup-sequence" < which disk should be acessed in this case ?? ^^

Last edited by Dan; 30 October 2006 at 16:23. Reason: misstyping
Dan is offline  
Old 30 October 2006, 16:27   #3
killergorilla
Lesser Talent
 
killergorilla's Avatar
 
Join Date: Jan 2003
Location: UK
Age: 42
Posts: 7,957
That's why I want to refer to them by their device.

You CAN have the same named disks in both drives and it shouldn't be a problem if you refer to them directly as DF1: and DF0: for example. This works fine for the hex editor.

I'm not attempting to access them via their disk label, I know that is likely to confuse WB/DOS - well actually it won't confuse them, more likely confuse the user
killergorilla is offline  
Old 30 October 2006, 17:43   #4
Toni Wilen
WinUAE developer
 
Join Date: Aug 2001
Location: Hämeenlinna/Finland
Age: 49
Posts: 26,502
AmigaDOS gets confused if both disks have exact same name AND creation date.
Toni Wilen is offline  
Old 30 October 2006, 17:53   #5
killergorilla
Lesser Talent
 
killergorilla's Avatar
 
Join Date: Jan 2003
Location: UK
Age: 42
Posts: 7,957
They definitely don't have the same creation date.

My problem isn't a problem with AmigaDOS complaining or failing to recognise disks, it's a problem with either Dopus passing the wrong parameters to JanoEditor or JanoEditor looking at the device to find the disk label and attempting to open the disk label (not the device itself).
killergorilla is offline  
Old 31 October 2006, 16:42   #6
Bloodwych
Moderator
 
Bloodwych's Avatar
 
Join Date: Jun 2001
Location: I'm behind you!
Posts: 3,763
Had a quick look at this and yes it's a bug in the way dopus hands file paths and names to external programs.

It not only does it with Janoeditor, but other external programs as well. When it passes on the file location string to a program it uses the disk not device name.

I have no idea why the FileX doesn't have the same issue?? It receives the same string as the other programs through dopus, but for some reason changes to the device reference itself.

Sorry, I have no solution as that is the only way to pass on a files location to an external program through dopus (have a look under config->buttons).
Bloodwych is offline  
Old 31 October 2006, 17:10   #7
killergorilla
Lesser Talent
 
killergorilla's Avatar
 
Join Date: Jan 2003
Location: UK
Age: 42
Posts: 7,957
Yeah I did take a look and noticed the {f} was the same for FileX and JanoEditor which is why I posted here, I thought it might be JanoEditor's fault.

Ah well, I'm sure I can live with it

Thanks for taking a look.
killergorilla is offline  
 


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools

Similar Threads
Thread Thread Starter Forum Replies Last Post
Looking for DOPUS 4.x zap64uk request.Apps 4 19 March 2010 20:30
AFA OS prob with DOPUS Bamiga2002 support.Apps 3 29 August 2009 22:05
DOpus 4 Help ! amiga support.Apps 2 15 December 2008 08:59
DOpus 5.5 Drake008@ support.Apps 5 21 March 2007 02:46
DOpus 4 Amigaboy Retrogaming General Discussion 4 03 October 2002 05:10

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT +2. The time now is 17:51.

Top

Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2024, vBulletin Solutions Inc.
Page generated in 0.07285 seconds with 13 queries