Back to home page

DOS ain't dead

Forum index page

Log in | Register

Back to index page
Thread view  Board view
Laaca(R)

Homepage

Czech republic,
25.03.2008, 21:37
 

HX-DOS and FAR manager (DOSX)

One of key missing application for DOS users is a easy to use FTP manager. We simply don't have a comfotable way how to upload files on FTPs.
(there exist only command driven FTP terminals and some obscure freature inside Arachne)
I see only one solution. FAR manager can do it. Problem is that it is a windows console program. But hey - we have HX now! Unfortunately it doesn't work yet (at least the 1.71 version - I didn't tried the earlier ones)

So, Japheth, could you please focus on it and make FAR manager run with HX-DOS? :-P

---
DOS-u-akbar!

Steve(R)

Homepage E-mail

US,
26.03.2008, 01:08
(edited by Steve, 26.03.2008, 01:21)

@ Laaca
 

HX-DOS and FAR manager

> One of key missing application for DOS users is a easy to use FTP manager.
> We simply don't have a comfotable way how to upload files on FTPs.
> (there exist only command driven FTP terminals and some obscure freature
> inside Arachne)

NcFTP is a group of programs with an interactive browser shell. Can also be operated from the command line and with scripts. Has a bookmark organizer. Ported from Unix, djgpp 2.04 compilation. Source code included.

Home page:
http://www.ncftp.com/

DOS version download:
http://www.bgnett.no/~giva/misc/dos-ncftp-21.zip
(4.7MB)

Steve(R)

Homepage E-mail

US,
26.03.2008, 09:49

@ Steve
 

File managers with ftp and terminal

Archive Lister is a file manager that resembles Norton Commander and DOS Navigator. Loaded with nice features. Built-in ftp works only under Windows. Interface language can be Russian or English. Help files are in Russian only.

Download from home page:
http://sotsoft.narod.ru/


CONNECT (IBM Handshaker) is a big program that does almost everything. VT100 terminal supports X-modem, Y-modem, Z-modem, Kermit, ASCII, BPlus. Another English/Russian prog with main docs in Russian only.

Home page / downloads:
http://www.dorlov.no-ip.com/connect/index.htm

Description:
English - http://www.dorlov.no-ip.com/connect/connecte.htm
Russian - http://www.dorlov.no-ip.com/connect/connectr.htm

Other description:
http://www.softpanorama.org/OFM/Paradigm/Ch03/cn__connect.shtml

Laaca(R)

Homepage

Czech republic,
26.03.2008, 12:43

@ Steve
 

File managers with ftp and terminal

Russian language is not problem at all. Thanks, I will try it when I come home.

---
DOS-u-akbar!

Rugxulo(R)

Homepage

Usono,
26.03.2008, 03:30

@ Laaca
 

HX-DOS and FAR manager

> One of key missing application for DOS users is a easy to use FTP manager.

Have you tried Necromancer's DOS Navigator / Win32 version under HXRT? (I haven't, just saying, maybe it works??)

Japheth(R)

Homepage

Germany (South),
26.03.2008, 08:15

@ Rugxulo
 

HX-DOS and FAR manager

> Have you tried Necromancer's DOS Navigator / Win32 version under HXRT? (I
> haven't, just saying, maybe it works??)

How are FTP sites managed with Win32 NDN?

---
MS-DOS forever!

Rugxulo(R)

Homepage

Usono,
26.03.2008, 13:18

@ Japheth
 

HX-DOS and FAR manager

> > Have you tried Necromancer's DOS Navigator / Win32 version under HXRT?
> (I
> > haven't, just saying, maybe it works??)
>
> How are FTP sites managed with Win32 NDN?

Try changing to drive #: and you should see a few example FTP sites (e.g. Garbo). I just tested it again right now, and it does work (grabbed /pc/arcutils/zipper.zip and /pc/assembler/popadbug.zip). It also works for local connections (e.g. between two computers connected via router).

Laaca(R)

Homepage

Czech republic,
27.03.2008, 21:20

@ Rugxulo
 

HX-DOS and FAR manager

Yes, it works pretty good under windows.
Now I tried to use windows version of NDN under HX-DOS but it repports silly errors:
Firstly it writes "Winsock error 11001" and then "EXCEPTION 0D8h at address 0001090e in?|Line 0|Access violation"
...and then NDN ends :-(

BTW:
FAR manager complains about missing export DefineDOSDeviceA
(what the hell is it?)

BTW2:
The problem with DOS FTP program is still more severe for me because still more often I use a DOS only machine.

rr(R)

Homepage E-mail

Berlin, Germany,
28.03.2008, 23:50

@ Laaca
 

HX-DOS and FAR manager

> FAR manager complains about missing export DefineDOSDeviceA
> (what the hell is it?)

FAR uses DefineDosDeviceA only to unmap SUBSTed drives.

Also missing (from USER32.DLL):
ShowWindowAsync
GetKeyboardLayoutList
VkKeyScanExA
IsCharLowerA
IsCharUpperA

RayeR(R)

Homepage

CZ,
26.03.2008, 15:01

@ Laaca
 

HX-DOS and FAR manager

> I see only one solution. FAR manager can do it. Problem is that it is a
> windows console program. But hey - we have HX now! Unfortunately it

I also got this idea but FAR didn't worked for me in any HXRT, I tried more than one FAR version but don't remember which.

---
DOS gives me freedom to unlimited HW access.

grompe(R)

Homepage

Russia,
28.04.2008, 13:43

@ Laaca
 

Agreed, I want FAR under DOS

I agree, it would be really great to run FAR manager under DOS using HX DOS Extender.
It's my favourite file manager.

Currently it only works under DosWin32.

Missing functions:

KERNEL32.dll:
  DefineDosDeviceA

USER32.dll:
  ShowWindowAsync
  GetKeyboardLayoutList
  VkKeyScanExA
  IsCharLowerA
  IsCharUpperA
 
WINSPOOL.drv:
  ClosePrinter
  EndDocPrinter
  WritePrinter
  StartDocPrinterA
  OpenPrinterA
  EnumPrintersA

SHELL32.dll:
  FindExecutableA
  ShellExecuteExA


I hacked far.exe to remove these imports, and it ran!

Although filenames were shown strangely with mixed case, it was able to browse directories, drives, launch programs, view and edit files and more.

For some reason it was unable to load any plugins. And everybody knows, the power in FAR is in its plugins.

rr(R)

Homepage E-mail

Berlin, Germany,
28.04.2008, 14:04

@ grompe
 

Agreed, I want FAR under DOS

> I agree, it would be really great to run FAR manager under DOS using HX DOS
> Extender.

Feel free to submit a patch to Japheth. :-P

Japheth(R)

Homepage

Germany (South),
29.04.2008, 19:45

@ rr
 

Agreed, I want FAR under DOS

> > I agree, it would be really great to run FAR manager under DOS using HX
> DOS
> > Extender.
>
> Feel free to submit a patch to Japheth. :-P

Yes. IsCharUpper and IsCharLower can be ignored, they have been implemented in the meantime :-D.

---
MS-DOS forever!

grompe(R)

Homepage

Russia,
29.04.2008, 20:20

@ Japheth
 

I'm not ready to submit patches

> > Feel free to submit a patch to Japheth. :-P
>
> Yes. IsCharUpper and IsCharLower can be ignored, they have been
> implemented in the meantime :-D.

Anyway, I still have to get more or less familiar with HX source before I can submit any patches.

Japheth(R)

Homepage

Germany (South),
22.03.2009, 21:42

@ Laaca
 

FAR manager might work with hx (rt+gui)

> So, Japheth, could you please focus on it and make FAR manager run with
> HX-DOS? :-P

Your wish was my command! :-D

With the current hx prerelease v2.16 one might be able to run FAR manager in DOS. I haven't tested the usual functions too much, there are surely things which won't work (yet).

However, if you aren't afraid to fiddle around with a config file you might be able to use FAR's FTP client. At least I was able to do so.

The config file which needs some manual work is called "DOS" ;-) . It's supposed to contain the HKEY_CURRENT_USER branch of the Win32 registry (FAR uses the registry to store it's persistent variables). It should exist after FM has been launched the first time in DOS. It's stored where DADVAPI.DLL is located.

Anyways, once this file exists it must be edited. This is required because of a bug in DKRNL32's "profile file" functions which isn't fixed yet. To make FAR find the FTP hosts there must be the following entries in the specified order:

[HKEY_CURRENT_USER\Software\Far\Plugins\FTP]
@=

[HKEY_CURRENT_USER\Software\Far\Plugins\FTP\Hosts]
@=

[HKEY_CURRENT_USER\Software\Far\Plugins\FTP\Hosts\Item0]
@=
HostName=ftp.xxxxxx.xxx
User=xxxxxx

[... more hosts ... Item1, Item2, ...]


I admit, it's all a bit experimental yet. :-D

Please note that FAR needs LFN support in DOS, and - of course - the FTP client requires a packet driver.

---
MS-DOS forever!

Laaca(R)

Homepage

Czech republic,
23.03.2009, 19:33

@ Japheth
 

FAR manager might work with hx (rt+gui)

Thank you Japheth! :ok:
It is a fantastic, awesome work - it works very well and I am now able to easily move files to and from my FTP server. :-D

Only issue is that I don't know where (in which file) shall I write the register entries you showed. So now I have to everytime fill the form about host, user and password. But it is still a great leap in comparsion with commandline FTP terminals.

And other good news are coming. Stefan is finishing his FTP support into Necromancers DOS Navigator so we will have TWO nice "FTP commanders"

---
DOS-u-akbar!

rr(R)

Homepage E-mail

Berlin, Germany,
23.03.2009, 21:00

@ Laaca
 

FAR manager might work with hx (rt+gui)

> Only issue is that I don't know where (in which file) shall I write the
> register entries you showed.

From HXRT216.zip\DOC\DADVAPI.TXT:

The profile files must be located in the same directory where DADVAPI.DLL
is stored, and the filenames are:

root key             filename
--------------------------------------------
HKEY_CLASSES_ROOT    "Classes"
HKEY_LOCAL_MACHINE   "System"
HKEY_CURRENT_USER    %USERNAME% (or "DOS")

Japheth(R)

Homepage

Germany (South),
24.03.2009, 04:06

@ Laaca
 

FAR manager might work with hx (rt+gui)

> Thank you Japheth! :ok:
> It is a fantastic, awesome work - it works very well and I am now able to
> easily move files to and from my FTP server. :-D
>
> Only issue is that I don't know where (in which file) shall I write the
> register entries you showed. So now I have to everytime fill the form
> about host, user and password.

Yes, it's complicated, but this is temporary only until the bugs are fixed.

> And other good news are coming. Stefan is finishing his FTP support into
> Necromancers DOS Navigator so we will have TWO nice "FTP commanders"

I already suspected something similar after reading ho1459's recent post. In fact I first tried to run the Win32-NDN's FTP client with HX, but gave up quickly. It uses non-blocking sockets, a feature which is apparently not emulated too well by HX's WSOCK32.DLL.

---
MS-DOS forever!

Japheth(R)

Homepage

Germany (South),
28.03.2009, 14:46

@ Japheth
 

FAR manager works better now

> Yes, it's complicated, but this is temporary only until the bugs are
> fixed.

The bugs are fixed, that is, no more fiddling around with the "DOS" file. Best is to download newest HXRT v2.16 package and delete the old "DOS" file (it might contain garbage).

I also tried FAR's FTP client with Qemu on WinXP. A connection to the FTP host was possible, but no files were shown then. So there's probably another bug in Qemu?

---
MS-DOS forever!

Laaca(R)

Homepage

Czech republic,
29.03.2009, 22:41

@ Japheth
 

FAR manager works better now

Yes, it works!
Thanks Japheth!

---
DOS-u-akbar!

Back to index page
Thread view  Board view
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