Article View: gnu.misc.discuss
Article #72331Re: Yet more GNU licensings...
From: Maurizio Vitale
Date: Sat, 22 Feb 1992 09:30
Date: Sat, 22 Feb 1992 09:30
152 lines
3926 bytes
3926 bytes
I'd wanted to state my position regarding FSF, the things that I like of it
(many) and the things I dislike (very few). For this time I'll save your time
because:
1) I think everyone has much better use of his time
2) I can figure out some of the answer of some FSF esponents
3) FSF is not interested in anyone's else feelings about his policies
after having seen a lot of discussions on how to defeat the GPL or the LGPL I
want to add my own (the single thing I dont like about FSF is the presence
of restriction like the GPL or LGPL).:
suppose I have a great program like this:
#include <stdio.h>
main()
{
char * line;
while(1)
line=readline("hoarding> ");
}
char *
readline(char *s)
{
static line[100];
printf(s);
scanf("%s",line);
return line;
}
which includes a modified version of GNU readline. I *sell* the binary for my application with a notice saying:
"In order to comply with GPL (LGPL) we offer the complete source for our application for xx $$. Please notice that this will not do any good to you
so in order to save your money don't ask for the source"
Ok, someone pays the dollars asked and want the source:
Version 1:
gcc_compiled.:
.text
LC0:
.ascii "hoarding> \0"
.align 4
.global _main
.proc 1
_main:
!#PROLOGUE# 0
save %sp,-120,%sp
!#PROLOGUE# 1
nop
L2:
sethi %hi(LC0),%o0
or %lo(LC0),%o0,%o0
call _readline,0
nop
st %o0,[%fp-20]
b L2
nop
L3:
L1:
ret
restore
.reserve _line.0,400,"bss"
LC1:
.ascii "%s\0"
.align 4
.global _readline
.proc 1
_readline:
!#PROLOGUE# 0
save %sp,-112,%sp
!#PROLOGUE# 1
st %i0,[%fp+68]
ld [%fp+68],%o0
call _printf,0
nop
sethi %hi(LC1),%o0
or %lo(LC1),%o0,%o0
sethi %hi(_line.0),%o1
or %lo(_line.0),%o1,%o1
call _scanf,0
nop
sethi %hi(_line.0),%i0
or %lo(_line.0),%i0,%i0
b L4
nop
L4:
ret
restore
... Sorry we do program in assembler and we like to place the label
gcc_compiled in front of all our programs
hey the source must be C (why?):
version 2:
main()
{
asm(".ascii "hoarding> \0");
asm(".align 4"
... etc
}
hey the source must be ANSI C (wwhhyyy?):
Version 3:
main()
{
char* qwxxx;
L:
qwxxx = qwxyx(kkkk);
goto L;
}
char*
qwxyx(char* qwyxy)
{
static k
etc...
}
While I hope that no one will use that kind of unfriendly distribution of
source code what in the GPL can prevent it?
Sorry, but I couldn't resist.
----------
e-mail: Maurizio.Vitale@dist.dist.unige.it
foobar@dist.dist.unige.it (if the previous one doesn't work)
s-mail: Maurizio Vitale
via Monaco Simone 1/14
16148 - GENOVA
ITALIA
phone: +39 55 4378831 Mon-Fri, 8.30 am - 19 pm
+39 55 4378831
+39 55 6812511 Mon-Thu, 20 pm - don't overdo
+39 10 397369 Fri-Sun
fax: +39 55 416996 (indicate Attn. Maurizio Vitale)
Technical Details
Message-ID:
<1992Feb22.093001.1624@i2unix.dist.unige.it>Path:
arc1-ca.pugleaf.net!sparky!uunet!mcsun!i2unix!dist.dist.unige.it!foobarReferences:
<28526@vedge.UUCP> <DJM.92Feb6223820@frob.eng.umd.edu> <kp41dnINNr7m@network.ucsd.edu> <kp79nuINNsit@early-bird.think.com> <1992Feb9.064810.19970@alphalpha.com>Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 1025b4,d66b509e4566f4e0 X-Google-Attributes: gid1025b4,public X-Google-ArrivalTime: 1992-02-22 02:42:47 PST Path: arc1-ca.pugleaf.net!sparky!uunet!mcsun!i2unix!dist.dist.unige.it!foobar From: foobar@dist.dist.unige.it (Maurizio Vitale) Newsgroups: gnu.misc.discuss Subject: Re: Yet more GNU licensings... Message-ID: <1992Feb22.093001.1624@i2unix.dist.unige.it> Date: 22 Feb 92 09:30:01 GMT References: <28526@vedge.UUCP> <DJM.92Feb6223820@frob.eng.umd.edu> <kp41dnINNr7m@network.ucsd.edu> <kp79nuINNsit@early-bird.think.com> <1992Feb9.064810.19970@alphalpha.com> Sender: news@i2unix.dist.unige.it (USENET Superuser) Reply-To: foobar@dist.dist.unige.it (Maurizio Vitale) Organization: DIST - Universita` di Genova Lines: 152