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 ... 316 317 [318] 319 320 321
4756
Rumour was that when Reactoss was first starting they approached some OS/2 developers about including an OS/2 sub-system but none of the OS/2 developers liked the GPL and didn't co-operate.
It's a shame as Reactoss being a NT clone, it is the most suitable to running OS/2 programs. NT (up to at least Win2k) did a good job of running OS/2 1.x (16bit) applications, you could even fire up tedit and load a virtual config.sys and adjust things like the libpath and with the right kit which I forget the name of, the old 16 bit Presentation Manager was also there. This wasn't too surprising as NT started out as OS/2 NT v3 (have a byte article somewhere describing MS getting it to boot to text mode on some RISC processor) and was built to have various sub-systems or personalities.
I also have a Byte article (actually little news bit) about MS successfully getting the 32 bit Presentation Manager running on NT (probably v4). Somewhat easier for them as they have the source code for the PM as well as NT.
Seems to me that even now the Reactoss Kernel would still be a better choice then the Linux kernel to run OS/2, in theory only needing doscall0 added to the kernel and doscall1.dll to interface with it, and then the OS/2 DLLs could be loaded on top. Of course things like the Multimedia DLLs would also have to be rewritten to interface with Reactoss but it seems like a better course for a kernel and drivers then trying to adapt to Linux which internally is very different then OS/2 and NT.

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

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

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

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

4761

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

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

http://smedley.id.au/tmp/eval.err

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));
#endif
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.

4763
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?
Thanks

4764
It should be pointed out that besides github there is also bitbucket.org which is similar to github but also supports Mercurial and there are also a few OS/2 projects hosted there. A couple of examples, https://bitbucket.org/zetamatta/nyaos3000 and https://bitbucket.org/dryeo/mzfntcfgft. 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.

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

4766
Applications / Re: OO.org 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

4767
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?

4768
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. http://web.archive.org/web/20060926010237/http://www.warpupdates.mynetcologne.de/english/net_mpts.html and also for various other updates, http://web.archive.org/web/20060926004818/www.warpupdates.mynetcologne.de/english/site_contents.html

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

4770
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. smedley.info

Pages: 1 ... 316 317 [318] 319 320 321