Thread View: news.software.readers
21 messages
21 total messages
Started by frydd
Mon, 13 Aug 2007 08:04
[slrn] Editor will not be found in cygwin-slrn
Author: frydd
Date: Mon, 13 Aug 2007 08:04
Date: Mon, 13 Aug 2007 08:04
40 lines
2133 bytes
2133 bytes
hi group
from http://www.foory.de/thw/slrn/packages/slrn_with_included_cygwin.zip
I installed slrn on a WinXP-machine. slrn works for fetching and
reading news. But if I try 2 make a followup or create a new post,
slrn says "Editor will not be found".
In slrnrc I tried:
"/cygdrive/d:/slrn/edit.exe %s"
"/cygdrive/d/slrn/edit.exe %s"
"cygdrive/d:/slrn/edit.exe %s"
"cygdrive/d/slrn/edit.exe %s"
"d:/slrn/edit.exe %s"
"d/slrn/edit.exe %s"
"edit.exe %s"
all for
set editor_command
set mail_editor_command
set post_editor_command
set score_editor_command
set Home is set and und edit.exe exists in \home
What is the proper syntax?
btw: a slrn installation for win works fine with the syntax set
editor_command "C:\\...\\edit.exe %s "
help needed
--
regards
frydd
Re: [slrn] Editor will not be found in cygwin-slrn
Author: Mike Dee
Date: Mon, 13 Aug 2007 10:42
Date: Mon, 13 Aug 2007 10:42
48 lines
2533 bytes
2533 bytes
In article <1186992267.230503.9200@q75g2000hsh.googlegroups.com>, frydd <frydd@spamfence.net> wrote: > hi group > > from http://www.foory.de/thw/slrn/packages/slrn_with_included_cygwin.zip > I installed slrn on a WinXP-machine. slrn works for fetching and > reading news. But if I try 2 make a followup or create a new post, > slrn says "Editor will not be found". > > In slrnrc I tried: > > "/cygdrive/d:/slrn/edit.exe %s" > "/cygdrive/d/slrn/edit.exe %s" > "cygdrive/d:/slrn/edit.exe %s" > "cygdrive/d/slrn/edit.exe %s" > "d:/slrn/edit.exe %s" > "d/slrn/edit.exe %s" > "edit.exe %s" > > > all for > > set editor_command > set mail_editor_command > set post_editor_command > set score_editor_command > > > set Home is set and und edit.exe exists in \home > > > What is the proper syntax? > > btw: a slrn installation for win works fine with the syntax set > editor_command "C:\\...\\edit.exe %s " > > help needed Hi frydd. Can't help with you Q, but will help with reposting this in its entirety to give those with GG in a permanent sin bin, to (a). have a chance to read your post, and (b) to show them what a decent posting looks like despite its origins. Cheers. -- dee
Re: [slrn] Editor will not be found in cygwin-slrn
Author: Troy Piggins
Date: Mon, 13 Aug 2007 12:05
Date: Mon, 13 Aug 2007 12:05
30 lines
2430 bytes
2430 bytes
* Mike Dee is quoted & my replies are inline below :
> In article <1186992267.230503.9200@q75g2000hsh.googlegroups.com>,
> frydd <frydd@spamfence.net> wrote:
>
> [---=| Quote block shrinked by t-prot: 25 lines snipped |=---]
>>
>> set Home is set and und edit.exe exists in \home
>>
>>
>> What is the proper syntax?
>>
>> btw: a slrn installation for win works fine with the syntax set
>> editor_command "C:\\...\\edit.exe %s "
>>
>> help needed
>
> Hi frydd. Can't help with you Q, but will help with reposting this in
> its entirety to give those with GG in a permanent sin bin, to (a). have
> a chance to read your post, and (b) to show them what a decent posting
> looks like despite its origins.
A good reason to _not_ kill GG posts in this group if they have
'slrn' in the Subject: header - they may be having trouble
setting it up and /need/ to use GG in the meantime.
--
Troy Piggins | http://piggo.com/~troy
___ | __ __ ,-O (o- O
slrn macros and howto: |___ | |/ |/ | O ) //\ O
http://piggo.com/~troy/slrn ___| | | | | `-O V_/_ OOO
Re: Editor will not be found in cygwin-slrn
Author: frydd
Date: Mon, 13 Aug 2007 12:57
Date: Mon, 13 Aug 2007 12:57
36 lines
2719 bytes
2719 bytes
On 13 Aug., 14:05, Troy Piggins <usenet-0...@piggo.com> wrote: > * Mike Dee is quoted & my replies are inline below : >> In article <1186992267.230503.9...@q75g2000hsh.googlegroups.com>, >> frydd <fr...@spamfence.net> wrote: > >> [---=| Quote block shrinked by t-prot: 25 lines snipped |=---] > >>> set Home is set and und edit.exe exists in \home > >>> What is the proper syntax? > >>> btw: a slrn installation for win works fine with the syntax set >>> editor_command "C:\\...\\edit.exe %s " > >>> help needed > >> Hi frydd. Can't help with you Q, but will help with reposting this in >> its entirety to give those with GG in a permanent sin bin, to (a). have >> a chance to read your post, and (b) to show them what a decent posting >> looks like despite its origins. > > A good reason to _not_ kill GG posts in this group if they have > 'slrn' in the Subject: header - they may be having trouble > setting it up and /need/ to use GG in the meantime. the machine I sit on, is not allowed for port 119 :-(((, so GG is the only way to get help. I looked on > slrn macros and howto: http://piggo.com/~troy/slrn but that doesn't solve my prob :-( -- regards frydd-se-CAT-oogle
Re: Editor will not be found in cygwin-slrn
Author: Mike Dee
Date: Mon, 13 Aug 2007 14:53
Date: Mon, 13 Aug 2007 14:53
23 lines
2182 bytes
2182 bytes
In article <1187009843.822200.260310@w3g2000hsg.googlegroups.com>, frydd <frydd@spamfence.net> wrote: > On 13 Aug., 14:05, Troy Piggins <usenet-0...@piggo.com> wrote: [...] > > > > A good reason to _not_ kill GG posts in this group if they have > > 'slrn' in the Subject: header - they may be having trouble > > setting it up and /need/ to use GG in the meantime. > > the machine I sit on, is not allowed for port 119 :-(((, so GG is the > only way to get help. I looked on > > slrn macros and howto: http://piggo.com/~troy/slrn > but that doesn't solve my prob :-( If its of any use: nntp.aioe.org allows 119, 80 (Plain) - 563, 443 (SSL) motzarella.org allows 119, 80 (Plain) - 563, 443 (NNTPS) Doesn't solve your immediate problem tho, frydd. -- dee
Re: Editor will not be found in cygwin-slrn
Author: frydd
Date: Mon, 13 Aug 2007 14:59
Date: Mon, 13 Aug 2007 14:59
28 lines
2647 bytes
2647 bytes
On 13 Aug., 16:53, Mike Dee <emtee...@emteedee.invalid> wrote: > In article <1187009843.822200.260...@w3g2000hsg.googlegroups.com>, > frydd <fr...@spamfence.net> wrote: > > On 13 Aug., 14:05, Troy Piggins <usenet-0...@piggo.com> wrote: > [...] > > > > A good reason to _not_ kill GG posts in this group if they have > > > 'slrn' in the Subject: header - they may be having trouble > > > setting it up and /need/ to use GG in the meantime. > > > the machine I sit on, is not allowed for port 119 :-(((, so GG is the > > only way to get help. I looked on > > > slrn macros and howto: http://piggo.com/~troy/slrn > > but that doesn't solve my prob :-( > > If its of any use: > nntp.aioe.org allows 119, 80 (Plain) - 563, 443 (SSL) > motzarella.org allows 119, 80 (Plain) - 563, 443 (NNTPS) > > Doesn't solve your immediate problem tho, frydd. > not at all :-(.....the firewall-admin makes nntpports generally closed :-(, so only web via port 80 is possible regards frydd-se-CAToogle ;-)
Re: Editor will not be found in cygwin-slrn
Author: Frank Slootweg
Date: Mon, 13 Aug 2007 18:58
Date: Mon, 13 Aug 2007 18:58
25 lines
2222 bytes
2222 bytes
frydd <frydd@spamfence.net> wrote: > On 13 Aug., 16:53, Mike Dee <emtee...@emteedee.invalid> wrote: [deleted] > > If its of any use: > > nntp.aioe.org allows 119, 80 (Plain) - 563, 443 (SSL) > > motzarella.org allows 119, 80 (Plain) - 563, 443 (NNTPS) > > > > Doesn't solve your immediate problem tho, frydd. > > > not at all :-(.....the firewall-admin makes nntpports generally > closed :-(, so only web via port 80 is possible Only 119 is a/the "nntpport", that's the whole point of Mike's suggestion. It is of course *possible* that the firewall actually blocks NNTP, i.e. the *protocol, not just the *port*, but most (simple) firewalls just block ports, not protocols. So do yourself a favor [1] and *try* those other ports. [1] The "favor" might include getting fired (for intentionally circumventing company [2] 'security' policies), so be careful out there. [2] Assuming that "the machine I sit on" is your employer's machine.
Re: [slrn] Editor will not be found in cygwin-slrn
Author: Frank Slootweg
Date: Mon, 13 Aug 2007 19:35
Date: Mon, 13 Aug 2007 19:35
58 lines
2777 bytes
2777 bytes
frydd <frydd@spamfence.net> wrote: > hi group > > from http://www.foory.de/thw/slrn/packages/slrn_with_included_cygwin.zip > I installed slrn on a WinXP-machine. slrn works for fetching and > reading news. But if I try 2 make a followup or create a new post, > slrn says "Editor will not be found". > > In slrnrc I tried: > > "/cygdrive/d:/slrn/edit.exe %s" > "/cygdrive/d/slrn/edit.exe %s" > "cygdrive/d:/slrn/edit.exe %s" > "cygdrive/d/slrn/edit.exe %s" > "d:/slrn/edit.exe %s" > "d/slrn/edit.exe %s" > "edit.exe %s" > > all for > > set editor_command > set mail_editor_command > set post_editor_command > set score_editor_command > > set Home is set and und edit.exe exists in \home "set Home" is set to *what*? And if "edit.exe exists in \home", then why do the pathnames you quoted *not* contain "\home"? And what *is* "edit.exe"? The slrn_with_included_cygwin.zip archive does not seem to contain any edit.* and (MS-)Windows only has edit.com, not .exe, the "MS-DOS Editor", and that is not in any of the directories you mentioned (but probably in C:\WINDOWS\system32). > What is the proper syntax? I don't use slrn, so I don't know the slrn syntax, but I do use Cygwin (with tin) and the Cygwin syntax is: /cygdrive/<windowsdriveletter>/<windowspathwithforwardslashes> So for example my .newsrc is: /cygdrive/c/home/franks/.newsrc I.e. from Cygwin's bash shell: > $ ls -l /cygdrive/c/home/franks/.newsrc > -rwx------ 1 franks None 1864 Aug 12 23:28 /cygdrive/c/home/franks/.newsrc > $ > btw: a slrn installation for win works fine with the syntax set > editor_command "C:\\...\\edit.exe %s " > > help needed
Re: [slrn] Editor will not be found in cygwin-slrn
Author: Chris Game
Date: Mon, 13 Aug 2007 19:43
Date: Mon, 13 Aug 2007 19:43
14 lines
1447 bytes
1447 bytes
On Mon, 13 Aug 2007 01:04:27 -0700, frydd wrote: > et Home is set and und edit.exe exists in \home So why are you pointing to .../slrn/edit.exe in your slrc tests? What command at the Cygwin prompt in the directory you're running slrn from brings up the editor? Get that sorted out first. -- Chris Game A core dump is your computer's way of saying "Here's what's on my mind, what's on yours?"
Re: Editor will not be found in cygwin-slrn
Author: Troy Piggins
Date: Mon, 13 Aug 2007 20:20
Date: Mon, 13 Aug 2007 20:20
39 lines
3110 bytes
3110 bytes
* frydd is quoted & my replies are inline below :
> On 13 Aug., 14:05, Troy Piggins <usenet-0...@piggo.com> wrote:
>> * Mike Dee is quoted & my replies are inline below :
>>> In article <1186992267.230503.9...@q75g2000hsh.googlegroups.com>,
>>> frydd <fr...@spamfence.net> wrote:
>>
>>> [---=| Quote block shrinked by t-prot: 25 lines snipped |=---]
>>
>>>> set Home is set and und edit.exe exists in \home
>>
>>>> What is the proper syntax?
>>
>>>> btw: a slrn installation for win works fine with the syntax set
>>>> editor_command "C:\\...\\edit.exe %s "
>>
>>>> help needed
>>
>>> Hi frydd. Can't help with you Q, but will help with reposting this in
>>> its entirety to give those with GG in a permanent sin bin, to (a). have
>>> a chance to read your post, and (b) to show them what a decent posting
>>> looks like despite its origins.
>>
>> A good reason to _not_ kill GG posts in this group if they have
>> 'slrn' in the Subject: header - they may be having trouble
>> setting it up and /need/ to use GG in the meantime.
>
> the machine I sit on, is not allowed for port 119 :-(((, so GG is the
> only way to get help. I looked on
> slrn macros and howto: http://piggo.com/~troy/slrn
> but that doesn't solve my prob :-(
Sorry - I haven't used the cygwin port of slrn, so can't help you
mate. My contact with cygwin has only been minimal.
--
Troy Piggins | http://piggo.com/~troy
___ | __ __ ,-O (o- O
slrn macros and howto: |___ | |/ |/ | O ) //\ O
http://piggo.com/~troy/slrn ___| | | | | `-O V_/_ OOO
Re: [slrn] Editor will not be found in cygwin-slrn
Author: Troy Piggins
Date: Mon, 13 Aug 2007 20:30
Date: Mon, 13 Aug 2007 20:30
75 lines
3760 bytes
3760 bytes
* Frank Slootweg is quoted & my replies are inline below :
> frydd <frydd@spamfence.net> wrote:
>> hi group
>>
>> from http://www.foory.de/thw/slrn/packages/slrn_with_included_cygwin.zip
>> I installed slrn on a WinXP-machine. slrn works for fetching and
>> reading news. But if I try 2 make a followup or create a new post,
>> slrn says "Editor will not be found".
>>
>> In slrnrc I tried:
>>
>> "/cygdrive/d:/slrn/edit.exe %s"
>> "/cygdrive/d/slrn/edit.exe %s"
>> "cygdrive/d:/slrn/edit.exe %s"
>> "cygdrive/d/slrn/edit.exe %s"
>> "d:/slrn/edit.exe %s"
>> "d/slrn/edit.exe %s"
>> "edit.exe %s"
>>
>> all for
>>
>> set editor_command
>> set mail_editor_command
>> set post_editor_command
>> set score_editor_command
>>
>> set Home is set and und edit.exe exists in \home
>
> "set Home" is set to *what*?
>
> And if "edit.exe exists in \home", then why do the pathnames you
> quoted *not* contain "\home"?
>
> And what *is* "edit.exe"? The slrn_with_included_cygwin.zip archive
> does not seem to contain any edit.* and (MS-)Windows only has edit.com,
> not .exe, the "MS-DOS Editor", and that is not in any of the directories
> you mentioned (but probably in C:\WINDOWS\system32).
frydd - this is a good question. What is the editor you are
using? What about Vim for Windows?
>> What is the proper syntax?
>
> I don't use slrn, so I don't know the slrn syntax, but I do use Cygwin
> (with tin) and the Cygwin syntax is:
>
> /cygdrive/<windowsdriveletter>/<windowspathwithforwardslashes>
>
> So for example my .newsrc is:
>
> /cygdrive/c/home/franks/.newsrc
That looks like the second path he quoted above. Oh, wait -
almost:
set editor_command "/cygdrive/d/home/frydd/slrn/edit.exe %s"
assuming edit.exe exists and shouldn't be edit.com etc.
> I.e. from Cygwin's bash shell:
>
>> $ ls -l /cygdrive/c/home/franks/.newsrc
>> -rwx------ 1 franks None 1864 Aug 12 23:28 /cygdrive/c/home/franks/.newsrc
>> $
>
>> btw: a slrn installation for win works fine with the syntax set
>> editor_command "C:\\...\\edit.exe %s "
So why not use that?
--
Troy Piggins | http://piggo.com/~troy
___ | __ __ ,-O (o- O
slrn macros and howto: |___ | |/ |/ | O ) //\ O
http://piggo.com/~troy/slrn ___| | | | | `-O V_/_ OOO
Re: [slrn] Editor will not be found in cygwin-slrn
Author: Reinhard Irmer
Date: Tue, 14 Aug 2007 07:52
Date: Tue, 14 Aug 2007 07:52
92 lines
4985 bytes
4985 bytes
Troy Piggins wrote: > * Frank Slootweg is quoted & my replies are inline below : >> frydd <frydd@spamfence.net> wrote: > >>> hi group >>> >>> from http://www.foory.de/thw/slrn/packages/slrn_with_included_cygwin.zip >>> I installed slrn on a WinXP-machine. slrn works for fetching and >>> reading news. But if I try 2 make a followup or create a new post, >>> slrn says "Editor will not be found". >>> >>> In slrnrc I tried: >>> >>> "/cygdrive/d:/slrn/edit.exe %s" >>> "/cygdrive/d/slrn/edit.exe %s" >>> "cygdrive/d:/slrn/edit.exe %s" >>> "cygdrive/d/slrn/edit.exe %s" >>> "d:/slrn/edit.exe %s" >>> "d/slrn/edit.exe %s" >>> "edit.exe %s" >>> >>> all for >>> >>> set editor_command >>> set mail_editor_command >>> set post_editor_command >>> set score_editor_command >>> >>> set Home is set and und edit.exe exists in \home >> >> "set Home" is set to *what*? >> >> And if "edit.exe exists in \home", then why do the pathnames you >> quoted *not* contain "\home"? >> >> And what *is* "edit.exe"? an editor from win95 >> The slrn_with_included_cygwin.zip archive >> does not seem to contain any edit.* and (MS-)Windows only has edit.com, >> not .exe, the "MS-DOS Editor", and that is not in any of the directories >> you mentioned (but probably in C:\WINDOWS\system32). > frydd - this is a good question. What is the editor you are > using? What about Vim for Windows? I tried vim, but I didn't came up with this editor :-( >>> What is the proper syntax? >> >> I don't use slrn, so I don't know the slrn syntax, but I do use Cygwin >> (with tin) and the Cygwin syntax is: >> >> /cygdrive/<windowsdriveletter>/<windowspathwithforwardslashes> >> >> So for example my .newsrc is: >> >> /cygdrive/c/home/franks/.newsrc > That looks like the second path he quoted above. Oh, wait - > almost: > set editor_command "/cygdrive/d/home/frydd/slrn/edit.exe %s" > assuming edit.exe exists and shouldn't be edit.com etc. thnx, but meanwhile I cancelled the cygwininstallation of slrn, because I noticed charsetproblems too. So I returned to my fine-working w32-slrn [...] >>> btw: a slrn installation for win works fine with the syntax set >>> editor_command "C:\\...\\edit.exe %s " > So why not use that? I'm back -- regards frydd "German language is "Freeware", you can use it 4 free. But it is not "Open Source", so do not make changes"
Re: [slrn] Editor will not be found in cygwin-slrn
Author: Thomas Wiegner
Date: Tue, 14 Aug 2007 18:13
Date: Tue, 14 Aug 2007 18:13
57 lines
2990 bytes
2990 bytes
Hi, On Mon, 13 Aug 2007, frydd <frydd@spamfence.net> wrote: > from http://www.foory.de/thw/slrn/packages/slrn_with_included_cygwin.zip > I installed slrn on a WinXP-machine. slrn works for fetching and > reading news. But if I try 2 make a followup or create a new post, > slrn says "Editor will not be found". Hmm, this is really something I forgot to test, when I bundled this package. > In slrnrc I tried: > > "/cygdrive/d:/slrn/edit.exe %s" > "/cygdrive/d/slrn/edit.exe %s" > "cygdrive/d:/slrn/edit.exe %s" > "cygdrive/d/slrn/edit.exe %s" > "d:/slrn/edit.exe %s" > "d/slrn/edit.exe %s" > "edit.exe %s" Perhaps just for all the others, who asked why the heck you take the edit.exe command from windows. IMHO it makes sense to do that, because I tried to bundle the minimum required cygwin DLLs, so that there is no need to install cygwin. So of course one might take his favorite windows editor. > What is the proper syntax? Are you sure it is edit.exe? In my windows it is edit.com? What worked for me was to copy the edit.com to the slrn directory, rename it to slrn.exe and set the editor command to "edit %s" This will call the editor but unfortunatly this won't work either, because the path to the follow-up article will be a "unix" path, which edit.exe does not understand. So at the moment no "windows" only editor will work. Sorry, that was a thing I just did not think of. I could either patch slrn, so that it will work with a windows editor, but it is not sure that every editor will work, because slrn needs an editor which does not run in the background or I could try to bundle slrn with a cygwin editor e.g. like pico or nano, which should be easy to handle for a windows user. > btw: a slrn installation for win works fine with the syntax set > editor_command "C:\\...\\edit.exe %s " Yes, this was a real windows port? Cheers, Thomas
Re: [slrn] Editor will not be found in cygwin-slrn
Author: Thomas Wiegner
Date: Tue, 14 Aug 2007 18:15
Date: Tue, 14 Aug 2007 18:15
15 lines
1697 bytes
1697 bytes
On Tue, 14 Aug 2007, Reinhard Irmer <frydd@spamfence.net> wrote: > thnx, but meanwhile I cancelled the cygwininstallation of slrn, > because I noticed charsetproblems too. So I returned to my > fine-working w32-slrn Could you be a little bit more specific on that? What exactly were the problems? Which charset made problems. You have read what I wrote in the README.windows about the "charset Display" variable? Cheers, Thomas
Re: [slrn] Editor will not be found in cygwin-slrn
Author: Frank Slootweg
Date: Tue, 14 Aug 2007 20:36
Date: Tue, 14 Aug 2007 20:36
75 lines
3779 bytes
3779 bytes
Thomas Wiegner <wiegner@gmx.de> wrote: > Hi, > > On Mon, 13 Aug 2007, frydd <frydd@spamfence.net> wrote: > > > from http://www.foory.de/thw/slrn/packages/slrn_with_included_cygwin.zip > > I installed slrn on a WinXP-machine. slrn works for fetching and > > reading news. But if I try 2 make a followup or create a new post, > > slrn says "Editor will not be found". > > Hmm, this is really something I forgot to test, when I bundled this > package. > > > In slrnrc I tried: > > > > "/cygdrive/d:/slrn/edit.exe %s" > > "/cygdrive/d/slrn/edit.exe %s" > > "cygdrive/d:/slrn/edit.exe %s" > > "cygdrive/d/slrn/edit.exe %s" > > "d:/slrn/edit.exe %s" > > "d/slrn/edit.exe %s" > > "edit.exe %s" > > Perhaps just for all the others, who asked why the heck you take the > edit.exe command from windows. IMHO it makes sense to do that, because > I tried to bundle the minimum required cygwin DLLs, so that there is no > need to install cygwin. So of course one might take his favorite > windows editor. > > > What is the proper syntax? > > Are you sure it is edit.exe? In my windows it is edit.com? > What worked for me was to copy the edit.com to the slrn directory, > rename it to slrn.exe and set the editor command to "edit %s" You mean "rename it to edit.exe" (not "slrn.exe"), don't you? Just checking. > This will call the editor but unfortunatly this won't work either, > because the path to the follow-up article will be a "unix" path, > which edit.exe does not understand. I had a similar problem for my stand-alone tin package [1]. Therefor, I put this tidbit in the README.txt file (and included basename.exe in the package): <quote> vi editor: ---------- The included vi.exe file is a non-Cygwin version of the vim editor. Because that version does not understand Cygwin format /cygdrive/c/<path> paths, basename(1) has to be used to strip off everthing but the filename. So in .tin\tinrc change: default_editor_format=%E %N %F to: default_editor_format=vi +%N `basename %F` (note back-quotes before basename and after %F) Notepad editor: --------------- You can also use the (MS-Windows) Notepad editor instead of vi, but that will put the cursor at the top, instead of, as it should, just below the attribution line. You should set .tin\tinrc to: default_editor_format=notepad `basename %F` </quote> This basename(1) 'trick' should work for any editor and I assume that slrn can also handle the `basename ...` construct in its variables. I hope this helps. [1] See <ftp://ftp.tin.org/pub/news/clients/tin/binaries/win32>, files README and tin-1.6.2.sa.zip
Re: [slrn] Editor will not be found in cygwin-slrn
Author: Thomas Wiegner
Date: Thu, 16 Aug 2007 07:02
Date: Thu, 16 Aug 2007 07:02
49 lines
2937 bytes
2937 bytes
On 2007-08-14, Frank Slootweg <this@ddress.is.invalid> wrote: > You mean "rename it to edit.exe" (not "slrn.exe"), don't you? Just > checking. Ups, that was a typo, right. edit.exe is right. >> This will call the editor but unfortunatly this won't work either, >> because the path to the follow-up article will be a "unix" path, >> which edit.exe does not understand. > > I had a similar problem for my stand-alone tin package [1]. Therefor, > I put this tidbit in the README.txt file (and included basename.exe in > the package): > ><quote> > > vi editor: > ---------- > The included vi.exe file is a non-Cygwin version of the vim editor. > Because that version does not understand Cygwin format > /cygdrive/c/<path> paths, basename(1) has to be used to strip off > everthing but the filename. So in .tin\tinrc change: > default_editor_format=%E %N %F > to: > default_editor_format=vi +%N `basename %F` > (note back-quotes before basename and after %F) > > Notepad editor: > --------------- > You can also use the (MS-Windows) Notepad editor instead of vi, but that > will put the cursor at the top, instead of, as it should, just below the > attribution line. You should set .tin\tinrc to: > default_editor_format=notepad `basename %F` > ></quote> > > This basename(1) 'trick' should work for any editor and I assume that > slrn can also handle the `basename ...` construct in its variables. Thanks, for that hint, I'll check that. But I think one has to make some tricks with the $HOME or the $TMP variables, because slrn will try to edit the article either in the $HOME or in the $TMP directory. Cheers, Thomas
Re: [slrn] Editor will not be found in cygwin-slrn
Author: Thomas Wiegner
Date: Thu, 16 Aug 2007 20:03
Date: Thu, 16 Aug 2007 20:03
40 lines
2692 bytes
2692 bytes
On Thu, 16 Aug 2007, Thomas Wiegner <wiegner@gmx.de> wrote: >> Notepad editor: >> --------------- >> You can also use the (MS-Windows) Notepad editor instead of vi, but that >> will put the cursor at the top, instead of, as it should, just below the >> attribution line. You should set .tin\tinrc to: >> default_editor_format=notepad `basename %F` [ .. ] >> This basename(1) 'trick' should work for any editor and I assume that >> slrn can also handle the `basename ...` construct in its variables. > > Thanks, for that hint, I'll check that. But I think one has to > make some tricks with the $HOME or the $TMP variables, because > slrn will try to edit the article either in the $HOME or in the > $TMP directory. After a little bit more investigations it came out, that every tip I got worked fine as long as I have an installation of cygwin on my machine. The editor is found and all works good. If there is no cygwin on that machine, I could not start a editor, neither a cygwin one nor a windows one. All with the same slrnrc and editor settings. The idea of my package was not to need a cygwin installation, I just wanted to add the needed DLLs to the package so everything would work fine. It seems I forgot something, but at the moment I don't have clue. Is there a cygwin expert here, who could point out, what I've forgotten? Wrong environment variables? Missing DLL? Do I need a shell additionally installed? Cheers, Thomas
Re: Editor will not be found in cygwin-slrn
Author: frydd
Date: Fri, 17 Aug 2007 07:49
Date: Fri, 17 Aug 2007 07:49
53 lines
3478 bytes
3478 bytes
On 16 Aug., 22:03, Thomas Wiegner <wieg...@gmx.de> wrote:
> On Thu, 16 Aug 2007, Thomas Wiegner <wieg...@gmx.de> wrote:
> >> Notepad editor:
> >> ---------------
> >> You can also use the (MS-Windows) Notepad editor instead of vi, but that
> >> will put the cursor at the top, instead of, as it should, just below the
> >> attribution line. You should set .tin\tinrc to:
> >> default_editor_format=notepad `basename %F`
>
> [ .. ]
>
> >> This basename(1) 'trick' should work for any editor and I assume that
> >> slrn can also handle the `basename ...` construct in its variables.
>
> > Thanks, for that hint, I'll check that. But I think one has to
> > make some tricks with the $HOME or the $TMP variables, because
> > slrn will try to edit the article either in the $HOME or in the
> > $TMP directory.
>
> After a little bit more investigations it came out, that every tip
> I got worked fine as long as I have an installation of cygwin on my
> machine. The editor is found and all works good.
>
> If there is no cygwin on that machine, I could not start a editor,
> neither a cygwin one nor a windows one. All with the same slrnrc and
> editor settings.
>
> The idea of my package was not to need a cygwin installation, I just
> wanted to add the needed DLLs to the package so everything would work
> fine.
>
> It seems I forgot something, but at the moment I don't have clue.
> Is there a cygwin expert here, who could point out, what I've forgotten?
> Wrong environment variables? Missing DLL? Do I need a shell additionally
> installed?
I'm not a programmer, but my cygwin-running tin-version 1.6.2. (look:
ftp://ftp.cs.tu-berlin.de/pub/net/news/tin/binaries/win32/ ) contains:
cygiconv-2.dll
cygintl-2.dll
cygncurses7.dll
cygwin1.dll
sh.exe
basename.exe
chmod.exe
hth
regards
frydd
Re: [slrn] Editor will not be found in cygwin-slrn
Author: Frank Slootweg
Date: Fri, 17 Aug 2007 18:01
Date: Fri, 17 Aug 2007 18:01
54 lines
3422 bytes
3422 bytes
Thomas Wiegner <wiegner@gmx.de> wrote: [deleted] > > Thanks, for that hint, I'll check that. But I think one has to > > make some tricks with the $HOME or the $TMP variables, because > > slrn will try to edit the article either in the $HOME or in the > > $TMP directory. > > After a little bit more investigations it came out, that every tip > I got worked fine as long as I have an installation of cygwin on my > machine. The editor is found and all works good. > > If there is no cygwin on that machine, I could not start a editor, > neither a cygwin one nor a windows one. All with the same slrnrc and > editor settings. > > The idea of my package was not to need a cygwin installation, I just > wanted to add the needed DLLs to the package so everything would work > fine. > > It seems I forgot something, but at the moment I don't have clue. > Is there a cygwin expert here, who could point out, what I've forgotten? > Wrong environment variables? Missing DLL? Do I need a shell additionally > installed? I am my no means a Cygwin expert, but for my tin package $HOME c.q. %HOME% and the [\cygwin\]tmp directory were indeed important. Please see the README.txt and tin.bat files *in* my package[1]. For example for the tmp directory my README.txt says this: <quote> Create \cygwin\tmp directory: ----------------------------- You need to create a \cygwin\tmp directory for temporary files (for example for viewing, i.e. reading, articles). Note: Setting the tin environment variable TMPDIR does not help, probably due to forward versus backward slashes or/and \cygwin\ versus /cygdrive/c/ versus \ versus / pathname differences </quote> What helped me when I was creating my tin package was to let the newsreader (i.e. in your case slrn) invoke something *other* than an editor, i.e. like some simple command which doesn't need any external stuff and just generates some output so you can check whether it works or not, i.e. something like "ls -l" or a similar (*external*, not built-in)) 'DOS' command. HTH. [1] <ftp://ftp.tin.org/pub/news/clients/tin/binaries/win32/tin-1.6.2.sa.zip>
Re: [slrn] Editor will not be found in cygwin-slrn
Author: Frank Slootweg
Date: Fri, 17 Aug 2007 18:58
Date: Fri, 17 Aug 2007 18:58
43 lines
3064 bytes
3064 bytes
Earlier, I wrote:
[deleted]
> I am my no means a Cygwin expert, but for my tin package $HOME c.q.
> %HOME% and the [\cygwin\]tmp directory were indeed important. Please
> see the README.txt and tin.bat files *in* my package[1].
[...]
> [1] <ftp://ftp.tin.org/pub/news/clients/tin/binaries/win32/tin-1.6.2.sa.zip>
FYI, this is the list of files and directories in my package. Perhaps
that leads to a clue.
$ unzip -l tin-1.6.2.sa
Archive: tin-1.6.2.sa.zip
Length Date Time Name
-------- ---- ---- ----
4060 03-09-04 15:31 README.txt
76984 27-08-04 12:07 tin-1.6.2.man.5.txt
124877 25-08-04 12:15 tin-1.6.2.man.txt
482 27-08-04 10:40 tin.bat
525824 21-03-04 16:31 tin_exe.exe
647680 16-01-00 18:04 vi.exe
0 25-08-04 16:23 cygwin/
0 27-08-04 12:11 cygwin/bin/
23552 24-07-03 07:14 cygwin/bin/basename.exe
29184 13-07-03 17:23 cygwin/bin/chmod.exe
980992 10-08-03 22:59 cygwin/bin/cygiconv-2.dll
37888 11-08-03 00:15 cygwin/bin/cygintl-2.dll
229376 09-08-03 11:44 cygwin/bin/cygncurses7.dll
1126281 19-03-04 05:06 cygwin/bin/cygwin1.dll
74240 27-01-04 11:14 cygwin/bin/sh.exe
0 27-08-04 12:11 cygwin/etc/
0 27-08-04 11:38 cygwin/etc/tin/
19 27-08-04 11:38 cygwin/etc/tin/tin.defaults
0 27-08-04 12:26 cygwin/tmp/
0 19-08-04 09:45 cygwin/usr/
0 27-08-04 12:13 cygwin/usr/share/
0 19-08-04 09:45 cygwin/usr/share/terminfo/
0 19-08-04 09:46 cygwin/usr/share/terminfo/c/
1532 02-08-03 21:35 cygwin/usr/share/terminfo/c/cygwin
-------- -------
3882971 24 files
$
Re: [slrn] [solved] Editor will not be found in cygwin-slrn
Author: Thomas Wiegner
Date: Sat, 18 Aug 2007 09:48
Date: Sat, 18 Aug 2007 09:48
19 lines
1569 bytes
1569 bytes
Hi Folks, the problem is solved. You can download a new package from my webiste. I included nano as an editor, but you should also be able to take your favorite Windows editor. Please customize the included slrnrc and slrn.bat according to your setup. Thanks to Frank and Rainhard for pointing out the right direction. I had to include a shell, but I also had to apply a small patch to the included slang library. Cheers, Thomas -- slrn charset patches: http://www.foory.de/thw/slrn/
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