Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.lang.forth > #59118

Re: Forth for Raspberry Pi 3

From anton@mips.complang.tuwien.ac.at (Anton Ertl)
Newsgroups comp.lang.forth
Subject Re: Forth for Raspberry Pi 3
Date 2017-05-12 13:54 +0000
Organization Institut fuer Computersprachen, Technische Universitaet Wien
Message-ID <2017May12.155435@mips.complang.tuwien.ac.at> (permalink)
References (1 earlier) <2017May8.154258@mips.complang.tuwien.ac.at> <2017May11.151611@mips.complang.tuwien.ac.at> <a11f41dc-55fd-4706-808b-e474e06ad646@googlegroups.com> <2017May12.134206@mips.complang.tuwien.ac.at> <1twse3uq4zlvn$.1fwqebxj0qbs.dlg@40tude.net>

Show all headers | View raw


Coos Haak <htrofhc@gmail.com> writes:
>Op Fri, 12 May 2017 11:42:06 GMT schreef Anton Ertl:
>
>> Gforth has a word called BLACK-COLORS for switching to a color scheme
>> appropriate for dark background.  You can put it in ~/.gforthrc0 in
>> order to have it active on every invocation of Gforth.
>> 
>> - anton
>
>Ha, this works with Gforth under Linux and Cygwin.
>But Gforth 0.7.9-20170427 in Windows 10 ignores
>a file .gforthrc0 or gforthrc0 in its root directory.

Gforth currently expands "~" to $HOME, $HOMEDIRVE/$HOMEPATH (DOS/Windows
only), $TEMP, $TMP, and finally the empty string; the first match is used.

Googling around brought up $USERPROFILE and $localappdata as potential
candidates for checking on Windows (but trying so many different ones
makes failures harder to track down, so we would prefer one reliable
method over trying out several).

>I tried placing 'black-colors' in siteinit.fs because
>this file is mentioned in startup.fs and I assume it
>will be read during startup. No chance!

startup.fs (and thus siteinit.fs) is read when building the Gforth
image, i.e., when building or possibly also on installing Gforth.

- anton
-- 
M. Anton Ertl  http://www.complang.tuwien.ac.at/anton/home.html
comp.lang.forth FAQs: http://www.complang.tuwien.ac.at/forth/faq/toc.html
     New standard: http://www.forth200x.org/forth200x.html
   EuroForth 2017: http://www.euroforth.org/ef17/

Back to comp.lang.forth | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread


Thread

Forth for Raspberry Pi 3 Frank K <frankkaplan42@gmail.com> - 2017-05-07 14:37 -0700
  Re: Forth for Raspberry Pi 3 Julian Fondren <julian.fondren@gmail.com> - 2017-05-07 15:33 -0700
  Re: Forth for Raspberry Pi 3 josv@planet.nl - 2017-05-08 01:29 -0700
  Re: Forth for Raspberry Pi 3 Ron Aaron <rambamist@gmail.com> - 2017-05-08 11:58 +0300
  Re: Forth for Raspberry Pi 3 Lars Brinkhoff <lars.spam@nocrew.org> - 2017-05-08 14:27 +0200
  Re: Forth for Raspberry Pi 3 anton@mips.complang.tuwien.ac.at (Anton Ertl) - 2017-05-08 13:42 +0000
    Re: Forth for Raspberry Pi 3 anton@mips.complang.tuwien.ac.at (Anton Ertl) - 2017-05-11 13:16 +0000
      Re: Forth for Raspberry Pi 3 josv@planet.nl - 2017-05-12 02:53 -0700
        Re: Forth for Raspberry Pi 3 anton@mips.complang.tuwien.ac.at (Anton Ertl) - 2017-05-12 11:42 +0000
          Re: Forth for Raspberry Pi 3 Coos Haak <htrofhc@gmail.com> - 2017-05-12 14:24 +0200
            Re: Forth for Raspberry Pi 3 anton@mips.complang.tuwien.ac.at (Anton Ertl) - 2017-05-12 13:54 +0000
              Re: Forth for Raspberry Pi 3 Coos Haak <htrofhc@gmail.com> - 2017-05-12 17:44 +0200
          Re: Forth for Raspberry Pi 3 josv@planet.nl - 2017-05-12 06:19 -0700
  Re: Forth for Raspberry Pi 3 - Now it works Frank K <frankkaplan42@gmail.com> - 2017-05-08 10:39 -0700
    Re: Forth for Raspberry Pi 3 - Now it works josv@planet.nl - 2017-05-08 14:20 -0700
    Re: Forth for Raspberry Pi 3 - Now it works josv@planet.nl - 2017-05-08 14:25 -0700
  Re: Forth for Raspberry Pi 3 "Robert L." <No_spamming@noWhere_7073.org> - 2017-05-12 13:48 +0000

csiph-web