Re: [fpc-pascal] Graphics in Linux?
Rainer Hantsch wrote: Hi! I want to write a little program for visualizing all moves of a CNC machine on LINUX. Actually it would be more than sufficient when that what the good old "graph" unit of TurboPascal/DOS would be available, because all I need is simple pixel graphics. With my change to FreePascal and Linux (which is many years ago), I were not able to do anything with graphics (was not really required), but now I have no alternate option. .) Is someting available meanwhile? (and what?) .) Is something for OOP programming out? Most my programs don't use classes so it should not force me to use them. Best would really be some kind of "graph" emulation. You should take a look at the dokumatation in the units.pdf there is lot of "GRAPH" it is in chapter 8. It is just like the old days with TP6.0 -- / Peter Andersen / Skanderborg ___ fpc-pascal maillist - fpc-pascal@lists.freepascal.org http://lists.freepascal.org/mailman/listinfo/fpc-pascal
[fpc-pascal] What should be the setting of CRIMSOM EDITOR when I use it to edit pascal
Hello, I am a pascal user who was using CRIMSON EDITOR for editing. However, due to re-installation of CRIMSON EDITOR, the setting preference is lost. Can you tell me what should be entered in the -Command -Argument -Initial dir blanks in the USER TOOLS of PREFERENCE of this software. Thank you very much. Yours faithfully, HUNG ___ICQ - You get the message, anywhere!Get it @ http://www.icq.comĀ ___ fpc-pascal maillist - fpc-pascal@lists.freepascal.org http://lists.freepascal.org/mailman/listinfo/fpc-pascal
Re: [fpc-pascal] Graphics in Linux?
Hi, Peter! When nothing "dramatic" has changed (and I do not remember to have even heared about any attempt to get this fixed from Michael), the graph unit will still only be usable for DOS and (maybe) for windows, but not for LINUX. Because I use a 100% Linux environment, this means in fact, that graph is not existing for me when it is not able to hook into X11 and simulate there somehow a graphics display. And exactly this does not work. :-/ On Wed, 28 Sep 2005, Peter Andersen wrote: | You should take a look at the dokumatation in the units.pdf there is lot | of "GRAPH" it is in chapter 8. It is just like the old days with TP6.0 mfg Ing. Rainer Hantsch -- .-. | \\|// Ing. Rainer HANTSCH - Hardware + Software | | (o o)Service - Support - WEB-Design und Programmierung | |--oOOo-(_)-oOOo--| | Ing. Rainer HANTSCH | mail: [EMAIL PROTECTED] | | Khunngasse 21/20| www: http://www.hantsch.co.at | | A-1030 Vienna | tel: +43-1-79885380fax: +43-1-798853818 | | ** A u s t r i a ** | handy: +43-664-9194382 UID-Nr: ATU 11134002 | '-' ___ fpc-pascal maillist - fpc-pascal@lists.freepascal.org http://lists.freepascal.org/mailman/listinfo/fpc-pascal
[fpc-pascal] Output program name -o
Hi! Is there a way to change the extension of the output executable? When compile with this example: fpc /home/me/project1.pas -oNewName.cgi The file is compiled as just "NewName" without the .cgi extension. I'm trying to get PSP/Fakelinux integrated tightly and it would be nice to output a CGI or PSP extension on the files automatically. Otherwise I'm stuck renaming them. -- Lars http://z505.com ___ fpc-pascal maillist - fpc-pascal@lists.freepascal.org http://lists.freepascal.org/mailman/listinfo/fpc-pascal
Re: [fpc-pascal] Graphics in Linux?
Rainer Hantsch wrote: Hi, Peter! When nothing "dramatic" has changed (and I do not remember to have even heared about any attempt to get this fixed from Michael), the graph unit will still only be usable for DOS and (maybe) for windows, but not for LINUX. Here you are wrong :) It's working in linux that's for sure (i am using it) But that is on a svga console. Display 800x600 and 256 color. Because I use a 100% Linux environment, this means in fact, that graph is not existing for me when it is not able to hook into X11 and simulate there somehow a graphics display. And exactly this does not work. :-/ Ok so what you ned is something that are easy as the graph unit but can run under X11 in a xterm or what. If this is what you are looking for then please let me know if you find anything. Because i have not found it yet :) But i am still seaching. -- / Peter Andersen / Skanderborg ___ fpc-pascal maillist - fpc-pascal@lists.freepascal.org http://lists.freepascal.org/mailman/listinfo/fpc-pascal
Re: [fpc-pascal] Graphics in Linux?
On Thu, 29 Sep 2005, Peter Andersen wrote: | Rainer Hantsch wrote: | Here you are wrong :) It's working in linux that's for sure (i am using | it) But that is on a svga console. Display 800x600 and 256 color. Well, this is actually useless because it only works on the local display. I would loose/miss all advantages of X11, i.e. to be able to oberate an applicatin over a network from anywhere. | > Because I use a 100% Linux environment, this means in fact, that graph is | > not existing for me when it is not able to hook into X11 and simulate | > there somehow a graphics display. And exactly this does not work. :-/ | | Ok so what you ned is something that are easy as the graph unit but can | run under X11 in a xterm or what. If this is what you are looking for | then please let me know if you find anything. Because i have not found | it yet :) But i am still seaching. Yes, this is exactly what I am looking for. What I wonder is that nobody found a way to open a X11 window redirect all this stuff from/to it, since I started with Linux and FreePascal. -- And this is more than 6 years ago. All what would be required would be some kind of graphX unit, which actually takes over the keyboard, mouse and graphics handling and makes this stuff available through a set of procedures/functions/methods/vars. The result would be a "graph" unit for X11, without forcing me to start at zero with programming X. Ok, I am not the right one to develop something like that, but isn't that astonishing? You can easily find (-> thanks to Ken Wright!) a full ncurses implementation (for developing text based apps), or full GUI stuff (as Kylix does), but nothing for OOP or procedural mode. mfg Ing. Rainer Hantsch -- .-. | \\|// Ing. Rainer HANTSCH - Hardware + Software | | (o o)Service - Support - WEB-Design und Programmierung | |--oOOo-(_)-oOOo--| | Ing. Rainer HANTSCH | mail: [EMAIL PROTECTED] | | Khunngasse 21/20| www: http://www.hantsch.co.at | | A-1030 Vienna | tel: +43-1-79885380fax: +43-1-798853818 | | ** A u s t r i a ** | handy: +43-664-9194382 UID-Nr: ATU 11134002 | '-' ___ fpc-pascal maillist - fpc-pascal@lists.freepascal.org http://lists.freepascal.org/mailman/listinfo/fpc-pascal
Re: [fpc-pascal] Output program name -o
L505 wrote: Hi! Is there a way to change the extension of the output executable? When compile with this example: fpc /home/me/project1.pas -oNewName.cgi The file is compiled as just "NewName" without the .cgi extension. I'm trying to get PSP/Fakelinux integrated tightly and it would be nice to output a CGI or PSP extension on the files automatically. Otherwise I'm stuck renaming them. I haven't tried recently, but if I remember correctly, you can work around it like this: fpc /home/me/project1.pas -oNewName.cgi.notimportant Vincent. ___ fpc-pascal maillist - fpc-pascal@lists.freepascal.org http://lists.freepascal.org/mailman/listinfo/fpc-pascal
Re: [fpc-pascal] Graphics in Linux?
Rainer Hantsch wrote: Hi, Peter! When nothing "dramatic" has changed (and I do not remember to have even heared about any attempt to get this fixed from Michael), the graph unit will still only be usable for DOS and (maybe) for windows, but not for LINUX. Because I use a 100% Linux environment, this means in fact, that graph is not existing for me when it is not able to hook into X11 and simulate there somehow a graphics display. And exactly this does not work. :-/ Use SDL if you want good modern library for 2d graphics (and some other things). Pascal bindings are available. I use jedi-sdl bindings (CVS version), they work perfectly with FPC under Linux, FreeBSD and Windows (and probably many other platforms too). Michalis ___ fpc-pascal maillist - fpc-pascal@lists.freepascal.org http://lists.freepascal.org/mailman/listinfo/fpc-pascal
Re: [fpc-pascal] Graphics in Linux?
Rainer Hantsch wrote: > > Yes, this is exactly what I am looking for. > > What I wonder is that nobody found a way to open a X11 window redirect all > this stuff from/to it, since I started with Linux and FreePascal. -- And this > is more than 6 years ago. > > All what would be required would be some kind of graphX unit, which actually > takes over the keyboard, mouse and graphics handling and makes this stuff > available through a set of procedures/functions/methods/vars. The result would > be a "graph" unit for X11, without forcing me to start at zero with > programming X. > > Ok, I am not the right one to develop something like that, but isn't that > astonishing? You can easily find (-> thanks to Ken Wright!) a full ncurses > implementation (for developing text based apps), or full GUI stuff (as Kylix > does), but nothing for OOP or procedural mode. What about SDL? ___ fpc-pascal maillist - fpc-pascal@lists.freepascal.org http://lists.freepascal.org/mailman/listinfo/fpc-pascal
Re[2]: [fpc-pascal] Graphics in Linux?
Hello Rainer, Thursday, September 29, 2005, 2:08:53 PM, you wrote: RH> What I wonder is that nobody found a way to open a X11 window redirect all RH> this stuff from/to it, since I started with Linux and FreePascal. -- And this RH> is more than 6 years ago. In addition to SDL which already was mentioned, you may also take a look at GRX: http://grx.gnu.de Though it only has gpc bindings it may be possible to port it to FPC as well. -- Best regards, Alexey ___ fpc-pascal maillist - fpc-pascal@lists.freepascal.org http://lists.freepascal.org/mailman/listinfo/fpc-pascal
Re: [fpc-pascal] Output program name -o
> I haven't tried recently, but if I remember correctly, you can work > around it like this: > fpc /home/me/project1.pas -oNewName.cgi.notimportant > The trick didn't seem to work on fpc 2.0.0 ;-( I'm not sure if this is a linker (-k) resolvable issue, I looked up gnu ld linker on google to try find out but still haven't found anything. -- Lars http://z505.com ___ fpc-pascal maillist - fpc-pascal@lists.freepascal.org http://lists.freepascal.org/mailman/listinfo/fpc-pascal
Re: [fpc-pascal] Output program name -o
> The trick didn't seem to work on fpc 2.0.0 ;-( > My mistake! now the trick -does- work when I shortened the output path a few characters.. It appears I have another problem now, with the path being truncated when it's too long... this other problem, the truncating, is not necessarily a FPC issue because I'm sending a string over TCP/IP and then it is being compiled, so I will have to see what that problem is. ___ fpc-pascal maillist - fpc-pascal@lists.freepascal.org http://lists.freepascal.org/mailman/listinfo/fpc-pascal