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


Groups > comp.lang.forth > #34159 > unrolled thread

Installing gForth on the Raspberry Pi

Started byrickman <gnuarm@gmail.com>
First post2014-10-26 12:02 -0400
Last post2014-10-28 14:06 -0500
Articles 10 on this page of 130 — 29 participants

Back to article view | Back to comp.lang.forth


Contents

  Installing gForth on the Raspberry Pi rickman <gnuarm@gmail.com> - 2014-10-26 12:02 -0400
    Re: Installing gForth on the Raspberry Pi Gordon Henderson <gordon+usenet@drogon.net> - 2014-10-26 16:11 +0000
      Re: Installing gForth on the Raspberry Pi rickman <gnuarm@gmail.com> - 2014-10-26 12:20 -0400
        Re: Installing gForth on the Raspberry Pi rickman <gnuarm@gmail.com> - 2014-10-26 12:44 -0400
          Re: Installing gForth on the Raspberry Pi Gordon Henderson <gordon+usenet@drogon.net> - 2014-10-26 17:09 +0000
            Re: Installing gForth on the Raspberry Pi rickman <gnuarm@gmail.com> - 2014-10-26 14:45 -0400
              Re: Installing gForth on the Raspberry Pi andrew@cucumber.demon.co.uk (Andrew Gabriel) - 2014-10-26 18:57 +0000
                Re: Installing gForth on the Raspberry Pi rickman <gnuarm@gmail.com> - 2014-10-26 15:14 -0400
                  Re: Installing gForth on the Raspberry Pi albert@spenarnc.xs4all.nl (Albert van der Horst) - 2014-10-26 19:47 +0000
                    Re: Installing gForth on the Raspberry Pi rickman <gnuarm@gmail.com> - 2014-10-26 16:10 -0400
                      Re: Installing gForth on the Raspberry Pi albert@spenarnc.xs4all.nl (Albert van der Horst) - 2014-10-27 08:43 +0000
                        Re: Installing gForth on the Raspberry Pi rickman <gnuarm@gmail.com> - 2014-10-27 17:31 -0400
                          Re: Installing gForth on the Raspberry Pi albert@spenarnc.xs4all.nl (Albert van der Horst) - 2014-10-28 14:18 +0000
                            Re: Installing gForth on the Raspberry Pi rickman <gnuarm@gmail.com> - 2014-10-28 17:15 -0400
                  Re: Installing gForth on the Raspberry Pi Paul Rubin <no.email@nospam.invalid> - 2014-10-26 13:24 -0700
                    Re: Installing gForth on the Raspberry Pi rickman <gnuarm@gmail.com> - 2014-10-26 16:48 -0400
                      Re: Installing gForth on the Raspberry Pi Raymond Wiker <rwiker@gmail.com> - 2014-10-26 22:12 +0100
                        Re: Installing gForth on the Raspberry Pi rickman <gnuarm@gmail.com> - 2014-10-26 17:20 -0400
                      Re: Installing gForth on the Raspberry Pi Paul Rubin <no.email@nospam.invalid> - 2014-10-26 14:39 -0700
                        Re: Installing gForth on the Raspberry Pi rickman <gnuarm@gmail.com> - 2014-10-26 17:46 -0400
                          Re: Installing gForth on the Raspberry Pi Paul Rubin <no.email@nospam.invalid> - 2014-10-26 15:11 -0700
                            Re: Installing gForth on the Raspberry Pi rickman <gnuarm@gmail.com> - 2014-10-26 18:25 -0400
                              Re: Installing gForth on the Raspberry Pi Paul Rubin <no.email@nospam.invalid> - 2014-10-26 15:58 -0700
                                Re: Installing gForth on the Raspberry Pi albert@spenarnc.xs4all.nl (Albert van der Horst) - 2014-10-27 09:20 +0000
                              Re: Installing gForth on the Raspberry Pi josv@planet.nl - 2014-10-29 07:02 -0700
                                Re: Installing gForth on the Raspberry Pi Coos Haak <chforth@hccnet.nl> - 2014-10-30 11:20 +0100
                      Re: Installing gForth on the Raspberry Pi albert@spenarnc.xs4all.nl (Albert van der Horst) - 2014-10-27 08:56 +0000
                        Re: Installing gForth on the Raspberry Pi Gordon Henderson <gordon+usenet@drogon.net> - 2014-10-27 10:14 +0000
                    Re: Installing gForth on the Raspberry Pi albert@spenarnc.xs4all.nl (Albert van der Horst) - 2014-10-27 08:48 +0000
                      Re: Installing gForth on the Raspberry Pi rickman <gnuarm@gmail.com> - 2014-10-27 17:35 -0400
                        Re: Installing gForth on the Raspberry Pi albert@spenarnc.xs4all.nl (Albert van der Horst) - 2014-10-28 14:24 +0000
                          Re: Installing gForth on the Raspberry Pi Alan Adams <alan@adamshome.org.uk> - 2014-10-28 15:52 +0000
                          Re: Installing gForth on the Raspberry Pi rickman <gnuarm@gmail.com> - 2014-10-28 12:49 -0400
                            Re: Installing gForth on the Raspberry Pi Ray <ray@invalid.com> - 2014-10-28 17:22 +0000
                              Re: Installing gForth on the Raspberry Pi rickman <gnuarm@gmail.com> - 2014-10-28 17:02 -0400
                    Re: Installing gForth on the Raspberry Pi Lars Brinkhoff <lars.spam@nocrew.org> - 2014-10-27 10:07 +0100
                      Re: Installing gForth on the Raspberry Pi albert@spenarnc.xs4all.nl (Albert van der Horst) - 2014-10-27 09:22 +0000
                  Re: Installing gForth on the Raspberry Pi stephenXXX@mpeforth.com (Stephen Pelc) - 2014-10-27 11:30 +0000
                    Re: Installing gForth on the Raspberry Pi rickman <gnuarm@gmail.com> - 2014-10-27 17:37 -0400
                      Re: Installing gForth on the Raspberry Pi stephenXXX@mpeforth.com (Stephen Pelc) - 2014-10-28 12:41 +0000
                        Re: Installing gForth on the Raspberry Pi rickman <gnuarm@gmail.com> - 2014-10-28 12:51 -0400
                          Re: Installing gForth on the Raspberry Pi stephenXXX@mpeforth.com (Stephen Pelc) - 2014-10-28 18:44 +0000
                  Re: Installing gForth on the Raspberry Pi anton@mips.complang.tuwien.ac.at (Anton Ertl) - 2014-10-27 11:49 +0000
                    Re: Installing gForth on the Raspberry Pi rickman <gnuarm@gmail.com> - 2014-10-27 17:51 -0400
                      Re: Installing gForth on the Raspberry Pi "Elizabeth D. Rather" <erather@forth.com> - 2014-10-27 20:31 -1000
                        Re: Installing gForth on the Raspberry Pi rickman <gnuarm@gmail.com> - 2014-10-28 03:01 -0400
                          Re: Installing gForth on the Raspberry Pi "Elizabeth D. Rather" <erather@forth.com> - 2014-10-27 21:14 -1000
                            Re: Installing gForth on the Raspberry Pi rickman <gnuarm@gmail.com> - 2014-10-28 03:45 -0400
                              Re: Installing gForth on the Raspberry Pi "Elizabeth D. Rather" <erather@forth.com> - 2014-10-27 22:14 -1000
                                Re: Installing gForth on the Raspberry Pi rickman <gnuarm@gmail.com> - 2014-10-28 14:09 -0400
                                  Re: Installing gForth on the Raspberry Pi Mel Wilson <mwilson@the-wire.com> - 2014-10-28 21:50 +0000
                                    Re: Installing gForth on the Raspberry Pi "Ivan D. Reid" <Ivan.Reid@ivan.fsnet.co.uk> - 2014-10-29 00:01 +0000
                                      Re: Installing gForth on the Raspberry Pi rickman <gnuarm@gmail.com> - 2014-10-28 20:50 -0400
                                        Re: Installing gForth on the Raspberry Pi "Ivan D. Reid" <Ivan.Reid@ivan.fsnet.co.uk> - 2014-10-29 01:20 +0000
                                  Re: Installing gForth on the Raspberry Pi Martin Gregorie <martin@address-in-sig.invalid> - 2014-10-29 00:58 +0000
                                    Re: Installing gForth on the Raspberry Pi Paul Rubin <no.email@nospam.invalid> - 2014-10-28 18:04 -0700
                                    Re: Installing gForth on the Raspberry Pi rickman <gnuarm@gmail.com> - 2014-10-29 01:40 -0400
                                      Re: Installing gForth on the Raspberry Pi Martin Gregorie <martin@address-in-sig.invalid> - 2014-10-29 12:41 +0000
                                      Re: Installing gForth on the Raspberry Pi Theo Markettos <theom+news@chiark.greenend.org.uk> - 2014-11-16 15:34 +0000
                                        Re: Installing gForth on the Raspberry Pi "Rod Pemberton" <buzzoff@nonamewhichexists.cmm> - 2014-11-16 12:01 -0500
                                          Re: Installing gForth on the Raspberry Pi The Natural Philosopher <tnp@invalid.invalid> - 2014-11-16 17:22 +0000
                                        Re: Installing gForth on the Raspberry Pi Rob Morley <nospam@ntlworld.com> - 2014-11-16 17:06 +0000
                                          Re: Installing gForth on the Raspberry Pi Martin Gregorie <martin@address-in-sig.invalid> - 2014-11-16 18:27 +0000
                                            Re: Installing gForth on the Raspberry Pi Gordon Henderson <gordon+usenet@drogon.net> - 2014-11-16 19:19 +0000
                                              Re: Installing gForth on the Raspberry Pi Martin Gregorie <martin@address-in-sig.invalid> - 2014-11-16 20:11 +0000
                                            Re: Installing gForth on the Raspberry Pi albert@spenarnc.xs4all.nl (Albert van der Horst) - 2014-11-17 11:56 +0000
                                              Re: Installing gForth on the Raspberry Pi Martin Gregorie <martin@address-in-sig.invalid> - 2014-11-17 13:42 +0000
                                                Re: Installing gForth on the Raspberry Pi Paul Rubin <no.email@nospam.invalid> - 2014-11-17 10:14 -0800
                                        Re: Installing gForth on the Raspberry Pi Gordon Henderson <gordon+usenet@drogon.net> - 2014-11-16 17:25 +0000
                                          Re: Installing gForth on the Raspberry Pi Rob Morley <nospam@ntlworld.com> - 2014-11-16 17:40 +0000
                                            Re: Installing gForth on the Raspberry Pi Gordon Henderson <gordon+usenet@drogon.net> - 2014-11-16 19:12 +0000
                                              Re: Installing gForth on the Raspberry Pi Alan Adams <alan@adamshome.org.uk> - 2014-11-16 19:50 +0000
                                                Re: Installing gForth on the Raspberry Pi Gordon Henderson <gordon+usenet@drogon.net> - 2014-11-16 21:22 +0000
                                                Re: Installing gForth on the Raspberry Pi Dennis Lee Bieber <wlfraed@ix.netcom.com> - 2014-11-16 17:38 -0500
                                                  Re: Installing gForth on the Raspberry Pi Martin Gregorie <martin@address-in-sig.invalid> - 2014-11-17 00:12 +0000
                                                  Re: Installing gForth on the Raspberry Pi Michael J. Mahon <mjmahon@aol.com> - 2014-11-16 19:53 -0600
                                                Re: Installing gForth on the Raspberry Pi Coos Haak <chforth@hccnet.nl> - 2014-11-17 01:00 +0100
                                                  Re: Installing gForth on the Raspberry Pi Alan Adams <alan@adamshome.org.uk> - 2014-11-17 12:03 +0000
                                                Re: Installing gForth on the Raspberry Pi druck <news@druck.org.uk> - 2014-11-18 20:03 +0000
                                        Re: Installing gForth on the Raspberry Pi druck <news@druck.org.uk> - 2014-11-16 18:20 +0000
                                    Re: Installing gForth on the Raspberry Pi albert@spenarnc.xs4all.nl (Albert van der Horst) - 2014-10-29 11:53 +0000
                  Re: Installing gForth on the Raspberry Pi humptydumpty <ouatubi@gmail.com> - 2014-10-27 06:52 -0700
              Re: Installing gForth on the Raspberry Pi Paul Rubin <no.email@nospam.invalid> - 2014-10-26 12:02 -0700
                Re: Installing gForth on the Raspberry Pi rickman <gnuarm@gmail.com> - 2014-10-26 15:18 -0400
              Re: Installing gForth on the Raspberry Pi Gordon Henderson <gordon+usenet@drogon.net> - 2014-10-26 20:24 +0000
                Re: Installing gForth on the Raspberry Pi rickman <gnuarm@gmail.com> - 2014-10-26 17:09 -0400
                  Re: Installing gForth on the Raspberry Pi Gordon Henderson <gordon+usenet@drogon.net> - 2014-10-26 22:05 +0000
                    Re: Installing gForth on the Raspberry Pi rickman <gnuarm@gmail.com> - 2014-10-26 20:27 -0400
                      Re: Installing gForth on the Raspberry Pi Paul Rubin <no.email@nospam.invalid> - 2014-10-26 17:45 -0700
                        Re: Installing gForth on the Raspberry Pi rickman <gnuarm@gmail.com> - 2014-10-26 21:09 -0400
                          Re: Installing gForth on the Raspberry Pi Paul Rubin <no.email@nospam.invalid> - 2014-10-26 18:22 -0700
                            Re: Installing gForth on the Raspberry Pi rickman <gnuarm@gmail.com> - 2014-10-26 23:20 -0400
                              Re: Installing gForth on the Raspberry Pi Paul Rubin <no.email@nospam.invalid> - 2014-10-26 20:53 -0700
                        Re: Installing gForth on the Raspberry Pi andrew@cucumber.demon.co.uk (Andrew Gabriel) - 2014-10-27 10:23 +0000
                          Re: Installing gForth on the Raspberry Pi Paul Rubin <no.email@nospam.invalid> - 2014-10-27 13:36 -0700
                            Re: Installing gForth on the Raspberry Pi andrew@cucumber.demon.co.uk (Andrew Gabriel) - 2014-10-27 22:23 +0000
                      Re: Installing gForth on the Raspberry Pi albert@spenarnc.xs4all.nl (Albert van der Horst) - 2014-10-27 09:43 +0000
                        Re: Installing gForth on the Raspberry Pi Gordon Henderson <gordon+usenet@drogon.net> - 2014-10-27 10:26 +0000
                          Re: Installing gForth on the Raspberry Pi Martin Gregorie <martin@address-in-sig.invalid> - 2014-10-27 13:15 +0000
                            Re: Installing gForth on the Raspberry Pi Gordon Henderson <gordon+usenet@drogon.net> - 2014-10-27 14:12 +0000
                              Re: Installing gForth on the Raspberry Pi Martin Gregorie <martin@address-in-sig.invalid> - 2014-10-27 15:34 +0000
                                Re: Installing gForth on the Raspberry Pi rickman <gnuarm@gmail.com> - 2014-10-27 18:31 -0400
                                  Re: Installing gForth on the Raspberry Pi Paul Rubin <no.email@nospam.invalid> - 2014-10-27 15:50 -0700
                                    Re: Installing gForth on the Raspberry Pi rickman <gnuarm@gmail.com> - 2014-10-27 19:26 -0400
                                      Re: Installing gForth on the Raspberry Pi Paul Rubin <no.email@nospam.invalid> - 2014-10-27 16:37 -0700
                                        Re: Installing gForth on the Raspberry Pi rickman <gnuarm@gmail.com> - 2014-10-27 20:17 -0400
                                          Re: Installing gForth on the Raspberry Pi Paul Rubin <no.email@nospam.invalid> - 2014-10-27 17:24 -0700
                                            Re: Installing gForth on the Raspberry Pi rickman <gnuarm@gmail.com> - 2014-10-28 03:10 -0400
                                        Re: Installing gForth on the Raspberry Pi Gordon Henderson <gordon+usenet@drogon.net> - 2014-10-28 08:11 +0000
                                      Re: Installing gForth on the Raspberry Pi Dennis Lee Bieber <wlfraed@ix.netcom.com> - 2014-10-28 09:13 -0400
                                    Re: Installing gForth on the Raspberry Pi Gordon Henderson <gordon+usenet@drogon.net> - 2014-10-28 08:11 +0000
                                      Re: Installing gForth on the Raspberry Pi rickman <gnuarm@gmail.com> - 2014-10-28 04:14 -0400
                                        Re: Installing gForth on the Raspberry Pi Gordon Henderson <gordon+usenet@drogon.net> - 2014-10-28 08:15 +0000
                                        Re: Installing gForth on the Raspberry Pi "A. Dumas" <alexandre@dumas.fr.invalid> - 2014-10-28 10:22 +0100
                                          Re: Installing gForth on the Raspberry Pi rickman <gnuarm@gmail.com> - 2014-10-28 15:53 -0400
                                          Re: Installing gForth on the Raspberry Pi rickman <gnuarm@gmail.com> - 2014-10-28 17:10 -0400
                        Re: Installing gForth on the Raspberry Pi rickman <gnuarm@gmail.com> - 2014-10-27 18:23 -0400
                          Re: Installing gForth on the Raspberry Pi Nomen Nescio <nobody@dizum.com> - 2014-11-15 23:09 +0100
                            Re: Installing gForth on the Raspberry Pi Martin Gregorie <martin@address-in-sig.invalid> - 2014-11-16 00:35 +0000
                            Re: Installing gForth on the Raspberry Pi rickman <gnuarm@gmail.com> - 2014-11-16 00:06 -0500
          Re: Installing gForth on the Raspberry Pi albert@spenarnc.xs4all.nl (Albert van der Horst) - 2014-10-26 19:36 +0000
            Re: Installing gForth on the Raspberry Pi rickman <gnuarm@gmail.com> - 2014-10-26 16:24 -0400
          Re: Installing gForth on the Raspberry Pi Hannu Vuolasaho <vuokkosetae@gmail.com> - 2014-10-27 23:48 +0200
          Re: Installing gForth on the Raspberry Pi josv@planet.nl - 2014-10-28 05:27 -0700
            Re: Installing gForth on the Raspberry Pi rickman <gnuarm@gmail.com> - 2014-10-28 16:02 -0400
              Re: Installing gForth on the Raspberry Pi Coos Haak <chforth@hccnet.nl> - 2014-10-28 22:57 +0100
                Re: Installing gForth on the Raspberry Pi rickman <gnuarm@gmail.com> - 2014-10-28 19:54 -0400
                  Re: Installing gForth on the Raspberry Pi rickman <gnuarm@gmail.com> - 2014-10-28 20:01 -0400
      Re: Installing gForth on the Raspberry Pi "A. Dumas" <alexandre@dumas.fr.invalid> - 2014-10-27 04:10 +0100
    QUESTIONS and ANSWERS pass in the dark  ;< - was [ Re: Installing gForth on the Raspberry Pi ] Richard Owlett <rowlett@cloud85.net> - 2014-10-28 14:06 -0500

Page 7 of 7 — ← Prev page 1 2 3 4 5 6 [7]


#34174

Fromalbert@spenarnc.xs4all.nl (Albert van der Horst)
Date2014-10-26 19:36 +0000
Message-ID<544d4d52$0$15849$e4fe514c@dreader35.news.xs4all.nl>
In reply to#34162
In article <m2j8ed$4pb$1@dont-email.me>, rickman  <gnuarm@gmail.com> wrote:
>On 10/26/2014 12:20 PM, rickman wrote:
>> On 10/26/2014 12:11 PM, Gordon Henderson wrote:
>>> In article <m2j5vj$rem$1@dont-email.me>, rickman  <gnuarm@gmail.com>
>>> wrote:
>>>> I have an rPi working on my desk and thought I would install gForth on
>>>> it.  I found suggestions that this command should work...
>>>>
>>>> sudo apt-get install gforth
>>>>
>>>> But it didn't...  :(  Here are the error messages.  Any suggestions?  As
>>>> you can likely tell I am a complete noob with Linux.
>>>>
>>>>
>>>> pi@raspberrypi ~ $ sudo apt-get install gforth
>>>> Reading package lists... Done
>>>> Building dependency tree
>>>> Reading state information... Done
>>>> The following extra packages will be installed:
>>>>    gforth-common gforth-lib libffcall1
>>>> The following NEW packages will be installed:
>>>>    gforth gforth-common gforth-lib libffcall1
>>>> 0 upgraded, 4 newly installed, 0 to remove and 0 not upgraded.
>>>> Need to get 979 kB of archives.
>>>> After this operation, 2,703 kB of additional disk space will be used.
>>>> Do you want to continue [Y/n]? y
>>>> Err http://mirrordirector.raspbian.org/raspbian/ wheezy/main gforth-lib
>>>> armhf 0.7.0+ds1-7
>>>>    404  Not Found
>>>
>>> Two possibilities here
>>>
>>> One is that the archive is corrupt - unlikely...
>>>
>>> The other is more probably - some of these packages have been updated, or
>>> their dependancies have and have changed name/paths.
>>>
>>> Try this:
>>>
>>>    sudo apt-get update
>>>    sudo apt-get install gforth
>>>
>>> You might want to do a full update anyway:
>>>
>>>    sudo apt-get upgrade
>>>    sudo apt-get dist-upgrade
>>>
>>> The latter isn't normally needed, but the foundation have added some
>>> additional stuff into Raspbian to support the new web browser (IIRC)
>>
>> The error messages said to try sudo apt-get upgrade so I did and it
>> didn't help.  What exactly is that supposed to do?  Does it update data
>> on my machine that points to the files?
>>
>> I'll try your suggestions.  :)
>
>Yes, that worked.  Seems I had trouble with the SUDO thing.  Last night
>I first used the apt-get command without SUDO and then had a series of
>errors that messed up when I tried to add SUDO.  Like I said, a total
>noob.  But I have learned a few things from this.
>
>Now I need to learn how to use gforth to open a serial port and open a
>window from and send text to it to be displayed.

Actually sudo is superfluous. The raspberry in an embedded setting is
a single user system. Making that single user a sudoer doesn't make
sense. I would suggest to remove sudo altogether.

Then when you have to do a system action, just do it as superuser,
aka root. Make that terminal a red background and be careful.
A lot of caveats disappear.

A security tool requiring to absorb 10 pages of information doesn't
make a system safer for novices. The caveats for being a super user
are super simple. You can do everything, so watch out!

>
>Thanks  :)

Groetjes Albert

>
>--
>
>Rick
-- 
Albert van der Horst, UTRECHT,THE NETHERLANDS
Economic growth -- being exponential -- ultimately falters.
albert@spe&ar&c.xs4all.nl &=n http://home.hccnet.nl/a.w.m.van.der.horst

[toc] | [prev] | [next] | [standalone]


#34178

Fromrickman <gnuarm@gmail.com>
Date2014-10-26 16:24 -0400
Message-ID<m2jla8$m4u$1@dont-email.me>
In reply to#34174
On 10/26/2014 3:36 PM, Albert van der Horst wrote:
> In article <m2j8ed$4pb$1@dont-email.me>, rickman  <gnuarm@gmail.com> wrote:
>> On 10/26/2014 12:20 PM, rickman wrote:
>>> On 10/26/2014 12:11 PM, Gordon Henderson wrote:
>>>> In article <m2j5vj$rem$1@dont-email.me>, rickman  <gnuarm@gmail.com>
>>>> wrote:
>>>>> I have an rPi working on my desk and thought I would install gForth on
>>>>> it.  I found suggestions that this command should work...
>>>>>
>>>>> sudo apt-get install gforth
>>>>>
>>>>> But it didn't...  :(  Here are the error messages.  Any suggestions?  As
>>>>> you can likely tell I am a complete noob with Linux.
>>>>>
>>>>>
>>>>> pi@raspberrypi ~ $ sudo apt-get install gforth
>>>>> Reading package lists... Done
>>>>> Building dependency tree
>>>>> Reading state information... Done
>>>>> The following extra packages will be installed:
>>>>>     gforth-common gforth-lib libffcall1
>>>>> The following NEW packages will be installed:
>>>>>     gforth gforth-common gforth-lib libffcall1
>>>>> 0 upgraded, 4 newly installed, 0 to remove and 0 not upgraded.
>>>>> Need to get 979 kB of archives.
>>>>> After this operation, 2,703 kB of additional disk space will be used.
>>>>> Do you want to continue [Y/n]? y
>>>>> Err http://mirrordirector.raspbian.org/raspbian/ wheezy/main gforth-lib
>>>>> armhf 0.7.0+ds1-7
>>>>>     404  Not Found
>>>>
>>>> Two possibilities here
>>>>
>>>> One is that the archive is corrupt - unlikely...
>>>>
>>>> The other is more probably - some of these packages have been updated, or
>>>> their dependancies have and have changed name/paths.
>>>>
>>>> Try this:
>>>>
>>>>     sudo apt-get update
>>>>     sudo apt-get install gforth
>>>>
>>>> You might want to do a full update anyway:
>>>>
>>>>     sudo apt-get upgrade
>>>>     sudo apt-get dist-upgrade
>>>>
>>>> The latter isn't normally needed, but the foundation have added some
>>>> additional stuff into Raspbian to support the new web browser (IIRC)
>>>
>>> The error messages said to try sudo apt-get upgrade so I did and it
>>> didn't help.  What exactly is that supposed to do?  Does it update data
>>> on my machine that points to the files?
>>>
>>> I'll try your suggestions.  :)
>>
>> Yes, that worked.  Seems I had trouble with the SUDO thing.  Last night
>> I first used the apt-get command without SUDO and then had a series of
>> errors that messed up when I tried to add SUDO.  Like I said, a total
>> noob.  But I have learned a few things from this.
>>
>> Now I need to learn how to use gforth to open a serial port and open a
>> window from and send text to it to be displayed.
>
> Actually sudo is superfluous. The raspberry in an embedded setting is
> a single user system. Making that single user a sudoer doesn't make
> sense. I would suggest to remove sudo altogether.
>
> Then when you have to do a system action, just do it as superuser,
> aka root. Make that terminal a red background and be careful.
> A lot of caveats disappear.
>
> A security tool requiring to absorb 10 pages of information doesn't
> make a system safer for novices. The caveats for being a super user
> are super simple. You can do everything, so watch out!

I don't know about 10 pages of info.  Using SUDO is easier than learning 
how to switch between user and superuser.  One of the SUDO references 
said it was used on systems where root is a locked account.  Sudo lets 
you execute one command as superuser to save the trouble of changing 
your login or when it is impossible such as when root is a locked 
account.  I may not have the words exactly right, but I think using Sudo 
is not one of my real concerns right now.  Thanks anyway.

-- 

Rick

[toc] | [prev] | [next] | [standalone]


#34226

FromHannu Vuolasaho <vuokkosetae@gmail.com>
Date2014-10-27 23:48 +0200
Message-ID<m2mej2$pgk$1@dont-email.me>
In reply to#34162
On 26.10.2014 18:44, rickman wrote:

>
> Now I need to learn how to use gforth to open a serial port and open a
> window from and send text to it to be displayed.

There is tool for shoveling data between socket, PTY and serial port.
Socat can do quite interesting things. It can listen port, or connect to 
port or forward data to serial to tcp and many more things.

Web page for Socat is http://www.dest-unreach.org/socat/

And it should be in repos also.

Best regards,
Hannu Vuolasaho

[toc] | [prev] | [next] | [standalone]


#34247

Fromjosv@planet.nl
Date2014-10-28 05:27 -0700
Message-ID<d3ce8aa4-f235-4438-acba-a9f290d56423@googlegroups.com>
In reply to#34162
On 26 october 2014 17:45:09 UTC+1 rickman wrote:

> Yes, that worked. 
Worked here too.
Quite fun to install and run gForth on a RPI by using a terminal emulator connected through WiFi.

On YouTube I found a movie that explains what you need (hardware and software) to get a serial connection (Not in use here) from an USB-port. See:
http://www.youtube.com/watch?feature=player_detailpage&v=9gLXfOA87zI

Jos

[toc] | [prev] | [next] | [standalone]


#34260

Fromrickman <gnuarm@gmail.com>
Date2014-10-28 16:02 -0400
Message-ID<m2ospe$l3b$1@dont-email.me>
In reply to#34247
On 10/28/2014 8:27 AM, josv@planet.nl wrote:
> On 26 october 2014 17:45:09 UTC+1 rickman wrote:
>
>> Yes, that worked.
> Worked here too.
> Quite fun to install and run gForth on a RPI by using a terminal emulator connected through WiFi.
>
> On YouTube I found a movie that explains what you need (hardware and software) to get a serial connection (Not in use here) from an USB-port. See:
> http://www.youtube.com/watch?feature=player_detailpage&v=9gLXfOA87zI

Cool.  Nice video, very well made.

One problem I noticed this morning... I have a number of keyboards, but 
they are all old and most have PS2 connectors.  I have some USB adapters 
that are just wire through connections which don't seem to work with the 
rPi.  The one keyboard with a USB connector seems to work oddly.  A few 
of the keys get remapped to different characters, most importantly the 
vertical bar (pipe character) displays as a #.

Is this something on the rPi or is this keyboard somehow messed up?  It 
is a Dell keyboard from a computer I salvaged from the trash.  It worked 
ok until one day it wouldn't boot.  I suspect that is why it went in the 
trash, it boots intermittently, rather than the keyboard being bad, but 
who knows?  I guess I need to get a known good USB keyboard somewhere 
and try it.

-- 

Rick

[toc] | [prev] | [next] | [standalone]


#34265

FromCoos Haak <chforth@hccnet.nl>
Date2014-10-28 22:57 +0100
Message-ID<18dmxejqutn6.1b8qt6emho7si.dlg@40tude.net>
In reply to#34260
Op Tue, 28 Oct 2014 16:02:32 -0400 schreef rickman:

> On 10/28/2014 8:27 AM, josv@planet.nl wrote:
>> On 26 october 2014 17:45:09 UTC+1 rickman wrote:
>>
>>> Yes, that worked.
>> Worked here too.
>> Quite fun to install and run gForth on a RPI by using a terminal emulator connected through WiFi.
>>
>> On YouTube I found a movie that explains what you need (hardware and software) to get a serial connection (Not in use here) from an USB-port. See:
>> http://www.youtube.com/watch?feature=player_detailpage&v=9gLXfOA87zI
> 
> Cool.  Nice video, very well made.
> 
> One problem I noticed this morning... I have a number of keyboards, but 
> they are all old and most have PS2 connectors.  I have some USB adapters 
> that are just wire through connections which don't seem to work with the 
> rPi.  The one keyboard with a USB connector seems to work oddly.  A few 
> of the keys get remapped to different characters, most importantly the 
> vertical bar (pipe character) displays as a #.
> 
> Is this something on the rPi or is this keyboard somehow messed up?  It 
> is a Dell keyboard from a computer I salvaged from the trash.  It worked 
> ok until one day it wouldn't boot.  I suspect that is why it went in the 
> trash, it boots intermittently, rather than the keyboard being bad, but 
> who knows?  I guess I need to get a known good USB keyboard somewhere 
> and try it.

Have you tried 'sudo raspi-config' ?
 -  4 internationalisation options,
 - 13 change keyboard layout,
 - generic 105-key (Intl) PC,
 - English (US)
or some such, because RPi uses by default an UK keyboard..
Here in the Netherlands we use US keyboards.
The last time I used an UK keyboard was on my Amstrad-Schneider in 1986.

Q: As I think that U a vowel I use 'an UK' or must it be 'a UK'.
-- 
Coos

CHForth, 16 bit DOS applications
http://home.hccnet.nl/j.j.haak/forth.html 

[toc] | [prev] | [next] | [standalone]


#34266

Fromrickman <gnuarm@gmail.com>
Date2014-10-28 19:54 -0400
Message-ID<m2pacv$8nu$1@dont-email.me>
In reply to#34265
On 10/28/2014 5:57 PM, Coos Haak wrote:
> Op Tue, 28 Oct 2014 16:02:32 -0400 schreef rickman:
>
>> On 10/28/2014 8:27 AM, josv@planet.nl wrote:
>>> On 26 october 2014 17:45:09 UTC+1 rickman wrote:
>>>
>>>> Yes, that worked.
>>> Worked here too.
>>> Quite fun to install and run gForth on a RPI by using a terminal emulator connected through WiFi.
>>>
>>> On YouTube I found a movie that explains what you need (hardware and software) to get a serial connection (Not in use here) from an USB-port. See:
>>> http://www.youtube.com/watch?feature=player_detailpage&v=9gLXfOA87zI
>>
>> Cool.  Nice video, very well made.
>>
>> One problem I noticed this morning... I have a number of keyboards, but
>> they are all old and most have PS2 connectors.  I have some USB adapters
>> that are just wire through connections which don't seem to work with the
>> rPi.  The one keyboard with a USB connector seems to work oddly.  A few
>> of the keys get remapped to different characters, most importantly the
>> vertical bar (pipe character) displays as a #.
>>
>> Is this something on the rPi or is this keyboard somehow messed up?  It
>> is a Dell keyboard from a computer I salvaged from the trash.  It worked
>> ok until one day it wouldn't boot.  I suspect that is why it went in the
>> trash, it boots intermittently, rather than the keyboard being bad, but
>> who knows?  I guess I need to get a known good USB keyboard somewhere
>> and try it.
>
> Have you tried 'sudo raspi-config' ?
>   -  4 internationalisation options,
>   - 13 change keyboard layout,
>   - generic 105-key (Intl) PC,
>   - English (US)
> or some such, because RPi uses by default an UK keyboard..
> Here in the Netherlands we use US keyboards.
> The last time I used an UK keyboard was on my Amstrad-Schneider in 1986.
>
> Q: As I think that U a vowel I use 'an UK' or must it be 'a UK'.

I don't know the "rule", but the purpose of using "an" is to not have 
two vowel sounds adjacent which are hard to say.  In writing I'm not 
sure I give a crap, plus you need to consider if UK is pronounced YouKay 
or United Kindom.  Finally I don't see where "Ay YouKay" (like AUK) is 
hard to say so it is all macht nichts to me.

-- 

Rick

[toc] | [prev] | [next] | [standalone]


#34267

Fromrickman <gnuarm@gmail.com>
Date2014-10-28 20:01 -0400
Message-ID<m2paot$8nu$3@dont-email.me>
In reply to#34266
On 10/28/2014 7:54 PM, rickman wrote:
> you need to consider if UK is pronounced YouKay
> or United Kindom.

Obviously UK and United Kingdom have the same starting vowel sound, I 
was referring to the general case where the words pronounced have a 
different vowel sound from the initials.

-- 

Rick

[toc] | [prev] | [next] | [standalone]


#34199

From"A. Dumas" <alexandre@dumas.fr.invalid>
Date2014-10-27 04:10 +0100
Message-ID<544db79a$0$2930$e4fe514c@news2.news.xs4all.nl>
In reply to#34160
On 26/10/2014 17:11, Gordon Henderson wrote:
>    sudo apt-get upgrade
>    sudo apt-get dist-upgrade
>
> The latter isn't normally needed, but the foundation have added some
> additional stuff into Raspbian to support the new web browser (IIRC)

dist-upgrade doesn't mean something like "os system distribution 
upgrade." You don't get more, or different, packages. According to the 
man page for apt-get, it's a more intelligent version of upgrade:

> dist-upgrade
>    dist-upgrade in addition to performing the function of upgrade,
>    also intelligently handles changing dependencies with new versions
>    of packages; apt-get has a "smart" conflict resolution system, and
>    it will attempt to upgrade the most important packages at the
>    expense of less important ones if necessary. The dist-upgrade
>    command may therefore remove some packages.

Maybe the name means distinction in the sense of (mathematical set) 
difference, although if so, diff-upgrade would have been clearer.

[toc] | [prev] | [next] | [standalone]


#34258 — QUESTIONS and ANSWERS pass in the dark ;< - was [ Re: Installing gForth on the Raspberry Pi ]

FromRichard Owlett <rowlett@cloud85.net>
Date2014-10-28 14:06 -0500
SubjectQUESTIONS and ANSWERS pass in the dark ;< - was [ Re: Installing gForth on the Raspberry Pi ]
Message-ID<Q7udnT2m_PS7dNLJnZ2dnUU7-K2dnZ2d@supernews.com>
In reply to#34159
[ *SNIP* ~1 month ]

On 10/26/2014 rickman wrote:
> ...  Please remember I am not conversant with Linux.  ...

On 10/26/2014 rickman (in a different post) also wrote:

> ...  I have a program ...  It was written in Forth using OS specific calls (Windows).
> ...  Now I wish to port this program to the rPi. ...

I also gather that Rick has not used gforth before.

Rick, as a NONexpert in FORTH nor *nix may I suggest:

_The Debian Administrator's Handbook_ by Raphaƫl Hertzog and 
Roland Mas
( http://debian-handbook.info/ )
"Debian Reference" by Osamu Aoki
( https://www.debian.org/doc/manuals/debian-reference/ )

Assuming that current Linux and Windows versions of gforth are 
functionally equivalent that you first port your Forth program to 
the Windows version of gforth. That way you deal with only one 
new thing at a time.

P.S. I predate the use of transistors in computers ;/






[toc] | [prev] | [standalone]


Page 7 of 7 — ← Prev page 1 2 3 4 5 6 [7]

Back to top | Article view | comp.lang.forth


csiph-web