Topic: htm.vdm or the wheel re-invented (1 of 11), Read 158 times
Conf: VEDIT Macro Library
From: Christian Ziemski
Date: Sunday, November 09, 2003 03:42 AM

[Follow up to deleted discussion on html shorcuts:]



Fritz,

your htm.vdm is a nice tool to work with.
Unfortunately it is a little bit "complex" to modify.

So I felt free to write a completely new version. The look and feel should be nearly the same, but I think it's easier to maintain now.

What do you think about it?

ftp://ftp.vedit.com/share/htm-z.vdm


Christian

 


Topic: htm.vdm or the wheel re-invented (2 of 11), Read 152 times, 1 File Attachment
Conf: VEDIT Macro Library
From: Fritz Heberlein
Date: Wednesday, June 30, 1999 01:01 PM

Well Christian,
do you remember that joke on the two first Bundespraesidenten:
Heuss wusste, was er sagte /lit.: Heuss knew what he said
Luebke sagte, was er wusste / Luebke said what he knew ?

In writing htm.vdm I did as Luebke did, you do like Heuss.

I have, however, detected a tiny problem:
If I set a block, the input will be slightly misplaced (one character to the right). So, what i got is:

[see appended file html-z.txt]

This has nothing to do with the numeric values in cols. 5/6, they are correct.

If you can fix that (or tell me where i went wrong), your
macro will be simply great.
Fritz

 
HTML-Z.TXT (0KB)

 


Topic: htm.vdm or the wheel re-invented (3 of 11), Read 161 times
Conf: VEDIT Macro Library
From: Fritz Heberlein
Date: Thursday, July 01, 1999 03:47 PM

Postscriptum (21:47 MET):
I think i have got it:
Some of the html-sequences that are to be copied to @80 were followed by "CR CR LF" (a download problem?).
Deleting the superfluous made the problem disappear.
Fritz

 


Topic: htm.vdm or the wheel re-invented (4 of 11), Read 159 times
Conf: VEDIT Macro Library
From: Christian Ziemski
Date: Friday, July 02, 1999 02:59 AM


Solution found!

You should download the macro in binary mode, NOT in ASCII mode!

Otherwise it is converted from UNIX text format to DOS text format although it is already in DOS format (I've uploaded it binary) and the CR/LF is expanded to a wrong CR/CR/LF.

I think most WWW browsers are using the binary mode for download. But some FTP programs does not.


Ted: What do you think: Is it better to upload macros binary or ASCII?


Christian

 


Topic: htm.vdm or the wheel re-invented (6 of 11), Read 158 times
Conf: VEDIT Macro Library
From: Pauli Lindgren
Date: Friday, July 02, 1999 08:44 AM

>Ted: What do you think: Is it
>better to upload macros binary
>or ASCII?

Theoretically, ASCII mode should be better, since it automatically converts the file for different operating systems, and some people may use Vedit on Unix etc.

But does it work correctly? How about if the file contains other control characters?

And of course everybody should use the same method. If the web browsers use binary, then binary is the only option, or what do you think?

-- Pauli

 


Topic: Re: htm.vdm or the wheel re-invented (7 of 11), Read 163 times
Conf: VEDIT Macro Library
From: Ted Green
Date: Friday, July 02, 1999 10:47 AM

At 08:44 AM 7/2/99 -0400, you wrote:
>Theoretically, ASCII mode should be better, since it automatically
converts the >file for different operating systems, and some people may use
Vedit on Unix etc.

I have never used anything other than "Binary" for ftp. As soon as you let
a "dump" program convert characters you can be sure that it won't convert
all files correctly. Since VEDIT auto-detects DOS and UNIX files, it really
doesn't matter if a VEDIT for UNIX/QNX/LINUX user downloads a macro .VDM
file with CR+LF.

Therefore, my suggestion is Binary.

 


Topic: Re: htm.vdm or the wheel re-invented (8 of 11), Read 158 times
Conf: VEDIT Macro Library
From: Pauli Lindgren
Date: Monday, July 05, 1999 05:37 AM

Does Vedit detect DOS/UNIX files for macros, too?

If there is a multi-line prompt in the macro (as in MARKERS.VDM), and the file type is wrong, there may be additional (CR) or (LF) displayed at the end of line in the prompt.

Which file type does the macro prompt use, the file type of the macro or the file type of the file being edited?

-- Pauli

 


Topic: Re: htm.vdm or the wheel re-invented (9 of 11), Read 163 times
Conf: VEDIT Macro Library
From: Christian Ziemski
Date: Monday, July 05, 1999 07:38 AM


VEDIT seems to detect the file type for macros correct.

If the macro is of a known file type (for VEDIT) all works fine (IMHO).

But that's not the main problem:

If a macro has been uploaded binary with CR/LF it is stored at Greenview with those CR/LF's. Their FTP server seems to be a UNIX box.
Therefore an ASCII download to a DOS/Windows PC converts the UNIX file to DOS format.
Since UNIX uses LF's as line delimiter the original CR/LF's are converted to CR/CR/LF's.
And that is not a known file type for VEDIT...

==> Binary upload/download is really the best solution.


Christian

 


Topic: htm.vdm or the wheel re-invented (5 of 11), Read 162 times
Conf: VEDIT Macro Library
From: Christian Ziemski
Date: Friday, July 02, 1999 03:41 AM


PS:

I've updated ftp://ftp.vedit.com/share/htm-z.vdm so it is working now if "wrong" downloaded too.

Christian

 


Topic: htm.vdm or the wheel re-invented (10 of 11), Read 53 times
Conf: VEDIT Macro Library
From: Ian Binnie
Date: Sunday, November 09, 2003 06:27 PM

On 11/9/2003 3:42:01 AM, Christian Ziemski wrote:
>
>What do you think about it?
>
>ftp://ftp.vedit.com/share/htm-
>z.vdm
>
I tried to download, and got an error message.


ftp.vedit.com/share seems to be empty.

Other directories e.g. /pub are OK

 


Topic: htm.vdm or the wheel re-invented (11 of 11), Read 54 times
Conf: VEDIT Macro Library
From: Christian Ziemski
Date: Monday, November 10, 2003 06:55 AM

On 11/9/2003 6:27:48 PM, Ian Binnie wrote:

>On 11/9/2003 3:42:01 AM, Christian Ziemski wrote:
>>ftp://ftp.vedit.com/share/htm-z.vdm
>>
>I tried to download, and got an error message.
>
>ftp.vedit.com/share seems to be empty.
>
>Other directories e.g. /pub are OK

The folder "share" is empty since several years now and can't be used any more. Due to misuse by unknown people :-(

You can find the macro here:
http://ziemski.privat.t-online.de/vedit/macros/htm-z.vdm

BTW: I originally wrote the message you are replying to in 1999. It has been updated and flagged "new" while cleaning up Webboard's messages in the last weeks. But that process isn't completely finished...

Christian