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 ... 160 161 [162] 163 164 ... 321
2416
Applications / Re: Shared storage
« on: May 10, 2020, 10:54:56 pm »
I hope you aren't marking snapwrap.dll to load high, remember that anything that accesses a 16 bit function should not be loaded high. Not sure about snapwrap but better safe. Same with SDL and SDL2, I've never been brave enough to mark them to load high as so much of the multimedia stuff is 16 bit.

2417
Programming / Re: Git : SVN plugin
« on: May 10, 2020, 09:14:47 pm »
git-svn is broken and never worked, so no way

Only on our platform or all platforms?
To me it looks like the dependent modules could be built from CPAN, unluckily it has been so long since I built any modules that I forget the procedure though back in the day, it worked well.

2418
Should be mentioned that OpenWatcom comes with a nice vi implementation, even runs and shows colours in meshell :)
Edit, my mistake, meshell opens a vio window for it.

2419
OpenWatcom hasn't been abandoned, though development has slowed right down and is considered the best choice for OS/2 specific programming, including device drivers. It is also the source of stuff like our system linker as we have the source and ilink was just falling down for big projects. Linking xul.dll was taking 3GBs of address space at one point for example.
As for GCC, the easiest way to install it is with YUM/RPM or better, ANPM, where the current version is 9.2.0. There's a bunch of other requirements ranging from GCC-C++ to libc and libcx and a bunch of other stuff for building *nix based stuff.
While you can just run gcc from the command line, usually makefiles are used.
As for editors, I'm only a hobbyist, don't really write anything, more porting and mostly just use FC/2's editor and sometimes eFTE/2

2420
OK, an interesting hint. So in GCC, a MeShell user has to use
-fdiagnostics-color=always

It seems to be enabled here whether fdiagnostics-color=always is in the CFLAGS or not. I believe our port is built with it enabled so would need something like fdiagnostics-color=no to turn off.
Quote
But by default, the stderr output is shown in red color in MeShell. So I have to turn this functionlity off in these circumstances. A checkbox is an option, perhaps in the Top Panel for fast access. Or I implement another more intelligent mechanism (?). Any ideas are appreciated. Turning off the color when ESC sequences are coming could be too late because the output already began in red color. Perhaps I could correct the output in the editor if an ESC sequence comes through the stderr pipe. An automatic solution would be preffered.

I wonder how it is turned off when piping the output or redirecting? It seems automatic.

2421
Hardware / Re: USB 3
« on: May 09, 2020, 04:17:59 am »
Hi Ivan, sure a lot of differences in how different jurisdictions are implementing lock downs.

2422
Hardware / Re: USB 3
« on: May 09, 2020, 12:52:19 am »
Seems to me that USB3 boot is no more broken then USB2 boot, namely there is a period of time where the keyboard (and mouse) don't work. I came across this recently when I updated my computer by moving the hard drives over, boot ended  loading the network drivers due to having gone from realtek to intel with the "press enter to continue" message and enter not working so I had to power off, boot the AOS USB stick, go into the maintenance shell and rem the offending line out of the config.sys. Then boot worked and I could install the correct driver.
As Lars said, there's just a short period when the USB drivers (probably USB Keyboard) haven't initialized.
As Andreas said, you really should be asking Louis about this stuff and asking if you can get access to a beta build of the USB3 drivers, as it wouldn't hurt to have someone with Ryzon machines testing.

Are you really not allowed to go outside for a walk or such while maintaining social distancing? Or do you just live somewhere where it is hard to get outside due to shared lifts or such? The wife has been walking to the mailbox most days, about 5km round trip, and talks to the neighbours while standing on opposite sides of the road. Our road is pretty dead traffic wise.

2423
Programming / Re: A clock in WPS - Educational Project
« on: May 08, 2020, 05:08:33 pm »
Thanks for the feedback back. I will check it.
Now I get why the files from DoodleSS looked funky on Resource Editor (dlgedit.exe).

I will give it a try to the "Universal Resource Editor", I guess it produces the .RC (Resource Script) and .H  standard to be compiled without anything special later.

Suggestions are welcome while I test URE.

Regards

Yes, it basically creates the .RC and .H as well as a .URF file, the RC and H should be all that is needed along with a resource compiler such as rc.exe or wrc.exe.

2424
Colours on GCC seems also to be a build option, which probably explains why it just works here with no GCC_COLORS set. The latest documentation on it is at https://gcc.gnu.org/onlinedocs/gcc-9.1.0/gcc/Diagnostic-Message-Formatting-Options.html

2425
Programming / Re: A clock in WPS - Educational Project
« on: May 08, 2020, 04:18:09 pm »
URE is what Doodles Screen Saver used.

2426
I have noticed a lot of programs, especially *nix ports, turn off colours when output is redirected. eg, if building something, I often redirect the output like so, "make 2>&1 | tee build.log" which results in no colours in the window or escape sequences in the log and no escape sequences to be seen. Running just make results in GCC outputting colours for errors.
An example from FFmpeg's cmdutils.c for outputting colours,
Code: [Select]
int show_colors(void *optctx, const char *opt, const char *arg)
{
    const char *name;
    const uint8_t *rgb;
    int i;

    printf("%-32s #RRGGBB\n", "name");

    for (i = 0; name = av_get_known_color_name(i, &rgb); i++)
        printf("%-32s #%02x%02x%02x\n", name, rgb[0], rgb[1], rgb[2]);

    return 0;
}

When this was introduced, it just worked on Linux and on OS/2 whereas Windows needed ANSI.SYS or such loaded to work.

2427
Programming / Re: Trim command
« on: May 07, 2020, 02:03:11 am »
It would be tremendous if this could be ported to Arca OS or any other OS/2 variant.

I think it is on Arca Noae's road map for JFS. When they'll find time is another matter.

2428
Multimedia / Re: Updated Uniaud32 build
« on: May 06, 2020, 10:57:47 pm »
Haven't tried this set yet as my speakers are broke, but one thing I've noticed with some sound chips is I have to use PMUnimix to turn up the front speakers to actually get sound, once they're turned up, the regular volume control works.

2429
Programming / Re: Trim command
« on: May 06, 2020, 06:55:27 am »
I've even done it on Fat32 and HPFS, apparently successfully a few times.

2430
Applications / Re: OpenOffice 4.1.7 gives error on startup
« on: May 04, 2020, 09:56:21 pm »
The icu-legacy is the likely solution as when icu was upgraded, the new DLLs broke stuff using the old DLLs, so icu-legacy installs the old DLLs.
Note there will be more legacy packages required for the Mozilla apps once some stuff works its way into netlabs-rel, libvpx-legacy-4 is one IIRC.

Pages: 1 ... 160 161 [162] 163 164 ... 321