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 16744 invoked from network); 1 Jun 2020 16:41:47 -0000 Received: from minnie.tuhs.org (45.79.103.53) by inbox.vuxu.org with ESMTPUTF8; 1 Jun 2020 16:41:47 -0000 Received: by minnie.tuhs.org (Postfix, from userid 112) id 8FED79CAB5; Tue, 2 Jun 2020 02:41:42 +1000 (AEST) Received: from minnie.tuhs.org (localhost [127.0.0.1]) by minnie.tuhs.org (Postfix) with ESMTP id 781EC9C856; Tue, 2 Jun 2020 02:41:07 +1000 (AEST) Received: by minnie.tuhs.org (Postfix, from userid 112) id 041059C856; Tue, 2 Jun 2020 02:41:05 +1000 (AEST) Received: from mail-pf1-f182.google.com (mail-pf1-f182.google.com [209.85.210.182]) by minnie.tuhs.org (Postfix) with ESMTPS id 7CAA493D46 for ; Tue, 2 Jun 2020 02:41:04 +1000 (AEST) Received: by mail-pf1-f182.google.com with SMTP id x207so1850807pfc.5 for ; Mon, 01 Jun 2020 09:41:04 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:reply-to:subject:to:references:from:organization :message-id:date:user-agent:mime-version:in-reply-to :content-language; bh=YGLGQgRZnsNNkQIaUIZ2HrESyujTfkTz/xpzZkILIYQ=; b=Qjn9fObB2YdFrU2PUNSDZWdPco6zYwU2waOImeoZjl/DitbSSpYKP77qRWp/bACu8C 7dfsW8uxn0RtopiM0fbIR83nz42lTcmz1kHeuzVaht9Xda+8yu/fCsiR2Pu1/zI6cZCl HqmGpRJfasJEZmtA1sf2gqVfB141jZDP9jLXMVtysvQGMaVqF6mdKPSdIJVnnNNs0O5Y Zd0W9yGgEfaLW+2E3Onc2seGC+FSayhuNGPOwwZGej5SaC+QtojwVpYfHMYIvZzz5NpP JxrYbNT2whfPqafyChP8QTSwQ9sM7yoYs03CjcWWx07iNi5EGOWpr4x65AQHDDxMCQPd cAyg== X-Gm-Message-State: AOAM533+fvmpmzVqJuxXJQMHsqiXiqZ0fI8WOHDF29ulC1zGjTh4CsJH 4+0qhtr5y83Cu6pVDfJfii0f5ecGZPQ= X-Google-Smtp-Source: ABdhPJz1jVrKb5stXaGcoAaUhimD5O3zKf/F0Sfu7I9ci6dY8FXNOXU6k1jBHaR0e5evYXLie/YSTQ== X-Received: by 2002:a63:ec0c:: with SMTP id j12mr1606464pgh.255.1591029663572; Mon, 01 Jun 2020 09:41:03 -0700 (PDT) Received: from ?IPv6:2601:601:a000:cb0:fd26:cc19:faf:86cf? ([2601:601:a000:cb0:fd26:cc19:faf:86cf]) by smtp.gmail.com with ESMTPSA id z144sm6956536pfc.195.2020.06.01.09.41.02 for (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Mon, 01 Jun 2020 09:41:02 -0700 (PDT) To: tuhs@minnie.tuhs.org References: From: Heinz Lycklama Organization: Open Systems Technology Associates Message-ID: Date: Mon, 1 Jun 2020 09:41:03 -0700 User-Agent: Mozilla/5.0 (Windows NT 10.0; WOW64; rv:68.0) Gecko/20100101 Thunderbird/68.8.1 MIME-Version: 1.0 In-Reply-To: Content-Type: multipart/alternative; boundary="------------537218F4228E11339BA1AA87" Content-Language: en-US Subject: Re: [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: , Reply-To: heinz@osta.com Errors-To: tuhs-bounces@minnie.tuhs.org Sender: "TUHS" This is a multi-part message in MIME format. --------------537218F4228E11339BA1AA87 Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 8bit Paul, I'm surprised that copies of the LSX system are still around. I'm assuming that you acquired only the binary code, and not the source code. The LSX system source code could be compiled on an LSX system running on floppy disks. I see you are getting your C compiler issues addressed by others already. Heinz Lycklama Author of LSX at Bell Labs On 5/30/2020 11:26 PM, Paul Riley wrote: > 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 > > --------------537218F4228E11339BA1AA87 Content-Type: text/html; charset=utf-8 Content-Transfer-Encoding: 8bit Paul, I'm surprised that copies of the LSX system are still around.
I'm assuming that you acquired only the binary code, and not the
source code. The LSX system source code could be compiled
on an LSX system running on floppy disks. I see you are getting
your C compiler issues addressed by others already.

Heinz Lycklama
Author of LSX at Bell Labs

On 5/30/2020 11:26 PM, Paul Riley wrote:
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




--------------537218F4228E11339BA1AA87--