I'm in the midst of writing a MUD for PDP-11s running under BSD 2.11
and have run into a problem getting non-blocking I/O working.
I initially wrote a simple test program to setup a non-blocking socket
and accept connections then echo back anything typed to all connected
sessions. This worked fine. However now I've placed the exact same
code into my MUD development, the sockets are blocking.
I've got the following in my setup of the socket:
/* Set socket to non-blocking */
if( ioctl(s,FIONBIO) == -1 ) {
printf("Error ocurred");
}
which I believe should make the socket non-block and when I run up the
code it doesn't throw a failure on the ioctl, however the socket
definitely remains in blocking mode.
Anyone have any ideas? I've been scratching my head on this one for days now
I've put all the source I've written thus far here:
http://www.pdp11.co.uk/wp-content/retromud/
Sorry if the code is a bit cludgy, but I've not programmed C for about
15 years and its only just coming back to me! The file comms.c is
where most of the socket actions occurs.
All the best,
Toby
I have a bunch of DEC H3104 Harmonicas - the little boxes that fan a
Dshell connector out to 8 MMJs.
Is there any interest in these, or should I just throw them in the
scrap board pile?
I have some of the mounting plates for these as well.
--
Will
> I am not so sure that it is necessarily the case that people lose interest
> in things that pre-date their own lifetime.
I try to collect only stuff that's older than me - so end 1978 is my
limit :-) There are some newer things like 11/23 or late additions to
older machines. But all in all I like the fact playing with gear from
the time before me. But I can understand the concerns. I also assume
that the prices for the good scrap won't rise...
Kind regards,
Philipp
Since "Wargames" wa mentioned, I thought I'd post this link to an old
PR film from the Strategic Air Command. Only a brief shot of
computing gear on reel 1, but lots of teleprinters, teletypes and
comm consoles. About 18 minutes long. The first two of three reels
are of high quality; for some reason, the third one is not.
http://www.gwu.edu/~nsarchiv/nukevault/ebb304/film03.htm
Cheers,
Chuck
More weird crap.
I have a couple of modules - Lucent 990C01407410 (I think) - that are
doing me no good, and will end up as scrap soon. They seem to be
Differential In to Single Ended Out converters.
They are dated 1997. Any ideas as to what machine used these? 3B series add-on?
Anyone need them CHEAP?
--
Will
I've just been setting up a couple of old PCs to go off to the
ComputerAid charity.
These are junkers: 1 ? Athlon XP 1800+, 640MB RAM, 1 ? Athlon XP
1700+, 768MB RAM; I've fitted both with 20GB hard disks, a DVD-ROM and
a CDRW. Remarkably, this level of kit is what some term "skipware" now
- just about the lowest spec that the charity will take.
I tried both Linux Mint & TinyXP on them, but both hit snags, and I
don't want to spend hours troubleshooting, so I downloaded FreeDOS 1.0
and bunged that on. Remarkably, FreeDOS now comes on CD - there is
150MB of it!
The install is pretty fiddly, although it all works. On one of them it
even autodetects a PCI Ethernet card & goes online.
And to my amazement, I discovered that I'm credited in the README file
for the bundled OpenGEM GUI.
I am a bit torn over FreeDOS, though. I used to be a big fan of
DR-DOS, back in the day, although in the end I saw & deployed far more
MS-DOS boxes. :?(
But FreeDOS seems to have surpassed both the standalone editions of
MS-DOS (which ended at MS-DOS 6.22, although PC-DOS 2000 advanced on
that in a few areas). FreeDOS boasts large (20GB) partition/filesystem
support, FAT32, Win9x-style Long File Names, native networking,
TCP/IP, CD-ROM & writer support, comes with dev tools, web browsers,
email, games, all sorts. It's a hell of a DOS system!
I was wondering if anyone here had used it in anger at all? How does
it hold up compared to MS-DOS, the embedded DOS in Win9x, IBM PC DOS,
DR-DOS in its commercial or FOSS incarnations...?
--
Liam Proven ? Profile: http://www.linkedin.com/in/liamproven
Email: lproven at cix.co.uk ? GMail/GoogleTalk/Orkut: lproven at gmail.com
Tel: +44 20-8685-0498 ? Cell: +44 7939-087884 ? Fax: + 44 870-9151419
AOL/AIM/iChat/Yahoo/Skype: liamproven ? LiveJournal/Twitter: lproven
MSN: lproven at hotmail.com ? ICQ: 73187508
It's still technically off-topic (2002 is only 8 years ago), but for Mac
OS 8.6 and 9 users, I released Classilla 9.1 tonight, the most current
version of the Mozilla-based web browser I maintain for the classic Mac
OS. It's still a work in progress, but I eat my own dogfood, and this
tastes good enough to put in the can. (And belabour the metaphor.)
http://www.classilla.org/
--
------------------------------------ personal: http://www.cameronkaiser.com/ --
Cameron Kaiser * Floodgap Systems * www.floodgap.com * ckaiser at floodgap.com
-- There are few problems that the liberal usage of high explosives can't cure.
I need to do a bit more research on this. But can someone suggest a good
joystick for older PCs with db15 connectors? Most of them seem to be cheesy
flight sticks. I've seen playstation style controllers with usb connectors
on them. Something like this would be ideal if it had a db15 connector.
Any suggestions?
brian
Hi!
Does anyone have information about Labtam 32032 system ?
We've found one in the military depot:
http://www.phantom.sannata.ru/forum/index.php?t=6175
(cyrillic, use Google Translator)
Seems, this machines was rather popular in the USSR
(behind the iron curtain) - it was possible to avoid COCOM
since Labtam was an Australian company.
It used NSC 32K processol and Unix V2.0
http://en.wikipedia.org/wiki/National_Semiconductor_32016
--
-=AV=-