Jump to content
Muxe Inc Forums

dandv

Members
  • Content count

    368
  • Joined

  • Last visited

Posts posted by dandv


  1. I unrared the latest NDN beta on Ubuntu Hardy, but when I execute "ndn", bash returns this error:

    -bash: ./ndn: No such file or directory

     

    I ran chmod+x ndn, and I really don't get what the problem is. In that directory (~/ndndir), ls -al ./ndn shows that ./ndn exists, but executing ./ndn fails with the error above. What am I missing?

     

    Thanks.


  2. Feature request: when setting the timestamp for multiple files via Alt+E, please allow setting of only the file date and keeping the current file time, if the file time field is left blank.

     

    Use case:

    I have a bunch of MP3s, and the timestamp of each file is set to the duration of that mp3. For example, if the MP3 is 3 minutes 54 seconds, the filetime will be 03:45:00. The file date is set to the date the CD album was released.

     

    The way I set the filetimes is using a small Perl script that I wrote. The script reads the MP3, calculates the duration, then sets the file time. So if I have 12 MP3s in an album, they'll have different filetimes indicating their duration. Now I want to set the date of all these MP3s to the album release date. If I select all the files in NDN and try to set the date via File Attributes, I must specify both the file time and the file date. If I only specify the file date, NDN won't do anything. If I do specify the file time, that will overwrite the existing file time, which I want to preserve.

     

    Thanks for considering this,

    Dan


  3. Fixed, as well as http://forums.muxe.com/index.php?showtopic=3178.

     

    Thank you for your the reports,

    Stefan / AH

     

    Awesome, that was a rapid fix!

     

    I just found another very similar bug. If you view this SRT file with Internal Viewer off, and Auto Code Page off, NDN will crash with the following error:

    Exception EAccessViolation in module ndn.exe at 000D3501.
    File: f:\NDN\source\Microed\microed2.pas Line#: 654
    Access violation at address 004D3501. Read of address 6D616E71.

     

    PS: I tried to upload the file here, but got an error: "Upload failed. Please ask the administrator to ensure the uploads directory is available"


  4. Let me explain the question:

     

    Suppose you have a Win32 application that depends on some DLLs. For example, wget.

     

    If one of those DLLs isn't found in PATH, the application will display an error message when run, such as:

     

    wget.exe - Unable To Locate Component
    This application has failed to start because SSLEAY32.dll was not found. Re-installing the application may fix this problem.

     

    The problem is that when run from NDN's command line, no such dialog box is displayed. With certain application, not seeing this pop-up message makes it extremely hard to debug problems.

     

    Is there a way to make NDN run applications in such a way that this message box is displayed?


  5. Okay, this bug was very fun and hard to pinpoint. I manage to bring it down to only two settings that have to be changed. Here's how to reproduce:

     

    1. Get a fresh NDN beta 2.30.8497

    For reference, go view a file in use by another application. For example, one of the .tmp files in %TEMP% if you have Outlook and Word running; places.sqlite-journal from Firefox's profiles directory. NDN will show a dialog box saying it can't open the file.

    2. Disable System Setup -> Internal Viewer and view (F3) the file again. NDN won't display the dialog box.

    3. Disable Auto code page in Editor and view the file again. NDN will crash with the following error message:

     

    Exception EAccessViolation in module ndn.exe at 000D3224

    File: f:\NDN\source\Microed\microed2.pas Line#: 569

    Access violation at address 004D3224. Read of address 0000000C.

     

    As a side note, with the software world switching to Unicode, I'd recommend that the "Auto code page" option be Off by default. (I don't know how things are in Russia, though... those guys seem to really love the KOI mess ;-)

     

    HTH,

    Dan Dascalescu


  6. View a file in the internal viewer, and search for a character. Regardless of the wrap mode and CR/LF type of the file, the first search occurrence won't be highlighted. Ctrl+L will highlight the first occurrence (instead of the second). Also, if you view another file and press Ctrl+L directly, NDN will highlight the first occurrence of the text you've searched for in the previous file. Reproduced in betas 6778-7187.

     

     


  7. This is due to the fact that I am so busy with my diploma thesis that I cannot afford to lose

    any time, not even the 1-2 hours needed for packaging and uploading a new beta.

     

    Best of luck with the thesis, AH!

     

    PS: I looked around in the forum trying to duplicate the "Add Reply" button to the top, as you asked, but that requires a template modification, which only someone with access to the server can do. It would be pretty simple to do - just copy the HTML that shows the button... Who owns the muxe forum server?


  8. On NTFS, you can encrypt a file by going to Properties -> Advanced -> Encrypt contents to secure data. The file will appear in Windows Explorer as green.

     

    When attempting to open such files, NDN beta 2.30.6778 exits immediately. Beta 6303 correctly displayed an "Access Denied" error message.

     

    Apparently this error is caused by attempting to open any file that is in use. The error NDN crashes with is:

     

    Exception EAccessViolation in module ndn.exe at 000D0949.
    File: f:\NDN\source\Microed\microed2.pas Line#: 634
    Access violation at address 004D0949. Read of address 0000000C.


  9. Hi AH,

     

    Thanks a lot for the new beta, and keep up the good work. I just discovered the keyword completion in the Editor and love it!

     

    [*] improved XML HGL pattern by adding "<?xml"

     

    How does that work? I also saw "<htm>" and "<td>" in the FILES section:

    FILES *.htm;*.html;*.asx;*.htt;*.htz;<<htm>,<<td>

     

    I tried creating a file that contained <td>, thinking the "<xxx" syntax mean maybe NDN scans the file for 'xxx', but there was no HTML highlight.

     

    Also, Ctrl+E doesn't bring up the previous command line entry any more. Is there a setting for this?


  10. Hey Dan!

     

    can you be more specific about the OS?

    I have tested in W2K and it doesn't happen.

     

    Maybe you may want to wait for the new release and test again before answering.

     

    Just tested in 2.30.3829 under WinXP and now when you move the file being edited, there is no error (although in Editor options, "Lock file" is set to On), and the edited file remains in its location and is only copied.


  11. Paste the following text in an NDN editor window:

    12345678
    \
    1234

     

    It is important to NOT have a blank line at the end of the file (you don't have to save). Your file should contain exactly the 3 lines above.

     

    Now copy and paste those three lines in some other program that shows trailing spaces before the end of the line, such as Word with formatting marks enabled (Ctrl+Shift+8 in Word).

     

    Notice NDN filled the 2nd line with spaces to match the length of the 3rd line.

     

    Even stranger is the fact that if you add a last blank 4th line and copy/paste the full three lines (that is, Ctrl+Home, Home, [shift+DownArrow] x 3, Ctrl+Insert, NDN won't fill the second line with spaces.


  12. First of all, I would like to ask everyone interested in NDN to vote for it on freshmeat!

    http://freshmeat.net/projects/ndn/

     

    Done. There were 7 votes before I rated NDN today, but freshmeat hasn't updated the page to reflect my vote yet.

     

    Last but not least, I have been asked mutliple times the past years where or how to donate something.

    I have finally created a PayPal account in the xmas holidays where interested and caring people can support me (NDN) by donating money. Please read details here http://ndn.muxe.com/donate.php.

     

    Done. For the first Paypal page the donor sees, you may want to investigate how to set the language to English (now it's German).

     

    Keep up the good work!

    Dan Dascalescu


  13. Hi all!

     

    Bugs (?)

     

    - The clock is lost when is placed in the right of the screen and video mode change to a lower scale.

     

    Can't reproduce in 2.30.0024

     

    - File extensions written in Uppercase are showed in ndn in Lowercase
    That's controllable from Options -> File Manager -> Column Defaults -> [pick your panel type here, usually Drive] -> [pick your column setup]

     

    - The path of selected file is not displayed when SHIFT+CTRL+Enter is pushed and quick search is activated with Ctrl.
    Confirmed. I use to quick search with Alt.

     

    - In the Viewer, some tabs are not showed.
    Can you expand on that?

     

    - Does exist an option to import the configuration of a previous version of ndn?
    Just copy the NDN.ini and it will probably work. The EXT, EDT, VWR, HGL, MNU, DES, hgroups.ini, archiver.ini will most likely work because they don't contain any bitfields like NDN.INI

     

    - Display the Context Menu in an empty folder showing the <New> option at least.
    That sounds like a good idea. I've heard NDN newbies complain that NDN has no right-click context menu. Maybe an option to chose between right click selecting the file and displaying the context menu would be nice. I personally never use right click in NDN and I suspect that most NDN diehards don't use the mouse at all. So I'd even suggest make the right click activate the context menu by default.

     

    - In main menu and/or in the editor menu, add the <New file> option with a submenu showing all file extensions added in Syntax Highlight configuration file (.sql, .c, .java, etc) to create a file selecting it from submenu.

     

    What will be faster? Typing "myfile.sql" or scrolling through 50+ extensions until you find SQL, selecting that, then typing "myfile" anyway?

     

    - After copy/paste characters, put the cursor at the end of them.

     

    I don't know about that... I would come counter-intuitive to the way things worked so far in NDN, but on the other hand in Notepad or Word, the cursor gets indeed placed after the inserted text.


  14. Change the NDN.HGL entry for Perl to:

    Comment __END__ a_unique_string_because_there_is_no_end_of_such_comment =head2

    and create a .pl file (Shift+F4, bug.pl, Enter). NDN will crash.

     

    I actually want to define more than one multiline comment for perl files:

     

    =head1 comments here

    comments here

    = cut

     

    =head2 comments here

    comments here

    =cut

     

    etc. This is the POD (Plain Old Documentation) format, extremely popular in the Perl world.

     

    Is it possible to to this? I tried

      Comment __END__ a_unique_string_because_there_is_no_end_of_such_comment
      Comment =head2 =cut

    but the second COMMENT line is ignored.

×