Jump to content
Muxe Inc Forums
Sign in to follow this  
anbrx

Four Problems In Ndn Dos Beta 2.30.6303

Recommended Posts

anbrx    0

Four problems in NDN DOS BETA 2.30.6303

 

Here is four problems that I have noticed.

I use NDN in Windows 98 pure DOS mode with the DOSLFN package,

however these problems have also been replicated in the XP DOS Box.

  1. Copy operations doesn't preserve timestamps!

    (and this means that a following Compare is doomed to fail...)

    NOTE 1: This exact problem could NOT be replicated in the XP DOS Box,

    because when I try to copy a file, I get this in stead:

    ---------- Fatal Error -----------

    Exception 0CBh at address 01b1210b

    in f:\NDN\source\memory.pas

    Line 31

    Heap overflow error

    Please report to author:

    email: ho1459@bnhof.de

    ---[ Press a key to exit now ]----

    NOTE 2: A copy of this message has been sent to ho1459@bnhof.de

    NOTE 3: Copying files in the XP DOS Box works JUST FINE

    with NDN 2.15 Build 4000 (DPMI).

    .

  2. Panel-Compare directories...

    ALWAYS compares recursively, REGARDLESS of the "Recursively" setting!

    .

  3. The "Unselect Group" function works on DIRECTORIES,

    but NONE of the other (un)select/invert functions do??

    Also there is NO setting whether to INCLUDE directories ANYWHERE

    that I can find???

    Note: I'm creating a new topic containing this exact problem(and others)

    for NDN 2.15 Build 4000 (DPMI) as well.

    .

  4. In Options-Configuration-System Setup...

    the default "Temporary dir" value is TRUNCATED: %TEMP

    in stead of %TEMP%

    Note: I'm creating a new topic containing this exact problem(and others)

    for NDN 2.15 Build 4000 (DPMI) as well.

Share this post


Link to post
Share on other sites

Hi Anders.

 

1. Timestamps/Attributes are fixed in the next release

Note 1: if the crash happens with the next version please contact me or post again.

 

2. Hm, I think you are mistaken.

How did you test if dirs are really always recursed?

I fixed a bug in 2.30.5713 where, even not in recursing mode, directories were

compared and selected - maybe you are recalling this behaviour?

 

3. A little excerpt from the online help: (File Panel Hotkeys)

Invert current selection of files ........ [GRAY '*']

... including directories ................ [CTRL+GRAY '*']

Unselect all files ....................... [GRAY '/']

... including directories ................ [CTRL+GRAY '/']

(Un)Select all files with same highlight

index as current file .................... [CTRL+GRAY '+'/'-']

(Un)Select all files with same name

without extension as current file ........ [ALT+GRAY '+'/'-']

(Un)Select all files except with same name

without extension as current file ........ [ALT+SHIFT+GRAY '+'/'-']

(Un)Select all files with same extension

as current file extension ................ [CTRL+SHIFT+GRAY '+'/'-']

 

So, in fact 2 hotkeys work also on directories, not to forget the later hotkeys which work independently of the file type.

 

4.

Well, in fact NDN parses this so that %<VAR> is ok as well as %<VAR>%.

But, since it is non standard i will change this.

 

Thanks for your help,

Stefan / AH

 

PS: of course you can post crash reports here too

thanks for your emails anyway

Share this post


Link to post
Share on other sites
anbrx    0

>1. Timestamps/Attributes are fixed in the next release

>Note 1: if the crash happens with the next version please contact me or post again.

Thanks, will do.

 

>2. Hm, I think you are mistaken.

>How did you test if dirs are really always recursed?

Hm to u2, this was a bit more complicated...

.

First of all I use NDN in Windows 98 pure DOS mode with the DOSLFN package,

and in the XP DOS Box, the "Compare directories..." operation(NONE of the checkboxes selected) crashes and burns with the following:

  • ══════════ Fatal Error ═══════════

    Exception 0D8h at address 01ae0011

    in f:\NDN\source\searchf.pas

    Line 24

    Access violation

BTW, I don't have a drive F: nor a directory \NDN\ in the root directory of ANY of my drives...

the NDN directory is named "s:\NDN Beta_d32", but even after renaming it to "\NDX Beta_d32" the message was still the same so I'm guessing the path reference is arbitrary.

.

Secondly, a recreation of the "Recursively" problem in Windows 98 pure DOS mode with the DOSLFN package:

Set both panels to the SAME directory and type Ctrl+C or select menu-Panel-Compare directories...

Select NONE of the checkboxes and hit Enter. NDN selects ALL of the subdirectories on BOTH SIDES regardless of the "Recursively" setting. Same result with ANY two directories that are copies of one another, but because of the copy time/attribute problem, you will have to CREATE the copy with another program...

Note: Selecting subdirectories IS "recursing" in my book, NOT selecting ANY subdirectories is the non-recursing mode. How else can I follow-up with a copy operation to synchronize the two directories, without having to MANUALLY de-select all subdirectories first?

.

Third, I just realized another "Compare directories..." problem in 2.15 Build 4000 (DPMI) that probably applies to the DOS BETA 2.30.6303 as well after the copy time/attribute problem is fixed.

Recreation in the XP DOS Box: Create a new subdirectory anywhere with F7. Then use the Copy(F5) function to copy all files in the current directory to the new subdirectory. Last, do a "Compare directories..." with the "Compare attributes" box checked. NDN selects ALL files in the new directory immediatley, and in the source directory(strangely, not until) when I hit the Tab key to switch to the new directory), and will CONTINUE to do so UNTIL the SOURCE directory(NOT the NEW directory!) is re-read, by any operation including menu-Panel-Re-read.

 

>3. A little excerpt from the online help: (File Panel Hotkeys)...

Whoa! Can't believe I'd forgot to look there, I was looking for something like a check box...

Anyway now that you've set me straight(and also I've noticed, ALL of these works in 2.15 as well!),

I still feel I must ask if it's a good idea to have the GRAY '-' work on directories when the GRAY '+' don't?

If nothing else it's causing confusion... might I be so bold as suggesting that you add a "Include directories" checkbox next to the "Except mask" checkbox for both of these, that would be a BIG improvement IMHO.

 

>4. Well, in fact NDN parses this so that %<VAR> is ok as well as %<VAR>%.

>But, since it is non standard i will change this.

If nothing else you'll dodge st*pid reports from people like me :)

 

>PS: of course you can post crash reports here too

>Thanks for your emails anyway

You're welcome. I'll skip the email this time and hope you'll notice my replies soon.

 

Anders

Share this post


Link to post
Share on other sites

Hi!

 

2.

.

The path simply tells where the source file was.

This is static information and has nothing to do with you system.

The crash shoul be gone too

.

Indeed. This hapens if you selecting equal files is off.

.

I cannot recreate the third problem.

Maybe you can check this again with the new release.

 

3.

Adding a directory switch is a good idea.

This will also solve the different behaviour of - and +.

 

Thank you,

Stefan / AH

Share this post


Link to post
Share on other sites
anbrx    0

>Indeed. This happens if you selecting equal files is off.

?? I am really CONFUSED.

.

1. Subdirectories are included in all comparisons except when "Select equal files" is checked.

- This means that if I want to select differing files and not compare directories at all, I must check "Select equal files", do the compare, and then hit GREY'*' in BOTH panels to get the selection I want. Is that what you mean?

- If so, that's REALLY confusing and MUCH better if you introduced an "Include directories" checkbox THERE TOO and changed "Select equal files" to simply "Select equal" to select equal DIRECTORIES as well!

.

2. Recursively: Help says "- Check directories recursively (DISK ONLY!)"

- WHAT is this SUPPOSED to do? Is it IMPLEMENTED(realized)?? What does "DISK ONLY!" mean???

.

>I cannot recreate the third problem.

PLEASE try again. Recreation: I downloaded NDN 2.15 Build 4000 (DPMI), unpacked it in a subdirectory directly under the root on one of my internal IDE hard drives(G:), without touching ANYTHING, started it in the DOS Box in Windows Server 2003(this is XP family), hit Enter at the welcome message, hit Enter to go to the root of current drive in the right pane, hit [F7 TEST Enter Enter] to create a directory TEST and enter it, hit [Tab GREY'*' F5 Enter] to copy all files in the left pane to the right pane, hit [Ctrl+C Alt+A Enter]. All files in the right pane turns yellow(selected). Hit [Tab]. All files in the left pane turns yellow(selected).

.

>Maybe you can check this again with the new release.

The new beta doesn't have this problem in the XP DOS Box. I will try in pure DOS tomorrow.

.

>Adding a directory switch is a good idea.

You just have no idea how glad I am that you think so :)

.

Finally, are you planning a "Synchronize directories" function like in the DOS Norton Commander v5(Ctrl+F8)? Cause I would REALLY have use for that...(NC5 doesn't support LFNs. If you don't have NC5 I can send it to you)

.

Thanks, Anders

Share this post


Link to post
Share on other sites

Hi Anders

 

>Indeed. This happens if you selecting equal files is off.

?? I am really CONFUSED.

.

1. Subdirectories are included in all comparisons except when "Select equal files" is checked.

- This means that if I want to select differing files and not compare directories at all, I must check "Select equal files", do the compare, and then hit GREY'*' in BOTH panels to get the selection I want. Is that what you mean?

- If so, that's REALLY confusing and MUCH better if you introduced an "Include directories" checkbox THERE TOO and changed "Select equal files" to simply "Select equal" to select equal DIRECTORIES as well!

.

2. Recursively: Help says "- Check directories recursively (DISK ONLY!)"

- WHAT is this SUPPOSED to do? Is it IMPLEMENTED(realized)?? What does "DISK ONLY!" mean???

Sorry, I was not specific enough when I answered you.

"Indeed, this is a bug. It happens if you disable 'Select equal files'."

Dirs should never be selected when recursion is off.

 

2. I have improved the link following the DISK keyword.

It simply means recursion only works where NDN can actually recurse the directories.

This currently only works on physical drives.

Generalizing this for all VFS is a long wish of mine but will be a lot of work and I cannot see how or when it will happen.

 

>I cannot recreate the third problem.

PLEASE try again. Recreation: I downloaded NDN 2.15 Build 4000 (DPMI), unpacked it in a subdirectory directly under the root on one of my internal IDE hard drives(G:), without touching ANYTHING, started it in the DOS Box in Windows Server 2003(this is XP family), hit Enter at the welcome message, hit Enter to go to the root of current drive in the right pane, hit [F7 TEST Enter Enter] to create a directory TEST and enter it, hit [Tab GREY'*' F5 Enter] to copy all files in the left pane to the right pane, hit [Ctrl+C Alt+A Enter]. All files in the right pane turns yellow(selected). Hit [Tab]. All files in the left pane turns yellow(selected).

.

>Maybe you can check this again with the new release.

The new beta doesn't have this problem in the XP DOS Box. I will try in pure DOS tomorrow.

.

I remember, this is an old bug.

Well, support for anything but the newest betas is non-existant, sorry.

But thanks for the bug report anyway.

 

>Adding a directory switch is a good idea.

You just have no idea how glad I am that you think so :)

.

Finally, are you planning a "Synchronize directories" function like in the DOS Norton Commander v5(Ctrl+F8)? Cause I would REALLY have use for that...(NC5 doesn't support LFNs. If you don't have NC5 I can send it to you)

.

Thanks, Anders

At the moment I don't plan much big operations.

Focus for the next releases will be bug fixing and minor/quick feature additions.

All I can do is to add it to the todo list.

 

Wait, ONE big plan is to add a plugin system.

This would enable users to write such features themselves.

But I don't know when I will be able to work on this.

 

Thank you,

Stefan / AH

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
Sign in to follow this  

×