🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Thread View: news.software.readers
7 messages
7 total messages Started by Robert Singers Tue, 29 Apr 2008 22:01
[XPN] External Editor Issue
#220256
Author: Robert Singers
Date: Tue, 29 Apr 2008 22:01
24 lines
2541 bytes
If I configure an external editor via the GUI or directly I get a
consistant behaviour which is not exactly what I want.

For example if I make the entry "C:\Program Files\XPN\notepad++.bat"[1]
when I click on the use external editor button I see a shell session pop
up in the background but the editor doesn't open.  I then check the
config and entry has disappeared.

The same thing happens when i attempt to invoke WinWord.exe directly as
I did for Xnews.

[1]
Which is a one line batch file with the command.

 C:\Program Files\Notepad++\notepad++.exe %1
-nosession

Notepad++ will use Aspell as a plug in.

-- 
rob singers
pull finger to reply
Foemina Erit Ruina Tua
Re: External Editor Issue
#220275
Author: Nemesis
Date: Wed, 30 Apr 2008 10:22
26 lines
2217 bytes
On Apr 30, 12:01 am, Robert Singers <rsing...@finger.hotmail.com>
wrote:
> If I configure an external editor via the GUI or directly I get a
> consistant behaviour which is not exactly what I want.
>
> For example if I make the entry "C:\Program Files\XPN\notepad++.bat"[1]
> when I click on the use external editor button I see a shell session pop
> up in the background but the editor doesn't open.  I then check the
> config and entry has disappeared.

I admit the behaviour is a little bit weird .. but XPN exepect a %s in
the launcher string (as you can see in the tooltip on the entry) it
represents the file name. If it doesn't find the %s the entry is
removed. (I should correct this behaviour)

For example the string

notepad.exe %s

works
and

notepad++.exe %s

should work too.
Re: External Editor Issue
#220294
Author: Rob S
Date: Thu, 01 May 2008 03:55
11 lines
1932 bytes
On Apr 30, 10:22 pm, Nemesis <gnemesis2...@gmail.com> wrote:
> I admit the behaviour is a little bit weird .. but XPN exepect a %s in
> the launcher string (as you can see in the tooltip on the entry) it
> represents the file name. If it doesn't find the %s the entry is
> removed. (I should correct this behaviour)

Tooltips?  Real men don't use tool tips :-)  Cool ok.  Will have a
blast tonight.

Then I can do a generic post about the suitablity of notepad++ for all
those Aspell nazis.
Re: External Editor Issue
#220349
Author: Robert Singers
Date: Sat, 03 May 2008 06:33
20 lines
2592 bytes
Nemesis wrote:

> I admit the behaviour is a little bit weird .. but XPN expect a %s in
> the launcher string (as you can see in the tool tip on the entry) it
> represents the file name. If it doesn't find the %s the entry is
> removed. (I should correct this behaviour)

OK dude.  You need to add to your tool tip to use quotes around a path
string containing spaces.  ie

"C:\Program Files\XPN\editor.bat" %s

I also don't think your shell likes the pluses in notepad++.exe, but I
have to go back and be a bit more scientific about the testing.

-- 
rob singers
pull finger to reply
Foemina Erit Ruina Tua
Re: External Editor Issue
#220370
Author: »Q«
Date: Sat, 03 May 2008 21:16
19 lines
1909 bytes
Robert Singers <rsingers@finger.hotmail.com> wrote:

> Nemesis wrote:
> 
> > I admit the behaviour is a little bit weird .. but XPN expect a %s
> > in the launcher string (as you can see in the tool tip on the
> > entry) it represents the file name. If it doesn't find the %s the
> > entry is removed. (I should correct this behaviour)  
> 
> OK dude.  You need to add to your tool tip to use quotes around a path
> string containing spaces.  ie
> 
> "C:\Program Files\XPN\editor.bat" %s
> 
> I also don't think your shell likes the pluses in notepad++.exe, but I
> have to go back and be a bit more scientific about the testing.

The plusses shouldn't matter once they are in quotes, so quoting
should solve both problems.
Re: External Editor Issue
#220380
Author: Robert Singers
Date: Sun, 04 May 2008 03:13
15 lines
2354 bytes
»Q« wrote:

> The plusses shouldn't matter once they are in quotes, so quoting
> should solve both problems.

Yes "C:\Program Files\Notepad++\Notepad++.exe" %s -nosession seems to
do it and ASpell works on the file.

Very handy.

-- 
rob singers
pull finger to reply
Foemina Erit Ruina Tua
Re: External Editor Issue
#220389
Author: Nemesis
Date: Sun, 04 May 2008 09:26
17 lines
1838 bytes
Robert Singers wrote:

>> The plusses shouldn't matter once they are in quotes, so quoting
>> should solve both problems.
>
> Yes "C:\Program Files\Notepad++\Notepad++.exe" %s -nosession seems to
> do it and ASpell works on the file.

I added this line in the tooltip ;-)

-- 
Nostalgia isn't what it used to be.
 _  _                  _
| \| |___ _ __  ___ __(_)___
| .` / -_) '  \/ -_|_-< (_-<
|_|\_\___|_|_|_\___/__/_/__/ http://xpn.altervista.org
Thread Navigation

This is a paginated view of messages in the thread with full content displayed inline.

Messages are displayed in chronological order, with the original post highlighted in green.

Use pagination controls to navigate through all messages in large threads.

Back to All Threads