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

Pages: 1 ... 24 25 [26]
376
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.

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

or ask me via http://www.comkal.net/ for access and I'll send you a reply email :)

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

I'm also irc://irc.os2site.com (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.

380
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 :)

381
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 - http://os2ports.smedley.id.au/index.php?page=BuildEnvDVD

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 buildenv_xxxxxxxx.zip 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/spawn.in.h

diff -ur wget-1.14-o/lib/spawn.in.h wget-1.14/lib/spawn.in.h

========= Diff file Start =========
--- wget-1.14-o/lib/spawn.in.h   2012-12-28 19:05:04.000000000 +1030
+++ wget-1.14/lib/spawn.in.h   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>
 #endif
========= Diff file end =========

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

Quote
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 os2world.com, 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.

383
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 os2site.com.
After I've played around with Neon Grafix with the dongle that I got from Voytek in Sydney. :)

384
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.

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

386
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  :-)

http://www.watoday.com.au/wa-news/heatwave-continues-into-new-year-20121230-2c1e4.html

387
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 :)

388
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 :)

389
Programming / Re: Looking for OS/2 Developer Magazine Articles
« on: December 23, 2012, 05:55:37 am »
Hi Martin,

I had a box of OS/2 Developer Magazine's here, will look after Christmas, think they are in the far back corner of my shed, only because I can remember thinking I wont need them in a hurry ... typical ...

Hopefully someone else has copies a bit easier to get to.

Pages: 1 ... 24 25 [26]