Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Dirwalker - Simplistic and Ergonomic Directory Browser
#18
Here comes the latest Dirwalker:

.zip   Dirwalker_r7+.zip (Size: 5.06 MB / Downloads: 40)

The README.TXT from the above package:
Code: (Select All)
README.TXT

Glad to share the latest 'Dirwalker' - revision 7+, its functionality has been enhanced.

The main goal (the initial one) was to sidekick the browsing of files/folders in Windows/Linux Console (Command Prompt), in unified manner.
This revision serves as BARE MINIMUM, my intent is in next months to refine/enrich it further.

It is written in QB64 and C, hats off to Galeon - the resurrector of QB.
Currently, Dirwalker.bas is 6306 lines, the C sources are several hundred lines long.

I hate these galfonesque 'ls -l' and 'dir', being an excuse of functionality. Not to speak of the need to unify the "look" i.e. to standardize the interface.
For instance, on Fedora, I use only 'D' in MATE Terminal, instead of 'ls -l', to browse current folder/tree (and wildcard searching into files' content), EACH TIME.
Even, if you have some old machine this package covers you, as follows:
[kaze@w8 Dirwalker_r7+]$ sh install_D_1366x768.sh

Or, if you have 1600x900 or 1920x1080 panels, use respectively:
[kaze@w8 Dirwalker_r7+]$ sh install_D_1600x900.sh
[kaze@w8 Dirwalker_r7+]$ sh install_D_1920x1080.sh

These short scripts will "install" (in fact copy) the executable with its entourage in /usr/bin/ by renaming 'Dirwalker_r7+_v2.0.2_GCC_11.2.1_O3_mAVX.elf' to 'D'.

Also, as a secondary objective, the browsing of a file is targeted, for example, by releasing Enter/ThirdButton over the file (only in file mode, for now) shows its content and allows filtering (showing only the lines matching the wildcard pattern).

The package 'Dirwalker_r7+.zip' contains:

"install scripts":
01/10/2023  20:27              523 install_D_1366x768.sh
01/10/2023  20:27              526 install_D_1600x900.sh
01/10/2023  20:27              503 install_D_1920x1080.sh  ! having run it, should be able to use 'D' on Command Prompt, anywhere !
01/10/2023  20:27              551 install_D_1920x1080.bat ! having run it, should be able to use 'D' on Command Prompt, anywhere !
Binary part:
01/10/2023  20:27            1,546 Dirwalker.ini
01/10/2023  20:27            1,707 Dirwalker_1366x768.ini
01/10/2023  20:27            1,623 Dirwalker_1600x900.ini
01/10/2023  20:27        2,853,440 Dirwalker_7+_v2.0.2_GCC_12.1_O3_mAVX.elf
01/10/2023  20:27        6,514,176 Dirwalker_r7+_v2.1_GCC_12.1_O3_mAVX.exe
01/10/2023  20:27            50,660 Mx437_CL_Stingray_8x16.ttf
01/10/2023  20:27            92,056 Mx437_DOS-V_re_JPN24.ttf
01/10/2023  20:27            78,084 Mx437_FMTowns_re_8x16-2x.ttf
01/10/2023  20:27            53,904 Mx437_FMTowns_re_8x16.ttf
01/10/2023  20:27            39,672 Mx437_ToshibaTxL2_8x8.ttf
01/10/2023  20:27          146,744 MxPlus_ToshibaTxL2_8x16.ttf
01/10/2023  20:27            28,600 Px437_CompaqThin_8x16.ttf
01/10/2023  20:27            33,160 Px437_Cordata_PPC-400.ttf
01/10/2023  20:27            25,960 Px437_DOS-V_re_JPN12.ttf
01/10/2023  20:27            23,900 Px437_Portfolio_6x8.ttf
Sources:
01/10/2023  20:27        1,453,926 ColumnChart.ico
01/10/2023  20:27          371,170 Dirwalker.bas
01/10/2023  20:27            4,885 dirfile.h
01/10/2023  20:27            2,225 memKAZE.h
01/10/2023  20:27            5,030 printfNS.h
01/10/2023  20:27            26,041 torus.h
01/10/2023  20:27            22,872 treedump.h
01/10/2023  20:27            21,532 wildcardKaze.h
"Unrelated" stuff:
01/10/2023  20:27            6,881 README.TXT
01/10/2023  20:27        4,445,260 TERAPIG_The_Project_Gutenberg_EBook_of_The_King_James_Bible_kjv10.txt

The latest Linux/Windows binaries (along with sourcecode) can be freely downloaded at its homethread:
https://qb64phoenix.com/forum/showthread.php?tid=1182&pid=11763#pid11763

The start-up panel (this panel allows choosing the needed font and resize the window only when 'Dirwalker.ini' is missing) showing main keyboard/mouse shortcuts/combos contains:

Mouse:
    Button 1 - sets the cursor and the inverse line to the chosen position; hold (without moving for 4 seconds) to quit
    Button 2 - [when held] Draws; hold (without moving for 4 seconds) - toggles Directory/TreeFILE mode; it is as Double-LShift but shows also 'stats' in TREE mode
    Button 3 - [when released] - enters the DIRECTORY; Wheel Up/Dn - Up/Dn; Button 2 + Wheel Up/Dn - same as PgUp/PgDn
    Button 2 + dragging (sideways) for at least 3/4 of all columns/cells (within 2 seconds) - same as Alt+X, Alt+Q
    Button 2 + dragging (from top to bottom) for at least 7 lines/cells (within 2 seconds) - same as PgUp
    Button 2 + dragging (from bottom to top) for at least 7 lines/cells (within 2 seconds) - same as PgDn
    Button 2 + dragging (from left to right) for at least 1/4 of all columns/cells (within 2 seconds) - hides RightsidePanel
    Button 2 + dragging (from right to left) for at least 1/4 of all columns/cells (within 2 seconds) - shows RightsidePanel
    Button 1 + Button 1 (within 0.33 seconds) - Double-Left-Click - PgUp
    Button 2 + Button 2 (within 0.33 seconds) - Double-Right-Click - PgDn
Mouse+Keyboard:
    LShift + Button 1/2 - Burst Up/Dn; LCtrl + Button 1/2 - Burst PgUp/PgDn
    LShift + LCtrl + Button 1/2 = LCtrl+Home - going to the top left position / LCtrl+End - going to the bottom left position
Keyboard:
    Double-LShift - toggles Directory/TreeFILE mode; Double-RShift - toggles Directory/TreeDIRECTORY mode; Double-LCtrl or Enter(released) - enters the DIRECTORY
    F1(released), F2(released), F3(released), F4(released) sorts the respective FileType/FileSize/FileModifiedTime/FileName column, F12(released) Torus
    Ctrl+Home/End - going to the top/bottom left position; Up/Dn/PgUp/PgDn; Ins - toggles low/high cursor
    Double-LAlt or Alt+Enter - toggles window/fullscreen mode; Alt+X, Ctrl+X, Alt+Q or Ctrl+Q - quit to the system, without demanding keypress
    LCtrl+RCtrl - Reporting (in status line in red color) the time for PgDn-ing (page-by-page) the entire directory
    LShift+RShift - Reporting (in status line in red color) the time for Down-ing (line-by-line) the entire directory
    Esc - Stops the auto-scrolling started with LCtrl+RCtrl or LShift+RShift; `(released) - Wildcard Case-Insensitive Animated Search, under the INVERSE one, downward
    /(released) - Wildcard Case-Insensitive Filter for currently loaded list
Notes:
    During the auto-scroll, you can still press PgUp, PgDn, Ctrl+Home, Ctrl+End, Esc; Move mouse cursor within 3 most right columns to unhide the ScrollBar/ToolRibbon
    For font, hit '4' 16x32 Cordata, 'T' 2x(8x16) Toshiba, 'F' 8x16 Fujitsu, 'D' 16x16 Fujitsu, 'S' 8x16 Stingray, 'C' 8x16 CompaqThin, 'V' 6x12 DOS-V, '8' 8x8 Toshiba, 'J' 12x24 DOS-V" ' 'A' 6x8 Atari

Enfun!
Georgi 'Sanmayce', 2023-Jan-09

For suggestions, destructive/creative critique, bug-report, email me at: sanmayce@sanmayce.com
Oh, I have an YouTube channel where from time to time I upload some quick walkthroughs:
https://www.youtube.com/Sanmayce

The new feature is shown in next screenshot - finding ALL "daughters" in King James Bible Gutenberg edition, in wrapped form - without missing matches i.e. finding matches spanning two lines is implemented:

   

Sometimes, one needs to know the HEX form and the offset within the file of certain pattern, in next case the two errorful occurrences of "daughers" - found by the very fast spell-checker which I shared on the old QB64 forum (https://qb64forum.alephc.xyz/index.php?P...#msg139414):

   

The good thing is that this "on the fly" wildcard search is unlimited in regard to filesize, I successfully traversed latest English Wikipedia XML dump (some 92 billion bytes long), the speed was poor only 2,200KB/s on i5-7200U laptop. Guess, should bring the huge caliber guns:

   


https://www.overclock.net/threads/cpu-be...t-28681743

In next revisions, I will add SHELL _HIDE for TetraNyotengu in both forms, ELF/EXE... by putting to good use the fastest Vector searcheress (Kazahana is the fastest Scalar) Dirwalker is gonna traverse files' content in a nifty way...
"He learns not to learn and reverts to what the masses pass by."
Reply


Messages In This Thread
RE: Dirwalker - Simplistic and Ergonomic Directory Browser - by Sanmayce - 01-10-2023, 05:29 PM



Users browsing this thread: 2 Guest(s)