Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.lang.postscript > #2523 > unrolled thread

Code editors for PostScript programs?

Started byjdaw1 <jdawiseman@gmail.com>
First post2016-04-16 14:33 -0700
Last post2016-04-18 12:07 +0000
Articles 7 — 6 participants

Back to article view | Back to comp.lang.postscript


Contents

  Code editors for PostScript programs? jdaw1 <jdawiseman@gmail.com> - 2016-04-16 14:33 -0700
    Re: Code editors for PostScript programs? "Chris F.A. Johnson" <cfajohnson@cfaj.ca> - 2016-04-16 18:45 -0400
      Re: Code editors for PostScript programs? Markus Triska <triska@metalevel.at> - 2016-04-18 00:32 +0200
    Re: Code editors for PostScript programs? tlvp <mPiOsUcB.EtLlLvEp@att.net> - 2016-04-16 22:38 -0400
      Re: Code editors for PostScript programs? jdaw1 <jdawiseman@gmail.com> - 2016-04-17 04:42 -0700
    Re: Code editors for PostScript programs? luser- -droog <mijoryx@yahoo.com> - 2016-04-17 20:53 -0700
    Re: Code editors for PostScript programs? Bogus@Embarq.com (Steve) - 2016-04-18 12:07 +0000

#2523 — Code editors for PostScript programs?

Fromjdaw1 <jdawiseman@gmail.com>
Date2016-04-16 14:33 -0700
SubjectCode editors for PostScript programs?
Message-ID<b5b62bd2-5823-4e75-85d8-3d0bc5ba1291@googlegroups.com>
What code editor do you use to create and edit PostScript programs?

From the manual of my PostScript program:
http://www.jdawiseman.com/papers/placemat/placemat.html#advice_for_beginners_editor

> • A code editor, a good text editor, is a boon, and it should be one that understands PostScript. The basic text editor that came pre-installed on your computer will make life harder than it needs to be. A code editor that understands PostScript will prevent many errors and save much labour. On a PC NotePad++ is good. On a Mac: Alpha X is excellent and free, though not perfectly coping with OS versions ≥10.9; Aquamacs Emacs is suitable for Emacs experts; Sublime Text 3 seems good, but making it understand PostScript requires a technical step.

Links:
http://notepad-plus.sourceforge.net/uk/site.htm
http://alphatcl.sourceforge.net/wiki/ 
http://aquamacs.org/
http://www.sublimetext.com/3
http://www.sublimetext.com/forum/viewtopic.php?t=17312&start=11

What code editor do you use to create and edit PostScript programs?

[toc] | [next] | [standalone]


#2524

From"Chris F.A. Johnson" <cfajohnson@cfaj.ca>
Date2016-04-16 18:45 -0400
Message-ID<dtrauc-e2q.ln1@cfajohnson.ca>
In reply to#2523
On 2016-04-16, jdaw1 wrote:
> What code editor do you use to create and edit PostScript programs?

GNU/emacs

-- 
Chris F.A. Johnson

[toc] | [prev] | [next] | [standalone]


#2527

FromMarkus Triska <triska@metalevel.at>
Date2016-04-18 00:32 +0200
Message-ID<m2oa97x3x4.fsf@metalevel.at>
In reply to#2524
"Chris F.A. Johnson" <cfajohnson@cfaj.ca> writes:

>> What code editor do you use to create and edit PostScript programs?
>
> GNU/emacs

Me too. One great advantage with this is that pressing C-c C-s invokes
an interactive mode that also gives you a command history (M-p) etc.!

[toc] | [prev] | [next] | [standalone]


#2525

Fromtlvp <mPiOsUcB.EtLlLvEp@att.net>
Date2016-04-16 22:38 -0400
Message-ID<z7wo5ooqfzlw.96b7wpimhcta.dlg@40tude.net>
In reply to#2523
On Sat, 16 Apr 2016 14:33:00 -0700 (PDT), jdaw1 wrote:

> What code editor do you use to create and edit PostScript programs?

<Blush>
NotePad or WordPad
</Blush>. 

My needs are MSimple :-) .

Cheers, -- tlvp
-- 
Avant de repondre, jeter la poubelle, SVP.

[toc] | [prev] | [next] | [standalone]


#2526

Fromjdaw1 <jdawiseman@gmail.com>
Date2016-04-17 04:42 -0700
Message-ID<da3269cf-dd8b-424b-ab48-89dd2f0a217f@googlegroups.com>
In reply to#2525
Blush indeed!

On my Mac I use Alpha X; on Windows I have used NotePad++. 

[toc] | [prev] | [next] | [standalone]


#2528

Fromluser- -droog <mijoryx@yahoo.com>
Date2016-04-17 20:53 -0700
Message-ID<78d657c5-8bd3-4a2f-ae45-4a50d4434554@googlegroups.com>
In reply to#2523
On Saturday, April 16, 2016 at 4:33:01 PM UTC-5, jdaw1 wrote:

> What code editor do you use to create and edit PostScript programs?

vim, but I mostly stick to the old vi features I learned
in CS101 back in 1997.

.vimrc
set nu
set ai si cindent
set sm
set expandtab
set ts=4 sw=4
nnoremap ^L :set hlsearch!^M^L


execute current file with gs
:!gs %

execute current file with current line as input, replacing
currentline with output
!!gs %


So if I've written a function and want to test it,
I can add a call just after the `def`, move the cursor
to a blank line below that, do `!!gs %`, and join the
output to call line with a comment.

0 1 2 funccall =
!!gs %

=>

0 1 2 funccall
result

=>

0 1 2 funccall % result

But I've recently started playing with emacs now.
I haven't used it yet for postscript code.

[toc] | [prev] | [next] | [standalone]


#2529

FromBogus@Embarq.com (Steve)
Date2016-04-18 12:07 +0000
Message-ID<c1.2b8.3qpRj6$05w@NOVOSAD3.EMBARQ.COM>
In reply to#2523
Hi,

jdaw1 <jdawiseman@gmail.com> writes:

>What code editor do you use to create and edit PostScript programs?

   The Programmer's Editor from WordPerfect Office.

Cheers,

Steve N.

[toc] | [prev] | [standalone]


Back to top | Article view | comp.lang.postscript


csiph-web