ACF Notes 1.0.6 [Program Update]

J

John Fitzsimons

Ooops, overlooked. Plus I see that Ted Notepad's extended replace dialog
has that multiline "block replace" feature, a special treat.

I checked versions 2x, 3x, 4x of Ted Notepad. All the same error. Tried
it mainly on opening files, but same thing with a large clipboard. There
are three messages in succession:
Edit window out of space.

I got the same error with win '98. :-(

I'm very interested in Ted Notepad, so hope this is a bug that can be fixed.
If there's any test for me to run, or specific details to provide, which
would help to this end, let me know.

Yes, I like it too. Another annoying thing is that it replaces notepad
without giving one the option to install it elsewhere.

Regards, John.
 
J

jsimlo

Uhm, on a general functional matter, I found a problem. File size it
handles. In a recent thread here, you answered someone that it is not
designed to have any limit in this area. So maybe this is called a bug.
I'm finding the max size is under ~40k for what it will open. On W98SE.
yes, i know about this. it is the same 'bug' in all versions.
some versions of windows support edit boxes with lot of text
(like 2k, xp) and some does not (like 95, 98se, etc.) and i
am not sure yet, how to handle this. i do not want to
substitute the standard edit window because of resources it
may cost... i think i may release a special 'richedit version'
which should have no such problems, but will guzzle resources
(and it is no real notepad, if it uses richedit as its edit box:)
There are three messages in succession:

Edit window out of space.

Length of the file differs from length of the loaded text. The file
contains some unprintable characters, or was not loaded completely.

Cannot read file [rpt_925.txt]!

the first message is caused by your os, as its edit box window
cannot handle all the text. then a check is made, if reading was
made completely, and as it was not, the second error is displayed
the third one is a false return from reading procedure... ;)
i wonder, such a succession may be annoying... ;) ...jsimlo
 
J

jsimlo

Another annoying thing is that it replaces notepad
without giving one the option to install it elsewhere.
there is no need to 'install' it, if you want to have
it somewhere else... just copy the content of the archive
somewhere and run.

needed files are notepad.exe as the application and maybe
notepad.htm as the manual. launch.exe is an optional
command launcher and other files are just for istallation.

...jsimlo
 
O

omega

[Re Ted Notepad]

(e-mail address removed) (jsimlo):
yes, i know about this. it is the same 'bug' in all versions.
some versions of windows support edit boxes with lot of text
(like 2k, xp) and some does not (like 95, 98se, etc.) and i
am not sure yet, how to handle this. i do not want to
substitute the standard edit window because of resources it
may cost... i think i may release a special 'richedit version'
which should have no such problems, but will guzzle resources
(and it is no real notepad, if it uses richedit as its edit box:)

My opinion is that it would be best to have on the website an OS
compatibility statement: 2K/XP (or nt/2k/xp/k3).

While true it runs under 9x, so long as tiny files, the limit
stops the show for those systems....

For 9x, perhaps you'd be willing to build a separate product? A
resource guzzler which rides the back of the MS richedit controls?
I could assume that is what's up anyway with many of the editors
we use? It would at least give 9x'ers to enjoy the other good side
of Ted NP, even while missing the lightness. For instance, your
"filter architecture" project.
There are three messages in succession:
[...]
i wonder, such a succession may be annoying... ;) ...jsimlo

Nah, I liked it being so talkative. I've seen the contrary. An
editor loading a file only partially, while trying to keep that
the quietest sekrit.
 
O

omega

[Re Ted Notepad]

(e-mail address removed) (jsimlo):
there is no need to 'install' it, if you want to have
it somewhere else... just copy the content of the archive
somewhere and run.

needed files are notepad.exe as the application and maybe
notepad.htm as the manual. launch.exe is an optional
command launcher and other files are just for istallation.

It makes more sense to me that the distributed files are named
something more like tednp.exe and tednp.htm.

Nobody is going to want to start off in the blind replacing their
notepad; it's once they've tested for a while, that they might
take this choice. At the point where they take that route, they
can always check the web for one of the thousands of instruction
pages on the procedure for their OS. Or, still skipping whatever
installer: just have instructions written into Ted NP's help, and
maybe leave the notepad.inf file in the download for convenience.
 
J

jsimlo

For 9x, perhaps you'd be willing to build a separate product? A
resource guzzler which rides the back of the MS richedit controls?
I could assume that is what's up anyway with many of the editors
we use? It would at least give 9x'ers to enjoy the other good side
of Ted NP, even while missing the lightness. For instance, your
"filter architecture" project.
i have to admit, that you have persuaded me to build an RE (richedit)
version of ted notepad... for those who can miss the lightness...

after all, i have no real reason not to povide that as it is no hard
work on it at all....
There are three messages in succession:
[...]
i wonder, such a succession may be annoying... ;) ...jsimlo
Nah, I liked it being so talkative. I've seen the contrary. An
editor loading a file only partially, while trying to keep that
the quietest sekrit.
that's the way i want it, just want to know what have happend...

jsimlo
 
J

John Fitzsimons

[Re Ted Notepad]
(e-mail address removed) (jsimlo):
It makes more sense to me that the distributed files are named
something more like tednp.exe and tednp.htm.

Exactly right.
Nobody is going to want to start off in the blind replacing their
notepad;

Yep. There are many notepad replacements. Automatically replacing
notepad is a poor choice of installation option. Most similar programs
give one the *choice* to replace notepad during the installation, or
afterwards. Or not at all.
it's once they've tested for a while, that they might
take this choice. At the point where they take that route, they
can always check the web for one of the thousands of instruction
pages on the procedure for their OS. Or, still skipping whatever
installer: just have instructions written into Ted NP's help, and
maybe leave the notepad.inf file in the download for convenience.

IF one wanted to have Ted as "notepad" then the process for '98 would
be to simply copy across the exe file, and anything else one cared to.
Ted is a good program but it's "Edit window out of space" problem
kills things for me.

Regards, John.

--
****************************************************
,-._|\ (A.C.F FAQ) http://clients.net2000.com.au/~johnf/faq.html
/ Oz \ John Fitzsimons - Melbourne, Australia.
\_,--.x/ http://www.vicnet.net.au/~johnf/welcome.htm
v http://clients.net2000.com.au/~johnf/
 
J

John Fitzsimons

On 29 Mar 2004 01:45:14 -0800, (e-mail address removed) (jsimlo) wrote:

i have to admit, that you have persuaded me to build an RE (richedit)
version of ted notepad... for those who can miss the lightness...

Great ! Hope you can announce it here when it is finished. :)

Regards, John.

P.S. Maybe you should use the opportunity to add a "grep"
capability ? :)


--
****************************************************
,-._|\ (A.C.F FAQ) http://clients.net2000.com.au/~johnf/faq.html
/ Oz \ John Fitzsimons - Melbourne, Australia.
\_,--.x/ http://www.vicnet.net.au/~johnf/welcome.htm
v http://clients.net2000.com.au/~johnf/
 
J

jsimlo

i have to admit, that you have persuaded me to build an RE (richedit)
Great ! Hope you can announce it here when it is finished. :)

sure! anyway, i already have some other suggestions about ted for
the next version...
P.S. Maybe you should use the opportunity to add a "grep"
capability ? :)

i am not sure, if i understood this, so please, retype it in other
words for me... thanx, jsimlo
 
O

omega

(e-mail address removed) (jsimlo):
sure! anyway, i already have some other suggestions about ted for
the next version...

Thanks! I'll look forward to it as well.
i am not sure, if i understood this, so please, retype it in other
words for me... thanx, jsimlo

I haven't got to playing with it, want to wait until release without
the file size issue -- but I see you have grep with your new filters
architecture.

http://jsimlo.sk/notepad/filters.php

One mention. Those .reg files aren't in a format that w9x systems can
import. The unicode issue. I had to convert them first with an external
editor [*] that can handle it on this OS, before handing them to my
registry.

When you create for us the Richedit release of Ted, I'll hope John might
give an advance report on working with the Grep filters (he knows more
about it than I do)....

__
Karen S.

________
[*] Routinely happens that I get a .reg from the internet that needs to be
converted from the unicode. For others that come into this need, here
are two editors I've noted as able to deal with such files on 9x:
1. PSpad; 2. Gridinsoft Notepad
 
J

John Fitzsimons

(e-mail address removed) (jsimlo):

Better not ask me for any. You might end up with a very long list !
Okay, too late. I cannot stop myself. I am trying to......no....no...I
cannot....okay, so here is a VERY short list of things I look for in
an editor :

Ability to open large files eg. 20MB.
MDI ? (Tab display of open files.)
Ability to alpha sort lines.
Ability to only display "unique" lines.
(Iceing on top of the cake would be the ability to do the last item
with counting eg.)

Change ;

Tom
Dick
Dick
Harry
Tom

to ;

(2) Dick
(1) Harry
(2) Tom

or maybe ;

Dick (2)
Harry (1)
Tom (2)
Thanks! I'll look forward to it as well.

GREP = Get Regular Expression. Or as one definition puts it :

"Short for global-regular-expression-print, a UNIX utility that allows
the user to search one or more files for a specific string of text and
outputs all the lines that contain the string. The user also has the
option to replace the string with another."

Well suppose one has 1000 line file. A "grep" for lines that include
"www" might result in creating another file with only 50 lines in.

Better "grep" programs might include multiple regular expression
capability. One could search for eg {www|http|ftp|gopher}

Better ones again give one the option to output previous and/or next
lines to the ones grepped.
I haven't got to playing with it, want to wait until release without
the file size issue -- but I see you have grep with your new filters
architecture.

Thanks Karen. Interesting. When I saw that Ted replaced my Notepad
without giving me the option to not do that my interest in it quickly
evaporated. So I missed that info.
One mention. Those .reg files aren't in a format that w9x systems can
import.

Just what I didn't need. :-(
The unicode issue. I had to convert them first with an external
editor [*] that can handle it on this OS, before handing them to my
registry.

Don't understand what you did. Care to share with us a bit more detail
here please ?

< snip >

Regards, John.
 
O

omega

John Fitzsimons said:
Thanks Karen. Interesting. When I saw that Ted replaced my Notepad
without giving me the option to not do that my interest in it quickly
evaporated. So I missed that info.

I'll hope he changes that.
One mention. Those .reg files aren't in a format that w9x systems can
import.

Just what I didn't need. :-(
The unicode issue. I had to convert them first with an external
editor [*] that can handle it on this OS, before handing them to my
registry.

Don't understand what you did. Care to share with us a bit more detail
here please ?

When 2000 or XP users do an export to make a .reg, the default is to
unicode. On 9x, we cannot import that format. Need to first convert
to ansi, any .reg files such as those in the Ted filters download.

Opening that kind of file in 9x with the majority of editors, it will
show up as garbage. Yet there are some editors that handle it, display
it fine. So I open in one of those. What I do then is copy the text
from their window.

Then I paste it into my normal notepad, which doesn't unicode, and makes
the text automatically into ansi (or ascii, not sure). Save as .reg, and
at that point have the option to import it to my registry.

Here are some editors that will handle the unicode on 9x:

[smaller] 2xEditor; metapad; notepadex; scite
[bigger] gridinsoft notepad; programmer's notepad2; pspad;

As I outlined, my method is to open and copy from one of the above, and
then to paste into a straight ansi editor. I didn't really look around
for possible options of having any of those editors do the saves themselves
with a conversion of format.

Except. The only thing like that I noted was with Editpad Lite. It has
a command: "convert unicode > ansi." It works. But it's not what I prefer,
because when Editpad initially loads one of those file, it doesn't render
it right (shows as garbage). Many cases I might be opening mainly for
a quick view, so I like those that recognize and render automatically.
 
J

jsimlo

I haven't got to playing with it, want to wait until release without
the file size issue -- but I see you have grep with your new filters
architecture.
i see... i should have to find a win98 system and test thore reg files
or if anyone can send me versions of them, that would work on regedit4
(and other regedit versions of win9x)
When you create for us the Richedit release of Ted, I'll hope John might
give an advance report on working with the Grep filters (he knows more
about it than I do)....
i have some exams this week, so it may take some time to release...

jsimlo
 
J

jsimlo

Better not ask me for any. You might end up with a very long list !
Okay, too late. I cannot stop myself. I am trying to......no....no...I
cannot....okay, so here is a VERY short list of things I look for in
an editor :
nice try.. i do not want to implement all the things that possibly could
be implemented, but attractive ideas are mostly welcome... ;)
Ability to open large files eg. 20MB.
ted has such ability on winxp/win2k, and some versions of 98 too...
with RE version should have it on all win9x versions too
MDI ? (Tab display of open files.)
there is a project of ted notetab announced (an mdi interface for ted)
see the bottom of http://jsimlo.sk/notepad/notepad.php#suggestions
Ability to alpha sort lines.
not sure, what 'alpha sort' is... but some kinds of sorting ted manages...
Ability to only display "unique" lines.
such tool is available in 4.0.2 (and maybe that's a good idea to count
up duplicates optionally, as you suggested)
Well suppose one has 1000 line file. A "grep" for lines that include
"www" might result in creating another file with only 50 lines in.
i know what grep is and ted can use any grep you have, if it is an
command line application (grep, egrep, agrep; even fgrep, ...)
see project http://unxutils.sourceforge.net/ for filters swamp ;)
 
O

omega

(e-mail address removed) (jsimlo):
i see... i should have to find a win98 system and test thore reg files
or if anyone can send me versions of them, that would work on regedit4

The original files had a long hex string for the dird grepd and cutd
values. On import, tha hex string is just "%" which looks to be as
intended. So here are all three reg files, consolidated together.

--------------------------------------------------------------
REGEDIT4

[HKEY_CURRENT_USER\Software\Medvedik\TED Notepad\Filter]
"dir"="Dir"
"cut"="Cut"
"grep"="Grep"

[HKEY_CURRENT_USER\Software\Medvedik\TED Notepad\Filter\Shell]
"dirc"="command /c dir /b %2 %1"
"dird"="%"
"cutc"="cut -n%2 -%1"
"cutd"="%"
"grepc"="grep -a%2 -e\"%1\""
"grepd"="%"
;
-----------------------------------------------------------

The dir one worked fine. The grep and the cut ones did not work.
Maybe to do with the syntax? I have not used either of those programs
in the past, and did not experiment with variation from the strings
given above. On the other hand, if those strings are working on 2k/XP,
then the problem could be other.
 
J

John Fitzsimons

On 31 Mar 2004 08:14:08 -0800, (e-mail address removed) (jsimlo) wrote:

not sure, what 'alpha sort' is... but some kinds of sorting ted manages...

Alphanumeric sorting.

Back to front
Carry on
All of a line
3 and 4
1 and 2

becomes

1 and 2
3 and 4
All of a line
Back to front
Carry on
such tool is available in 4.0.2 (and maybe that's a good idea to count
up duplicates optionally, as you suggested)

Would be a handy addition. As would be "remove unique lines".
i know what grep is and ted can use any grep you have, if it is an
command line application (grep, egrep, agrep; even fgrep, ...)
see project http://unxutils.sourceforge.net/ for filters swamp ;)

What I was talking about was NOT using a command line. Having grep
functions built into the editor.

Regards, John.

--
****************************************************
,-._|\ (A.C.F FAQ) http://clients.net2000.com.au/~johnf/faq.html
/ Oz \ John Fitzsimons - Melbourne, Australia.
\_,--.x/ http://www.vicnet.net.au/~johnf/welcome.htm
v http://clients.net2000.com.au/~johnf/
 
J

jsimlo

Ability to alpha sort lines.
Alphanumeric sorting.
well, such tool ted already contains...
Would be a handy addition. As would be "remove unique lines".
huh... what for? it is not a hard option to implement at all,
but what utilization could it gain?
What I was talking about was NOT using a command line. Having grep
functions built into the editor.

i see. well, there are lot of greps already implemented and i am not
a very specialist about regexps, therefore i prefer gnu grep. and as
gnu grep comes under gpl, i can not include its libraries within ted
i think... i am not sure about the distribution of it at all... but
nobody complained yet...

jsimlo
 
J

jsimlo

The original files had a long hex string for the dird grepd and cutd
values. On import, tha hex string is just "%" which looks to be as
intended. So here are all three reg files, consolidated together.

that is a unicode hex of those strings. i used them, because regedit
can not handle newlines within string values. i modified those zip
packages at http://jsimlo.sk/notepad/filters.php ...added txt files
with those strings... could you please review them and try to export
them under regedit4? (....i have only the xp's regedit5 available...)
The dir one worked fine. The grep and the cut ones did not work.
Maybe to do with the syntax? I have not used either of those programs

the syntax is alright, and everything is fine when you have those
"cutd" and "grepd" values as they describes, how to use those filters..

thanx for any help, jsimlo

p.s. i have started with the RE version and i would like to ask you
(and anybody reading this :) about some help with testing....
 
J

John Fitzsimons

On 3 Apr 2004 23:44:03 -0800, (e-mail address removed) (jsimlo) wrote:

huh... what for? it is not a hard option to implement at all,
but what utilization could it gain?

One needs to find unique lines, and remove unique lines, in a number
of situations. File lists, names and address' etc. If one has a list
of URls for example one might want to remove all those that are only
listed once.

i see. well, there are lot of greps already implemented and i am not
a very specialist about regexps, therefore i prefer gnu grep. and as
gnu grep comes under gpl, i can not include its libraries within ted
i think... i am not sure about the distribution of it at all... but
nobody complained yet...

You are happy with command line approaches. Many windows users
don't like that. Such people often don't complain. They just look for
something else to use.

Regards, John.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top