Jump to content
Muxe Inc Forums

AngelsHolocaust

Members
  • Content count

    651
  • Joined

  • Last visited

Posts posted by AngelsHolocaust


  1. I 100% agree

    yes - it's a fact

     

    VP support for DOS/windows/OS2(?) is well enough, but Linux, hm.... IMHO vp linux support is extremly ugly and incomplete...

    Yes, the current linux version is not bad, but I think, that fully usable linux version can`t be created with vp.

    The main reason is: vp seem not support dynamic linking for linux, and many standard libs functions are reimplemented at kernel level (with int 80)

    the support is incomplete, but not ugly - it is the LINUX OS that makes things ugly

     

    yes, i reimplemented some code for exactly one reason:

    because the linux internals change a lot over the years, and, with FTP f.ex., i was not sure if i should rely on LINUX C API

    at the moment the sockets actually do use the C code from libc.so.6

    (most of them)

     

    also: isn't this dynamic linking?!

     

    So if full linux support is not one of the main lines of development vp is ok, but in other case vp isn`t.

    (all text after here is only IMHO)

    it is one main goal and VP is good enough for this too

     

    Also I 100% agree with

    this post

    There is many file managers for Windows. Generally, I think, Far is not much better than NDN, NDN is not much better than Far.

    For me NDN is a little better than Far, so I use NDN. If there wasn`t be NDN i had to use far in such case, it wouldn`t be a big problem.

    i would have to retranslate the post... i don't think it was that much important

     

    On Linux i have no good altenatives(mc isn`t), so i need use NDN, but now it has too much small bugs. Most of them are reasoned by the fact that firstly DN was old dos program and now it emulate DOS api on all OSs (not everywhere, but in many parts of code).

    Some things like attributes can be fixed, but some modern(ok, they were modern in 1992(?) when dn was born) technologies such as multithreading(background copy, calculation background completions of filenames in background), UTF-8 need rewriting of >>50% code.

    background work can be done w/o problems:

     

    1. the TGROUP object actually is a simple multithreading container

    the new version will feature background copy/deletion

    also, don't forget that FILE FIND alraedy is working in the background

     

    2. the VP RTL features internal mutlithreading too

     

    i don't know where to go with UTF-8

    do we really need it, what do we need to support it...

     

    i'd rather rewrite 50% of current code than to port the whole program to FP or into C

    btw, 50% is a bit too much, or did you only mean the VP RTL?

     

    So the questions are:

    2Stefan: Is good linux support among of the 2-3 main lines of development?

     

    2All: Is here anybody except me who wants Linux version more than Windows one?

     

    P.S. I am NOT a big linux fan (now :) )

    moving from VP to any other compiler will take NDN MONTHS of work without ANY improvments,

    until it is as bug free as at the moment

    and then we won't know if the new compiler will really help us, or introduce us to new problems

     

    i always enjoy doing ground/basic work concerning the VP RTL, which involves a lot of reading and trial and error on the OS/KERNEL front

     

    i also read the FP RTL for some help, and, believe me, it IS damn ugly too

     

    good linux support IS possible with VP

     

    best wishes

    Stefan / AH


  2. hi gpf!

     

    can you test the short filename expansion macros with this bug too?

    .!~

    !~\

    !~/

    ~!

     

    i cannot try this because i have no NTFS drives to test it

     

    at the moment NDN gets the drive from the converted short filename (via Win32's GetShortPathname)

    i have changed this to use the standard fielname so the !: bug should be gone

    but i'd like to know if the complete path returned by the function is invalid

     

    thanks

    Stefan / AH


  3. hi *!

     

    sorry for the long delay.

    not too much news for this release, the world cup keeps me busy :)

     

    i am preparing for my final exams in july, so i won't be able to do a lot

    in the next month. but i hope i still can release something at the end of

    july.

     

    whatsnew:

    [*] D32 removed specific code from NDN sources and moved it to RTL

    -> drivers.SysTV.*Mouse

    [-] LNX: palette load from menu didn't work

    -> removed usage of dnstddlg.GetFileNameMenu.LngMixCase

    [-] LNX: if VCSA couldn't be read no desktop BG/error message was shown [A]

    -> vpsyslnx.OpenVCS didn't return -1 on error, we check for < 0 now

    [+] W32: run/minimize/close to system tray: code by Vladimir Bochkarev

    -> added traycons, trayicon, dnapp.QuitForced, commands.cmQuitForced

    -> added usage of Abort to gauge.DispatchEvents*

    [*] added C# data to ndn.ext, ndn.hgl, hgroups

    [+] XX(En|De)code support (very similar to UUEnc) (Rugxulo)

    -> quite some work on: uucode, resources, english help

    [*] LNX: extended 0mk.sh to compile RCP only

    [*] added defines for several resources so they won't be compiled if unused:

    FTP, CDPLAYER, MODEM, DISKEDIT, NETWORK, SHUTDOWN and language strings

    (reduced data by several kB)

     

    TURBOVISION: VIEWS/DIALOGS/MENUS/OBJECTS

    [-] CTRL-O with AsciiTable didn't set status correctly on return [A]

    -> asciitab.TASCIIChart.Init: now using the new ofDontClearSelectable

    [-] click on last entry on statusline highlighted incorrectly (GPFault) [A]

    -> menus.TStatusLine.DrawSelect did draw additional data

    [*] when clicking menu separator menu does not close anymore

    -> menus.TMenuView.Execute does nothing anymore on a sep. click

    [*] THugeMenuBoxes scrolled whole view if view was not on position 0

    -> changed menus.THugeMenuBox.Draw, menus.THugeMenuBox.BeyondTop,

    added menus.THugeMenuBox.Delta

    [+] added a "multi dialog"-dialog with example (dialmult/dialmuex)

    -> unused yet

    [*] added TCollection.IsValid which checks itself for nil or count > 0

     

    VIEWER

    [-] crash if trying to view a file containing only one $0a (Dandv) [A]

    -> fviewer.TFileViewer.CountLines

     

    TVHC/HELP

    [+] english: added help on XLT files, updated help on spreadsheet

     

    VIRTUAL FILE SYSTEMS (VFS)

    [-] FTP: some directories were still parsed incorrectly because partial

    strings were trimmed left and right (<date> <name> became <date><name>) [A]

    -> vfs_ftp.TFTPConnected.GetFilesCol

    [-] FIND/BRANCH: crash if changing sort order to unsorted [A]

    (Eugeniusz Kosek/GPFault)

    -> collect.QuickSort was not able to handle list with equal elements,

    implemented a quicksort from java source with trimedian method.

    also added a sorting unit and extended this with several sorts

     

    HISTORIES

    [*] window x-sizes dependig on the screen size (Garl)

    -> histries.GetDialog

     

    EDITOR

    [+] set cursor to end of inserted data {Z}

    -> added option, commands.edeMovetoEOB, changed microed3.EditorInsertBlock

    [*] [HOME] at BOL and [END] at EOL clear selection {Z}

    -> microed6.EditorHandleEvent.cmHome/cmEnd

     

    FILE PANEL

    [*] file attributes on multiple files now also have a current button {Z}

    -> fltools.CM_SetAttributes and resources

     

    FILE COPY/MOVE/OPEN/CREATE/DELETE

    [+] copy/move: added a ignore file mask inputline {Z}

    -> filecopy, commands, resources, vfs_arvd

    [+] added Refresh files button to copy confirmation dialog (Eugeniusz Kosek)

    [*] English resources: improved the button layout in the copy/move dialogs

    [-] LNX: delete didn't handle symbolic/soft links but the target (GPFault) [A]

    -> eraser.EraseFiles checks if file is a link

    [-] move to "a \" didn't work (Dandv)

    -> filecopy.CopyDialog removes these trailing spaces

     

    KEYBOARD

    [-] LNX T: QuickSearch ALT/CTRL key presses were not generated [A]

    -> changed vpsyslnx.KbdTerminalThread to generate ALT/CTRL keycodes

    [+] LNX T: added code to clear CAPS/NUM/SCROLL lock states

     

    ARCHIVES

    [-] 7z: archives in dir with spaces were not read (Vladimir Bochkarev) [A]

    -> arc_7z.T7zArchive.GetFile puts target filename into "" if needed

    [-] ZIP: some archives looped infinitely in the detection code (Dandv) [A]

    -> archdet.ZIPDetect breaks the loop if 2 times same position was found

    [*] LNX: "Use long filenames" was unused and therefore commented

     

    RCP/RESOURCE

    [*] RCP did not handle IFDEFs in enum-types in commands.pas

    [*] better information output when compiling resources

     

    COMMANDLINE

    [-] W32/LNX: CTRL-O, default cmdline mode not reset after exec (GPFault) []

    User modes are reset to default but not correctly displayed and

    Timer mode stayed after exec

    -> added cmRereadInfo message to usermenu.TUserView.HandleEvent.cmTotalReread

    [*] Cmdline setup: "user mode #1" inputline now uses %comspec% instead of

    command (GPFault)

    [*] LNX: User mode #1 inputline now contains an example line

     

    SYNTAX HIGHLIGHT

    [-] RegKeywords could not override Comment(Start|String) [NC]

    -> added RegKeywordsColl.IsValid check to highlite.Highlites

     

    download: http://ndn.muxe.com/beta.php

     

    have fun

    Stefan / AH


  4. Hello Ian!

     

    I must repeat myself:

    it will NOT be easy to do these modifications.

    It will take me quite some time to get it done.

    Best thing would be to create an ini file for NDN to read at startup.

     

    Is the ^J character an 0x0a in that string?

    So the complete sequence would be: $1B 0A 33 4D

    Just as a little note: The number (33) after the key (0A) should tell NDN what modifier was used.

    But, let's test this combination for the next release.

     

    Stefan / AH


  5. Hi!

     

    NDN parses the standard keyboard sequences in X, depending on the configuration of X or it's terminals.

    So this would be possible.

     

    But could the modification/addition of extra sequences also be executed by NDN internally?

    And, doesn't X in general allow to define own keyboard sequences?

     

    Unfortunately this problem is not easy to fix and requires quite some time to analyze and solve.

    Any help is appreciated.

     

    Stefan / AH


  6. Hi Ian!

     

    Of course it would be possible to reconfigure the terminal emulator to be more compatible to NDN.

    I don't know if ETerm is a better choice for such a task.

    Maybe you already verified it?

    You could share your experience with us...

     

    The best way would be to be able to get the keyboard scan codes from X, but I don't know if it is possible at all because NDN is no X application.

     

    Stefan / AH


  7. hi again!

     

    i just checked at university with v8835 and it finds files in the current directory

     

    note that the current directory is the directory that is selected in file panel

    maybe we should use the path of the currently edited filename with SPF and not the current directory

     

    Stefan / AH


  8. hi ian!

     

    in a real terminal in linux this works like in dos/windows with CTRL-ENTER

     

    in X the keyboard is not correctly working and we are looking for a solution for this problem

    i assume you are using NDN in X, there's no solution to do this yet

     

    sorry

    Stefan / AH


  9. hi!

     

    what's new:

     

    [*] removed inactive people from team list (sorry)

    [*] LNX: checked the IsTermType() usage in vpsyslnx and replaced with

    binary TermType check where possible; better detection of real linux

    terminals vs. xterm/rxvt

    [-] LNX X: started in the terminal from where x was started

    (J.B.Lethbridge/GPFault)

    -> vpsyslnx didn't detect xterm/rxvt correctly

    [*] added DTX (TEX) to ndn.ext, ndn.hgl and highlight groups

    [-] LNX X: terminal was not correctly setup on program exit (GPFault)

    -> vpsyslnx.TrmDone only reset terminal on TermType=ttLinux

    [+] added used software reference to the help files

    [+] User Screen/Output window: enable screen grabber when using mouse

    * left button starts screen grabber

    * right button closes user screen/output window

    -> User Screen (ESC/ALT-F5): dnapp.TApplication.WhenShow

    -> Output Window (CTRL-O): usermenu.TUserView.HandleEvent

    [*] LNX now correctly shows a desktop background if VCSA was not available

    and also shows an info message

    -> usermenu.TUserView.Draw and dnapp.TBackground.Draw,

    added dlNoVCSA to resources

    [*] extended information on startup (w/o /QUIET switch): Process ID

    -> main.TellOS

    [*] removed dnexec.CleanLoaderInfo since it was unused/unneeded

    [-] dnapp.ExecExit was not fail safe, since it didn't do a correct clean up on

    exit (= Options.Configuration.Startup/Shutdown.Inactivity Hour Exit) [NC]

    -> now simply using Desktop^.EndModal(cmClose)

    [*] stringsx._SearchForOld optimization (removed doubled code) {Z}

    [*] updated delphi/pascal hgl data and xml==bdsproj (Vladimir Bochkarev)

    [*] improved the "c" file extension code in DOS/WINDOWS ndn.ext

     

    TURBOVISION: VIEWS/DIALOGS/MENUS/OBJECTS

    [-] Menubar, no value selected, pgdn -> Crash (GPFault) [DNOC]

    -> menus.TMenuView.Execute now checks if Current is nil

     

    EDITOR

    [*] improved the messagebox when no file was found after CTRL-ENTER

    [-] modified file, empty line, Esc, cancel save dialog with Esc (GPFault) [A]

    a) D32: view was locked

    -> microed6.EditorHandleEvent.cmClose didn't call ForceUnlockDrawing

    B) using backspace unindents w/o checking options

    -> micro_4.EdMakeBack didn't use EdOptions.BackIndent on empty lines

    (calling save dialog sets line containing only whitespace to ''

    if certain options are set)

    [*] Options.Backspace/Delete unindents wasn't saved to edit history

    -> added EdOptions.Backindent to histries.TEditRecord and (Re)StoreEditInfo

    [-] russian resource: after changing configuration editor could become

    unusable because of an additional/too much inputline {P}

    [*] delete block by [bACKSP] {Z}

    -> microed.micro_4.EdMakeBack

    [*] added character count to ALT-F1

    -> added stringsx.tCharWordCountRec.TotalChars

     

    FILE COPY/MOVE/OPEN/CREATE/DELETE

    [-] copy progress dialog: time in minutes > 59 (Garl) since it didn't handle

    hours correctly (FreeDOSFan) [A]

    -> filecopy.ConvTime/dnutil3.ShowTimeInfo now use alarmclk.GetTimeStr

    -> alarmclk.Format(Date|Time)Str was moved to timedate

    [-] move on same drive didn't show progress (Necromancer) [A]

    -> filecopy.DoRename didn't update progress data

    [-] NT move: when file could not be copied, file search record was not closed

    and the owning directory could not be deleted in future operations w/o

    closing NDN (Necromancer) [NC]

    -> filecopy.CopyDirectory didn't close search record of that directory

    [*] error message when trying to move a directory to a file

    -> filecopy.CopyI checks if target is a file

     

    DNEXEC/EXTERNAL VIEWER/EDITOR DNEXEC.EXECUTEFILEEXT/LOCAL_GLOBAL_MENUS

    [-] LNX: programs got 1 parameter if actually no parameter was given [V]

    -> vpsyslnx.SysExecute: added 2*#0 at the end of the string before

    creating arglist

    [-] W32 !: sometimes returned crap (Dandv) [A]

    -> lfn.lGetShortFileName had no error handling (usermenu.MakeString)

    [*] D32 NT: extended environment space for executing extension files (batch/scripts)

    -> added dnexec.ExecExtraEnv for _ExecString to add environment space

     

    RCP/RESOURCE

    [*] rcp.ParseFile() now skips lines with '//'

    -> doesn't hang anymore when parsing commands.pas

     

    CALENDAR

    [+] added week of year display, dlcWeek string to language resources

    -> calendar.TCalendarView.Draw

    [+] HOME/END: goto january/december

    -> calendar.TCalendarView.HandleEvent

    [*] several improvements:

    - removed unused dlcLine from language resources

    - using timedate methods: DaysInMonth()

    - moved calendar.(WeekOfYear|DayOfWeek) to timedate

    [+] added color for today and days of other months to color setup

    -> updated russian/english resources, english help file, added new value

    to dialogs.CGrayDialog, updated *.pal files and dnapp.CColor

    [*] improved the statusline

     

    FILE PANEL

    [*] improved the mouse wheel handling in the file window

    -> flpanel.TFilePanel.HandleEvent

    [*] improved information where in previous versions sizes only showed KGMT

    - file panel info part: selected files and totals, files in dir are now

    shown like this "123,432/5" instead of "123,432(5)" which saves space,

    file count is now also separated if > 999 (Dandv),

    archive information is better formatted (using size of panel)

    -> flpanel.TInfoView.Draw

    - information panel: added infopane.TDiskInfoRec.PanelSize

    available memory -> infopane.TDiskInfo.Draw

    drive information (GetDirInfo) -> vfs_driv.TDrive, vfs_arcv.TArcDrive,

    vfs_find.(TFindDrive|TTempDrive), vfs_ftp.TFTPConnected

    [*] the infopanel was reread multiple times on changing directories

    (GlobalMessage cmRereadInfo!), dir changes much faster now

    -> vfs_driv.TDrive.(VFS_ChangeUp|VFS_ChangeRoot)

    [*] interruptable compare directories (Dandv)

    -> fltools.CM_CompareDirs using advance0.Esc_Pressed and Abort

     

    VIRTUAL FILE SYSTEMS (VFS)

    [-] FTP: UNIX servers didn't show content of directories with spaces

    -> vfs_ftp.TFTPConnected.GetFilesCol changes directories and gets current

    directory instead of using absolute dir name in the LIST command

    [*] FTP: ANSI (cyrillic) filenames support {Z}

    -> changed vfs_ftp, resources

    [*] NETW: russian network paths could not be accessed (Garl)

    -> network names are no converted to ANSI: network.GetResources

     

    KEYBOARD

    [-] D32 [iNSERT] was not reported multiple times when key was kept pressed

    (Oleg Arkhangelsky) [A]

    -> drivers.MyInt09Hook and its tables didn't handle INSERT

     

     

    http://ndn.muxe.com/beta.php

     

    have a nice weekend

     

    Stefan / AH


  10. hi oleg!

     

    thank you for your nice words

     

    1. that's true, i have just fixed it (new version this weekend)

    2. i added it to the list

    3. in options.configuration.editor setup is an option called "CONVERT BLOCKS" which you should enable if you only want to convert the marked area

    4. ok, it's also added to the todo list

     

    5. i have to try this in w9x, but this is low priority :)

     

    thanks again

    next time also write what port of NDN you are using (D32, W32, LNX)

     

    bye

    Stefan / AH


  11. Hey Dan!

     

    1)

    the !: code was not 100% working:

    the WINAPI function GetShortPathName does return garbage on certain files and this was

    not handled

    strange that it was on C:, probably has to do with the SFN versions of the filenames

    (maybe not existing on the boot drive or something)

     

    2)

    sorry

    i cannot reproduce, maybe this is WXP speicific?

    im running 2k at home

    maybe you can provide me a little atchive with a collection of dirs/files that shows that behaviour

    (i think the file sizes can all be 0 as this seems a name comparing behaviour)

     

    of course, this may be fixed with the first fix too

     

    thank you

    Stefan / AH

×