POV-Ray : Newsgroups : povray.unix : Linux Editor Server Time
28 Jul 2024 16:29:10 EDT (-0400)
  Linux Editor (Message 11 to 20 of 21)  
<<< Previous 10 Messages Goto Latest 10 Messages Next 1 Messages >>>
From: Fabien Hénon
Subject: Re: Linux Editor
Date: 22 Mar 2002 17:51:15
Message: <3C9BB491.EBC666CE@club-internet.fr>
I use Python 2.2

I think I read somwhere that 'spawn' was added to python 2.0



> I get this:
>
> [sjlen:News]$ python 82-2.py
> Traceback (innermost last):
>   File "82-2.py", line 4, in ?
>     from os import spawnv, P_NOWAIT
> ImportError: cannot import name spawnv
> [sjlen:News]$
>
> And in future if you're going to post the code how about just copying
> and pasting it into the message rather than making it an attachment,
> it's a bit confusing trying to work out where the file starts.
>
> povray.utilities might have been a better place to post the code, and
> put a message in here to announce it.
>
> Here's the python version information if it's any help.
>
> Python 1.5.2 (#1, Jul  5 2001, 03:02:19)  [GCC 2.96 20000731 (Red Hat
> Linux 7.1 2 on linux-i386
>
> --
> #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: TigerHawk
Subject: Re: Linux Editor
Date: 10 Apr 2002 17:10:59
Message: <3CB4AA77.1050009@stic.net>
Dude chill out, the world doesn't revolve around Emacs...I should know 
because I use Emacs and it DOES do a crapload that one doesn't 
neccessarily always need. For example, while taking notes for CS I 
prefer to use jed because it's smaller, faster, and does many of the 
same things I need it to do. I don't see any need to comment negatively 
about his editor just because he wants to use something different. Let's 
face it, Emacs is a dusty old dinosaur, and while it is quite usable, 
some people prefer the study of mammals over dinosaurs, if that analogy 
makes any sense ;P

Take Care,

Tim

Warp wrote:


>
>>What I don't like in emacs is that is that, you have to twiddle with parameters
>>and see at the end that it does not work.
>>
>
>  But you don't have to do that each time you want to edit a povray file.
>You configure emacs _once_, and then you just edit pov files.
>

-- 
/~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~\
| Tim Soderstrom                                                       |
| Mig### [at] mailutexasedu                                            |
| http://www.crosswinds.net/~mightytim                                 |
|                                                                      | 
| "Life is like a box of chocolates - never know what you gonna get"   |
|                                                    -Forrest Gump     |
\                                                                      /
 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~


Post a reply to this message


Attachments:
Download 'us-ascii' (3 KB)

From: Warp
Subject: Re: Linux Editor
Date: 10 Apr 2002 18:03:49
Message: <3cb4b6c5@news.povray.org>
TigerHawk <tig### [at] sticnet> wrote:
> Dude chill out, the world doesn't revolve around Emacs...

  But why make something that is already done (and better)?

> For example, while taking notes for CS I 
> prefer to use jed because it's smaller

  Who cares? In modern computers the size of emacs is nothing.

> faster

  Faster in what way?
  If I press a key, the correspondent letter appears immediately on the
window. That's fast enough.

  I don't consider speed to be a reason to switch to another editor which
has a lot less features.

> and does many of the same things I need it to do.

  That's the point: It does "many", not "all".
  I personally am not prepared to change editor to a "smaller" and "faster"
one if it means I will be losing features I use.

> Let's 
> face it, Emacs is a dusty old dinosaur

  Why all programs which have existed for long time are "old dinosaurs"?
  The current version of emacs is pretty different from the first emacs
which existed. I wouldn't call it "old".

-- 
#macro M(A,N,D,L)plane{-z,-9pigment{mandel L*9translate N color_map{[0rgb x]
[1rgb 9]}scale<D,D*3D>*1e3}rotate y*A*8}#end M(-3<1.206434.28623>70,7)M(
-1<.7438.1795>1,20)M(1<.77595.13699>30,20)M(3<.75923.07145>80,99)// - Warp -


Post a reply to this message

From: TigerHawk
Subject: Re: Linux Editor
Date: 10 Apr 2002 19:10:45
Message: <3CB4C689.30307@stic.net>
Well, don't use it then :) That's the beautify of Linux, is in it's 
ability to let one use what they want to use - it's VERY configurable, 
and I sincerely believe that is an asset. This conversation will quickly 
go nowhere, just like "which is better vi or emacs" goes nowhere - so I 
propose we live and let live. We don't, after all, drive the same cars, 
eat the same foods, listen to the same music, etc. It seems the issue is 
personal taste more than anything...


Warp wrote:

>TigerHawk <tig### [at] sticnet> wrote:
>
>>Dude chill out, the world doesn't revolve around Emacs...
>>
>
>  But why make something that is already done (and better)?
>
>>For example, while taking notes for CS I 
>>prefer to use jed because it's smaller
>>
>
>  Who cares? In modern computers the size of emacs is nothing.
>
>>faster
>>
>
>  Faster in what way?
>  If I press a key, the correspondent letter appears immediately on the
>window. That's fast enough.
>
>  I don't consider speed to be a reason to switch to another editor which
>has a lot less features.
>
>>and does many of the same things I need it to do.
>>
>
>  That's the point: It does "many", not "all".
>  I personally am not prepared to change editor to a "smaller" and "faster"
>one if it means I will be losing features I use.
>
>>Let's 
>>face it, Emacs is a dusty old dinosaur
>>
>
>  Why all programs which have existed for long time are "old dinosaurs"?
>  The current version of emacs is pretty different from the first emacs
>which existed. I wouldn't call it "old".
>

-- 
/~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~\
| Tim Soderstrom                                                       |
| Mig### [at] mailutexasedu                                            |
| http://www.crosswinds.net/~mightytim                                 |
|                                                                      | 
| "Life is like a box of chocolates - never know what you gonna get"   |
|                                                    -Forrest Gump     |
\                                                                      /
 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~


Post a reply to this message


Attachments:
Download 'us-ascii' (4 KB)

From: Thorsten Froehlich
Subject: Re: Linux Editor
Date: 11 Apr 2002 03:45:14
Message: <3cb53f0a$1@news.povray.org>
> Content-Type: multipart/alternative;
>  boundary="------------090406010507000507020109"
> NNTP-Posting-Host: 129.116.26.221
> X-Original-NNTP-Posting-Host: 129.116.26.221
> X-Trace: news.povray.org 1018480245 129.116.26.221 (10 Apr 2002 19:10:45
>-0400)
> Lines: 125
> X-No-Archive: Yes
> X-Copyright: This copyrighted article comes from a private news server and may
> NOT be distributed on USENET or other news servers.
> X-POV-Header: --- --- --- --- --- --- --- --- --- --- --- ---
> Path: news.povray.org
> Xref: news.povray.org povray.unix:1657

>--------------090406010507000507020109
> Content-Type: text/plain; charset=us-ascii; format=flowed
> Content-Transfer-Encoding: 7bit
>
>--------------090406010507000507020109
> Content-Type: text/html; charset=us-ascii
> Content-Transfer-Encoding: 7bit
>
>--------------090406010507000507020109--

Please configure your newsreader to post plain-text messages.

    Thorsten

____________________________________________________
Thorsten Froehlich
e-mail: mac### [at] povrayorg

I am a member of the POV-Ray Team.
Visit POV-Ray on the web: http://mac.povray.org


Post a reply to this message

From: Mike Williams
Subject: Re: Linux Editor
Date: 11 Apr 2002 09:24:40
Message: <3cb58e98$1@news.povray.org>
"Warp" <war### [at] tagpovrayorg> wrote in message
news:3cb4b6c5@news.povray.org...
> TigerHawk <tig### [at] sticnet> wrote:
> > Dude chill out, the world doesn't revolve around Emacs...
>
>   But why make something that is already done (and better)?
>
I would say that just because Emacs can edit pov files with syntax highlight
(which I have never been able to get to work like I like) does not mean it
is better or even the best. I could set up many editors to edit pov files
but I would only be editing text with colors. I have not seen this editor in
python but I have been looking and even thanking about writing one myself
that actually knows the pov language. To automatically indent items based on
the structure of the object. Or to group the elements into a visual graph
tree for editing individual parts. Moray uses something similar to this but
does not go further. It does not need to because it uses a visual interface.
I prefer editing the pov code directly but with big scenes it can get real
confusing what is what. Emacs is a general purpose feature packed editor. It
is not targeted enough to povray to serve all of us who use povray. For
those who have used Emacs and can run it like they walk, it proves more than
capable. For the rest of use we just want something that knows povray before
we start using it. Like I mentioned I have not used this editor in python
but I am hoping it does what I want. If it does not I will continue to look
and even dabble with programming one my self. Like every thing time is the
crook in the mix.

Thanks for the conversation.

Mike Williams


Post a reply to this message

From: Warp
Subject: Re: Linux Editor
Date: 11 Apr 2002 10:26:31
Message: <3cb59d17@news.povray.org>
Mike Williams <mwi### [at] morninglightmediacom> wrote:
> I would say that just because Emacs can edit pov files with syntax highlight
> (which I have never been able to get to work like I like) does not mean it
> is better or even the best.

  That's not the only thing emacs does.

> To automatically indent items based on the structure of the object.

  Among other things, emacs does that.

> Emacs is a general purpose feature packed editor. It
> is not targeted enough to povray to serve all of us who use povray.

  But it can be configured to be very pov-specific. pov-mode for emacs does
a lot of this.

-- 
#macro M(A,N,D,L)plane{-z,-9pigment{mandel L*9translate N color_map{[0rgb x]
[1rgb 9]}scale<D,D*3D>*1e3}rotate y*A*8}#end M(-3<1.206434.28623>70,7)M(
-1<.7438.1795>1,20)M(1<.77595.13699>30,20)M(3<.75923.07145>80,99)// - Warp -


Post a reply to this message

From: TigerHawk
Subject: Re: Linux Editor
Date: 11 Apr 2002 12:41:19
Message: <3CB5BCC5.4080206@stic.net>
So does nedit in pov-mode...and I'm sure jed would do the same thing (it 
does syntax highlighting and auto-indenting)....


Warp wrote:

>Mike Williams <mwi### [at] morninglightmediacom> wrote:
>
>>I would say that just because Emacs can edit pov files with syntax highlight
>>(which I have never been able to get to work like I like) does not mean it
>>is better or even the best.
>>
>
>  That's not the only thing emacs does.
>
>>To automatically indent items based on the structure of the object.
>>
>
>  Among other things, emacs does that.
>
>>Emacs is a general purpose feature packed editor. It
>>is not targeted enough to povray to serve all of us who use povray.
>>
>
>  But it can be configured to be very pov-specific. pov-mode for emacs does
>a lot of this.
>

-- 
/~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~\
| Tim Soderstrom                                                       |
| Mig### [at] mailutexasedu                                            |
| http://www.crosswinds.net/~mightytim                                 |
|                                                                      | 
| "Life is like a box of chocolates - never know what you gonna get"   |
|                                                    -Forrest Gump     |
\                                                                      /
 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~


Post a reply to this message

From: Micha Riser
Subject: Re: Linux Editor
Date: 11 Apr 2002 12:59:17
Message: <3cb5c0e4@news.povray.org>
TigerHawk wrote:

> So does nedit in pov-mode...and I'm sure jed would do the same thing (it
> does syntax highlighting and auto-indenting)....
> 

What configuration file do you use for nedit? I have syntax highlighting 
but no auto-indenting. Could you post or email me yours?

- Micha

-- 
objects.povworld.org - The POV-Ray Objects Collection
book.povworld.org    - The POV-Ray Book Project


Post a reply to this message

From: Sebastian H 
Subject: Re: Linux Editor
Date: 11 Apr 2002 15:18:56
Message: <3CB5E218.8080102@web.de>
Warp wrote:
> Mike Williams <mwi### [at] morninglightmediacom> wrote:
> 
>>I would say that just because Emacs can edit pov files with syntax highlight
>>(which I have never been able to get to work like I like) does not mean it
>>is better or even the best.
> 
> 
>   That's not the only thing emacs does.
> 
> 
>>To automatically indent items based on the structure of the object.
> 
> 
>   Among other things, emacs does that.
> 
> 
>>Emacs is a general purpose feature packed editor. It
>>is not targeted enough to povray to serve all of us who use povray.
> 
> 
>   But it can be configured to be very pov-specific. pov-mode for emacs does
> a lot of this.
> 

By the way:
Did anyone upgrade pov-mode for the new keywords from pov35?

Sebastian H.


Post a reply to this message

<<< Previous 10 Messages Goto Latest 10 Messages Next 1 Messages >>>

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