POV-Ray : Newsgroups : povray.general : cross-platform editor Server Time
7 Aug 2024 01:19:52 EDT (-0400)
  cross-platform editor (Message 8 to 17 of 17)  
<<< Previous 7 Messages Goto Initial 10 Messages
From: Steve
Subject: Re: cross-platform editor
Date: 27 Jan 2002 18:35:23
Message: <slrna593kl.8d7.steve@zero-pps.localdomain>
On Sun, 27 Jan 2002 15:12:50 -0500, Christopher James Huff wrote:

>Jext is pretty slow too...but I don't know that an editor written in 
>Python would be any better.

Having read all the previous posts in this thread it seems to have come
full circle so probaly best that I put my 2p worth in now.  

Emacs looks complicated and will take some getting used to at first, with
setting up the .emacs file and so on, but it's well worth the effort, 
"No pain, No gain". 

I've just installed DJGPP (GCC for windows), on a Win95 machine and was 
really amazed to find that the shareware editor that comes with it 
actually has syntax highlighting. 

So give emacs a go, and don't be affraid to ask for help, we've all been
there too. 

--
%HAV-A-NICEDAY                    email mailto:ste### [at] zeroppsuklinuxnet
Steve                                web http://www.zeropps.uklinux.net/
                                             or http://start.at/zero-pps
 11:30pm  up 111 days, 15:19,  1 user,  load average: 1.00, 1.00, 1.00


Post a reply to this message

From: Fabien HENON
Subject: Re: cross-platform editor
Date: 29 Jan 2002 15:15:11
Message: <3C570285.4010001@club-internet.fr>
I have started Xemacs. There was supposed to be something like .emacs or 
  .xemacs in which to put a line (for pov-mode.el) in ~home.


Either as root or a normal user I never managed to find that file. Where 
  else can it be.

Thanks for any help

Steve wrote:

> On Sun, 27 Jan 2002 15:12:50 -0500, Christopher James Huff wrote:
> 
> 
>>Jext is pretty slow too...but I don't know that an editor written in 
>>Python would be any better.
>>
> 
> Having read all the previous posts in this thread it seems to have come
> full circle so probaly best that I put my 2p worth in now.  
> 
> Emacs looks complicated and will take some getting used to at first, with
> setting up the .emacs file and so on, but it's well worth the effort, 
> "No pain, No gain". 
> 
> I've just installed DJGPP (GCC for windows), on a Win95 machine and was 
> really amazed to find that the shareware editor that comes with it 
> actually has syntax highlighting. 
> 
> So give emacs a go, and don't be affraid to ask for help, we've all been
> there too. 
> 
> --
> %HAV-A-NICEDAY                    email mailto:ste### [at] zeroppsuklinuxnet
> Steve                                web http://www.zeropps.uklinux.net/
>                                              or http://start.at/zero-pps
>  11:30pm  up 111 days, 15:19,  1 user,  load average: 1.00, 1.00, 1.00
>


Post a reply to this message

From: Steve
Subject: Re: cross-platform editor
Date: 30 Jan 2002 13:08:08
Message: <slrna5g4ek.s50.steve@zero-pps.localdomain>
On Tue, 29 Jan 2002 21:13:57 +0100, Fabien HENON wrote:
>I have started Xemacs. There was supposed to be something like .emacs or 
>  .xemacs in which to put a line (for pov-mode.el) in ~home.
>
>
>Either as root or a normal user I never managed to find that file. Where 
>  else can it be.
>
>Thanks for any help
>

You can create the .emacs file in your home directory, just open up an 
editor and put the appropriate text in there. 

Below is a copy of the stuff I have in my .emacs:

(global-set-key [delete] 'delete-char)
(global-set-key [kp-delete] 'delete-char)
(pc-selection-mode)
(setq scroll-step 1)
(setq next-line-add-newlines nil)
(setq visible-bell t)
(setq column-number-mode t) 
(setq frame-title-format "%b")
;(custom-set-variables)
(show-paren-mode 1)
(setq make-backup-files nil)
;; put as much syntax highlighting into documents as possible
(setq font-lock-maximum-decoration t)

;;  enable syntax-highlighting
 (global-font-lock-mode 1 t)

;; Where did you install the POV-mode?
(setq load-path (cons "/usr/share/emacs/20.5/lisp/pov-mode.elc" load-path))
(autoload 'pov-mode "pov-mode.elc" "PoVray scene file mode" t)

(setq auto-mode-alist
        (append '(("\\.pov$" . pov-mode) 
                  ("\\.inc$" . pov-mode)
                 ) auto-mode-alist))

(custom-set-faces
 '(region ((((class color) (background dark)) (:foreground "MidnightBlue" :background
"light
goldenrod")))))

(add-hook 'pov-mode-hook 'turn-on-font-lock)

;; Now add some useful keys. 

;; Make F2 be `save-buffer'
(global-set-key [f2] 'save-buffer)

;; Make F3 be "Exit emacs".
(global-set-key [f3] 'kill-emacs)

;; Make F5 be "Goto line".
(global-set-key [f5] 'goto-line)

;; Make F8 refontify the buffer. 
(global-set-key [f8] 'font-lock-fontify-buffer)

(setq indent-level 'nil)
(setq perl-mode-indent-level 'nil)
(setq comment-start-skip 'nil)

;;(show-paren-mode 1)
(custom-set-variables
 '(cperl-indent-level 0)
 '(cperl-min-label-indent 0)
 '(cperl-close-paren-offset 0))

(put 'downcase-region 'disabled nil) 

;;;;;;;;;;;;;;;; END OF .EMACS FILE ;;;;;;;;;;;;;;;;;;;;;;;

I've put some extra key bindings in that I find useful. 
F2 is save current buffer, F3 is exit emacs without saving. 
F5 promps for a line number, so type the line number and 
press return and emacs goes to that line. 

For working in Linux you may also find PovMenu useful it's a basic menu
system for running pov commands and handeling the output etc, you can 
find it at my webpages here:

http://www.zeropps.uklinux.net/linstuff.html#POVMENU

Hope you find some of that helpful, and if something doesn't work or if
you are still having difficulties feel free to mail me. 

--
#local i=.1;#local I=(i/i)/i;#local l=(i+i)/i;#local ll=(I/i)/l;box{<-ll,
-((I/I)+l),-ll><ll,-l,ll>pigment{checker scale l}finish{ambient((I/l)/I)+
(l/I)}}sphere{<i-i,l-l,(I/l)>l/l pigment{rgb((I/l)/I)}finish{reflection((
I/l)/I)-(l/I)specular(I/l)/I}}light_source{<I-l,I+I,(I-l)/l>l/l} // Steve


Post a reply to this message

From: Pabs
Subject: Re: cross-platform editor
Date: 31 Jan 2002 03:57:46
Message: <3c59070a@news.povray.org>
> There are some screenshots of the Smellenbergh unofficial GUI here:
> http://users.skynet.be/smellenbergh/
After 3.5 I wouldn't mind trying to port some of those cool modeller-type
stuff* to POVWin for the next MegaPOV
If a Mac developer could give some assistance I'm sure I could do it
reasonably well.
But I guess most people would just use the Moray stuff.

Bye,
Pabs

*BTW for those that don't know those features are:
Material, colour_map, slope_map & lathe/sor/bezier
graphical editor, MultiCopy template & Options dialog
(no more typing commandline paremters if you don't want to)


Post a reply to this message

From: Grey Knight
Subject: Re: cross-platform editor
Date: 31 Jan 2002 05:51:20
Message: <3C5921A2.712E636@namtar.qub.ac.uk>
I don't know about everyone else, but I would certainly use it! I don't
use Moray (largely because even at two layers thick, my taskbar gets
real crowded real fast ;] buuut what can ya do?)

Pabs wrote:
> 
> > There are some screenshots of the Smellenbergh unofficial GUI here:
> > http://users.skynet.be/smellenbergh/
> After 3.5 I wouldn't mind trying to port some of those cool modeller-type
> stuff* to POVWin for the next MegaPOV
> If a Mac developer could give some assistance I'm sure I could do it
> reasonably well.
> But I guess most people would just use the Moray stuff.
> 
> Bye,
> Pabs

-- 
signature{
  "Grey Knight" contact{ email "gre### [at] yahoocom" }
  site_of_week{ url "http://digilander.iol.it/jrgpov" }
}


Post a reply to this message

From: Tony[B]
Subject: Re: cross-platform editor
Date: 31 Jan 2002 10:28:31
Message: <3c59629f@news.povray.org>
I agree with the one called Grey Knight! Please, do it! :)


Post a reply to this message

From: smellenbergh
Subject: Re: cross-platform editor
Date: 31 Jan 2002 12:30:43
Message: <1f6vza1.s7uw431r7w0piN%smellenbergh@skynet.be>
Pabs <pab### [at] NOzSiPpAMto> wrote:

> > There are some screenshots of the Smellenbergh unofficial GUI here:
> > http://users.skynet.be/smellenbergh/
> After 3.5 I wouldn't mind trying to port some of those cool modeller-type
> stuff* to POVWin for the next MegaPOV
> If a Mac developer could give some assistance I'm sure I could do it
> reasonably well.
We, MacMegaPOV, will give assistance where and when needed within our
capabilities!


Smellenbergh


-- 
e-mail:sme### [at] skynetbe

http://users.skynet.be/smellenbergh


Post a reply to this message

From: Josh English
Subject: Re: cross-platform editor
Date: 31 Jan 2002 16:28:27
Message: <3C59B6D6.3591D128@spiritone.com>
Fabien HENON wrote:
> 

> 
> I kept on searching and apparently python with tcl/tk is easily ported
> and meet the demands ..

I can't get tcl/tk to work on my Mac using Python 2.2 very well. It is
not fully supported on the Mac platform yet.

I use W widgets for my projects.

Josh English
eng### [at] spiritonecom
http://www.spiritone.com/~english


Post a reply to this message

From: Christopher James Huff
Subject: Re: cross-platform editor
Date: 31 Jan 2002 23:55:05
Message: <chrishuff-0E4445.23561631012002@netplex.aussie.org>
In article <3c59070a@news.povray.org>, "Pabs" <pab### [at] NOzSiPpAMto> 
wrote:

> > There are some screenshots of the Smellenbergh unofficial GUI here:
> > http://users.skynet.be/smellenbergh/
> After 3.5 I wouldn't mind trying to port some of those cool modeller-type
> stuff* to POVWin for the next MegaPOV
> If a Mac developer could give some assistance I'm sure I could do it
> reasonably well.
> But I guess most people would just use the Moray stuff.

I wonder if a Java tool would be useful...performance wouldn't be a huge 
priority. Or maybe even GLUT could be used.

-- 
Christopher James Huff <chr### [at] maccom>
POV-Ray TAG e-mail: chr### [at] tagpovrayorg
TAG web site: http://tag.povray.org/


Post a reply to this message

From: Pabs
Subject: Re: cross-platform editor
Date: 1 Feb 2002 00:57:58
Message: <3c5a2e66@news.povray.org>
Thanx for the enthusiasm all
& offer of help smellenberg
Looks like I'll do it after 3.5

It will likely be done in native Win32,
maybe with some OpenGL thrown in,
but probably not GLUT.

Bye,
Pabs


Post a reply to this message

<<< Previous 7 Messages Goto Initial 10 Messages

Copyright 2003-2023 Persistence of Vision Raytracer Pty. Ltd.