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 ... 223 224 [225] 226 227 ... 321
3361
speedtest-cli will find the closest server, based on ping. Not the most accurate as it claims the server is only 1.55 km away, when Vancouver is 80 kms away, perhaps 100km by fibre.
Quote
E:\test>python speedtest-cli
Retrieving speedtest.net configuration...
Testing from Telus Communications (209.52.88.204)...
Retrieving speedtest.net server list...
Selecting best server based on ping...
Hosted by Skyway West Business Internet Services (Vancouver, BC) [1.55 km]: 56.0
 ms
Testing download speed..........................................................
......................
Download: 22.92 Mbit/s
Testing upload speed............................................................
....................................
Upload: 2.20 Mbit/s

Not too bad for wireless LTE connection. Gets much slower in the evening when everyone is watching netflix etc.

3362
Applications / Re: Unicode Images on Firefox
« on: July 17, 2018, 01:36:04 am »
You need the fonts installed. I just installed http://xahlee.info/comp/i/Symbola.zip and now all the fonts except one display.
To install, you can do it the regular way or copy them to a directory which fontconfig checks for fonts and run fc-cache -f and then restart the browser.
Fontconfig uses @UNIXROOT/etc/fonts/fonts.conf to read where the fonts are installed, including the special OS2FONTDIR, which actually reads the ini files to get the installed fonts.
I added a line,
Code: [Select]
<dir>e:/psfonts</dir> under the Font directory list area to pick up all the fonts that I installed under Warp v4 when we were first getting mzfntcfgft to work.
fc-list will list the fonts that fontconfig sees, best to pipe it to less or a file,
Code: [Select]
fc-list | less

3363
Found this for testing,
Code: [Select]
wget -O speedtest-cli https://raw.githubusercontent.com/sivel/speedtest-cli/master/speedtest.py
python speedtest-cli

3364
Internet / Re: New SeaMonkey builds
« on: July 11, 2018, 04:17:06 pm »
Looks like an out of memory error.

3365
Hardware / Re: Ways to make Arca OS wait until shutdown sound plays?
« on: July 07, 2018, 01:22:48 am »
xShutdown would be the first thing I'd have checked, however I don't have any of the xwp enhancements installed in my setup :(

Usually ArcaOS does have xwp installed so I took it for granted that it was.

3366
Hardware / Re: Turn off PC by power button
« on: July 05, 2018, 04:25:36 am »
Different implementations of the ACPI standard would be my guess. There's usually the official implementation and then various unofficial implementations, often used or pushed by MS. I believe we're using the official implementation.

3367
Hardware / Re: Ways to make Arca OS wait until shutdown sound plays?
« on: July 04, 2018, 08:07:52 am »
You might be able to do something with the settings under the XShutdown tab in the Desktop properties (right click the desktop) or even add a small script to play the sound in the Xshutdown folder (create it in the above tab).

3368
Hardware / Re: Turn off PC by power button
« on: July 04, 2018, 08:04:10 am »
Here I just have to tap the power button.

3369
Hardware / Re: Turn off PC by power button
« on: July 03, 2018, 06:27:21 am »
I made some tries with both acpid.cfg and WaitButton. AFAIR, I didn't get a working solution. AFAIR, 'off' means simply power off, not shut down. I'm curious if a newer diver gives more comfort.

Testing with PowerButton=Off here, pressing the power button does cleanly turn the computer off perhaps 10-20 seconds after pressing the button, there is no sign that anything is happening until shutdown.
Restarting, the OS loads cleanly, no chkdsk.

3370
Hardware / Re: Turn off PC by power button
« on: July 02, 2018, 09:50:30 pm »
But I fear none of them is what you really want. I guess you want the same what the power button does on recent win boxes. Unfortunately TTBOMK we do not have it currently.

Copy %ETC%\acpid.cfg.sample to %ETC%\acpid.cfg and the line
Code: [Select]
; What do to when the Power button is pressed
; none    = no action (default)
; off     = power off
; suspend = suspend
; reboot  = reboot the system
PowerButton = Off

might work. We'll wait for Mikhall to report.

3371
Internet / Re: New SeaMonkey builds
« on: July 02, 2018, 08:50:30 pm »

http://smedley.id.au/tmp/gcc-5.5.0-os2-20180611.zip

Compilation died here,
Code: [Select]
66:08.09 C:/work/cc45esr/mozilla/toolkit/components/osfile/NativeOSFileInternals.cpp: In function 'PRInt32 mozilla::{anonymous}::PR_GET_OS_ERROR()':
66:08.09 C:/work/cc45esr/mozilla/toolkit/components/osfile/NativeOSFileInternals.cpp:161:5: error: 'EINVAL' was not declared in this scope
66:08.09      EINVAL, EINVAL, ENOENT, ENOENT, EMFILE,  /* 0..4 */
66:08.09      ^
66:08.09 C:/work/cc45esr/mozilla/toolkit/components/osfile/NativeOSFileInternals.cpp:161:21: error: 'ENOENT' was not declared in this scope
66:08.09      EINVAL, EINVAL, ENOENT, ENOENT, EMFILE,  /* 0..4 */
66:08.09                      ^
66:08.09 C:/work/cc45esr/mozilla/toolkit/components/osfile/NativeOSFileInternals.cpp:161:37: error: 'EMFILE' was not declared in this scope
66:08.09      EINVAL, EINVAL, ENOENT, ENOENT, EMFILE,  /* 0..4 */
66:08.09                                      ^
66:08.09 C:/work/cc45esr/mozilla/toolkit/components/osfile/NativeOSFileInternals.cpp:162:5: error: 'EACCES' was not declared in this scope
66:08.09      EACCES, EBADF,  EIO,    ENOMEM, EIO,     /* 5..9 */
66:08.17      ^
66:08.17 C:/work/cc45esr/mozilla/toolkit/components/osfile/NativeOSFileInternals.cpp:162:13: error: 'EBADF' was not declared in this scope
66:08.17      EACCES, EBADF,  EIO,    ENOMEM, EIO,     /* 5..9 */
66:08.17              ^
66:08.17 C:/work/cc45esr/mozilla/toolkit/components/osfile/NativeOSFileInternals.cpp:162:21: error: 'EIO' was not declared in this scope
66:08.18      EACCES, EBADF,  EIO,    ENOMEM, EIO,     /* 5..9 */
66:08.18                      ^
66:08.18 C:/work/cc45esr/mozilla/toolkit/components/osfile/NativeOSFileInternals.cpp:162:29: error: 'ENOMEM' was not declared in this scope
66:08.18      EACCES, EBADF,  EIO,    ENOMEM, EIO,     /* 5..9 */
66:08.18                              ^
66:08.18 C:/work/cc45esr/mozilla/toolkit/components/osfile/NativeOSFileInternals.cpp:163:13: error: 'ENOEXEC' was not declared in this scope
66:08.18      EINVAL, ENOEXEC,EINVAL, EINVAL, EINVAL,  /* 10..14 */
66:08.18              ^
66:08.18 C:/work/cc45esr/mozilla/toolkit/components/osfile/NativeOSFileInternals.cpp:164:13: error: 'EBUSY' was not declared in this scope
66:08.18      ENOENT, EBUSY,  EXDEV,  ENOENT, EROFS,   /* 15..19 */
66:08.18              ^
66:08.18 C:/work/cc45esr/mozilla/toolkit/components/osfile/NativeOSFileInternals.cpp:164:21: error: 'EXDEV' was not declared in this scope
66:08.18      ENOENT, EBUSY,  EXDEV,  ENOENT, EROFS,   /* 15..19 */
66:08.18                      ^
66:08.18 C:/work/cc45esr/mozilla/toolkit/components/osfile/NativeOSFileInternals.cpp:164:37: error: 'EROFS' was not declared in this scope
66:08.18      ENOENT, EBUSY,  EXDEV,  ENOENT, EROFS,   /* 15..19 */
66:08.18                                      ^
66:08.18 C:/work/cc45esr/mozilla/toolkit/components/osfile/NativeOSFileInternals.cpp:166:29: error: 'ENOSPC' was not declared in this scope
66:08.18      EIO,    EIO,    EIO,    ENOSPC, EIO,     /* 25..29 */
66:08.18                              ^
66:08.18 C:/work/cc45esr/mozilla/toolkit/components/osfile/NativeOSFileInternals.cpp:177:5: error: 'EEXIST' was not declared in this scope
66:08.18      EEXIST, EIO,    ENOENT, EIO,    EIO,     /* 80..84 */
66:08.18      ^
66:08.18 C:/work/cc45esr/mozilla/toolkit/components/osfile/NativeOSFileInternals.cpp:178:37: error: 'EAGAIN' was not declared in this scope
66:08.18      EIO,    EIO,    EINVAL, EIO,    EAGAIN,  /* 85..89 */
66:08.18                                      ^
66:08.18 C:/work/cc45esr/mozilla/toolkit/components/osfile/NativeOSFileInternals.cpp:180:5: error: 'EINTR' was not declared in this scope
66:08.18      EINTR,  EIO,    EIO,    EIO,    EACCES,  /* 95..99 */
66:08.18      ^
66:08.18 C:/work/cc45esr/mozilla/toolkit/components/osfile/NativeOSFileInternals.cpp:182:37: error: 'EPIPE' was not declared in this scope
66:08.18      EINVAL, ENOMEM, EIO,    EACCES, EPIPE,   /* 105..109 */
66:08.18                                      ^
66:08.18 C:/work/cc45esr/mozilla/toolkit/components/osfile/NativeOSFileInternals.cpp:183:13: error: 'E2BIG' was not declared in this scope
66:08.19      ENOENT, E2BIG,  ENOSPC, ENOMEM, EBADF,   /* 110..114 */
66:08.19              ^
66:08.19 C:/work/cc45esr/mozilla/toolkit/components/osfile/NativeOSFileInternals.cpp:186:29: error: 'ECHILD' was not declared in this scope
66:08.19      ENOENT, ENOENT, ENOENT, ECHILD, ECHILD,  /* 125..129 */
66:08.19                              ^
66:08.19 C:/work/cc45esr/mozilla/toolkit/components/osfile/NativeOSFileInternals.cpp:187:21: error: 'ESPIPE' was not declared in this scope
66:08.19      EACCES, EINVAL, ESPIPE, EINVAL, EINVAL,  /* 130..134 */
66:08.19                      ^
66:08.19 C:/work/cc45esr/mozilla/toolkit/components/osfile/NativeOSFileInternals.cpp:202:13: error: 'ENAMETOOLONG' was not declared in this scope
66:08.19      EINVAL, ENAMETOOLONG, EINVAL, EINVAL, EINVAL,  /* 205..209 */
66:08.19              ^
66:08.19 C:/work/cc45esr/mozilla/toolkit/components/osfile/NativeOSFileInternals.cpp:207:29: error: 'ENOTCONN' was not declared in this scope
66:08.19      EINVAL, EBUSY,  EAGAIN, ENOTCONN, EINVAL, /* 230..234 */
66:08.19                              ^
66:08.19 C:/work/cc45esr/mozilla/toolkit/components/osfile/NativeOSFileInternals.cpp:217:21: error: 'ENOTSUP' was not declared in this scope
66:08.19      EINVAL, EINVAL, ENOTSUP, EINVAL, EEXIST,  /* 280..284 */
66:08.19                      ^
66:08.19 C:/work/cc45esr/mozilla/toolkit/components/osfile/NativeOSFileInternals.cpp:221:29: error: 'ESRCH' was not declared in this scope
66:08.19      EINVAL, EBUSY,  EINVAL, ESRCH,  EINVAL,  /* 300..304 */
66:08.19                              ^
66:08.19 C:/work/cc45esr/mozilla/toolkit/components/osfile/NativeOSFileInternals.cpp: In member function 'nsresult mozilla::{anonymous}::AbstractReadEvent::Read(mozilla::{anonymous}::ScopedArrayBufferContents&)':
66:08.19 C:/work/cc45esr/mozilla/toolkit/components/osfile/NativeOSFileInternals.cpp:137:24: error: 'EINVAL' was not declared in this scope
66:08.19  #define OS_ERROR_INVAL EINVAL
66:08.19                         ^
66:08.19 C:/work/cc45esr/mozilla/toolkit/components/osfile/NativeOSFileInternals.cpp:768:56: note: in expansion of macro 'OS_ERROR_INVAL'
66:08.19        Fail(NS_LITERAL_CSTRING("Arithmetics"), nullptr, OS_ERROR_INVAL);
66:08.19                                                         ^
66:08.19 C:/work/cc45esr/mozilla/toolkit/components/osfile/NativeOSFileInternals.cpp:136:24: error: 'ENOMEM' was not declared in this scope
66:08.19  #define OS_ERROR_NOMEM ENOMEM
66:08.19                         ^
66:08.19 C:/work/cc45esr/mozilla/toolkit/components/osfile/NativeOSFileInternals.cpp:773:53: note: in expansion of macro 'OS_ERROR_NOMEM'
66:08.19        Fail(NS_LITERAL_CSTRING("allocate"), nullptr, OS_ERROR_NOMEM);
66:08.20                                                      ^
66:08.20 C:/work/cc45esr/mozilla/toolkit/components/osfile/NativeOSFileInternals.cpp:139:23: error: 'EIO' was not declared in this scope
66:08.20  #define OS_ERROR_RACE EIO
66:08.20                        ^
66:08.20 C:/work/cc45esr/mozilla/toolkit/components/osfile/NativeOSFileInternals.cpp:791:49: note: in expansion of macro 'OS_ERROR_RACE'
66:08.20        Fail(NS_LITERAL_CSTRING("read"), nullptr, OS_ERROR_RACE);
66:08.20                                                  ^
66:08.20 C:/work/cc45esr/mozilla/toolkit/components/osfile/NativeOSFileInternals.cpp: In member function 'virtual nsresult mozilla::{anonymous}::DoReadToStringEvent::BeforeRead()':
66:08.20 C:/work/cc45esr/mozilla/toolkit/components/osfile/NativeOSFileInternals.cpp:137:24: error: 'EINVAL' was not declared in this scope
66:08.20  #define OS_ERROR_INVAL EINVAL
66:08.20                         ^
66:08.20 C:/work/cc45esr/mozilla/toolkit/components/osfile/NativeOSFileInternals.cpp:891:60: note: in expansion of macro 'OS_ERROR_INVAL'
66:08.20        Fail(NS_LITERAL_CSTRING("Decode"), mResult.forget(), OS_ERROR_INVAL);
66:08.20                                                             ^
66:08.20 C:/work/cc45esr/mozilla/toolkit/components/osfile/NativeOSFileInternals.cpp:137:24: error: 'EINVAL' was not declared in this scope
66:08.20  #define OS_ERROR_INVAL EINVAL
66:08.20                         ^
66:08.20 C:/work/cc45esr/mozilla/toolkit/components/osfile/NativeOSFileInternals.cpp:896:72: note: in expansion of macro 'OS_ERROR_INVAL'
66:08.20        Fail(NS_LITERAL_CSTRING("DecoderForEncoding"), mResult.forget(), OS_ERROR_INVAL);
66:08.20                                                                         ^
66:08.20 C:/work/cc45esr/mozilla/toolkit/components/osfile/NativeOSFileInternals.cpp: In member function 'virtual void mozilla::{anonymous}::DoReadToStringEvent::AfterRead(mozilla::TimeStamp, mozilla::{anonymous}::ScopedArrayBufferContents&)':
66:08.20 C:/work/cc45esr/mozilla/toolkit/components/osfile/NativeOSFileInternals.cpp:138:28: error: 'EFBIG' was not declared in this scope
66:08.20  #define OS_ERROR_TOO_LARGE EFBIG
66:08.20                             ^
66:08.20 C:/work/cc45esr/mozilla/toolkit/components/osfile/NativeOSFileInternals.cpp:911:65: note: in expansion of macro 'OS_ERROR_TOO_LARGE'
66:08.20        Fail(NS_LITERAL_CSTRING("arithmetics"), mResult.forget(), OS_ERROR_TOO_LARGE);
66:08.20                                                                  ^
66:08.20 C:/work/cc45esr/mozilla/toolkit/components/osfile/NativeOSFileInternals.cpp:137:24: error: 'EINVAL' was not declared in this scope
66:08.20  #define OS_ERROR_INVAL EINVAL
66:08.21                         ^
66:08.21 C:/work/cc45esr/mozilla/toolkit/components/osfile/NativeOSFileInternals.cpp:917:66: note: in expansion of macro 'OS_ERROR_INVAL'
66:08.21        Fail(NS_LITERAL_CSTRING("GetMaxLength"), mResult.forget(), OS_ERROR_INVAL);
66:08.21                                                                   ^
66:08.21 C:/work/cc45esr/mozilla/toolkit/components/osfile/NativeOSFileInternals.cpp:138:28: error: 'EFBIG' was not declared in this scope
66:08.21  #define OS_ERROR_TOO_LARGE EFBIG
66:08.21                             ^
66:08.21 C:/work/cc45esr/mozilla/toolkit/components/osfile/NativeOSFileInternals.cpp:922:65: note: in expansion of macro 'OS_ERROR_TOO_LARGE'
66:08.21        Fail(NS_LITERAL_CSTRING("arithmetics"), mResult.forget(), OS_ERROR_TOO_LARGE);
66:08.21                                                                  ^
66:08.21 C:/work/cc45esr/mozilla/toolkit/components/osfile/NativeOSFileInternals.cpp:138:28: error: 'EFBIG' was not declared in this scope
66:08.21  #define OS_ERROR_TOO_LARGE EFBIG
66:08.21                             ^
66:08.21 C:/work/cc45esr/mozilla/toolkit/components/osfile/NativeOSFileInternals.cpp:929:64: note: in expansion of macro 'OS_ERROR_TOO_LARGE'
66:08.21        Fail(NS_LITERAL_CSTRING("allocation"), mResult.forget(), OS_ERROR_TOO_LARGE);
66:08.21                                                                 ^
66:08.29
66:08.31 In the directory  C:/work/cc45esr/obj-sm/toolkit/components/osfile
66:08.31 The following command failed to execute properly:
66:08.32 c++ -o NativeOSFileInternals.obj -c -IC:/work/cc45esr/obj-sm/dist/stl_wrappers -DSTATIC_EXPORTABLE_JS_API -DMOZILLA_INTERNAL_API -DIMPL_LIBXUL -IC:/work/cc45esr/mozilla/toolkit/components/osfile -I. -I../../../dist/include -I/@unixroot/usr/include/nspr4 -I/@unixroot/usr/include/nss3 -I/@unixroot/usr/include/pixman-1 -DMOZILLA_CLIENT -include ../../../mozilla-config.h -Uunix -U__unix -U__unix__ -MD -MP -MF .deps/NativeOSFileInternals.obj.pp -idirafter g:/OS2TK45/h -Wall -Wempty-body -Woverloaded-virtual -Wsign-compare -Wwrite-strings -Wno-invalid-offsetof -Wcast-align -fno-exceptions -fno-strict-aliasing -Zomf -fno-rtti -fno-exceptions -fno-math-errno -std=gnu++0x -pthread -DNDEBUG -DTRIMMED -g -march=pentium-m -O3 -mstackrealign -fomit-frame-pointer -Wshadow C:/work/cc45esr/mozilla/toolkit/components/osfile/NativeOSFileInternals.cpp
66:08.32 make.EXE[4]: *** [NativeOSFileInternals.obj] Error 1
66:08.32 make.EXE[3]: *** [toolkit/components/osfile/target] Error 2
66:08.32 make.EXE[3]: *** Waiting for unfinished jobs....

I fixed this by simply including errno.h

Quote

Also lots of warnings like,
Code: [Select]
66:11.33 <built-in>: note: this is the location of the previous definition
66:18.55 UnifiedBindings22.obj
66:18.74 In file included from <command-line>:0:0:
66:18.74 ./../../mozilla-config.h:153:0: warning: "__STDC_LIMIT_MACROS" redefined
66:18.74  #define __STDC_LIMIT_MACROS
66:18.74  ^
66:18.74 <built-in>: note: this is the location of the previous definition
66:18.74 In file included from <command-line>:0:0:
66:18.74 ./../../mozilla-config.h:154:0: warning: "__STDC_CONSTANT_MACROS" redefined
66:18.74  #define __STDC_CONSTANT_MACROS
66:18.74  ^
66:18.74 <built-in>: note: this is the location of the previous definition
66:19.16 xpfe_appshell.lib.desc

This eventually caused an error so I added some guards to mozilla_config.h.in which allowed the build to finish.
Quote
5.3.0 seemed to work the same as 5.1.0
Thanks

BTW, should I be updating binutils?

Unluckily building with Pentium M as a target still crashes very early,
Code: [Select]
147008C1  JMP    0x147007d0                 (e9 0affffff)
147008C6  LEA    ESI, [ESI+0x0]             (8d76 00)
147008C9  LEA    EDI, [EDI+0x0]             (8dbc27 00000000)
147008D0  MOVDQA XMM0, DQWORD [0x1472ca40]  (660f6f05 40ca7214)
147008D8 >MOVDQA DQWORD [0x17deeb88], XMM0  (660f7f05 88ebde17)
147008E0  MOVDQA XMM0, DQWORD [0x1472ca50]  (660f6f05 50ca7214)
147008E8  MOVDQA DQWORD [0x17deeb98], XMM0  (660f7f05 98ebde17)
147008F0  MOVDQA XMM0, DQWORD [0x1472ca60]  (660f6f05 60ca7214)

If reading the trp file correctly, eg
Code: [Select]

 Call Stack
______________________________________________________________________

   EBP     Address    Module     Obj:Offset    Nearest Public Symbol
 --------  ---------  --------  -------------  -----------------------
 Trap  ->  147008D8   XUL       0001:016608D8  nsTextFragment.cpp#60 __ZN14nsTextFragment4InitEv + 168 0001:01660770 (C:\work\cc45esr\obj-sm\dom\base\Unified_cpp_dom_base8.cpp)

it is this variable that is the problem
Code: [Select]
  // Create single-char strings
  for (i = 0; i < 256; ++i) {
    sSingleCharSharedString[i] = i;
  }
[/code

3372
Hardware / Re: Turn off PC by power button
« on: July 02, 2018, 06:32:06 pm »
You should probably open a support ticket at Arca Noae, https://www.arcanoae.com/wiki/acpi  as I'm not knowledgeable enough on this.

3373
Hardware / Re: Turn off PC by power button
« on: July 02, 2018, 05:12:44 pm »
How are you accessing the headless OS/2 box? There is x:\os2\install\shutdown.exe and a few shutdown utilities that I have not tested at http://hobbes.nmsu.edu/h-search.php?button=Search&key=shutdown&dir=%2F.
Most of these probably do not power off the system after shutdown so you'd still have to hold down the power button for a few seconds to power off.

3374
Hardware / Re: Turn off PC by power button
« on: July 02, 2018, 03:00:35 am »
As far as I know, there is no support for doing a clean shutdown by pressing the power button. In theory APCI should support this and perhaps it does on some laptops but not on most systems.
You have to use the shutdown icon on the xcentre or choose it from the right click menu on the desktop or use cntrl-alt-del

3375
Setup & Installation / Re: Swap on separate drive
« on: June 29, 2018, 04:42:11 pm »

I have all of my temp storage mapped to the ramdisk, so basically:
1) \tmp - all apps using this
2) pmmail - for email included attachments
3) GCC - compile and link processing
4) ZIP - looking at contents of a zip file, etc

The setup for the above is accomplished with the following statements in my startup.cmd:

Code: [Select]
REM Create some temp directories on the Y: RAM drive
md Y:\gcc
md Y:\zipcntrl
md Y:\pmmail
md Y:\tmp

Better practice is to check if the directories already exist, for example if you accidentally run startup.cmd or like me, have the ramdisk set to preserve the contents after a warm reboot.

Code: [Select]
if not exist y:\gcc mkdir y:\gcc
if not exist y:\pmmail mkdir y:\pmmail
if not exist y:\zipcntrl mkdir y:\zipcntrl
if not exist y:\tmp mkdir y:\tmp

Pages: 1 ... 223 224 [225] 226 227 ... 321