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 - Dave Yeo

Pages: 1 ... 240 241 [242] 243 244 245
Networking / Re: Remote file browsing and management OS/2 -> Linux
« on: October 07, 2013, 02:07:26 am »
The things with EAs (called xattrs under Linux) and Linux are it has to be enabled in the kernel, which it most likely is for most distributions, I believe it also has to be enabled when mounting a file system or in /etc/fstab and not all file systems support xattrs good enough for use with OS/2, eg ext2, ext3 and ext4 only support 4kbs of xattrs, some other file systems don't support any and only a few such as JFS support them well.
If you decide to use JFS, it's best to format under OS/2 as Linux supports the OS/2 version of JFS but OS/2 will not read Linux formatted JFS.
So they have to be enabled and you need to be using a file system that supports them and quite possibly Samba also needs to have them enabled.

Utilities / Re: PMVNC & Linux?
« on: October 02, 2013, 06:25:11 am »
At one time there was a Java based VNC viewer for Firefox etc. Haven't heard of a native VNC viewer being added to Firefox though I might have missed it. Perhaps about:plugins or looking at the installed extensions might show something.
The slow connect speed could well be just negotiating a common protocol, newer VNC has various compression algorithms and who knows what to speed things up.

Utilities / Re: PMVNC & Linux?
« on: September 30, 2013, 04:42:17 pm »
PMVNC should work with Linux VNC, at least it did last time I tried a couple of years ago. As far as I know they should negotiate a common protocol.  If not post your errors.

Applications / Re: Java applications
« on: September 24, 2013, 04:17:54 am »
The $@ is a *nix shell thing which the WPS won't expand (not sure about Java but I doubt it will expand it as well).  Being a program object you can just drop any files on the program object or associate it with the appropriately.


-> but what is working mostly is the sound with Youtube videos inside Firefox!
-> in addition: when I play m3u Internet radio stream (starting in Firefox, opening than in PM123) it works better than before (but still repeating - but "only" for 2 or three times) BUT: as soon as I close Firefox the sound repeats in PM123 like before and is totally unusable (partly crash) -> still not really usable, but a small step

Is there a logical reason for this? May this help to find the problem?

Are you playing youtube videos with Flash or Webm? If Flash then I guess Odin is taking care of playing the sound. If Webm then IIRC it is using DART

Programming / Re: Test build of GCC 4.7.3 available
« on: September 08, 2013, 04:28:58 am »
fate tests fail here with:
Test eval failed. Look at tests/data/fate/eval.err for details.

That'll be the FPU exception bug where the Presentation Manager re-enables FPU exceptions without saving state and restoring state, my V4+free updates install doesn't have it.
Easiest fix is to add
Code: [Select]
#ifdef __i386
    short fcr;
    __asm__ volatile ("fstcw        %0 \n"
                      "or      $63, %0 \n"
                      "fldcw        %0 \n"
                      : "=m"(fcr));
or from Cairo,
Code: [Select]
static inline void
DisableFPUException (void)
    unsigned short usCW;

    /* Some OS/2 PM API calls modify the FPU Control Word,
     * but forget to restore it.
     * This can result in XCPT_FLOAT_INVALID_OPCODE exceptions,
     * so to be sure, we disable Invalid Opcode FPU exception
     * before using FPU stuffs.
    usCW = _control87 (0, 0);
    usCW = usCW | EM_INVALID | 0x80;
    _control87 (usCW, MCW_EM | 0x80);
after main() in all executables.
Plan9 has a similar bug and there is an alternative main() in compat/plan9/main.c where main() is undefined and replaced but I never could get it to work on OS/2, multiple symbol errors, I guess it would be needed to be added to crt0.obj and perhaps used with another flag much like -Zbin-args.

Programming / Re: Test build of GCC 4.7.3 available
« on: September 07, 2013, 09:15:54 pm »
Hi Paul, also a thanks here though everytime I download a build, you post a new one :)
Can you brand your builds, perhaps with the date? I see other builds with things like,
gcc 4.0.1 (GCC) (Apple Inc. build 5493)
gcc 4.4.7 (FreeBSD Ports Collection) 20111108 (prerelease)
gcc 4.4.5 (Debian 4.4.5-8)
and such. Perhaps a version.h or configure option?

It should be pointed out that besides github there is also which is similar to github but also supports Mercurial and there are also a few OS/2 projects hosted there. A couple of examples, and These can be cloned to github but as they are under active development a clone will get out of date and doing a lot of rebasing and merging can be excessive work.

Programming / Re: Test build of GCC 4.7.3 available
« on: September 02, 2013, 06:56:28 pm »
Tested by running the FFMpeg FATE test-suite. With 4.4.6 and a P4 all tests pass. With a core2duo (now dead) and 4.4.6 there were perhaps a dozen failures, probably related to SSE3 alignment issues (possibly nasm bugs?). With 4.7.3 there were quite a few errors including hangs forcing me to kill the script.
To test, clone master, configure with something like configure --enable-gpl --disable-debug --disable-doc --samples=/fate.ffmpeg/fate-suite --enable-os2threads --cpu=i686
make && make fate-rsync && make fate.
Need the --cpu=i686 to pull in the GCC atomics. I'd guess the problems are alignment related but could be related to the GCC atomic operations.

Applications / Re: 3.2 & threads
« on: August 13, 2013, 03:35:16 am »
I thought OS/2 only supported 1023 or 1024 threads. Perhaps after upping it the system used a small default

Applications / Re: Java applications Jedit 5.1.0
« on: August 12, 2013, 05:38:25 am »
Has anyone tried to use slashes instead of backslashes? Or double backslashes?

Really you should just install the 32 bit stack, a slightly outdated overview is here, you may have to use Google to find some of the stuff but much is still on IBM ftp sites. and also for various other updates,

Applications / Re: Java applications Jedit 5.1.0
« on: August 12, 2013, 01:17:08 am »
Probably the cmd file got mangled by the version control system, probably git. Quite normal for these to be set to convert CR/LF to LF and somewhat harder to have an exception for one file.

Networking / Re: FTP
« on: August 11, 2013, 05:43:47 am »
Thank you everyone for your helpful ideas, several of which have been noted down for possible future use.  I went the multi hop route and the VMs are now up and running in their new server.

Now another question.

During the course of trying various things I loaded the latest OS/2 version of firefox on the server and all went well.  That is until I found a picture of a circuit board I was interested in and clicked MB2 to bring up the save image menu.  On clicking ok firefox vanished - it did save the image though.  I tried it several times with different images all giving the same results.  I also get the same thing happening on other multi core processor boxes so the question is, is firefox SMP safe?

Sounds like the RMB bug. Basically with certain various extensions or combinations of extensions the RMB context menu recurses and crashes, usually with a bunch of entries in popup.log.
You can start FF in safe mode (help --> restart with add-ons disabled or such) to see if it still crashes and if not try disabling extensions until it clears up.
BTW Paul has more recent builds of ncftp that support large files.

Applications / Re: Apache OpenOffice 4.0
« on: July 17, 2013, 04:33:27 am »

However, this seems to have left some OO3 entries that checkini reveals and cleanini does not get rid of - nor does DMT.

I would use IniEditor to manually remove those entries but IniEditor cannot find them...

What other tools are available to remove these ini file entries?

*DRIV: J:\  (397 handles)

Checkini /h /c will remove them.

Pages: 1 ... 240 241 [242] 243 244 245