🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Thread View: news.software.readers
21 messages
21 total messages Started by Markku Lehtola Tue, 18 Feb 2003 08:38
Slrn with OpenSSH
#120336
Author: Markku Lehtola
Date: Tue, 18 Feb 2003 08:38
16 lines
1551 bytes
So,

I have been trying to get this work..and now I have OpenSSH and slrn
installed and running, but when I try to start slrn over ssh it just says:

"unable to determine the screen size"

ok, this seems to be a bug in s-lang or something. (yes, I tried to use
smaller window size, less than 80 lines, but it didn't work)

So, is there anything to do...is this working 100% with cygwin (and how is
it made?) or should I just stop trying?

Markku

Re: Slrn with OpenSSH
#120382
Author: G. Wolfe Woodbury
Date: Wed, 19 Feb 2003 04:37
27 lines
2197 bytes
Markku Lehtola <markku@markkulehtola_NOSPAM.net> shaped electrons to say:
> So,
> 
> I have been trying to get this work..and now I have OpenSSH and slrn
> installed and running, but when I try to start slrn over ssh it just says:
> 
> "unable to determine the screen size"
> 
> ok, this seems to be a bug in s-lang or something. (yes, I tried to use
> smaller window size, less than 80 lines, but it didn't work)
> 
> So, is there anything to do...is this working 100% with cygwin (and how is
> it made?) or should I just stop trying?

slrn tries to do some system calls to determine the screen window size,
with SSH in the middle, you don't have a connection that allows those
system calls to work.

The workaround is to use ssh to open something like an xterm on the
local system, and then running slrn from the command line.  I do that
via PuTTY from Win98, or xterm from other linux boxen.

-- 
Gregory G. "Wolfe" Woodbury      `-_-'    Owner/Admin: wolves.durham.nc.us
ggw at wolves.durham.nc.us         U      
"The Line Eater is a boojum snark."     Hug your wolf.
Re: Slrn with OpenSSH
#120384
Author: Markku Lehtola
Date: Wed, 19 Feb 2003 06:58
38 lines
2672 bytes
G. Wolfe Woodbury wrote:

> Markku Lehtola <markku@markkulehtola_NOSPAM.net> shaped electrons to say:
> > So,
> > 
> > I have been trying to get this work..and now I have OpenSSH and slrn
> > installed and running, but when I try to start slrn over ssh it just says:
> > 
> > "unable to determine the screen size"
> > 
> > ok, this seems to be a bug in s-lang or something. (yes, I tried to use
> > smaller window size, less than 80 lines, but it didn't work)
> > 
> > So, is there anything to do...is this working 100% with cygwin (and how is
> > it made?) or should I just stop trying?

> slrn tries to do some system calls to determine the screen window size,
> with SSH in the middle, you don't have a connection that allows those
> system calls to work.

> The workaround is to use ssh to open something like an xterm on the
> local system, and then running slrn from the command line.  I do that
> via PuTTY from Win98, or xterm from other linux boxen.

I'm already using PuTTY to connect to NT4 machine, but it doesn't make any
difference. I have also tried with "Tera Term Pro Web" without luck.

All computers involved are windows machines (sshd is on NT4 and the
"clients" are usually win2k machines).

Or..are you saying that I should have ssh installed to local machine as
well and run PuTTY with that? That's not a good idea because then I have
to install ssh for every machine I use (lot's of them, and not all mine)

Can you tell me axactly how you do it?


Re: Slrn with OpenSSH
#120389
Author: wannes
Date: Wed, 19 Feb 2003 11:20
23 lines
1771 bytes
Markku Lehtola <markku@markkulehtola_NOSPAM.net> schreef:
> So,
> 
> I have been trying to get this work..and now I have OpenSSH and slrn
> installed and running, but when I try to start slrn over ssh it just says:
> 
> "unable to determine the screen size"
> 
> ok, this seems to be a bug in s-lang or something. (yes, I tried to use
> smaller window size, less than 80 lines, but it didn't work)
> 
> So, is there anything to do...is this working 100% with cygwin (and how is
> it made?) or should I just stop trying?

Not really helpfull but...
Over here it just works(tm), out of the box :)

slrn on my debian-pc, sshd on the same, and putty on the XP-crap-pc from
my mother...

-- 
wannes
Re: Slrn with OpenSSH
#120394
Author: Markku Lehtola
Date: Wed, 19 Feb 2003 13:21
42 lines
2627 bytes
wannes wrote:

> Markku Lehtola <markku@markkulehtola_NOSPAM.net> schreef:
> > So,
> > 
> > I have been trying to get this work..and now I have OpenSSH and slrn
> > installed and running, but when I try to start slrn over ssh it just says:
> > 
> > "unable to determine the screen size"
> > 
> > ok, this seems to be a bug in s-lang or something. (yes, I tried to use
> > smaller window size, less than 80 lines, but it didn't work)
> > 
> > So, is there anything to do...is this working 100% with cygwin (and how is
> > it made?) or should I just stop trying?

> Not really helpfull but...
> Over here it just works(tm), out of the box :)

> slrn on my debian-pc, sshd on the same, and putty on the XP-crap-pc from
> my mother...

I'm beginning to think that I have to change NT4 to Linux, but for me it's
not an easy task and I will loose some of the nice remote control features
that I have now with NT4.

How about that cygwin, can I run bash directly from PuTTY for example to
make this work.

I tried to run NT4's EDIT through ssh and PuTTY but it doesn't work, so
any "graphical" software (like slrn) will fail with my current
compination..

I just would like to read news with slrn-like fast software remotely from
my home pc..but it seems to be quite impossible ;-)

Other possible idea is to run newsserver at home and use local slrn to
connect that, any suggestons for free server software?



Re: Slrn with OpenSSH
#120395
Author: SINNER
Date: Wed, 19 Feb 2003 14:09
15 lines
1783 bytes
While strolling through news.software.readers, Markku Lehtola was overheard plotting:
 
> Other possible idea is to run newsserver at home and use local slrn to
> connect that, any suggestons for free server software?
> 
> 
 
leafnode for *nix
Hamster for Win

-- 
David
Unless you love someone, nothing else makes any sense.
		-- e.e. cummings
Re: Slrn with OpenSSH
#120396
Author: G. Wolfe Woodbury
Date: Wed, 19 Feb 2003 15:22
31 lines
2461 bytes
Markku Lehtola <markku@markkulehtola_NOSPAM.net> shaped electrons to say:
> G. Wolfe Woodbury wrote:
 
>> The workaround is to use ssh to open something like an xterm on the
>> local system, and then running slrn from the command line.  I do that
>> via PuTTY from Win98, or xterm from other linux boxen.
> 
> I'm already using PuTTY to connect to NT4 machine, but it doesn't make any
> difference. I have also tried with "Tera Term Pro Web" without luck.
> 
> All computers involved are windows machines (sshd is on NT4 and the
> "clients" are usually win2k machines).
> 
> Or..are you saying that I should have ssh installed to local machine as
> well and run PuTTY with that? That's not a good idea because then I have
> to install ssh for every machine I use (lot's of them, and not all mine)
> 
> Can you tell me axactly how you do it?

I'm in a slightly different environment.  I'm using PuTTY to a linux
box, not to a cygwin environment.  I suspect that there is a subtle
difference in the way that cygwin sets up the environment.

Sorry I can't be of more help. 


-- 
Gregory G. "Wolfe" Woodbury      `-_-'    Owner/Admin: wolves.durham.nc.us
ggw at wolves.durham.nc.us         U      
"The Line Eater is a boojum snark."     Hug your wolf.
Re: Slrn with OpenSSH
#120399
Author: MikeV99
Date: Wed, 19 Feb 2003 16:37
31 lines
1866 bytes
wannes wrote:

> Markku Lehtola <markku@markkulehtola_NOSPAM.net> schreef:
> > So,
> > 
> > I have been trying to get this work..and now I have OpenSSH and slrn
> > installed and running, but when I try to start slrn over ssh it just says:

> Not really helpfull but...
> Over here it just works(tm), out of the box :)

> slrn on my debian-pc, sshd on the same, and putty on the XP-crap-pc from
> my mother...

I am running leafnode, squirrelmail w/nntp plugin on a RH 7.1 on a remote
box (no X, no local access). The nntp plugin is quite rudimentary ... so I
am looking for alternatives.

Any pros/cons you care to share about using slrn via a ssh session?

How does slrn compare with tin in the same environment?

One concern I have is how to establish ssh sessions when traveling and
using someone else's windows machine (I would assume all Linux boxes have
a ssh client).  Will putty work off of a floppy?

Thanks, Mike.



Re: Slrn with OpenSSH
#120402
Author: wannes
Date: Wed, 19 Feb 2003 17:05
25 lines
1919 bytes
MikeV99 <me@privacy.net> schreef:
> 
> Any pros/cons you care to share about using slrn via a ssh session?

No cons actually... :-)
 
> How does slrn compare with tin in the same environment?
 
Dunno, never used tin, but slrn works in putty just like in an
Xterm/console/...

> One concern I have is how to establish ssh sessions when traveling and
> using someone else's windows machine (I would assume all Linux boxes have
> a ssh client).  Will putty work off of a floppy?

Yes, i thought that having the putty.exe was/is enough...
Ans if it doesn(t fit on a floppy, you could give
<url:http://upx.sf.net/> a try

Disclaimer :) : you should ask someone els wether putty doesn't store
sensitive information in the registry or something like that...

-- 
wannes
Re: Slrn with OpenSSH
#120403
Author: I R A Darth Aggie
Date: Wed, 19 Feb 2003 17:12
15 lines
1445 bytes
On 19 Feb 2003 10:37:10 -0600,
MikeV99 <me@privacy.net>, in
<0inci-195.ln1@news.mycomputer> wrote:

+>  Will putty work off of a floppy?

Yes.

James
-- 
Consulting Minister for Consultants, DNRC
I can please only one person per day. Today is not your day. Tomorrow
isn't looking good, either.
I am BOFH. Resistance is futile. Your network will be assimilated.
Re: Slrn with OpenSSH
#120405
Author: John E. Davis
Date: Wed, 19 Feb 2003 18:25
14 lines
1390 bytes
On Tue, 18 Feb 2003 08:38:36 +0000 (UTC), Markku Lehtola <markku@markkulehtola_NOSPAM.net>
wrote:
>So, is there anything to do...is this working 100% with cygwin (and how is
>it made?) or should I just stop trying?

How did you compile the slang library?  Did you compile it as a native
win32 library, or as a unix library in the cygwin environment
(./configure; make)?  If you compiled it as a win32 library, then you
may see this error when running under a unix-like environment.  I
suggest that you compile it and slrn for cygwin.

Good luck,
--John
Re: Slrn with OpenSSH
#120425
Author: MikeV99
Date: Wed, 19 Feb 2003 23:37
22 lines
1625 bytes
I R A Darth Aggie wrote:

> On 19 Feb 2003 10:37:10 -0600,
> MikeV99 <me@privacy.net>, in
> <0inci-195.ln1@news.mycomputer> wrote:

> +>  Will putty work off of a floppy?

> Yes.

Oooo, that makes it a bit easier. I was thinking about using VNC, but do
not know if it will run on a RH 7.1 machine. That would make ssh a mute
issue.  Also, horde has just released a snapshot version of Troll, their
php server web based news reader that I may need to test. Do not know
anything about the features though.

Thanks to all for the responses.

Mike.


Re: Slrn with OpenSSH
#120440
Author: Markku Lehtola
Date: Thu, 20 Feb 2003 06:54
36 lines
2413 bytes
MikeV99 wrote:

> I R A Darth Aggie wrote:

> > On 19 Feb 2003 10:37:10 -0600,
> > MikeV99 <me@privacy.net>, in
> > <0inci-195.ln1@news.mycomputer> wrote:

> > +>  Will putty work off of a floppy?

> > Yes.

> Oooo, that makes it a bit easier. I was thinking about using VNC, but do
> not know if it will run on a RH 7.1 machine. That would make ssh a mute
> issue.

I'm using vnc (eSVNC actually) and the reason why I would like to get rid
of it and use plain PuTTY/OpenSSH/Slrn instead is that it's faster because
there is just simple text based data to transfer instead of win GUI that
is not needed for slrn usage.

I think that Tera Term Pro Web should work also from floppy..but I haven't
tested it myself yet. PuTTY saves atleast putty.rnd to c:\ (default
location I guess), I don't know if you can change that. PuTTY's log file
location you can modify yourself.   

  Also, horde has just released a snapshot version of Troll, their
> php server web based news reader that I may need to test. Do not know
> anything about the features though.

There is demosite for whole Horde including Troll, features are quite the
same with NewsPortal, so slrn or Pine still kicks butt ;-) 

Markku

Re: Slrn (or Pine) with OpenSSH
#120442
Author: Markku Lehtola
Date: Thu, 20 Feb 2003 07:04
34 lines
2589 bytes
John E. Davis wrote:

> On Tue, 18 Feb 2003 08:38:36 +0000 (UTC), Markku Lehtola
<markku@markkulehtola_NOSPAM.net>
> wrote:
> >So, is there anything to do...is this working 100% with cygwin (and how is
> >it made?) or should I just stop trying?

> How did you compile the slang library?  Did you compile it as a native
> win32 library, or as a unix library in the cygwin environment
> (./configure; make)?  If you compiled it as a win32 library, then you
> may see this error when running under a unix-like environment.  I
> suggest that you compile it and slrn for cygwin.

Actually I have fully working cygwin installed..I did it last evening. I
figured out that "hey, there is Pine included in cygwin, why should I need
slrn"..so I'm using Pine for news and can use email as well if needed.

BUT, as always with these bloody computers, there is something wrong ;-)
Now my firewall doesn't understand to open port for sshd. I have Norton
Personal Firewall 2001 that usually asks me what to do when any software
tries to use internet connection, but with sshd it doesn't do anything.
Locally ssh works fine, but from outside, no way.

I tried to manually configure firewall to permit all connections for sshd,
but no luck. If I shutdown firewall it works also from outside, so the
problem is definately firewall and nothing else..

Is there other binaries in cygwin that are trying to use my connection and
should be set in firewall also?

Markku 

Re: Slrn with OpenSSH
#120443
Author: Markku Lehtola
Date: Thu, 20 Feb 2003 07:09
40 lines
2440 bytes
MikeV99 wrote:

> wannes wrote:

> > Markku Lehtola <markku@markkulehtola_NOSPAM.net> schreef:
> > > So,
> > > 
> > > I have been trying to get this work..and now I have OpenSSH and slrn
> > > installed and running, but when I try to start slrn over ssh it just
says:

> > Not really helpfull but...
> > Over here it just works(tm), out of the box :)

> > slrn on my debian-pc, sshd on the same, and putty on the XP-crap-pc from
> > my mother...

> I am running leafnode, squirrelmail w/nntp plugin on a RH 7.1 on a remote
> box (no X, no local access). The nntp plugin is quite rudimentary ... so I
> am looking for alternatives.

> Any pros/cons you care to share about using slrn via a ssh session?

> How does slrn compare with tin in the same environment?

I do not even consider tin, it's like 2D compared to 3D I think ;-)

> One concern I have is how to establish ssh sessions when traveling and
> using someone else's windows machine (I would assume all Linux boxes have
> a ssh client).  Will putty work off of a floppy?

ssh client comes with linux and if you are using windows you can always
use PuTTY or Tera Term Pro Web (new version with ssh, not add-on like the
old one) for example. I keep mine in webmail folder so it's always
available.

Markku


Re: Slrn (or Pine) with OpenSSH
#120449
Author: Markku Lehtola
Date: Thu, 20 Feb 2003 12:05
42 lines
3098 bytes
Markku Lehtola wrote:

> John E. Davis wrote:

> > On Tue, 18 Feb 2003 08:38:36 +0000 (UTC), Markku Lehtola
> <markku@markkulehtola_NOSPAM.net>
> > wrote:
> > >So, is there anything to do...is this working 100% with cygwin (and how is
> > >it made?) or should I just stop trying?

> > How did you compile the slang library?  Did you compile it as a native
> > win32 library, or as a unix library in the cygwin environment
> > (./configure; make)?  If you compiled it as a win32 library, then you
> > may see this error when running under a unix-like environment.  I
> > suggest that you compile it and slrn for cygwin.

> Actually I have fully working cygwin installed..I did it last evening. I
> figured out that "hey, there is Pine included in cygwin, why should I need
> slrn"..so I'm using Pine for news and can use email as well if needed.

> BUT, as always with these bloody computers, there is something wrong ;-)
> Now my firewall doesn't understand to open port for sshd. I have Norton
> Personal Firewall 2001 that usually asks me what to do when any software
> tries to use internet connection, but with sshd it doesn't do anything.
> Locally ssh works fine, but from outside, no way.

> I tried to manually configure firewall to permit all connections for sshd,
> but no luck. If I shutdown firewall it works also from outside, so the
> problem is definately firewall and nothing else..

> Is there other binaries in cygwin that are trying to use my connection and
> should be set in firewall also?

> Markku


Jeee...what a nightmare. Pine is not very good with spam (headers;from)
and I thought that let's compile slrn instead..well s-lang went ok, but
now slrn wants sendmail and I don't know how to tell in slrnfeat.h that
use ssmtp instead. I don't want sendmail...  

Re: Slrn (or Pine) with OpenSSH
#120451
Author: Rudy Taraschi
Date: Thu, 20 Feb 2003 14:07
18 lines
1826 bytes
Markku Lehtola wrote:

> Jeee...what a nightmare. Pine is not very good with spam (headers;from)
> and I thought that let's compile slrn instead..well s-lang went ok, but
> now slrn wants sendmail and I don't know how to tell in slrnfeat.h that
> use ssmtp instead. I don't want sendmail...  

It's one of the ./configure options:

      --with-mta[=PATHNAME]   To use an alternate mail transport agent

Cheers!

-- 
Rudy Taraschi - r�d�
                 at
               cae.com
Re: Slrn (or Pine) with OpenSSH
#120497
Author: Markku Lehtola
Date: Fri, 21 Feb 2003 08:31
61 lines
3615 bytes
In article <b32g98$90a$1@phys-news1.kolumbus.fi>, Markku Lehtola wrote:
> Markku Lehtola wrote:
> 
>> John E. Davis wrote:
> 
>> > On Tue, 18 Feb 2003 08:38:36 +0000 (UTC), Markku Lehtola
>> <markku@markkulehtola_NOSPAM.net>
>> > wrote:
>> > >So, is there anything to do...is this working 100% with cygwin (and how is
>> > >it made?) or should I just stop trying?
> 
>> > How did you compile the slang library?  Did you compile it as a native
>> > win32 library, or as a unix library in the cygwin environment
>> > (./configure; make)?  If you compiled it as a win32 library, then you
>> > may see this error when running under a unix-like environment.  I
>> > suggest that you compile it and slrn for cygwin.
> 
>> Actually I have fully working cygwin installed..I did it last evening. I
>> figured out that "hey, there is Pine included in cygwin, why should I need
>> slrn"..so I'm using Pine for news and can use email as well if needed.
> 
>> BUT, as always with these bloody computers, there is something wrong ;-)
>> Now my firewall doesn't understand to open port for sshd. I have Norton
>> Personal Firewall 2001 that usually asks me what to do when any software
>> tries to use internet connection, but with sshd it doesn't do anything.
>> Locally ssh works fine, but from outside, no way.
> 
>> I tried to manually configure firewall to permit all connections for sshd,
>> but no luck. If I shutdown firewall it works also from outside, so the
>> problem is definately firewall and nothing else..
> 
>> Is there other binaries in cygwin that are trying to use my connection and
>> should be set in firewall also?
> 
>> Markku
> 
> 
> Jeee...what a nightmare. Pine is not very good with spam (headers;from)
> and I thought that let's compile slrn instead..well s-lang went ok, but
> now slrn wants sendmail and I don't know how to tell in slrnfeat.h that
> use ssmtp instead. I don't want sendmail...  
> 

Now we are cooking.. I finally made it..now I'm sitting here at work and 
using cygwin on NT4 (at home)/slrn/ssh/PuTTY/ssmtp..what else, well Pico 
as well ;-)

I have to say that this is a LOT faster over my adsl connection than 
NewsPortal or anything else 
that I have tried so far, I can't see any lack on speed. GREAT!! Thanks 
all who helped me with this one..this gives me the feeling that maybe I 
should switch back to Linux some day, it should be little bit better than 
4 years ago.

If anyone needs help with similar "project", I can try to help you out 
there..

regards

Markku
Re: Slrn (or Pine) with OpenSSH
#120896
Author: Markku Lehtola
Date: Thu, 27 Feb 2003 06:19
25 lines
1820 bytes
In article <slrnb59ohj.vc.rudy@142.39.20.3>, Rudy Taraschi wrote:
> Markku Lehtola wrote:
> 
>> Jeee...what a nightmare. Pine is not very good with spam (headers;from)
>> and I thought that let's compile slrn instead..well s-lang went ok, but
>> now slrn wants sendmail and I don't know how to tell in slrnfeat.h that
>> use ssmtp instead. I don't want sendmail...  
> 
> It's one of the ./configure options:
> 
>       --with-mta[=PATHNAME]   To use an alternate mail transport agent
> 
> Cheers!
> 

Yes, I found that myself after 1 hour wondering..everything is working 
now, very fast and cool :-)


-- 



www.markkulehtola.net
Re: Slrn with OpenSSH
#121353
Author: Thomas Schultz
Date: Thu, 06 Mar 2003 17:52
19 lines
1707 bytes
* Markku Lehtola [2003-02-18 08:38] :
[...]
> So, is there anything to do...is this working 100% with cygwin (and
> how is it made?) or should I just stop trying?

I don't know much about Cygwin, so I'm not sure that I'll be able to
help you - maybe one of the Cygwin users on the slrn-user mailing list
can tell you more (see <http://slrn.sf.net/#sect_slrnuser> for
details).

Anyway, did you compile slang using the configure script or using the
mkmake executable? In recent versions, configure is the recommended
way both for slang and for slrn.
-- 
Thomas Schultz <tststs@gmx.de>  News on slrn: http://slrn.sf.net/news.html
.-----------------------------. [2002-03-13] slrn 0.9.7.4 is out
| Home of the slrn newsreader | [2002-02-03] Screenshot page online
| http://slrn.sourceforge.net | [2002-02-03] "Port" to Mac OS X
Re: Slrn with OpenSSH
#121416
Author: Markku Lehtola
Date: Fri, 07 Mar 2003 06:43
26 lines
2073 bytes
In article <slrnb6f2mp.1ci.tststs@moonlight.tststs.ddns.org>, Thomas Schultz wrote:
> * Markku Lehtola [2003-02-18 08:38] :
> [...]
>> So, is there anything to do...is this working 100% with cygwin (and
>> how is it made?) or should I just stop trying?
> 
> I don't know much about Cygwin, so I'm not sure that I'll be able to
> help you - maybe one of the Cygwin users on the slrn-user mailing list
> can tell you more (see <http://slrn.sf.net/#sect_slrnuser> for
> details).
> 
> Anyway, did you compile slang using the configure script or using the
> mkmake executable? In recent versions, configure is the recommended
> way both for slang and for slrn.

Everything is working just fine with Cygwin, little bit problems how to 
compile slrn (to use ssmtp and not sendmail), but figured that out and now 
this is running like a dream. Next big plan is to have one pc for Linux 
only and install that again after 5 years. I need w*ndows only for 3D-CAD.

-- 



www.markkulehtola.net
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