In 2015 the National Museum of Computing at Bletchley Park displayed photographs of some of their classroom activities using 1980s BBC Microcomputers. In one picture, a child had typed the word TWITTER at the 1982 BBC BASIC prompt, perhaps thinking that this would somehow take them to the social networking website called Twitter. (Website? What's that in 1982?) BBC BASIC had just said Mistake because it wasn't a well-formed command (the word TWITTER would work as a variable name, but in BBC BASIC you have to specify what to do with that variable---even if it were already defined, you'd still need to PRINT it or something; you can't just inspect variables by typing their names alone as you can in Python).
The organisers evidently thought the child's attempt to load Twitter to be cute enough to post a photograph of the error message with the caption "Some things the Beeb won't do."
I must say: did you want something like this?
Admittedly, this (emulated) Beeb had some extra help in the form of an RS423 connection to a Debian GNU/Linux 8 "Jessie" system (running edbrowse in the 1st screenshot, and PhantomJS with pbmtobbc in the 2nd screenshot). But then, some mobile phones use browsers that require a transcoding proxy between the phone and the website, and few people say the phone "won't do" the website just because it's not doing all the processing by itself. (They might say it's not doing the site very well, but that's not the same question as whether it will do it at all.)
While we understand the caption's intended meaning, in all fairness we should point out that the Beeb at the museum wouldn't do Twitter because its RS423 port wasn't connected to a suitable server and it wasn't running a *FX loop to act as a terminal for that server. Not just because it was a Beeb.
The one-liner to type on the BBC Micro is as follows:
(I said Mode 6 so that "[" and "]" display as square brackets; they'd be arrows in Mode 7. Those with good monitors and eyesight might like to try the 80-column Mode 3 instead, and pbmtobbc works best in Mode 4.)
On the server side, it's necessary to add a rate-throttling script to reduce buffer overflows, plus translate carriage returns etc. Something like the example script below.
If you want to run a screen mode browser like lynx (with cursor positioning, not just line-mode interaction), some versions of Kermit can emulate the VT-52 "DECscope", or the Master's *TERMINAL (press Enter at the = prompt) has ANSI (VT100).
Cambridge University used BBC Micros as terminals to its IBM mainframe called "Phoenix" which was retired in 1995, 2 years before I started; I understand they were Model Bs with custom terminal ROMs and matching termcap files on the Unix side, but I don't know what they were capable of.
The BBC's entire graphics repertoire can be driven with VDU codes sent over the link: here I've kludged my old music program's plotter output into BBC PLOT codes (VDU 25) in Mode 0, but monochrome images are better transferred as bitmaps split into 8x8 blocks for VDU 23 (see pbmtobbc above).
The early Phoenix BCPL version of PMS had a BBC-terminal preview mode which used 8x8 characters in some way but didn't attempt to render curves.
Below is a simple script for rate-throttling and linefeed translation to go with the above FX one-liner. This script is for GNU/Linux; on the Mac you'll have to do without pty so you might be more limited in the commands you can run. I've also assumed the BBC emulator is running its RS423 connection in Server mode (which tends to be more reliable than Client mode) and is listening on localhost port 2323.
toNC,fromNC = os.popen4("nc localhost 2323")
os.system("rm -f /tmp/w3c-cache/.lock")
toWWW,fromWWW = os.popen4("python -c 'import pty,time
try: typed = fromNC.read(1024).replace("\r","\n")
except IOError: typed = ""
try: out = fromWWW.read(1024)
except IOError: out = ""
out = out.split("\n")
for l in out[:-1]:
out = out[-1]
if out: toNC.write(out), toNC.flush()
But can you log in?
That child might still be disappointed to find they can't actually log in to Twitter, because the login process depends on interacting with graphics. An RS423-based VNC viewer would be theoretically possible (it would have to reduce the colour depth from 8 to 3, 2 or 1, and the mouse emulation could be tricky) but it would be slow. If they really were trapped with nothing but a BBC Micro terminal and were still desperate to use Twitter, I'd suggest preparing in advance by getting an API key that lets you do what you want with curl commands---but if they just want to 'tweet' then perhaps they'd be better off using another platform, such as public_html, which I can update from any command-line terminal (although I wouldn't go as far as doing it from a Beeb---besides anything else, some years after I stopped using BBCs I switched to the Dvorak keyboard layout, so in order to work on a BBC terminal comfortably I'd now have to remap its keyboard for a start).
Programming the BBC instead
Of course you could always do what we used to do and just program the BBC. Immediate-mode "one-liners", being limited to 238 keystrokes, are relatively quick to type in; here's some I made earlier:
You can extend this to a 5-cube by changing the first three or four instances of 3 to 4, changing 15 to 31 and (2) to (4), and ideally changing the MODE to 2 and the A.1 to A.3 for better colour coding. Our Q perspective calculation would then operate on the 4th and 5th dimensions but ignore the 3rd, so it won't be as clear.
Braille alphabet chart (fits in a 'tweet' with room to spare):
Simple colour scrolling (this is what convinced certain other children at primary school that I wasn't a 'thicko'---having planned a larger program I was surprised they were impressed by a mere 27 keystrokes):
Well you can do it in 25 starting at the Mode 7 prompt:
(if you're on a Master, try changing that 85 to 205 for ellipses)
For the sanity of museum personnel, I'll refrain from posting a noise demonstration here.
The Cambridge Centre for Computing History has a BBC whose F key is broken. If you're on that one and don't fancy rewriting code to avoid the letter F, try OS."K.0"+CHR.70 to program function key f0 to F. Or use my horrible hack !2832=17937 to program all 10 function keys to F (works only on an unexpanded Model B with no *KEY before or after).