1. Question for Euman - viewer for email (msgs) in text format
- Posted by lakatzz at juno.com Oct 15, 2001
- 444 views
On Mon, 15 Oct 2001 21:40:21 -0500 euman at bellsouth.net writes: > I disagree with the no limits to what euphoria can do.... > 1. We cant have Multiple threads in Windows. > Tit-for-tat, Euphoria still rules in my book! Ok Euman, let's see what you really know................. I save all my email from Euphoria that I am getting to "one" text file. This is my way of saving msgs to keep the folders in my emailer pgm (Juno) from getting too big. I then delete msgs (email) from my emailer pgm. When folders in emailer pgm get too big, the .frm files get corrupt. When saving all the msgs to one text file I use "find" command in Windoz to try to locate subject matter I want to re-read. I am not pleased with my method altho I have not found another way to save msgs. I don't want alot of single files (msgs) but that all the msgs be in one large file. Using Euphoria programming language what & how would you configure a viewer to show & list the To, From, Subject, & date in a window similiar to the way my Windoz's emailer pgm does? I need a "find" function in the viewer too. The viewer must beable to view large text files (over 1 meg in size). Now could this be done with Euphoria's made for Dos? A pgm made for Dos will work in Linux too. I have being thinking about switching to Linux but afraid of the learn- ing curve I must go thru. Lee
2. Re: Question for Euman - viewer for email (msgs) in text format
- Posted by Dan Moyer <DANIELMOYER at prodigy.net> Oct 15, 2001
- 455 views
Lee, 1. To make "a viewer to show & list the To, From, Subject, & date in a window similiar to the way my Windoz's emailer pgm does", we would have to know what your emailer's "To, From, etc" window *looks like*. Can you describe it, or send a "screen shot" of it? 2. In order to abstract the header info from the text file that your emailer creates, it would help to have a *sample* of exactly what that text file looks like. Can you provide us with a sample? 3. in general, to create such a viewer one might: read in the names of all such email text files (in case you had more than one); list them for the user; let user select one; read the selected text file in, looking for header tags in each line; put the info from each of the header tags into a variable, together with message; when finished reading file, go back through the variable, and put the info into a list; user clicking on an item in the list gets the message for that item and displays it. Is that enough to get you started? Dan Moyer ----- Original Message ----- From: <lakatzz at juno.com> To: "EUforum" <EUforum at topica.com> Sent: Monday, October 15, 2001 10:55 PM Subject: Question for Euman - viewer for email (msgs) in text format > > On Mon, 15 Oct 2001 21:40:21 -0500 > euman at bellsouth.net writes: > > > I disagree with the no limits to what euphoria can do.... > > 1. We cant have Multiple threads in Windows. > > Tit-for-tat, Euphoria still rules in my book! > > Ok Euman, let's see what you really know................. > > I save all my email from Euphoria that I am getting to > "one" text file. This is my way of saving msgs to keep the > folders in my emailer pgm (Juno) from getting too big. I > then delete msgs (email) from my emailer pgm. When folders > in emailer pgm get too big, the .frm files get corrupt. > > When saving all the msgs to one text file I use "find" > command in Windoz to try to locate subject matter I want to re-read. I > am not pleased with my method altho I have not > found another way to save msgs. I don't want alot of single files (msgs) > but that all the msgs be in one large > file. > > Using Euphoria programming language what & how would you > configure a viewer to show & list the To, From, Subject, > & date in a window similiar to the way my Windoz's emailer > pgm does? I need a "find" function in the viewer too. > The viewer must beable to view large text files (over 1 > meg in size). > > Now could this be done with Euphoria's made for Dos? > A pgm made for Dos will work in Linux too. I have being > thinking about switching to Linux but afraid of the learn- > ing curve I must go thru. > > Lee > > >
3. Re: Question for Euman - viewer for email (msgs) in text format
- Posted by euman at bellsouth.net Oct 15, 2001
- 441 views
Hell, I dont know who your talking to here but, I'll give a shot at one or two of the questions and maybe ask a few before Im thru.' Listviews in windows would work great to list To, From, Subject & date or anyother info for that fact. Windows programming has been made somewhat simple in Euphoria. If you grab a copy of Win32lib "I usually dont plug the library" but, it is a good starting point for beginners to cut their teath so to speak at windows programming. Just, dont look at the code for this massive library and you'll be OK. Win32lib also has the ability to make a RichEdit Controls that could possibly be used to save your text and view the messages later. This would require your ability to write code that can also create, save and retrieve the files in a manor compatible with the GUI. And several other things like database work to help out unless you want to sort thru your info each time you want to find something. And on - and on - and on. I personally do not have an editor written in win32lib or Euphoria API but, I do know that is very possible to achieve professional level editing useing Euphoria. If you have the time and the talent you can do just about anything you set your mind to. Once you start a project, make sure you finish it or, like me you'll have a million unfinished ideas lying around. I started a library "actually still working on it" that could have been competition to Win32lib but, I soon realised that my code looked about as confusing as Win32lib's and that it would take someone hundreds of hours to follow how I did something so I probably will never release it. This leads to the other side of programming in Euphoria. Keep your programs simple and something that you can recognise and comment, comment, comment you code.... Later, Euman euman at bellsouth.net ----- Original Message ----- From: <lakatzz at juno.com> To: "EUforum" <EUforum at topica.com> Sent: Tuesday, October 16, 2001 00:55 Subject: Question for Euman - viewer for email (msgs) in text format > > On Mon, 15 Oct 2001 21:40:21 -0500 > euman at bellsouth.net writes: > > > I disagree with the no limits to what euphoria can do.... > > 1. We cant have Multiple threads in Windows. > > Tit-for-tat, Euphoria still rules in my book! > > Ok Euman, let's see what you really know................. > > I save all my email from Euphoria that I am getting to > "one" text file. This is my way of saving msgs to keep the > folders in my emailer pgm (Juno) from getting too big. I > then delete msgs (email) from my emailer pgm. When folders > in emailer pgm get too big, the .frm files get corrupt. > > When saving all the msgs to one text file I use "find" > command in Windoz to try to locate subject matter I want to re-read. I > am not pleased with my method altho I have not > found another way to save msgs. I don't want alot of single files (msgs) > but that all the msgs be in one large > file. > > Using Euphoria programming language what & how would you > configure a viewer to show & list the To, From, Subject, > & date in a window similiar to the way my Windoz's emailer > pgm does? I need a "find" function in the viewer too. > The viewer must beable to view large text files (over 1 > meg in size). > > Now could this be done with Euphoria's made for Dos? > A pgm made for Dos will work in Linux too. I have being > thinking about switching to Linux but afraid of the learn- > ing curve I must go thru. > > Lee > > >
4. Re: Question for Euman - viewer for email (msgs) in text format
- Posted by lakatzz at juno.com Oct 16, 2001
- 435 views
Thank Euman at bellsouth.net. You seem to be nice, helpful person. Here is what I am looking for. I am looking for a Dos viewer that will view big text files while also creating a database I think. The database part come from copying & creating the: To, From, Subject & date from the text files it views. Those fields would have the ability to be sorted. Or that the viewer is able to recognize every beginning line in text that starts with: To: xxxxx From: xxxxx Subject: xxxxx Date: xxxxx The viewer would be for viewing archived email/msgs saved to one large text file. Does it usually take a year or more to work on one pgm? On Tue, 16 Oct 2001 01:26:58 -0500 euman at bellsouth.net writes: > Listviews in windows would work great to list To, From, > Subject & date or anyother info for that fact. I just looked at Listviews. I like the looks of it as it displays folders like Win's Explorer does. I am looking for something like this in a Dos version tho. I am looking for Dos pgm & viewer that will help me import &/or view a large text file while also helpping me organizing things. Does this clear up what I am looking for? Lee On Tue, 16 Oct 2001 01:26:58 -0500 euman at bellsouth.net writes: > > Hell, I dont know who your talking to here but, I'll give > a shot at one or two of the questions and maybe ask a few > before Im thru.' > > Listviews in windows would work great to list To, From, > Subject & date or anyother info for that fact. ---------------------- snip ---------------------------
5. Re: Question for Euman - viewer for email (msgs) in text format
- Posted by lakatzz at juno.com Oct 16, 2001
- 447 views
This message is in MIME format. Since your mail reader does not understand this format, some or all of this message may not be legible. ----__JNP_000_7c1c.0f04.0271 On Mon, 15 Oct 2001 22:34:43 -0700 Dan Moyer <DANIELMOYER at prodigy.net> writes: Hi Daniel, Thanks for replying here. > 1. To make "a viewer to show & list the To, From, > Subject, & date in a window similiar to the way my > Windoz's emailer pgm does", we would have to know what > your emailer's "To, From, etc" window > *looks like*. Can you describe it, or send a "screen > shot" of it? Sure...See file attachment. While the look of what the viewer displays thing is import- ant, I am not trying to copy from mine or any other email pgm. What is important is what the emailer pgms do. They save the index in a file called: Directory.frm. The msgs are in files called: Fold0001.frm, fold0002 etc. The "Directory.frm" allows you to view all the msgs in all the different fold0001.frm (files) in the present directory. I am looking for a viewer that will do the same but view text files instead of Windoz *.frm files. I have a smaller viewer that uses the word "mark" & "write" commands in it. It allow you to mark (copy) a sections of a text & then write (copy) to another file. I like that feature. The viewer is for email/msgs already archived (saved to one large text). I did just look at ListView. It is a Win pgm & I was kind of looking for a Dos viewer so it would work in Linux, if & when I ever get the courage to switch over to Linux. I try to stick to text files as I know they can be viewed in other operating systems...Linus being one of them. > 2. In order to abstract the header info from the text > file that your emailer creates, it would help to have a > *sample* of exactly what that text file looks like. > Can you provide us with a sample? Sure...see file attachment........................... **This is the file you need to study more so than the snapshot. Question: Wouldn't this take some sort of database pgm? Not just a viewing pgm? > 3. in general, to create such a viewer one might: > read in the names of all such email text files (in > case you had more than one); > list them for the user; > let user select one; > read the selected text file in, looking for header > tags in each line; > put the info from each of the header tags into a > variable, together with message; > when finished reading file, go back through the > variable, and put the info into a list; > user clicking on an item in the list gets the message > for that item and displays it. > > Is that enough to get you started? oooohhhh...this sound complicated. > ----- Original Message ----- > From: <lakatzz at juno.com> > To: "EUforum" <EUforum at topica.com> > Sent: Monday, October 15, 2001 10:55 PM > Subject: Question for Euman - viewer for email (msgs) in text format ----------------------- snip -------------------------- ----__JNP_000_7c1c.0f04.0271 Content-Type: application/octet-stream; name="euphor.msg" Content-Transfer-Encoding: base64
6. Re: Question for Euman - viewer for email (msgs) in text format
- Posted by Dan Moyer <DANIELMOYER at prodigy.net> Oct 16, 2001
- 432 views
Lee, Many people can use Euphoria to create useful programs in hours, days or weeks; me, it takes longer, but usually not a year! For dos based controls, you might take a look at Jiri Babor's Widgets for Dos in the RDS archives, at: http://www.rapideuphoria.com/widgets.zip Dan Moyer ----- Original Message ----- From: <lakatzz at juno.com> To: "EUforum" <EUforum at topica.com> Sent: Tuesday, October 16, 2001 3:27 AM Subject: Re: Question for Euman - viewer for email (msgs) in text format > > Thank Euman at bellsouth.net. You seem to be nice, helpful > person. Here is what I am looking for. > > I am looking for a Dos viewer that will view big text files > while also creating a database I think. The database part > come from copying & creating the: To, From, Subject & date > from the text files it views. Those fields would have the > ability to be sorted. > > Or that the viewer is able to recognize every beginning > line in text that starts with: > > To: xxxxx > From: xxxxx > Subject: xxxxx > Date: xxxxx > > The viewer would be for viewing archived email/msgs saved > to one large text file. > > Does it usually take a year or more to work on one pgm? > > On Tue, 16 Oct 2001 01:26:58 -0500 > euman at bellsouth.net writes: > > Listviews in windows would work great to list To, From, > > Subject & date or anyother info for that fact. > > I just looked at Listviews. I like the looks of it as it > displays folders like Win's Explorer does. I am looking > for something like this in a Dos version tho. > > I am looking for Dos pgm & viewer that will help me import &/or view a > large text file while also helpping me organizing things. > > Does this clear up what I am looking for? > > Lee > > > On Tue, 16 Oct 2001 01:26:58 -0500 euman at bellsouth.net writes: > > > > Hell, I dont know who your talking to here but, I'll give > > a shot at one or two of the questions and maybe ask a few > > before Im thru.' > > > > Listviews in windows would work great to list To, From, > > Subject & date or anyother info for that fact. > ---------------------- snip --------------------------- > > >
7. Re: Question for Euman - viewer for email (msgs) in text format
- Posted by lakatzz at juno.com Oct 16, 2001
- 446 views
On Tue, 16 Oct 2001 19:20:39 -0700 Dan Moyer <DANIELMOYER at prodigy.net> writes: Thanks Dan for replying. > Lee, > > Many people can use Euphoria to create useful programs in > hours, days or weeks; me, it takes longer, but usually > not a year! I have noticed most programmer's it takes them 1-2 years to fully upgrade their software. > For dos based controls, you might take a look at Jiri > Babor's Widgets for Dos in the RDS archives, at: > http://www.rapideuphoria.com/widgets.zip I got it & like the screens. Now I need to learn how to program. When binding say all the widget files, can you bind the .bmp file into the .exe file too? However it looks like, unbinded pgm files save on hard drive space. I am still undecided on which method I like best. I have run into one pgm, bjv2.zip that won't run with new win32lib pgm file & don't understand why as I have the new win32lib pgm file. I do have Win32lib is located in my path. I have also tried putting it in directory of bjv2 pgm files & not in path & still get a error msg. Error msg says it need tk_maths.e & I have this pgm file too. So I don't fully understand if I have the pgm files needed to run the pgm, why I can not get it to run. Lee
8. Re: Question for Euman - viewer for email (msgs) in text format
- Posted by Dan Moyer <DANIELMOYER at prodigy.net> Oct 16, 2001
- 455 views
Lee, You're welcome. And if you want to distinguish between "create" and "finalize", I guess you're right, as people fix and improve programs, they could easily take a year to "finish". But it doesn't take that long to make a *useful* program. If you're trying to save disk space, then don't bother to bind the programs you're working on as you're working on them, just wait a year or so until they're "finished". :) I'm not sure about binding a .bmp file into the .exe, but I do remember that David Cuny made a "resource binder" which did something like that, with various options. It's at: http://www.rapideuphoria.com/resource.zip The error with tk_maths.e may be because it needs to be in the *include* directory, I'm pretty sure. All of the "tk_*" programs need to be in the include, as well as a few other ones used by Win32Lib, too. I don't think putting them in the path is sufficient, don't know why or for sure if I'm right. Easiest way to know which need to be in the include folder may be to just run the program, whatever it says is not there, copy from Win32Lib folder to include, then repeat that for each missing include until program runs. Dan ----- Original Message ----- From: <lakatzz at juno.com> To: "EUforum" <EUforum at topica.com> Sent: Tuesday, October 16, 2001 10:56 PM Subject: Re: Question for Euman - viewer for email (msgs) in text format > > On Tue, 16 Oct 2001 19:20:39 -0700 Dan Moyer <DANIELMOYER at prodigy.net> > writes: > > Thanks Dan for replying. > > > Lee, > > > > Many people can use Euphoria to create useful programs in > > hours, days or weeks; me, it takes longer, but usually > > not a year! > > I have noticed most programmer's it takes them 1-2 years > to fully upgrade their software. > > > For dos based controls, you might take a look at Jiri > > Babor's Widgets for Dos in the RDS archives, at: > > http://www.rapideuphoria.com/widgets.zip > > I got it & like the screens. Now I need to learn how > to program. > > When binding say all the widget files, can you bind the > .bmp file into the .exe file too? > > However it looks like, unbinded pgm files save on hard > drive space. I am still undecided on which method I > like best. I have run into one pgm, bjv2.zip that won't > run with new win32lib pgm file & don't understand why as > I have the new win32lib pgm file. I do have Win32lib is > located in my path. I have also tried putting it in > directory of bjv2 pgm files & not in path & still get a > error msg. Error msg says it need tk_maths.e & I have > this pgm file too. > > So I don't fully understand if I have the pgm files needed > to run the pgm, why I can not get it to run. > > Lee > > >
9. Re: Question for Euman - viewer for email (msgs) in text format
- Posted by rforno at tutopia.com Oct 16, 2001
- 443 views
----- Original Message ----- From: <lakatzz at juno.com> To: "EUforum" <EUforum at topica.com> Subject: Re: Question for Euman - viewer for email (msgs) in text format > > Thank Euman at bellsouth.net. You seem to be nice, helpful > person. Here is what I am looking for. > > I am looking for a Dos viewer that will view big text files > while also creating a database I think. The database part > come from copying & creating the: To, From, Subject & date > from the text files it views. Those fields would have the > ability to be sorted. You can program this easily in Euphoria. But before it is best to start with simpler projects, if this is your first approach to programming. You can find many old DOS programs at simtel.net > > Or that the viewer is able to recognize every beginning > line in text that starts with: > > To: xxxxx > From: xxxxx > Subject: xxxxx > Date: xxxxx > There are some libraries in the Euphoria site, both provided by RDS and User Contributed Programs, that can help you to program this. Please search the files. > The viewer would be for viewing archived email/msgs saved > to one large text file. > > Does it usually take a year or more to work on one pgm? It obviously depends on the task to be performed. Some of my Euphoria programs needed 15 minutes of programming and testing, others needed one day, and my most complex program (an algorithmic composer) took about one month. > > On Tue, 16 Oct 2001 01:26:58 -0500 > euman at bellsouth.net writes: > > Listviews in windows would work great to list To, From, > > Subject & date or anyother info for that fact. > > I just looked at Listviews. I like the looks of it as it > displays folders like Win's Explorer does. I am looking > for something like this in a Dos version tho. > > I am looking for Dos pgm & viewer that will help me import &/or view a > large text file while also helpping me organizing things. > > Does this clear up what I am looking for? > > Lee > > > On Tue, 16 Oct 2001 01:26:58 -0500 euman at bellsouth.net writes: > > > > Hell, I dont know who your talking to here but, I'll give > > a shot at one or two of the questions and maybe ask a few > > before Im thru.' > > > > Listviews in windows would work great to list To, From, > > Subject & date or anyother info for that fact. > ---------------------- snip --------------------------- > > >
10. Re: Question for Euman - viewer for email (msgs) in text format
- Posted by lakatzz at juno.com Oct 17, 2001
- 441 views
On Tue, 16 Oct 2001 22:41:14 -0700 Dan Moyer <DANIELMOYER at prodigy.net> writes: > If you're trying to save disk space, then don't bother to > bind the programs you're working on as you're working on > them, just wait a year or so until they're "finished". That is what I was noticing, if you keep improving it, you would not want to bind the pgm files. > The error with tk_maths.e may be because it needs to be > in the *include* directory, I'm pretty sure. Why in the c:\euphoria\include sub-directory? I got tk_maths.e & Win32lib.ew in path, Include sub-directory & in directory where the bjv2 pgm files are located & still can not get it to run. Lee > ----- Original Message ----- > From: <lakatzz at juno.com> > To: "EUforum" <EUforum at topica.com> > Sent: Tuesday, October 16, 2001 10:56 PM > Subject: Re: Question for Euman - viewer for email (msgs) in text > format
11. Re: Question for Euman - viewer for email (msgs) in text format
- Posted by Dan Moyer <DANIELMOYER at prodigy.net> Oct 17, 2001
- 448 views
Lee, Why what you've done doesn't work, I don't know. You may have to send the actual error message. The associated files for Win32Lib may need to be in the Euphoria include folder because Win32Lib "includes" them, that is, it says "include tk_maths.e", and the way Euphoria works with regards to includes is it looks first in the folder you're in, and then in the include folder, I think. So the (blackjack?) program *includes* Win32Lib, and Win32Lib *includes* tk_maths.e . Dan Moyer ----- Original Message ----- From: <lakatzz at juno.com> To: "EUforum" <EUforum at topica.com> Sent: Wednesday, October 17, 2001 2:15 AM Subject: Re: Question for Euman - viewer for email (msgs) in text format > > On Tue, 16 Oct 2001 22:41:14 -0700 Dan Moyer <DANIELMOYER at prodigy.net> > writes: > > > If you're trying to save disk space, then don't bother to > bind the > programs you're working on as you're working on > > them, just wait a year or so until they're "finished". > > That is what I was noticing, if you keep improving it, you would not want > to bind the pgm files. > > > The error with tk_maths.e may be because it needs to be > > in the *include* directory, I'm pretty sure. > > Why in the c:\euphoria\include > sub-directory? > > I got tk_maths.e & Win32lib.ew in path, Include sub-directory & in > directory where the bjv2 pgm files are located & still can not get it to > run. > > Lee >
12. Re: Question for Euman - viewer for email (msgs) in text format
- Posted by Dan Moyer <DANIELMOYER at prodigy.net> Oct 17, 2001
- 444 views
Lee, Ok, let's see: Under Juno, each "folder" is a separate file, "Fold000x.frm"; and "Directory.frm" is a file which has a list of all the "Fold000x.frm" files, together with some associated folder names? So when you archive your Euphoria email to a text file, you are essentially just saving the *Euphoria* folder to one large text file, like the sample you sent. So it's just one file, you don't want to do this with your other folders too? If you *did* want to do this with your other Juno folders, would they *all* be put into one file, or into separate text files? Regarding use of a database: I wouldn't think it would be necessary, you just make a variable (sequence) which has a place for every message, and in each of those places you provide a space for From, Subject, Date, and the message. It could be done like this: sequence eMessages, eMessagesBlank eMessages = {} eMessagesBlank = {{},{},{},{}} -- a storage "template" for each message -- first empty sequence is for From, 2nd is for Subject, 3rd for Date, 4th for message -- read lines of text in; when encounter first "From:", do this: eMessages = eMessages & eMessagesBlank -- this gives you space to put stuff from first message put stuff in line after "From:" into first empty space , same for "subject", & "date"; -- when encounter next "From:", repeat the above two steps And if I were you, I think I would approach this from a Windows perspective, partly because the IDE makes it so easy to design the look and most or all of the function of it. Also, it has an easy implementation of "copy/paste", too. And if you do want to be able to look at other archived files, there are "dialog" functions in Win32Lib which let you provide to the program user the option to select files easily. And you can set fonts, too, if you want. For example, here is a beginning for the "look" of it, very easy, using mostly the IDE: --<code follows:> -- code generated by Win32Lib IDE v0.10.5 -- hand modified listview creation to have empty sequence for text instead of {""} include Win32lib.ew without warning ---- -- Window Window1 global constant Window1 = create( Window, "Window1", 0, Default, Default, 589, 398, 0 ) global constant ListView2 = create( ListView, {}, Window1, 12, 16,564, 132,or_all({LVS_REPORT,LVS_SHOWSELALWAYS})) global constant MleText3 = create( MleText, "MleText3", Window1, 16, 165, 545, 197, 0 ) ---- insertListViewColumn(ListView2,1,0,LVCFMT_CENTER,125,"FROM",0) insertListViewColumn(ListView2,1,0,LVCFMT_CENTER,90,"DATE",0) insertListViewColumn(ListView2,1,0,LVCFMT_CENTER,350,"SUBJECT",0) WinMain( Window1, Normal ) --<code ends> Regarding "sounds complicated": for pretty much *any* program, after you've decided what you *want* the program to do, you have to identify the variety of things the program would *have* to do to accomplish the task you wish, and perhaps something of the order it would have to do them in. For instance, your viewer *must* read the text file in, to be able to show anything. It must also be able to "recognize" when it is "seeing" a message header; and it must store the parts of each message so you can retrieve them; and it must display the "from,date, subject" so you can at a minimum retrieve/view messages by clicking on individual subjects etc. So what you need to do, in order to program this application, is to *see* those *basic* functional requirments, and then *one at a time*, begin to attempt to implement them with program statements. Dan Moyer ----- Original Message ----- From: <lakatzz at juno.com> To: "EUforum" <EUforum at topica.com> Sent: Tuesday, October 16, 2001 3:58 AM Subject: Re: Question for Euman - viewer for email (msgs) in text format > > On Mon, 15 Oct 2001 22:34:43 -0700 Dan Moyer <DANIELMOYER at prodigy.net> > writes: > > Hi Daniel, > > Thanks for replying here. > > > 1. To make "a viewer to show & list the To, From, > > Subject, & date in a window similiar to the way my > > Windoz's emailer pgm does", we would have to know what > > your emailer's "To, From, etc" window > > *looks like*. Can you describe it, or send a "screen > > shot" of it? > > Sure...See file attachment. > > While the look of what the viewer displays thing is import- > ant, I am not trying to copy from mine or any other email > pgm. What is important is what the emailer pgms do. > > They save the index in a file called: Directory.frm. > The msgs are in files called: Fold0001.frm, fold0002 etc. > The "Directory.frm" allows you to view all the msgs in all > the different fold0001.frm (files) in the present > directory. > > I am looking for a viewer that will do the same but view > text files instead of Windoz *.frm files. > > I have a smaller viewer that uses the word "mark" & "write" > commands in it. It allow you to mark (copy) a sections of > a text & then write (copy) to another file. I like that > feature. > > The viewer is for email/msgs already archived (saved to > one large text). > > I did just look at ListView. It is a Win pgm & I was kind > of looking for a Dos viewer so it would work in Linux, if > & when I ever get the courage to switch over to Linux. > > I try to stick to text files as I know they can be viewed > in other operating systems...Linus being one of them. > > > 2. In order to abstract the header info from the text > > file that your emailer creates, it would help to have a > > *sample* of exactly what that text file looks like. > > Can you provide us with a sample? > > Sure...see file attachment........................... > **This is the file you need to study more so than the snapshot. > > Question: > Wouldn't this take some sort of database pgm? Not just a > viewing pgm? > > > > 3. in general, to create such a viewer one might: > > read in the names of all such email text files (in > > case you had more than one); > > list them for the user; > > let user select one; > > read the selected text file in, looking for header > > tags in each line; > > put the info from each of the header tags into a > > variable, together with message; > > when finished reading file, go back through the > > variable, and put the info into a list; > > user clicking on an item in the list gets the message > > for that item and displays it. > > > > Is that enough to get you started? > > oooohhhh...this sound complicated. > > > > ----- Original Message ----- > > From: <lakatzz at juno.com> > > To: "EUforum" <EUforum at topica.com> > > Sent: Monday, October 15, 2001 10:55 PM > > Subject: Question for Euman - viewer for email (msgs) in text format > ----------------------- snip -------------------------- > > >
13. Re: Question for Euman - viewer for email (msgs) in text format
- Posted by lakatzz at juno.com Oct 17, 2001
- 420 views
This message is in MIME format. Since your mail reader does not understand this format, some or all of this message may not be legible. ----__JNP_000_55cd.2794.503e On Wed, 17 Oct 2001 01:27:26 -0700 Dan Moyer <DANIELMOYER at prodigy.net> writes: > > Lee, > > Why what you've done doesn't work, I don't know. You may > have to send the actual error message. See file attachment.... --------------------- snip ----------------------------- ----__JNP_000_55cd.2794.503e Content-Type: image/png; name="BlackJack v.2-snapshot.png" Content-Transfer-Encoding: base64
14. Re: Question for Euman - viewer for email (msgs) in text format
- Posted by lakatzz at juno.com Oct 17, 2001
- 426 views
On Wed, 17 Oct 2001 01:31:00 -0700 Dan Moyer <DANIELMOYER at prodigy.net> writes: > > Lee, > > Ok, let's see: > > Under Juno, each "folder" is a separate file, > "Fold000x.frm"; and > "Directory.frm" is a file which has a list of all the > "Fold000x.frm" > files, together with some associated folder names? Yes.... > So when you archive your Euphoria email to a text file, > you are essentially just saving the *Euphoria* folder to > one large text file, like the sample you sent. Correct... > So it's just one file, you don't want to do this with > your other folders too? Oh I have many folder from Juno where I have saved to text (archived) them. > If you *did* want to do this with your other Juno > folders, would they *all* be put into one file, or into > separate text files? All are presently in separate files & saved by who the sender was. In sample, those are some of the msgs I have received after signing up to your mailing list. I had thought to append/merge several small text together to cut down on the number of files in my directory. Depending on viewer is the problem. Example: Dos's Edit can handle, view, files up to 250k. My little Show viewer, I have been able to view files up to 35 megs. > Regarding use of a database: I wouldn't think it would > be necessary, you just make a variable (sequence) which > has a place for every message, and in each of those > places you provide a space for From, Subject, Date, > and the message. No viewer, editor will display & sort some of the fields that our emailer pgm displays. I kind of miss that. In order to keep file sizes down to a minimum, I save to text or what I like to call archive them. Then delete msgs from my Juno emailer pgm. Then I edit the text file & delete all file attachments & some of the header info. By doing this, my final text file is usually 1/3 of what it would be if in Juno's (Windoz) format. > It could be done like this: -------------------- snip -------------------------- Wooow...now all I have to do is figure out what all these codes mean. > Regarding "sounds complicated": for pretty much *any* > program, after you've decided what you *want* the program > to do, you have to identify the variety of things the > program would *have* to do to accomplish the task you > wish, and perhaps something of the order it would have > to do them in. Make a wish list, right? > So what you need to do, in order to program this > application, is to *see* those *basic* functional > requirments, and then *one at a time*, begin to > attempt to implement them with program statements. I got it... Lee > ----- Original Message ----- > From: <lakatzz at juno.com> > To: "EUforum" <EUforum at topica.com> > Sent: Tuesday, October 16, 2001 3:58 AM > Subject: Re: Question for Euman - viewer for email (msgs) in text > format > > > > On Mon, 15 Oct 2001 22:34:43 -0700 Dan Moyer > <DANIELMOYER at prodigy.net> > > writes: > > > > Hi Daniel, > > > > Thanks for replying here. > > > > > 1. To make "a viewer to show & list the To, From, > > > Subject, & date in a window similiar to the way my > > > Windoz's emailer pgm does", we would have to know what > > > your emailer's "To, From, etc" window > > > *looks like*. Can you describe it, or send a "screen > > > shot" of it? -------------------- snip ----------------------------
15. Re: Question for Euman - viewer for email (msgs) in text format
- Posted by euman at bellsouth.net Oct 17, 2001
- 423 views
If its DOS you want, Then a combination of things will need to be accomplished. 1st thing is a GUI and for this GUI I would recommend checking out Jiri Babor's Widgets "I think that's what he named the project" Sorry if not Jiri. Next thing I would do if I were you is look into getting a copy of Junko Miura's Euphoria Document Generator and the RDS Database. Together you should be able to get some ideas how to peice together a nice working program. It's not a good idea to use verbatum other peoples code but I guess snipping code here and there wouldnt hurt. Widgets = GUI "Graphical User Interface" Euphoria Document Generator = pulling parts out of your messages. eg: TO:, FROM....etc RDS EDS Database = organization of your messages The tools that exist on the user-contrib page are there to learn and gather ideas from people to make your life easier, so to speak.... utilize them and certainly support the authors who spent their free time writting them because they in fact have done a service for you. or, if you want a program to do this for you without codeing it, try this URI http://www.simtel.net/pub/msdos/ Good Luck! Euman euman at bellsouth.net From: <lakatzz at juno.com> > Thank Euman at bellsouth.net. You seem to be nice, helpful > person. Here is what I am looking for. > > I am looking for a Dos viewer that will view big text files > while also creating a database I think. The database part > come from copying & creating the: To, From, Subject & date > from the text files it views. Those fields would have the > ability to be sorted. > > Or that the viewer is able to recognize every beginning > line in text that starts with: > > To: xxxxx > From: xxxxx > Subject: xxxxx > Date: xxxxx > > The viewer would be for viewing archived email/msgs saved > to one large text file. > > Does it usually take a year or more to work on one pgm? > > On Tue, 16 Oct 2001 01:26:58 -0500 > euman at bellsouth.net writes: > > Listviews in windows would work great to list To, From, > > Subject & date or anyother info for that fact. > > I just looked at Listviews. I like the looks of it as it > displays folders like Win's Explorer does. I am looking > for something like this in a Dos version tho. > > I am looking for Dos pgm & viewer that will help me import &/or view a > large text file while also helpping me organizing things. > > Does this clear up what I am looking for? > > Lee > > > On Tue, 16 Oct 2001 01:26:58 -0500 euman at bellsouth.net writes: > > > > Hell, I dont know who your talking to here but, I'll give > > a shot at one or two of the questions and maybe ask a few > > before Im thru.' > > > > Listviews in windows would work great to list To, From, > > Subject & date or anyother info for that fact. > ---------------------- snip ---------------------------
16. Re: Question for Euman - viewer for email (msgs) in text format
- Posted by Dan Moyer <DANIELMOYER at prodigy.net> Oct 17, 2001
- 464 views
Lee, I'm stumped. I don't know why you can't run the blackjack program, with a failure indicating Win32Lib can't open tk_maths.e. If you *really* have tk_maths.e in the Euphoria include folder, the only things I can think of, are: do you have the following in your autoexec.bat: SET EUDIR=C:\EUPHORIA SET PATH=%PATH%;C:\EUPHORIA\BIN Maybe tk_maths.e is corrupted? What version Euphoria, Win32Lib, and what operating system are you using? Are you able to run *other* windows programs written using Win32Lib??? ----- Original Message ----- From: <lakatzz at juno.com> To: "EUforum" <EUforum at topica.com> Sent: Wednesday, October 17, 2001 3:58 AM Subject: Re: Question for Euman - viewer for email (msgs) in text format > > On Wed, 17 Oct 2001 01:27:26 -0700 Dan Moyer <DANIELMOYER at prodigy.net> > writes: > > > > Lee, > > > > Why what you've done doesn't work, I don't know. You may > > have to send the actual error message. > > See file attachment.... > > > --------------------- snip ----------------------------- > > >