Sign in Join

Live chat for Free Pascal, Lazarus, Delphi and every Pascal programmer.

Mailing lists / fpc-pascal / 2002-09

Editor under Linux (not using XWindows)

12 messages · 9 people · –

Reply by email Subscribe to this list Your subscription

Read-only archive. Use j and k to move between messages.

Jilani Khaldi

Hi All,

what editor do you use to write FPC code under Linux? I have been using Joe for long time because it's similar to TP editor but it's a lot unsatbale. Pico is limited. What do you think about "Emacs" (the huge) and "vi" the criptic for coding medium FPC applications?

jk

ps.
I am still using my old PC (75 MHZ) with its 32 MB of RAM and 1.2 GB of hard disk and it runs fast with Slackware (7.0) & FPC and doing a lot of work. Thank you FPC authors for your really nice job!

Reply by email

Johann Glaser
to Jilani Khaldi

Hi!

what editor do you use to write FPC code under Linux? I have been using Joe for long time because it's similar to TP editor but it's a lot unsatbale. Pico is limited. What do you think about "Emacs" (the huge) and "vi" the criptic for coding medium FPC applications?

Also consider SET-Edit (http://setedit.sf.net/) as well as RHIDE (http://www.rhide.com/). RHIDE uses the SET-Edit editor object and adds debugging and developing features. But it is sligtly older and instable.

Both are (nearly) exactly like TP6. They offer syntax highlighting for numerous languages.

Bye
Hansi

Johann Glaser Vienna University of Technology Electrical Engineering ____ http://www.johann-glaser.at/ ____

Reply by email

Andreas K. Foerster
to Jilani Khaldi: what editor do you use to write FPC code under Linux? I have been using Joe for long time…
Jilani Khaldi wrote
what editor do you use to write FPC code under Linux? I have been using Joe for long time because it's similar to TP editor but it's a lot unsatbale.

If you have installed the midnight commander (mc), you could try the builtin editor.
You can also call it seperately with "mcedit filename".

This editor can do syntax-highlightening for Pascal. And in the midnight commander itself, you can define makros to compile with fpc.

I am still using my old PC (75 MHZ) with its 32 MB of RAM and 1.2 GB of hard disk and it runs fast with Slackware (7.0) & FPC and doing a lot of work.

mc is included in Slackware and its well suited for slow machines.

Tschuess Andreas

Reply by email

Inpromptu

Hi!

> what editor do you use to write FPC code under Linux? > I have been using Joe for long time because it's similar to TP editor but it's a lot unsatbale. > Pico is limited. What do you think about "Emacs" (the huge) and "vi" the criptic for coding medium FPC > applications?

I use mcedit, and I compile the source from another console. mcedit also highlight the sintax... It is not the best to debug, but is quite usefull...

I think FreePascal is great, too !!

_______________________________________________ Get your free email from http://mymail.operamail.com Powered by Outblaze

Reply by email

Marco van de Voort
to Jilani Khaldi: what editor do you use to write FPC code under Linux? I have been using Joe for long time…
Show quoted text 10 lines
what editor do you use to write FPC code under Linux? I have been using Joe for long time because it's similar to TP editor but it's a lot unsatbale. Pico is limited. What do you think about "Emacs" (the huge) and "vi" the criptic for coding medium FPC applications? jk ps. I am still using my old PC (75 MHZ) with its 32 MB of RAM and 1.2 GB of hard disk and it runs fast with Slackware (7.0) & FPC and doing a lot of work. Thank you FPC authors for your really nice job!

I use joe for small things, and for larger projects the FPC IDE. (fp in 1.0.6). Even though it is not as stable as TP yet, the functionality is great.

Reply by email

Jilani Khaldi
to Andreas K. Foerster: If you have installed the midnight commander (mc), you could try the builtin editor. You…
Show quoted text 8 lines
If you have installed the midnight commander (mc), you could try the builtin editor. You can also call it seperately with "mcedit filename". This editor can do syntax-highlightening for Pascal. And in the midnight commander itself, you can define makros to compile with fpc. mc is included in Slackware and its well suited for slow machines.

Found and it works. Thank you!

jk

Reply by email

Jarek Zgoda
to Jilani Khaldi: what editor do you use to write FPC code under Linux? I have been using Joe for long time…

From: "Jilani Khaldi"
Subject: [fpc-pascal]Editor under Linux (not using XWindows)

what editor do you use to write FPC code under Linux? I have been using Joe for long time because it's similar to TP editor but

it's a lot unsatbale.

Pico is limited. What do you think about "Emacs" (the huge) and "vi" the

criptic for coding medium FPC

Show quoted text 6 lines
applications? jk ps. I am still using my old PC (75 MHZ) with its 32 MB of RAM and 1.2 GB of

hard disk and it runs fast with Slackware

(7.0) & FPC and doing a lot of work. Thank you FPC authors for your really

nice job!

I have a slightly better machine (P200) and Motor works ok for me. It has Pascal highlighting and - following author announcement - it can be suited for use fpcmake, although I didn't try. Go for it to http://konst.org.ua

Cheers
Jarek Zgoda

Reply by email

Andreas K. Foerster
to Sebastian Günther: stupid question, how exactly can you define macros for external applications? - Sebastian
Sebastian Günther wrote
stupid question, how exactly can you define macros for external applications?

Exactly? RTFM

I just can tell you how I do it - there might be much better ways.

I've put the following into the extention file:

# Pascal
regex/\.(pas|PAS|pp|p)$
Open=fpc %{FPC parameters:} %f
View=%view{ascii}

I normally edit the file by selecting it and pressing F4, then I save the file and leave the editor,
and then I only have to press Enter twice and the file compiles.

Hint: when you use the command line in mc, you just need to press Alt + Enter to include the selected filename.

P.S.: The docs also tell about an "extension dependent pop-up menu", but I don't know, how to get that. Does anybody know?

Tschuess Andreas

Reply by email

Arne Hanssen
to jordi: I use vi, which has syntax highlighting for pascal. I think is very good. Salutacions.…
jordi wrote 6 lines
Jilani Khaldi wrote: >what editor do you use to write FPC code under Linux? > I use vi, which has syntax highlighting for pascal. I think is very good.

You mean vim? ;-)
I think you must edit /usr/share/vim/vim56/syntax/pascal.vim:

syn keyword pascalStatement program unit uses begin end syn region pascalComment start="//" end="$" contains=pascalTodo

to make vim recognize 'unit' and 'uses' and single line comments (//).

But can anyone tell me how I can call FPC (ppc386 or my own shellscript) from within vim? I haven't figured out yet...

I've been using FTE which has pascal syntax higlighting and can be made to call the compiler by hitting <F9>, but its character set (font) is very tiny on my gnome terminal, so I've started FTE editor can be I believe. (I you want my config.files, look at http://www.tuxic.net/arne/ - download area.)

Vennlig hilsen / Best regards Arne Hanssen

Reply by email