Show Posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.

Messages - Olafur Gunnlaugsson

Pages: 1 [2] 3 4 ... 6
Programming / Re: Open Watcom libraries
« on: September 08, 2016, 01:49:45 am »
Hi guys, I am modifying the time and localtime functions. Trying to squash some bugs I noticed when I used the functions along with strftime in some test programs I compiled. I will check for the make file but I don't recall seeing one. I will check again.  This is where I found the source for 1.9:

I will let you guys know how it goes.
That is the release source, which is years old. The mailing list and website for OpenWatcom are down but you should be able to access the trunk here:

Although many of us are actually using this fork:

Applications / Re: Program object question
« on: August 19, 2016, 04:40:09 am »
Virtualbox 5.024
OS/2 Warp 4.52 unofficial fixpak 6

Hello all, is it not possible to have environment variable substitution in the Working Directory field for program objects?

For example: the program object for the text editor. If I have the HOME environment variable set to c:\home\adam and I want the Text Editor's Save As dialog box to always open in my home directory is it not possible to just specify %HOME% in the working directory field for the Text editor's program object? I have tried using %HOME% and that doesn't work. I have tried several different permutations but nothing has worked yet. I am beginning to think it just doesn't support variable substitution.

The home variable is an import from UNIX and most OS/2 applications do not "see" it unless specifically written to do so, you are meant to explicitly   give the program a specific working directory or no working directory at all, only a few Windows ports such as StarOffice require a working directory AFAIK. Remember that the OS/2 UI is built on O-O/CUA principles and sort of expects people to sort "objects" into project folders (real or virtual folders, and actual files and/or shadows) and work from them, the concept of a home tree as in UNIX is counter-intuitive to that way of thinking.

Setup & Installation / Re: How to boot without Boot Manager
« on: July 10, 2016, 05:07:46 am »
I currently have a system with two disks. Disk1 has Boot Manager  and Disk2 has a couple of partitions marked as Bootable.

I want to remove Disk1 but cannot install BM on Disk2 and can't mark either partition on Disk2 as startable - at least can't find an option for doing this via LVM.

How do I go about booting from Disk2?

Old question I know but try Airboot (, in addition to replacing boot manager it has more flexibility and like BM it allows you to assign drive letters so you can for instance have multipile C boot partitions across multiple drives.

General Discussion / Re: Exodus/2 Development
« on: July 03, 2016, 02:05:28 am »
I'm now working on developing the LibSF assembler (lasm) to get my Microsoft MASM 6.11d source code to compile. 
Why not use one of the WASM derivatives that are already MASM 6.x compatible?

General Discussion / Re: Dumping the Wiki
« on: May 21, 2016, 12:13:06 pm »
Hi John.

It is a MySQL database, just that when I export it, it has all the tables for userID and password (salted).

So I would prefer that someone can dump the wiki externally without that information. Also it can be nice if anybody on the internet would like to have a backup of EDM/2 and the OS2World wiki will be also able to generate it.

You can do that via phpmyadmin, just choose the fields you do not want exported when you do a backup and the program pumps out a compressed backup file, phpmyadmin comes as standard with most php installations, you can also export to comma delimited file and simply remove the fields you do not want exposed with a spreadsheet or a database tool, but it is easier just to do a phpadmin backup.

BTW, the password fields should be encrypted AND salted, not just salted (salted = randomised and justified, a dictionary hack prevention to be used with and not instead of encryption)

Web applications / Re: Django
« on: May 13, 2016, 09:29:28 pm »
Anyone familiar with django?

Is it available for OS/2?

It does run on OS/2, but what exactly are you trying to archive?

Setup & Installation / Re: Thinkpad t61
« on: April 26, 2016, 08:19:49 am »
Which machine and how are you installing? Is there a log file to look at ?
Not what I could see an it is on an hp dx2300 compaq with 512 MB and a pentium processor running at 3.00 GHZ or a dx7400 I don't remember which. And I am installing it from cd-rom
Could it be a hard drive size issue?
It should fail with another message, but you system otherwise seems compatible with anything from Warp and up, does the computer have a floppy drive?


For LIBC, do I just tack the .DLL(s) to OS\DLL? And would the same process apply to the emx runtime for OS/2?

the LIBC dll's can go in any folder that is in the LIBPATH, OS2/DLL is a good as any.

For EMX runtimes, you can download the WPI version and just use the installer or read the README that is included if you want more than just the runtime, another common OS/2 runtime that is good to have on the system is the Watcom Visual REXX runtime.

Programming / Re: Poll: Your favorite text editor
« on: April 21, 2016, 02:22:55 am »
I was reading recently that LPEX was one of the best program editors and I'm tring to track it down to have a look at it.

I believe it was boundled with IBM's VAC++ for OS/2.
It is bundled with VAC++ 4

Programming / Re: Poll: Your favorite text editor
« on: April 20, 2016, 06:10:19 am »
For REXX, your best bet is definitely E it has an excellent REXX support, but it may help to track down some of the enhanced packages for it as well, there is a seriously capable editor hiding behind that simplex  interface.

Generally my favorite editors are no longer available, namely Preditor, Einfalt and Visual Slickedit for OS/2 and I even lost my copies of the first two, for some reason the modern Slickedit for Windows/Mac does not do it for me though ...

There is an extended, but not yet complete list of available editors for OS/2 here:

Storage / Re: NAS and OS/2?
« on: April 19, 2016, 04:25:23 am »
Any opinions on choice of disks for these systems?

Green drives for saving money?
Black drives for performance?
Red NAS drives for some other reason?

What makes a good drive for a NAS application?

Normal 3TB Toshiba drives 7200rpm drives, a number of online hosting companies have come up with data that suggests these are by far the most reliable drives on the market, the 1, 2 and 4 TB versions from the same company have a much better than average reliability, on par with the best WD drives and a class above Seagate.

According to the data 3TB Tosh have around 1+% failure rates over the course of two years constant use (online 24/7), other Tosh drives around 2+%, WD around 2 to 5% depending on model and Segate 5 to 11%, ditto.

As I run OS/2 and Win 2011 HS (for XP compatibility that is not available for newer Win servers) I have bought 2TB version as the OS/2 server cannot use anything bigger and the WHS needs quite a lot of manual work to use the 3TB ones so I have stuck with the 2TB ones, four in each server, one has developed a minor fault after about 14 months that the company swapped out for me even though it was out of warranty.

These replaced a host of drives bought in the period between 2009 and 2011, two Hitachi (Now Toshiba), two Samsung, two WD and about six Seagate drives, all the drives except one Hitachi drive developed some errors during their livetime, the Samsungs and the WD's could be re-used after a low-level format and have been re-purposed for my PC's, the Hitachi could not be fixed as WD (Who owned the Hitachi factory at the time) stopped supplying disk repair software that worked with that specific model but otherwise that drive only had surface errors so should have been recoverable, and it and all the Seagate drives have been thrown away. The only working Seagate drive left in the house is a 35 year old 506 .... so you can guess which drive manufacturer I am not recommending.

Setup & Installation / Re: Soundblaster live & Sander's driver
« on: April 10, 2016, 05:31:45 pm »
Are these two not two parts of the same unit? One (AMD) being a HDAudio UART and the other a HDAudio A/DAC?

It could be, but it is the first one that I have encountered. I will need to find some time to sort it out. Meanwhile, the SB Live! seems to work well in eCS, and not at all in Win7.

Old post, I known but I thought I would place it here for future reference, I managed to get both OS/2 and Windows using the same SB Live card by using the Kx drivers on the Windows side rather than the hacked version of the official drivers. Moreover my old eMU card appears to work on these drivers as well although I cannot get it to work on OS/2 at all.

Similarly, since the old Dell x600 "Workstation" cards are still just about the best VGA cards that still work on SNAP but are wonky on Windows, it turns out that the driver works just fine on windows, it is the DirectX setup that was the problem and after patching the DX drivers the x600 now works fine on both Windows 10 32 and 64 bit (occasionally minor hiccups during the boot process on W10 32 and boards with the old ATI 600 chipsets) and annoyingly enough is faster than the Radeon HD6450 that it replaced displaying 2D on Windows, considerably even.

General Discussion / Re: Opening day - Comerica Park
« on: April 10, 2016, 05:07:04 pm »
Well that's fine. Different strokes for different folks as the old cliche goes. I do respect the fact that others have different taste in sports. Soccer is big in Europe but I don't care for it myself but that's okay too.

It's not a question of taste, unlike basketball that is actually played here a bit especially around the mediterranean basin and in the ex-communist states although very much a minority sport, and American Football that most people are at the least aware that it exists, there even used to be a few AF teams in the UK, baseball is a bit like handball is in the USA, no-one has literally heard of it except perhaps as a movie reference. I think the only countries that play baseball outside of the US are Cuba and Japan.

Let me put it another way, "Field of Dreams" was the move that made Kevin Costner famous in the USA, he did not become famous in the rest of the world until "Dances with Wolves".

The original baseball like game (name translates as "burning ball") was played with tool that is like a hybrid of a bat and racquet literally died out in the middle ages (except in the northern Baltics) as it was replaced by games that later became known Tennis, Badminton, Squash and Racket and hundreds of local variations that all offered a faster gameplay than brb. There are similar games played in small pockets in Iberia, but they are very much "traditional games", i.e. they are not played for sport but rather as tradition harking back to the middle ages and put on show during traditional holidays and so on and you would probably not recognise them as baseball.

Betting was also banned in all of the Protestant countries (i.e. Western Countries) except the USA and UK, which was one of the reason club sports did not really become big until the mid 20th century in most of those countries with the advent of TV, prior to that the most commercially viable sports were individual sports.

And Football (Soccer) is not just popular over here it is a bit like Formula 1, neither may be the most popular sport in its category in any given country but viewing figures and numbers of fans worldwide do not just trounce other motor and club sports, they are actually bigger than all the other club and motor sports combined. i.e. football gets more views on TV worldwide than all the other club sports put together, no matter what the type.

General Discussion / Re: Opening day - Comerica Park
« on: April 09, 2016, 12:52:46 am »
Well since it does say "General Discussion". I am just excited that baseball is back and it is opening day at Comerica Park. Go Tigers!


Most of us are from Europe, baseball (or its predecessor) died out over here some 500+ years ago except in Finland and Estonia ....

Marketplace / Re: wanted: "Thinking Person's Guide to OS/2 2.1"
« on: April 07, 2016, 02:04:54 pm »
Just wondering if anyone has seen a physical copy of The Thinking Person's Guide to OS/2 2.1 (1993) by Maria E. Tyne
ISBN-13 is 978-0894354670.

According to this seller there is a new copy available here:

While I have no experience of dealing with the third party USA seller listed, I have bought s***loads of OS/2 and general computer books from Betterworld through the years, in fact bought the old UK only "PM Programming tips" from them just last friday.

Pages: 1 [2] 3 4 ... 6