Back to home page

DOS ain't dead

Forum index page

Log in | Register

Back to the board
Thread view  Mix view  Order
fritz.mueller

Homepage

Munich, Germany,
02.01.2024, 20:34
(edited by fritz.mueller, 03.01.2024, 20:16)
 

unrtf syntax (Users)

Hi,
can anyone tell me how to make unrtf work? I wanted to write an example for
FD help, but anyhow I have problems with the syntax.

-t tags_file Specifies the tags output configuration file to be
used. The command "unrtf -t html" is functionally
identical to "unrtf --html". The configuration
files are a simple format. To change the behaviour
of unrtf, a local copy of a system configuration
file can be be made and edited. The most complete
configuration file and hence the best starting
point is /dev/env/DJDIR/share/unrtf/html.conf.
-P config_search_path
Specifies the directories in which the configura-
tion file for the specified format will be sought.
The path can be provided as a single directory or a
list of colon separated directories. The default
is /dev/env/DJDIR/share/unrtf/ where distributed
output configuration files are installed.
/dev/env/DJDIR/share/unrtf/*.conf
Run time output configuration files.

/dev/env/DJDIR/share/unrtf/SYMBOL.charmap)
UTF encoding of the SYMBOL font used in many RTF
files. Unfortunately the iconv package does not
include font encodings. The format is identical to
iconv code page files.

Unrtf can be installed to C:\util\unrtf at the FreeDOS live CD.

In FreeDOS the html.cfg etc. files are in folder conf. But they only use .cfg instead of .conf

If I change the settings above to:
unrtf -P C:\util\unrtf\conf -t *.cfg
I get an error message:
failed to find *.cfg.conf in search path dirs.
All other trials lead to something like this message.
I tested / instead of \, added the whole path at -t etc. etc, but... nothing.

I am sure it is a simple pebdac problem, but I work for hours now and do not find out how to fix it.

Could it be that i need aDOS extender, and, if yes, which one?

Any help is welcome.

Fritz

Laaca

Homepage

Czech republic,
03.01.2024, 22:27

@ fritz.mueller

unrtf syntax -- Klasik Asistent

I am not familiar with UnRTF. However you can work with RTF (and WRI) files directly in DOS with program Klasik Asistent.
It is an old DOS office suite by czech company Optimal.
You can download from my site but I affraid that it is in czech language only.

And yes - I have a written permission from developers that I can use and spread this product.

http://laaca.borec.cz/soubory/klasik32.zip

---
DOS-u-akbar!

jadoxa

Homepage E-mail

Queensland, Australia,
04.01.2024, 03:51

@ fritz.mueller

unrtf syntax

> In FreeDOS the html.cfg etc. files are in folder conf. But they only use
> .cfg instead of .conf

Out of the box it simply won't work. You'd either need to patch the binary to use "cfg" instead of "conf", or rename the files from .cfg to .con. Alternatively, I've built 0.21.10 (DOS & Windows), where I could recognise .cfg in addition to .conf, but then it's basically a whole new package.

fritz.mueller

Homepage

Munich, Germany,
04.01.2024, 19:16

@ jadoxa

unrtf syntax

> > In FreeDOS the html.cfg etc. files are in folder conf. But they only
> use
> > .cfg instead of .conf
>
> Out of the box it simply won't work. You'd either need to patch the binary
> to use "cfg" instead of "conf", or rename the files from .cfg to .con.
> Alternatively, I've built 0.21.10 (DOS & Windows), where I could recognise
> .cfg in addition to .conf, but then it's basically a whole new package.

Could you send me a copy of ver. 0.21.10? mail address is: myname@mail.com.
I assume you already knew it.

Thx.

fritz.mueller

Homepage

Munich, Germany,
14.01.2024, 19:44

@ fritz.mueller

unrtf syntax

I have feared it from beginning: It was a pebdac problem.
Renaming the .cfg files to .con and
-P /dev/c/util/unrtf/conf

solved the problem.

Many thanks to Jadoxa!;-) :ok: :clap:

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