Back to home page

DOS ain't dead

Forum index page

Log in | Register

Back to the board
Thread view  Mix view  Order
nidud(R)

E-mail

Norway,
06.01.2014, 17:22
 

The Doszip Commander version 3.18 available (Announce)

Download: http://sourceforge.net/projects/doszip/files/

Doszip now includes a 32-bit version using the DOS version as a stub. The binary files (DZ.DOS, DZ.EXE) are compressed using UPX, so the size is more or less as before. However, the 32-bit version may not be very useful in DOS, so to save some disk space the stub is included in the .ZIP file. The file DZ.EXE could then be deleted and replaced with the stub.

The same applies to the 32-bit version and the DZ.DOS file, but as it stands now on "auto detect" it simplifies the file handling.

There are some cosmetic changes to the DOS version, and it now adapt to screen lines larger than 80.

Japheth(R)

Homepage

Germany (South),
08.01.2014, 20:12

@ nidud

The Doszip Commander version 3.18 available

> ... and it now adapt to screen lines larger than 80.

Cool!

The Windows version has a small problem in Win7 (64-bit) - when I press Alt-F9 to enlarge the Doszip window to comprise the entire screen, it doesn't reposition itself to desktop position 0,0. Works in XP.

---
MS-DOS forever!

nidud(R)

E-mail

Norway,
08.01.2014, 22:10

@ Japheth

The Doszip Commander version 3.18 available

Just tested DZ in ReactOS...
[image]

It works, but MODE.EXE don't exist so there is no resizing.

> The Windows version has a small problem in Win7 (64-bit) - when I press
> Alt-F9 to enlarge the Doszip window to comprise the entire screen, it
> doesn't reposition itself to desktop position 0,0. Works in XP.

MODE is used to set the size but the position depends on other things I guess. Having a short-cut is one way (I set this to ?4,-4). A double-click on the title line seems to work as well.

Programming this seems to involve graphical functions which I'm trying to avoid using.

Japheth(R)

Homepage

Germany (South),
10.01.2014, 03:43

@ nidud

The Doszip Commander version 3.18 available

> Programming this seems to involve graphical functions which I'm trying to
> avoid using.

I don't think this is necessary. Might just be one line:


   SetWindowPos( GetConsoleWindow(), NULL, 0, 0, 0, 0, SWP_NOSIZE | SWP_NOACTIVATE | SWP_NOZORDER );

---
MS-DOS forever!

nidud(R)

E-mail

Norway,
10.01.2014, 14:25

@ Japheth

The Doszip Commander version 3.18 available

>
> SetWindowPos( GetConsoleWindow(), NULL, 0, 0, 0, 0, SWP_NOSIZE |
> SWP_NOACTIVATE | SWP_NOZORDER );
>


Nice :-)

Now implemented and it works like a charm

swf(R)

E-mail

Canada,
12.01.2014, 00:02

@ nidud

The Doszip Commander version 3.18 available

> >
> >    SetWindowPos( GetConsoleWindow(), NULL, 0, 0, 0, 0, SWP_NOSIZE |
> > SWP_NOACTIVATE | SWP_NOZORDER );
> >

>
> Nice :-)
>
> Now implemented and it works like a charm
Will you be posting a revised binary for this change???
Best regards, Stephen William Foyle

Laaca(R)

Homepage

Czech republic,
12.01.2014, 16:29

@ nidud

The Doszip Commander version 3.18 available

Hi!
I downloaded the new version of Doszip.
I really like it, I am especially impressed by the amazing speed of whole program. However there are some small problems too.

1) The Win32 version is under Windows98 virtualy unusable. The main screen with two blue pannels is not correctly displayed. But I replaced the stub into DOS only stub so everything is OK now.

2) I really miss the keyboard shortcuts CTRL-[ and CTRL-]
In Volkov commander (and maybe in NC too) it copies into commandline the listed directory from left or right pannel. In Volkov I love the possibility to write f.e.: "rar x <CRTL-ENTER> <CTRL-]>" and it is!

3) from documentation is not clear where shall be located the plugins. It shall be ".\PLUGIN\"? or ".\PLUGINS\" or ".\DOC\PLUGIN\"??

4) I don't understand why renaming and moving files are separated into two diferent keys (F2 and F6) but OK, it is about your habit.

---
DOS-u-akbar!

nidud(R)

E-mail

Norway,
12.01.2014, 18:18

@ swf

The Doszip Commander version 3.18 available

> Will you be posting a revised binary for this change???
> Best regards, Stephen William Foyle

A new version (3.19) is now uploaded.

nidud(R)

E-mail

Norway,
12.01.2014, 18:37

@ Laaca

The Doszip Commander version 3.18 available

> 1) The Win32 version is under Windows98 virtualy unusable. The main screen
> with two blue pannels is not correctly displayed. But I replaced the stub
> into DOS only stub so everything is OK now.

Haven't really tested Win98, but I will look into it.

> 2) I really miss the keyboard shortcuts CTRL-[ and CTRL-]
> In Volkov commander (and maybe in NC too) it copies into commandline the
> listed directory from left or right pannel. In Volkov I love the
> possibility to write f.e.: "rar x <CRTL-ENTER> <CTRL-]>" and it is!

Had some trouble with the keyboard in Win32, so the Ctrl-KeyBar functions was removed. Ctrl-Enter still works and the KeyBar also works in the DOS version, but the commands may differ.

> 3) from documentation is not clear where shall be located the plugins. It
> shall be ".\PLUGIN\"? or ".\PLUGINS\" or ".\DOC\PLUGIN\"??

True, documentation is not good, but there is now in the binary .ZIP file a plugin directory. Also the Plugin.ZIP file includes a full path to this directory.

There are some confusion with regards to the DOC directory since it?s possible to set DZ=config_directory, or use the argument /C#. However, using %DZ% makes all copies and recursive calls to DZ use this directory which is a bit inconvenient. The 32-bit version now sets DZ and DOSZIP on init and DOSZIP to the top of the PATH. The DOS version will ignore DZ if set and behave as before.

A copy of DZ in K:\CC called from DZ with K:\CC\dz /C%DZ% will create an instance which pushes K:\CC to the top of the path, but changes to the configuration will be lost on exit. A call with no arguments will most likely use K:\CC\dz\doc, and this will have the same effect as calling the local DZ with argument /CK:\CC\dz\doc.

So, it's still confusing and I'm not exactly shore how to handle this, but the default for now is to assume .\DOC directory is used.

> 4) I don't understand why renaming and moving files are separated into two
> diferent keys (F2 and F6) but OK, it is about your habit.

F2 rename a single file/directory directly on the screen. F6 moves a single or a selection set of files between panels.

nidud(R)

E-mail

Norway,
12.01.2014, 19:56

@ Laaca

The Doszip Commander version 3.18 available

> 2) I really miss the keyboard shortcuts CTRL-[ and CTRL-]

On my keyboard Ctrl-[ is the same as Ctrl-8, and ]=9.

Ctrl-8 is hooked up to [Directory] in DZ.INI
[Directory]
...
08=Doszip &Directory, %doszip%
09=&Temp Directory, %TEMP%

Ctrl-8 will now change directory to %doszip%, and Ctrl-9 to %TEMP%

Not shore how useful these short cuts are, but having access to the panel directories would be good.

nidud(R)

E-mail

Norway,
13.01.2014, 19:02

@ nidud

The Doszip Commander version 3.20 available

Download: http://sourceforge.net/projects/doszip/files/

64-bit file size was implemented in the 32-bit version from the beginning, but I never tested this on files >= than 4G. This failed and some changes was made to handle this. Some functions (View, Search, and Edit) still use 32-bit.

So, this is the first 4G-file copied by Doszip :-)
[image]

Changes in 3.20 - 13 Jan 2014
- fixed bug in Edit -- save file fails on error/cancel on open files
- fixed bug in View -- failed on files >= 4G
- fixed bug in Copy -- failed on files >= 4G

nidud(R)

E-mail

Norway,
16.01.2014, 17:33

@ nidud

The Doszip Commander version 3.21 available

Download: http://sourceforge.net/projects/doszip/files/

The 32-bit file size functions was limited to 2G using SetFilePointer(). This now use the extended version which increase the range to 4G ? 2 byte.

With regards to the Win9x issue the DOS version have to be used.

The [ key seems difficult to use in a combination with Ctrl, so I ended up using Ctrl-8 and Ctrl-9 for the Panel-Directories.

bocke(R)

20.01.2014, 15:12

@ nidud

The Doszip Commander version 3.18 available

Thanx. :)

It's pretty much standard in my dos toolkit. Haven't tried win32 version yet: I rarely use Windows and then I usually use far commander. But I will have to give it a try. :)

bocke(R)

31.01.2014, 01:35

@ bocke

The Doszip Commander version 3.18 available

Btw, I've noticed something new. Syntax hilighting in the editor. It seems that's only for asm and c for now.

[image]

I'm not aware how the other nc clones did it, but for me hilighter syntax seems a bit confusing. :)


[.]
00=[default]
01=.c.words
02=.#
03=.//
04=./**/

[.#]
00=B X2 #
[.//]
00=B X8 //
[./**/]
00=N X8 /* */
[.c.words]
00=W XF const operator char int long void typedef struct
01=if else for do while break continue goto return
02=switch case default public extern


But I think I got it. In the first part you define the hilighting "sections". In the second part you define the rules for those sections.

Well the rules are still a bit unclear. What do "B, X8, X2, XF, W, etc" stand for? :)

nidud(R)

E-mail

Norway,
31.01.2014, 14:43

@ bocke

The Doszip Commander version 3.18 available

> Btw, I've noticed something new. Syntax hilighting in the editor. It seems
> that's only for asm and c for now.

Here is the doszip.txt version:
    Syntax highlighting
    -------------------

    Style codes:

    1. Attrib           A - Set background and forground color
    2. Control          O - Set color of CONTROL characters
    3. Quote            Q - Set color of quoted text
    4. Digit            D - Set color of numbers
    5. Char             C - Set color of chars
    6. String           S - Set color of string
    7. Begin            B - Set color from start of string
    8. Word             W - Set color of words
    9. Nested           N - Set color of nested strings

    The code have the following syntax:

    [<name>]
    00 = <attrib>[ <string>][ <string2>]...
    01 = ...

    Attrib: Color and character, or color (default is space (20h))
    00=A 07 FA

    Control: Color
    00=O 4X

    Quote: Color
    00=Q XB

    Digit: Color
    00=D XB

    Char: Color and char(s)
    00=C XF $%()

    String: Color and string
    00=S 4X Error

    Begin: Color and string(s)
    00=B X6 # include

    Word: Color and word(s)
    00=W X4 ax bx cx dx al bl cl dl
    01=ds es cs ss

    Nested: Color, string1 and string2
    00=N X8 /* */

    File type definition
    --------------------

    Code for syntax is located in [.\doc\style] directory, and file types
    must be defined under the section [Style] in the DZ.INI file:

    [Style]
    asm = asm.ini
    inc = asm.ini

    .ASM and .INC files will now use the file .\doc\style\asm.ini

    The editor reads the section [.] in the code file which have the
    following syntax:

    [.]
    <Id>=<section>
    [<section>]
    <code>



> I'm not aware how the other nc clones did it, but for me hilighter syntax
> seems a bit confusing. :)
>
> But I think I got it. In the first part you define the hilighting
> "sections". In the second part you define the rules for those sections.

Correct, and:
The 00=default will read the section [default] in *this file
The 00=[default] will read the section [.] in the file .\default

> Well the rules are still a bit unclear. What do "B, X8, X2, XF, W, etc"
> stand for? :)

The actual code is [<type>] [<attrib>] [<text>]

attrib:
X8 = set foreground to 0x08 (keep background)
BX = set background to 0xB0 (keep foreground)
AB = set foreground to B, and background to A

bocke(R)

12.02.2014, 20:35

@ nidud

The Doszip Commander version 3.18 available

Great. Thanx for the additional info. :)

Back to the board
Thread view  Mix view  Order
15112 Postings in 1359 Threads, 247 registered users, 15 users online (0 registered, 15 guests)
DOS ain't dead | Admin contact
RSS Feed
powered by my little forum