[Zope] Re: Using ZopeEDIT with Notepad?

Yanko, Curtis (GSP) YankoC@gspinc.com
Mon, 20 Mar 2000 15:34:25 -0500


Here is what I did to get it going...

EDITOR_CMD = ' "notepad" %s' 

# I put a space in there just to make it easy to see for the email but by
quoting notepad the command line gets interpreted properly.

-Curt Yanko

> -----Original Message-----
> From:	JB [SMTP:jimbag@kw.igs.net]
> Sent:	Monday, March 20, 2000 2:35 PM
> To:	Paul Browning
> Cc:	zope@zope.org
> Subject:	[Zope] Re: Using ZopeEDIT with Notepad?
> 
> The '%s' gets replaced by a temporary file name, it definitly needs to
> be there. I know nothing about notepad.exe, but it sounds like notepad
> can't accept filename arguments on the command line. I can't verify this
> however. I know people are using ZopeEDIT in Win?? so it must be
> something with notepad.
> 
> cheers
> jb
> 
> Paul Browning wrote:
> > 
> > OK, so it's not my favourite editor but I thought I'd
> > try Notepad with ZopeEDIT for the hell of it.
> > 
> > Can anyone tell me what I should set EDITOR_CMD to?
> > 
> > 'C:\WINNT\system32\notepad.exe' and 'C:\WINNT\system32\notepad.exe %s'
> > don't do the job. (What's the %s for anyway?)
> > 
> > TIA. Paul
> > 
> > --
> >  The Library, Tyndall Avenue, Univ. of Bristol, Bristol, BS8 1TJ, UK
> >      E-mail: paul.browning@bris.ac.uk  URL: http://www.bris.ac.uk/
> 
> -- 
> Memory fault - where am I?
> 
> _______________________________________________
> Zope maillist  -  Zope@zope.org
> http://lists.zope.org/mailman/listinfo/zope
> **   No cross posts or HTML encoding!  **
> (Related lists - 
>  http://lists.zope.org/mailman/listinfo/zope-announce
>  http://lists.zope.org/mailman/listinfo/zope-dev )