From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-yb1-xb30.google.com (mail-yb1-xb30.google.com [IPv6:2607:f8b0:4864:20::b30]) by sourceware.org (Postfix) with ESMTPS id C19823858D33 for ; Thu, 9 Mar 2023 08:10:08 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.4.2 sourceware.org C19823858D33 Authentication-Results: sourceware.org; dmarc=pass (p=none dis=none) header.from=gmail.com Authentication-Results: sourceware.org; spf=pass smtp.mailfrom=gmail.com Received: by mail-yb1-xb30.google.com with SMTP id t39so1079744ybi.3 for ; Thu, 09 Mar 2023 00:10:08 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; t=1678349407; h=cc:to:subject:message-id:date:from:in-reply-to:references :mime-version:from:to:cc:subject:date:message-id:reply-to; bh=f+q07OI5lNyqYp3/ISfA8FSBnV/NZCU3C0aw5Qg2rrU=; b=kroQNMKQuB/EP5k/moHMDZRyPTjxYnDekdFHRPX9FVjijXfmvkdFPPsT/EOSj6LDmQ 07dxyHjZt5ABHUtWbH47SMu6Pfizv6s2ZGDT/n7hY1K6M58dzJW3SfiFAnas4QS7vgYF z036QWh6x1su4OlfbghJXBTLmDW0aAPRVFesYkXpQoKK/a5SdEuQaIo5nk8NIYSw7yT/ wpds9Rba9EDjC/PSQkFsVNnaHDSktIip6duCUVEhmYEEkV6fR+QIUykwciXGgOX/9CTK zlCcLvgm6QyyWEOOvKRgXbKYLjAhC3jVjBLC2ZKceCcT0sxwl0duLAxiG/mTLQb7dXFN F31w== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; t=1678349407; h=cc:to:subject:message-id:date:from:in-reply-to:references :mime-version:x-gm-message-state:from:to:cc:subject:date:message-id :reply-to; bh=f+q07OI5lNyqYp3/ISfA8FSBnV/NZCU3C0aw5Qg2rrU=; b=FR16PcaryLnWZ+hwdJUaC/Ha5mPrcyfF8V/Rbh29AM6MX4NHY4B71gKyb3I4+VLf74 5O8gTu/eCnXIeNY5lEWDmLwnrfaCY7+oYXG0YYbcOEMvL9V/ZJ6U2n6C+X1aV5EeYqhk ASIsLoCt4JNloVutKq9ATkkqCvf6SiHXKA+YToi2jFAX5dnqcMQvfWMEB0eIZ35sLwuh PqIryDcrgtqNn+i1Zadyei5siBl82jOcgQtXs6InqyMAHdHSduuN3DrXaY0LQMYDOWA3 q8YwDeZCqagZGjyQ9oXmhIDglcnx/2CAJ+QNSm4ZYxdbzvC6F0nDDnNzCrLmJtAr8fsL xO6Q== X-Gm-Message-State: AO0yUKXTK83lY05xyZSZX+qiicEcJ9J+avyWrZOTuAW7L6qnQv2/86i2 f5I1mKBr3TUbAfqL+GuFLDFyutRt88Xn9s/W4D+2R3XtE28= X-Google-Smtp-Source: AK7set/zV3aPgwXF6G662QkApTpdIXr++wERc6UJGF3a/VoSW/Ptxef5mc9lp96Oexp54nDAZqvHAQXunTFT1a8hmPo= X-Received: by 2002:a05:6902:2cf:b0:b21:5fb4:c6e6 with SMTP id w15-20020a05690202cf00b00b215fb4c6e6mr2347443ybh.11.1678349407405; Thu, 09 Mar 2023 00:10:07 -0800 (PST) MIME-Version: 1.0 References: <8f40b52e-c264-d1e4-06dd-fb9990a64bb8@logikalsolutions.com> <5b9d7b4a-4932-409e-ee40-b83ef642412d@logikalsolutions.com> <5cc332de-c0d0-e634-776c-32705dccc504@logikalsolutions.com> In-Reply-To: <5cc332de-c0d0-e634-776c-32705dccc504@logikalsolutions.com> From: Arjen Markus Date: Thu, 9 Mar 2023 09:09:56 +0100 Message-ID: Subject: Re: F77 indexed file support To: Roland Hughes Cc: Bernhard Reutner-Fischer , Roland Hughes via Fortran Content-Type: multipart/alternative; boundary="0000000000003cca8205f6732cf6" X-Spam-Status: No, score=0.9 required=5.0 tests=BAYES_00,DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,FREEMAIL_ENVFROM_END_DIGIT,FREEMAIL_FROM,HK_OBFDOM,HTML_MESSAGE,RCVD_IN_DNSWL_NONE,SPF_HELO_NONE,SPF_PASS,TXREP autolearn=no autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on server2.sourceware.org List-Id: --0000000000003cca8205f6732cf6 Content-Type: text/plain; charset="UTF-8" Right, 3270 was the terminal. Wonderful beasts :). Anyway, this reminded me of an experiment I did a couple of years ago with wrapping the BerkeleyDB library in Fortran. I never had much use for it, but it works for small enough value of "work". But this is diverting a lot from the purpose of this mailing list. Regards, Arjen Op wo 8 mrt 2023 om 16:21 schreef Roland Hughes : > That would have been a 360/370 IBM Mini. The 3270 was the "smart" terminal. > > > https://imgs.search.brave.com/9CW5yhzliePl3PmZJJad0-GoiArzOyOIKkKfa0cntW8/rs:fit:640:540:1/g:ce/aHR0cHM6Ly9pLnBp/bmltZy5jb20vb3Jp/Z2luYWxzLzRlL2Nk/L2JlLzRlY2RiZTBl/YjQ0YmFlNGUzOTQ4/YjVlNDk2MWY1OWMx/LmpwZw > > Yes, I use database libraries all the time with C/C++. Given Gnu COBOL had > utilized the Berkley DB so they could provide full (or at least nearly > complete) language syntax I had hoped Gnu Fortran did the same. > > C/C++ never provided any indexed file or "record" level support. FORTRAN > always did, so I had hopes. > > Thanks, > > Roland > On 3/8/23 08:30, Arjen Markus wrote: > > Well, that is indeed something completely different.My main frame of > reference (pun not intentional) of that era was our IBM mini, I am not > quite sure of the type number, 3270? It had a very specific record > structure for unformatted files. Normally that was almost completely > hidden, except in the job control, but when we started exchanging data > files with the personal computers that were then coming out, I could write > programs that did the necessary conversions. Jolly good fun. My department > did not use VAXes, other departments did. > > So, in your case these files contain data identifiable via some index. Hm, > today you would do that via some library instead of via some builtin > language feature, at least when using Fortran, C, C++, ... > > Regards, > > Arjen > > Op wo 8 mrt 2023 om 14:31 schreef Roland Hughes via Fortran < > fortran@gcc.gnu.org>: > >> Thank you! >> >> >> On 3/8/2023 1:57 AM, Bernhard Reutner-Fischer wrote: >> > On 7 March 2023 23:18:58 CET, Roland Hughes via Fortran < >> fortran@gcc.gnu.org> wrote: >> > >> > [ snip namelist IO ] >> > >> >> Btw, is there a "search" utility for the archives or do I have to pull >> down all of the zip files, unzip into directory, and grep to look for stuff >> like this? I'm guessing it has come up before. >> > Indeed we have >> > https://inbox.sourceware.org/fortran/ >> > >> > along the traditional pipermail ml interface. >> > >> > thanks, >> >> -- >> Roland Hughes, President >> Logikal Solutions >> (630)-205-1593 (cell) >> http://www.theminimumyouneedtoknow.com >> http://www.infiniteexposure.net >> http://www.johnsmith-book.com >> >> -- > Roland Hughes, President > Logikal Solutions > (630)-205-1593 > http://www.theminimumyouneedtoknow.comhttp://www.infiniteexposure.nethttp://www.johnsmith-book.comhttp://www.logikalblog.comhttp://www.interestingauthors.com/blog > > --0000000000003cca8205f6732cf6--