Date   

BBC BASIC for Android (86)

Richard Russell
 

Something amazing (follow the link):


http://bbcbasic.conforums.com/index.cgi?board=android&;action=display&num=1451863590 http://bbcbasic.conforums.com/index.cgi?board=android&;action=display&num=1451863590


BBC BASIC for Android (86)

Richard Russell
 


Re: Code Signing Certificates

Richard Russell
 

I got my certificate re-issued today, but it's still SHA-1! I found a comment in Comodo's Knowledge Base which says that it only gets re-issued as SHA-2 if the current cert is due to expire *after* 31st December 2016, which mine isn't. I'm trying to establish whether that means you can lose up to a year's worth of your current cert without any financial compensation, which wouldn't be very nice.


Richard.


Re: Code Signing Certificates

Ian_Wade_G3NRW
 

On 01/01/2016 18:11, yahoo@rtrussell.co.uk [bb4w] wrote:


I have always purchased my Code Signing Certificates from Tucows, as theirs are the cheapest, readily available, 'high quality' certificates I have been able to find (originated by Comodo):


https://author.tucows.com https://author.tucows.com


I can't see anything which specifically states that they are now supplying SHA-2 certificates, but my understanding is that from today that is the only kind that can be issued.

Thanks Richard.

Although I have not dealt with them before, tucows was the organization I had in mind.

--
73
Ian, G3NRW


Re: Code Signing Certificates

Richard Russell
 

---In bb4w@yahoogroups.com, <g3nrw-radio@ntlworld.com> wrote :
> May I ask where you are getting your SHA-2 cert from? I need to do the same.



I have always purchased my Code Signing Certificates from Tucows, as theirs are the cheapest, readily available, 'high quality' certificates I have been able to find (originated by Comodo):


https://author.tucows.com https://author.tucows.com


I can't see anything which specifically states that they are now supplying SHA-2 certificates, but my understanding is that from today that is the only kind that can be issued.


Richard (G4BAU).


Re: Code Signing Certificates

Ian_Wade_G3NRW
 

On 01/01/2016 16:50, yahoo@rtrussell.co.uk [bb4w] wrote:

SHA-2 certificate. I am currently in the process of obtaining one

Richard

May I ask where you are getting your SHA-2 cert from? I need to do the same.

--
73
Ian, G3NRW


Re: BBC BASIC for Linux poll

J.G.Harston
 

rtrussell wrote:
It's disappointing that nobody is interested in writing, or helping to
write, an IDE.

I thought I'd selected that option. Going back to look at the poll I
realise it only saves one option. I'd selected both ;offering to help
test' and 'help develop an IDE'.


--
J.G.Harston - jgh@mdfs.net - mdfs.net/jgh


Code Signing Certificates

Richard Russell
 

As many of you will know, Windows support for SHA-1 Code Signing Certificates ended yesterday. From now on, only SHA-2 certificates will be accepted as valid. This should not have any immediate effect on 'BBC BASIC for Windows' because although the version 6.00a installer and upgrade EXEs are signed with an SHA-1 certificate they are time-stamped with a date prior to today, and that should mean they are still accepted.

However, any EXEs that I generate from now onwards, which may include updates to BB4W or just compiled BASIC programs, will need to be signed with an SHA-2 certificate. I am currently in the process of obtaining one (I thought that replacing my existing SHA-1 certificate would be an 'instant' exercise but it seems not).

One particular thing to note is that SHA-2 certificates are only recognised by versions of Windows from XP SP3 onwards. If you are running Windows XP, please ensure that Service Pack 3 is installed; if you are still using an even older version (e.g. Windows 2000) then executables signed with an SHA-2 certificate will not be accepted.

Richard.


Code Signing Certificates

Richard Russell
 

As many of you will know, Windows support for SHA-1 Code Signing Certificates ended yesterday. From now on, only SHA-2 certificates will be accepted as valid. This should not have any immediate effect on 'BBC BASIC for Windows' because although the version 6.00a installer and upgrade EXEs are signed with an SHA-1 certificate they are time-stamped with a date prior to today, and that should mean they are still accepted.


However, any EXEs that I generate from now onwards, which may include updates to BB4W or just compiled BASIC programs, will need to be signed with an SHA-2 certificate. I am currently in the process of obtaining one (I thought that replacing my existing SHA-1 certificate would be an 'instant' exercise but it seems not).


One particular thing to note is that SHA-2 certificates are only recognised by versions of Windows from XP SP3 onwards. If you are running Windows XP, please ensure that Service Pack 3 is installed; if you are still using an even older version (e.g. Windows 2000) then executables signed with an SHA-2 certificate will not be accepted.


Richard.


Re: BBC BASIC for Linux poll

Richard Russell
 

It's disappointing that nobody is interested in writing, or helping to write, an IDE. I thought it would be an ideal project since it must be coded entirely in BASIC, with the GUI created using standard BBC Micro or Acorn Archimedes-style graphics (there are no OS widgets to call upon in SDL/Linux!). Assembler code would be acceptable, but is unlikely to be of much benefit to an IDE.


Importantly, since it needs to be 'platform agnostic' the IDE could be written entirely in BB4W, on a Windows platform, so it would be an opportunity for somebody who is interested in 'BBC BASIC for Linux' - but currently has no Linux system - to contribute.


Still, what will be will be. 'BBC BASIC for Linux' is largely useless without an IDE; existing programs can be run but code cannot be written, edited, tested or debugged. So it will remain in its current mothballed state unless and until I, or somebody else, can summon up enough enthusiasm to create an IDE.


A small compensation is that those people who disapprove of there being a Linux version will be pleased!


Richard.


File - reminder.txt

bb4w@...
 

(This message is posted automatically once a month)

If you are currently receiving emails from the group but would
prefer not to, you can change your email delivery settings. To
do that click on 'Edit Membership' above (if you are reading this
on the group's web page) or connect to the internet and click on
this link: http://groups.yahoo.com/group/bb4w/join

Scroll down to the section entitled Message Delivery and you will
see four radio-button options:

o Individual Email
o Daily Digest
o Special Notices
o Web Only

Select 'Special Notices' or 'Web Only', then confirm by clicking
Save Changes, and you won't be troubled by group emails (if you
select Special Notices you will still receive important messages
such as announcements of new versions of BBC BASIC for Windows).

Richard.


Re: BBC BASIC for Linux poll

Richard Russell
 


Re: BBC BASIC for Linux poll

Richard Russell
 

Shit, Yahoo has allowed somebody to edit the poll itself (adding another option) even though the settings explicitly say 'Members can view, moderators can view/edit'!! And I can't find a way to edit it to remove that added option. What can I do now other than to delete the entire poll?


Richard.


Re: BBC BASIC for Linux poll

Richard Russell
 

---In bb4w@yahoogroups.com, <dave@davesergeant.com> wrote :
> Not sure what you meant to say Richard


I didn't mean to "say" anything. I created a poll - which seems to have worked correctly - but stupid Yahoo, instead of emailing everybody with a message saying that a poll had been created and linking to it (which is what used to happen pre-Neo), has sent out an empty message!


Still, if the news about Marissa Mayer is to be believed, Yahoo Groups won't be with us much longer (at least, not in its current form) so perhaps we will soon be rid of this utterly useless apology for a forum.


> but polls seem disabled in the current configuration of the BB4W Yahoogroup


Disabled? The poll has appeared perfectly OK as far as I can see so I'm not aware of any problem. The settings suggest that members can view but not 'edit' polls, so perhaps Yahoo in its wisdom considers a vote to be an 'edit'! In that case I would have to change the settings so that members can edit the poll, but that doesn't seem quite right.


The more serious issue is how the members who interact with the group via email are supposed to know the poll exists and discover how to vote. I'll try including my own link in the message but whether it will work is up to the Yahoo goblins (and if it appears twice it was not my doing):


https://groups.yahoo.com/neo/groups/bb4w/conversations/messages/21530 https://groups.yahoo.com/neo/groups/bb4w/conversations/messages/21530


(This appears to be a link to a message not a poll, but it's all I seem able to do).


Did I say that Yahoo Groups is a complete waste of space?! I've recently been posting all my BBC BASIC announcements to Groups.io, Wiggio, Google Groups, Yahoo Groups and Conforums. Four out of five of these have 'just worked' but one has been a constant pain with duplicating links, adding unwanted white space, faulty indentation etc. I'll let you guess which one it was....


Richard.


Re: BBC BASIC for Linux poll

Dave Sergeant
 

Not sure what you meant to say Richard, but polls seem disabled in the
current configuration of the BB4W Yahoogroup - even though the homepage
says '1 new poll'.

73 Dave G3YMC

On 29 Dec 2015 at 3:46, yahoo@rtrussell.co.uk [bb4w] wrote:

Write a message...

http://davesergeant.com


BBC BASIC for Linux poll

Richard Russell
 

Write a message...


Re: BBC BASIC for Linux update

Richard Russell
 

---In bb4w@yahoogroups.com, <yahoo@rtrussell.co.uk> wrote :
> Here are instructions:


I should emphasise that these instructions are for the 32-bit edition of CentOS 7. 'BBC BASIC for Linux' is necessarily a 32-bit program, and whilst it should in principle be possible to build the necessary 32-bit libraries on a 64-bit platform you will probably find it easier to temporarily install the 32-bit version (e.g. in a VM), build the SDL2 and SDL2_ttf libraries there, and then copy the resulting .so files across to the appropriate i386 directory on the 64-bit installation.


Richard.


Re: BBC BASIC for Linux update

Richard Russell
 

---In bb4w@yahoogroups.com mailto:bb4w@yahoogroups.com, <davidfeugey@yahoo.com mailto:davidfeugey@yahoo.com> wrote :
> Try to make BBC4L running under CentOS 7 or Red Hat Enterprise Linux: there is only SDL 1.2.


Once again, to my frustration, it is claimed that 'BBC BASIC for Linux' cannot be installed on a particular 'flavour' of Linux. It is indeed true that SDL2 is not currently available as a pre-built 'package' for CentOS 7, but just as with Puppy Linux it can be built from the source code, and that is something that only needs to be done once. Here are instructions:


1. Download the following files using Firefox:
https://www.libsdl.org/release/SDL2-2.0.3.zip https://www.libsdl.org/release/SDL2-2.0.3.zip
https://www.libsdl.org/projects/SDL_ttf/release/SDL2_ttf-2.0.12.zip https://www.libsdl.org/projects/SDL_ttf/release/SDL2_ttf-2.0.12.zip
http://www.rtr.myzen.co.uk/bbclinux.zip http://www.rtr.myzen.co.uk/bbclinux.zip



2. Open a terminal and navigate to the directory containing the above files (probably 'cd Downloads'). Issue the following commands to unzip the downloaded files:


unzip SDL2-2.0.3.zip
unzip SDL2_ttf-2.0.12.zip
unzip bbclinux.zip


3. Install the required development tools as follows (you may find they are already installed):


sudo yum groupinstall 'Development Tools'
sudo yum install freetype-devel


4. Build and install SDL2 as follows:


cd SDL2-2.0.3
./configure
make
sudo make install


5. Build and install SDL2_ttf as follows:


cd ../SDL2_ttf-2.0.12
./configure
make
sudo make install


6. Set the library load path to where SDL2 and SDL2_ttf were installed:


export LD_LIBRARY_PATH=$LD_LIBRARY_PATH:/usr/local/lib


7. Run BBC BASIC:


cd ..
./bbcsdl


Richard.


Re: BBC BASIC for Linux update

Richard Russell
 

---In bb4w@yahoogroups.com, <davidfeugey@yahoo.com> wrote :
> Try to make BBC4L running under CentOS 7 or Red Hat Enterprise Linux: there is only SDL 1.2.


This contradicts what it says on the SDL2 website: "Red Hat-based systems (including Fedora) can simply do 'sudo yum install SDL2' to get the library installed system-wide". The very reason I tried BBC BASIC on Fedora is that it is supposed to be similar to RedHat. I had no difficulty getting it going.


> So, yes, it's better to stick on a specific class of Linux OSes and to forget the others.


Rubbish.


> Nota: a console mode, without graphics or sound could be useful on these OSes.


I don't see how SDL - an entirely GUI-based platform - could ever be used to create a console program.


> No more dependencies problems


There are not, and never were, any 'dependency' problems. I am not falling for this bogus claim again.


Richard.


BBC BASIC for Linux update

Richard Russell
 

Almost as soon as I announced that I was working on an SDL (86) version of BBC BASIC (initially targetted to Linux) the comments from self-declared 'experts' began. It was confidently stated that licensing conditions would be difficult or impossible to overcome unless I made it Open Source, that variability between Linux 'flavours' would make it essential to compile custom 'packages' for each one, or even that it might be so difficult to make it work on multiple varieties of Linux that I should target just one.


I have made no secret of the fact that my knowledge of Linux is next to non-existent, so initially I believed these comments as being authoritative. However they did not altogether accord with what my 'common sense' suggested, and the more I did my own research the more I doubted their accuracy. As far as licensing conditions are concerned I was able to establish that the most onerous applicable licence is LGPL, and that permits dynamic linking from a Closed Source application. And as far as variability between different varieties of Linux was concerned I couldn't understand how an executable compiled without any statically-linked libraries could be platform-specific in the way claimed.


But the only way to be sure was to try it. So I have now attempted to run 'BBC BASIC for Linux' (that is, just a compiled executable in Elf format, not a 'package'') on each of the following Linux platforms:


1. Ubuntu Linux 14.04.3 (32-bits), installed on hard drive.
2. Ubuntu Linux 14.04.3 (64-bits), installed on hard drive.
3. Linux Mint 17.3 (32-bits), booted from 'live' CD.
4. Fedora 23 (32-bits), booted from 'live' CD.
5. Puppy Linux slacko-6.3.0 (32-bits), booted from 'live' CD.


And what do you know? In every case it ran straightforwardly without any of the predicted problems! I will refrain from speculating on the motives of those who were so pessimistic.


For those who may be interested, here is how to run 'BBC BASIC for Linux' on the various platforms. In each case you will need to have downloaded http://www.rtr.myzen.co.uk/bbclinux.zip:


1. Ubuntu and Linux Mint, 32-bits:


Issue the following commands at a terminal prompt:
sudo apt-get install libsdl2-2.0-0
sudo apt-get install libsdl2-ttf-2.0-0
unzip bbclinux.zip
./bbcsdl


2. Ubuntu, 64-bits (this assumes that support for running 32-bit executables on a 64-bit platform has been installed, which it probably will have been - especially if Wine is loaded - but not if booted from a live CD).


Issue the following commands at a terminal prompt:
sudo apt-get install libsdl2-2.0-0:i386
sudo apt-get install libsdl2-ttf-2.0-0:i386
unzip bbclinux.zip
./bbcsdl


3. Fedora, 32-bits (n.b. I found that SDL2 was installed by default):


Issue the following commands at a terminal prompt:
sudo dnf install SDL2_ttf
unzip bbclinux.zip
./bbcsdl


3. Puppy Linux (although libsdl2 is available 'pre-packaged' as a .pet file, libsdl2-ttf isn't so rebuilding from the source is required):


Carry out the steps listed at the forum here:


http://bbcbasic.conforums.com/index.cgi?board=general&;num=1450032012&action=display&start=27


In each case you can alternatively specify a BBC BASIC program to be run, for example:


./bbcsdl examples/graphics/persian.bbc


Richard.

3121 - 3140 of 23760