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 - Ian Manners

Pages: 1 ... 23 24 [25] 26
General Discussion / Re: Hobbes directory structure re-organization
« on: May 31, 2013, 06:00:25 pm »
Hi Martin,

os2site's directory structure is :-  if you or anyone else would like to compare or look at for ideas.

I dislike deleting older files so tend to move them to an 'old' sub directory, and yes, moving file URL's is an issue but many people
will simply go back to root and work up a new tree, or use hobbes search facility. though does still get hits for old
links for files from 2000...

Occasionally I will get a request to remove a file, in which case they are moved to my swc section so they are not publicly available

os2site's file structure started off identical to hobbes, then mutated when I assimilated Leo, and like all living things, it's evolved over
the past 13 odd years.

I'll go over your structure file shortly.

On another note, the internal links issue with hobbes wasn't picked up on the test site so it wasn't listed to be fixed, apologies, I missed that one but now we have the option to say something :)

General Discussion / Re: Hobbes directory structure re-organization
« on: May 31, 2013, 05:46:01 pm »

I do have a complete FTP mirror of hobbe's that is updated every month,
I also use to FTP mirror leo, so I have an almost complete copy, I just cant vouch for any files put on the month before it vanished.

I don't make these directories available via simply because all the files are already integrated into the
directory structure but I can probably add them for OS/2's access if there is interest now that I've greatly reduced the load on my
home server.

Applications / Re: libusb-1.0 port to OS/2 - help needed
« on: May 19, 2013, 10:52:11 am »
With scanimage.exe  build 12/05/13   08:31

[D:\]scanimage -L
device `epson2:libusb:001:001' is a Epson GT-8300 flatbed scanner

scanimage --mode color --resolution 300 --brightness -1 > output.pnm
Produces the normal scan quality in color.

[D:\]scanimage -L
device `plustek:libusb:001:001' is a Hewlett-Packard Scanjet 2200c flatbed scanner

scanimage --mode Color -l 0 -t 0 -x 215 -y 297 --resolution 150  > output.pnm
Looks good, requires scan area info.

[D:\]scanimage -L
device `hp:libusb:001:001' is a Hewlett-Packard ScanJet 5200C flatbed scanner

scanimage --mode Color > output.pnm
Ohh, that's really nice gamma :)
This scanner has normally only been this good with the SCSI option.

Games / Re: Running MGL Doom on Warp 4
« on: April 30, 2013, 11:38:58 am »
they restrict access to OS/2 browsers so wget etc don't work.

or ask me via for access and I'll send you a reply email :)

General Discussion / Re: #OS2World IRC Channel
« on: March 07, 2013, 03:29:09 am » also seems to have gone.

I'm also irc:// (part of eCS IRC Network) and there isn't much happening there either, though occasionally there is
some activity on a sub channel.

IRC seems to be a all or nothing thing with users, I think its easier with a forum, and IRC just brings images of CC bots these days.

General Discussion / Re: Is Hobbes down for you?
« on: February 05, 2013, 05:27:18 am »
They know.

Somebody was attacking the server so some changes were made, Curtis has cleared the database connections logjam, which means its back up :)

Programming / Paul Smedley's Programming Tips n Tricks
« on: January 07, 2013, 04:56:22 pm »
This will be a collection of Tips, hints, and programming tricks gathered from Paul Smedley's posts.
As these are Paul's writings, I'm not liable for any damage to your system  :o

As time permits and also depending on what others may post, there will be other Sticky threads similar to this one with Tips etc from other contributors.

For those that are not aware you can get Paul's GCC build environment on DVD -

Paul's GCC build environment is an ideal starting point as it gives you a known good baseline to start from.

Yes, it will cost you a small amount of money but you will be supporting someone who has put a lot of effort into both supporting our community, and porting applications that you are probably using somewhere.

 ========= Paul's Build Environment build txt file from his DVD  START =========
Instructions for setup:
- Installation is only supported to drive u: - if you want to install it
  elsewhere, feel free to hack u:\*.cmd and various other scripts that may
  reference u: drive

- unzip to u:\

- run u:\folder.cmd to create a desktop folder with icons for the various
  versions of the GCC compiler that are included (3.3.5, 3.4.6, 4.3.5, 4.4.5, 4.5.2, 4.5.3)

Building your first command line application:
- Launch a GCC command prompt (4.x suggested)
- change directory to u:\dev\wget-1.12
- type 'ash ./configure --prefix=/wget' at the command prompt
- once configure completes, run 'make'
- there will be an error building the doc directory - but we don't care about that :)
- once make completes, run 'make install'
- wget executables will be found in /wget/bin

=========  Paul's Build Environment build txt file from his DVD  END =========

Porting software to eCS.
In the absolute best case scenario, the process is:
1) extract source
2) run configure using something like:
    ash ./configure --prefix=/name_of_app --disable-shared --enable-static 2>&1 | tee configure.log
    --prefix specifies where we want to install the app - default will be /usr or /usr/local
    --disable-shared tells it not to build shared libraries (in most cases the app won't know how to build shared libraries (ie DLL's)
    --enable-static forces static libraries to be built
    2>&1 | tee configure.log puts the output from configure into a file called configure.log for debugging purposes
3) assuming configure completes:
     make 2>&1 | tee build.log
    runs make, with output of the command pipes into build.log
4) If no, errors.
    make install
    output will be put into the directory specified as prefix in 2)

I'd suggest starting with a simple command line app like wget
This serves two purposes, a) ensures your setup works, and b) ensures that nothing has changed.

The latest wget v1.14 source will require a minor change to be made in lib/

diff -ur wget-1.14-o/lib/ wget-1.14/lib/

========= Diff file Start =========
--- wget-1.14-o/lib/   2012-12-28 19:05:04.000000000 +1030
+++ wget-1.14/lib/   2012-12-29 15:36:20.000000000 +1030
@@ -32,7 +32,7 @@
 /* Get definitions of 'struct sched_param' and 'sigset_t'.
    But avoid namespace pollution on glibc systems.  */
-#if !(defined __GLIBC__ && !defined __UCLIBC__)
+#if !(defined __GLIBC__ && !defined __UCLIBC__) && !defined __KLIBC__
 # include <sched.h>
 # include <signal.h>
========= Diff file end =========

General Discussion / Re: Censorship and SPAM =
« on: January 07, 2013, 05:53:59 am »
Hi Sigurd,

By the way, where are the Forum rules here?

Martin is still recovering a lot of the old forum material, which will give us back information like that.

In the mean time, commonsense prevails.

Don't slander, threaten or attack others, if you have a problem with another person/company that is emotional, best to take it elsewhere, OS2World is a community, as such we prefer conflict is resolved in private elsewhere unless it's an issue that directly involves, this issue doesn't.

What you put on the internet stays on the internet, you may regret it in the future, this applies to EVERYTHING.

Your last post is still threatening (the lawyer bit), I'll give you the option to edit it before I remove it.

Programming / Re: Looking for OS/2 Developer Magazine Articles
« on: January 01, 2013, 10:40:05 am »
Hi Martin,

I have several boxes of software, redbooks, and other assorted OS/2 programming books etc but haven't found any of my magazines. I've even found Basil's (newsgroups - ibm hardware fame) RS/6000 powersupply that I will have another look at one day. I know I have 2 boxes of magazines here, they were given to me by IBM's in both Sydney and Melbourne. I'll have to look a bit harder but I cant think of were else I would have put them. I'm sure I didn't give them to someone else.

Now that I've got all the boxes out I'll start cataloging what I have and put a list on
After I've played around with Neon Grafix with the dongle that I got from Voytek in Sydney. :)

Programming / Re: Looking for OS/2 Developer Magazine Articles
« on: January 01, 2013, 10:32:33 am »
Hi Paul,

Only got to 31 today BUT it was a bad heavy humid 31, overcast no rain, Yesterday was a lot better, 42 and no humidity due to the north east wind.

General Advertisements / Re: SPAM?
« on: December 31, 2012, 05:35:42 am »
Crikey's mate, ya had me worried when I saw that subject ..

Programming / Re: Looking for OS/2 Developer Magazine Articles
« on: December 31, 2012, 05:05:07 am »
Hi Martin,

I'm putting off digging the mags out, where they are in the shed is cool but I have to take all the boxes and other stuff out and leave in the heat while I get to them.

We are due for a cool change in a few days when it will only be 35C  :-)

Comments, Suggestions & Questions / Re: Porting software to OS/2 sub-forum?
« on: December 27, 2012, 06:00:31 am »
Hi Paul,

I was thinking more about someone like myself copying stuff from your posts (or others) and adding to a main "Pauls tips n tricks" one with a note at the bottom that all info came from you but has been scrapped from your posts :)

Comments, Suggestions & Questions / Re: Porting software to OS/2 sub-forum?
« on: December 26, 2012, 07:08:53 am »
We could always grab parts of threads in to a new none user edit thread and mark it as a sticky at the top.

"Paul's programming basics and tips"
"Dave's programming basics and tips"

Or is there a way to lock a thread so only one person can edit it ?
ie, Paul/Dave/other could then just point people to that thread/sticky.

If I get a chance while looking for some of my old OS/2 stuff I'll experiment :)

Pages: 1 ... 23 24 [25] 26