From mboxrd@z Thu Jan 1 00:00:00 1970 X-Spam-Checker-Version: SpamAssassin 3.4.4 (2020-01-24) on inbox.vuxu.org X-Spam-Level: X-Spam-Status: No, score=-1.0 required=5.0 tests=HTML_MESSAGE, MAILING_LIST_MULTI,RCVD_IN_DNSWL_NONE autolearn=ham autolearn_force=no version=3.4.4 Received: (qmail 27798 invoked from network); 31 May 2020 06:27:19 -0000 Received: from minnie.tuhs.org (45.79.103.53) by inbox.vuxu.org with ESMTPUTF8; 31 May 2020 06:27:19 -0000 Received: by minnie.tuhs.org (Postfix, from userid 112) id 1DEA19CA2E; Sun, 31 May 2020 16:27:16 +1000 (AEST) Received: from minnie.tuhs.org (localhost [127.0.0.1]) by minnie.tuhs.org (Postfix) with ESMTP id E72089C5E5; Sun, 31 May 2020 16:26:41 +1000 (AEST) Received: by minnie.tuhs.org (Postfix, from userid 112) id 9D8EC9C5E5; Sun, 31 May 2020 16:26:39 +1000 (AEST) Received: from mail-pf1-f179.google.com (mail-pf1-f179.google.com [209.85.210.179]) by minnie.tuhs.org (Postfix) with ESMTPS id 2458A9C1EA for ; Sun, 31 May 2020 16:26:39 +1000 (AEST) Received: by mail-pf1-f179.google.com with SMTP id f3so1936239pfd.11 for ; Sat, 30 May 2020 23:26:39 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:from:date:message-id:subject:to; bh=lL18HfhBszSq5I3A4Qor9gpdHrKD8RqpNMNbLaGKDmk=; b=OO8+RGIt5NDz1AMK/WbxFBSpP8eiItq6S2CV2C3+sS5Bbt6LVYf/Zf8yl7WWRkb1nM hFmROulKklur5NYmuJRHFUJ1uUMtbuia8wuvVeB+Uoc9xtQoREXzTBjSyPN90QCGh+HC Q71Lmj9gKlZkYMCVoAPyl9MswFmZFwcDcu150LUV/vWZZVPEHafjf+bIpEfeIP72wpAq g7qvqcd8r+SIiUVlAXHG1HdaXU5SQcbZOY8m7On8pE4SUflMKhlFpQwHff5VNtg+98th 98tiOuJtC3TW3CIkeZi7wrZulqDvFjSsiJqmqDVMtq3w5sQmGkrQZ5CLZKH3SjITFUJP RzDg== X-Gm-Message-State: AOAM531XojluhT1QUJqhXwID0CUEWIt1K7pl9sc2vqDZ13NDt0BixfKn +gb3PI5NqM/n8ANV3FoqixPp/pMcwkO68uOTHuU2yKVP X-Google-Smtp-Source: ABdhPJxF99om4BSn2afk10wkeCoK8zc4u2BPvIf2G5FVDsVFPmtl/bUTuiuxkTx3Oj3Aj9/1L7uNDbliqa3y/Fs9sAY= X-Received: by 2002:a05:6a00:14c6:: with SMTP id w6mr14962980pfu.113.1590906398286; Sat, 30 May 2020 23:26:38 -0700 (PDT) MIME-Version: 1.0 From: Paul Riley Date: Sun, 31 May 2020 14:26:25 +0800 Message-ID: To: tuhs@minnie.tuhs.org Content-Type: multipart/alternative; boundary="000000000000bdaa7b05a6ebc2c3" Subject: [TUHS] LSX on the PDP-11/03 (LSI-11) X-BeenThere: tuhs@minnie.tuhs.org X-Mailman-Version: 2.1.26 Precedence: list List-Id: The Unix Heritage Society mailing list List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: tuhs-bounces@minnie.tuhs.org Sender: "TUHS" --000000000000bdaa7b05a6ebc2c3 Content-Type: text/plain; charset="UTF-8" I've managed to acquire a PDP-11/03 with twin floppy drives (Sykes Datatronics RX01 or RX02 equivalents, not sure yet which). I've stumbled across LSX, and I have it running on SimH. I'm quite inexperienced with Unix, but it's something I want to learn well, having brushed against it at university in the '80s, and having played with Linux somewhat. I have some interest in Forth, but I don't like the block system of early forths such as FigForth, and I plan to create a new Forth based on FigForth, but supporting external source files. Anyway, I've tried compiling Hello World on LSX, and I get "1: External definition syntax" error. Some help would be nice, but more generally, is anyone on this list more than vaguely familiar with LSX, or 6th Edition itself? void main () { printf("Hello World!"); } It seems that the 7th Edition was the beginning of the standard library in C, and that this is missing in LSX. I'm not sure if printf is an intrinsic function in (6th Edition) C, or if it's from a library. My questions are a bit random, but looking to converse with others with LSX experience. Paul *Paul Riley* Email: paul@rileyriot.com --000000000000bdaa7b05a6ebc2c3 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable
I've managed to acquire a PDP-11/03 with twin floppy d= rives (Sykes Datatronics RX01 or RX02 equivalents, not sure yet which).
I've stumbled across LSX, and I have it running on SimH= . I'm quite inexperienced with Unix, but it's something I want to l= earn well, having brushed against it at university in the '80s, and hav= ing played with Linux somewhat.

I have some intere= st in Forth, but I don't like the block system of early forths such as = FigForth, and I plan to create a new Forth based on FigForth, but supportin= g external source files.

Anyway, I've tried co= mpiling Hello World on LSX, and I get "1: External definition syntax&q= uot; error. Some help would be nice, but more generally, is anyone on this = list more than=C2=A0vaguely familiar with LSX, or 6th Edition itself?
=

void main () {
=C2=A0 =C2=A0 =C2=A0 =C2=A0 printf(&q= uot;Hello World!");
}

It seems that th= e 7th Edition was the beginning of the standard library in C, and that this= is missing in LSX. I'm not sure if printf is an intrinsic function in = (6th Edition) C, or if it's from a library.

My= questions are a bit random, but looking to converse with others with LSX e= xperience.

Paul

Paul Riley



--000000000000bdaa7b05a6ebc2c3--