🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Thread View: news.software.readers
3 messages
3 total messages Started by Steven Schneider Tue, 08 Jul 2003 22:50
[slrn] Stack Underflow? Using Gnupg.
#128079
Author: Steven Schneider
Date: Tue, 08 Jul 2003 22:50
12 lines
1935 bytes
Hi,

I'm using Slrn 0.9.7.4 and am trying to use the gnupg.sl macro which
I dl'd from http://digilander.iol.it/ebassi/slrn/gnupg.sl.  But when
I run it I get a stack underflow error message.

Is there some modification that I'm supposed to make to gnupg.sl, or
my .slrnrc to avoid this error?  To my .gnupg/gpg.conf?

Thanks,
-- 
W. Steven Schneider <mail.2.galvanometer@antichef.com>
Re: [slrn] Stack Underflow? Using Gnupg.
#128089
Author: Steven Schneider
Date: Wed, 09 Jul 2003 02:15
23 lines
1800 bytes
Steven Schneider <mail.2.galvanometer@antichef.com>:
> Hi,
> 
> I'm using Slrn 0.9.7.4 and am trying to use the gnupg.sl macro which
> I dl'd from http://digilander.iol.it/ebassi/slrn/gnupg.sl.  But when
> I run it I get a stack underflow error message.
> 
> Is there some modification that I'm supposed to make to gnupg.sl, or
> my .slrnrc to avoid this error?  To my .gnupg/gpg.conf?
> 
> Thanks,

Following up my own post.  :)

Actually I think I figured it out.  I was examining the macro when I
saw that I had to enter the default key, which I hadn't done yet.
Once I had that entered every thing seemed to work fine.  Thanks
anyhow.  :)

Btw, what exactly is a stack underflow error?

-- 
W. Steven Schneider <mail.2.galvanometer@antichef.com>
Re: [slrn] Stack Underflow? Using Gnupg.
#128097
Author: J.B. Nicholson-Owens
Date: Wed, 09 Jul 2003 05:00
26 lines
1824 bytes
[Followups set to alt.lang.s-lang where S-Lang discussions happen.]

Steven Schneider wrote:
> Btw, what exactly is a stack underflow error?

It happens when a function tries to pull a value off the stack and there
isn't a value to pull.

For example, consider this simple function call:

   blah (1, 2, 3);

pushes three values on the stack.  If blah() is defined as

   define blah (a, b, c, d) { ... }

then there will be a stack underflow because S-Lang wants to pull 4 values
(a, b, c, and d) off the stack to set those variables.  But the caller of
blah() only provided 3 values.  The way to fix this--change blah() or
somehow supply the missing value.

A stack overflow error, in case you're curious, is just the opposite--a
program is trying to push more values on the stack than the stack can hold.

Happy hacking.
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