RE: Al Getz Display Server
- Posted by Al Getz <Xaxo at aol.com> Jul 31, 2003
- 533 views
Juergen Luethje wrote: > > > Hi Al, you wrote: > > > Juergen Luethje wrote: > >> > >> > >> Hello Al, you wrote: > >> > >> <snip> > >> > >>> This is a very simple but VERY handy program, but > >>> if any other problems come up, feel free to let me know > >>> about them. > >> > >> I like the idea in general, and I like your program. Nevertheless, > >> *for me* it has ATM no practical advantage over the console window. > >> > >> For my needs, the most important improvement would be, to make the text > >> inside the window scrollable, so that your server can show much more > >> lines than currently (say 500 -- but I think, Windows allows even more). > >> > >> Secondly, displaying the text in a non-proportional font (such as > >> "Courier New") is IMHO more versatile, than using a proportional font. > >> In a non-proportional font, also tables and ASCII art will be shown > >> correctly. > > <snip> > > >> An advanced option also could be, that the user can choose a font. > >> > >> *If* your DisplayServer should act as replacement for the console > >> window, > >> IMHO it should show the output of an Eu program in a similar way, > >> especially > >> - don't start with a new line after each call > >> - interpret the "\n" as "newline" character. > >> > >> Also a button for clearing the window would be useful. > >> You see, there is always room for improvement. > >> > >> Best regards, > >> Juergen > >> > > > > Hello again Juergen, > > > > The practical advantage of something isnt always noticed > > at first. > > I have no doubt about that. > > > Sometimes you have to use it a few times to > > see the difference. > > It's not only a matter of the times I use it, but also a matter of > how I use it. > > > In particular, when you are debugging and you wish to see > > variables over and over as you are doing something else in > > your program, the console window gets slower sometimes > > causing a delay in returning to the exw program. This is > > a real pain when trying to debug. On the other hand, > > after printing to the server it returns control to the calling > > program very fast, so your program doesnt get interrupted. > > The is especially true when trying to print data returned to > > a Windows callback function. > > I believe you, and I didn't say, that your progranm is useless or > something like that. > > I wrote "*for me*", that has something to do with my personal needs. > You can believe me, *I* know my needs. > > > To see the difference, try printing values passed to a window > > procedure with the console, then with the server. The difference > > is quite noticable. The server doesnt make the program skip a > > beat, while the console sometimes delays the calling program by > > a second or two. > > > > Also, there's no reason why this program cant be updated > > to allow changing fonts and format printing and stuff like > > that. I already had ideas for multiple fonts and coloration. > > > > If this turns out to be something anyone would like to see > > in this just let me know. > > I already wrote some suggestions for improvement, and "Mr Trick" wrote, > that he also would like to see a scrollbar. > > Best regards, > Juergen > > -- > The difference between men and boys > is the price of the toys. > Hello again Juergen, Sorry, didnt mean to imply that you dont know your own needs I've taken into consideration all the ideas and suggestions here and i'll eventually incorporate them into the program. I'll probably make a second and third version, so there will be one short file for min debugging purposes, one debug version, and one full blown version. The short version takes up the smallest space in the executable, so it doesnt matter much if it's left in or taken out, and if you leave it in and have variables print out when someone else uses the DisplayServer they can see your variables, whatever you wanted them to see. I'll probably start compiling a list of ideas and then start implementing them one by one. Take care for now, Al