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 Manners

Pages: 1 ... 3 4 [5] 6 7 ... 26
61
Web applications / Re: browsers shutting down
« on: February 10, 2021, 11:43:27 am »
NoScript lives at https://noscript.net/, you will probably have to poke around to find the legacy add-on.
edit, typo fix

Legacy NoScript can also be found at:
http://www.os2site.com/sw/internet/mozilla/firefox/

62
Web applications / Re: browsers shutting down
« on: February 09, 2021, 04:11:28 pm »
Hi David,

I can only speak for David's build of Firefox, which is rock solid here, the only addon I use is NoScript.

If you are still experiencing problems with a fresh profile, the next place I would look are what DLL types are you using, 386, 686 etc, and what build are are you using of the Mozilla products. Dont mix different CPU types between the Mozilla builds and the installed support DLL's.

firefox-45.9.0.en.US.os2.SUa2.PhenomII.zip
firefox-45.9.0.en-us.os2-pentium-m-9.9.2-08112020.zip
firefox-45.9.0.en-us.os2-i686-9.9.2-08112020.zip
and/or
seamonkey-2.42.9esr.en-us.os2.pentium-m-sua2r1.zip
seamonkey-2.42.9esr.en-us.os2-pentium-m-9.9.212112020.zip
seamonkey-2.42.9esr.en-us.os2-i686-15112020.zip

63
Storage / Re: Best way to copy a volume?
« on: February 08, 2021, 04:50:19 pm »
Hi Dariusz,

I replicate my primary drive with two partitions to rotating backup HD's.

Use LVM to create create a new bootable partion on the new HD (or SSD), if required create your non bootable partition(s) as well.
I prefer to boot from DVD to create the new partitions with the old HD disconnected, makes life a lot easier in picking a bootable partition.

After that its simple to use rsync or dsync after a normal boot, your new HD will be assigned new drives if your original is for example C drive etc.
As I have a 500G HD, I use a C drive of 3G and a D drive as my data drive. With the DVD as E drive the first free drive is F:

Rsync
rsync -qaX2 --stats --delete --log-file=Backup_rsync.log C:\  F:\
rsync -qaX2 --stats --delete --log-file=Backup_rsync.log D:\  G:\

or using dsync, create a config file ( I do this with rsync as well but for simplicity I have ignored that above).

"dsync backup2newHD.cfg"

backup2newHD.cfg contains:
Code: [Select]
LogFile = backup2newHD.log
EconomeCPU = 50
UseArchive = On

SrcPath = C:\
DstPath = F:\

SrcPath = D:\
DstPath = G:\
IgnorePath = D:\temp

"IgnorePath = D:\temp" is an example, my temp dir's are all on ram drives.
I also like my log files to check for "error:"

dsync and rsync can be found in regular download sites, and there are many ways to personalise both programs.

There is also DFSee though I've not used that yet for this purpose.
All of these ways will provide you with replicated drives that retain date/time stamps etc.
(Edited to fix grammar)

64
Applications / Re: VirtualBox 5.0.51 networking
« on: February 05, 2021, 08:02:50 am »
Hi Ivan,

In your x:\mptn\bin\setup.cmd file (you can do it from the TCP/IP setup panel but I havent used that for decades),
Add an alias for your other network, you will also have to add routing for the extra network.

Quote
ifconfig lan0 10.0.0.10 netmask 255.255.255.0  (any options you might be using go here)
ifconfig lan0 192.168.1.10 alias

route add default 10.0.0.1 -netmask 255.255.255.255
route add -net 192.168.1.0 192.168.1.1 -netmask 255.255.255.255

The extra lines are:-
   ifconfig lan0 192.168.1.10 alias
and
  route add -net 192.168.1.0 192.168.1.1 -netmask 255.255.255.255

Adjust 192.168.1.10 and the route 192.168.1.0 to 192.168.1.1 to your preference.

type route at a command prompt to show the help information.
Not sure if this will help going through the VBox interface but I see no reason for VBOX to clobber extra nets.

65
Applications / Re: Hpt path statement
« on: February 04, 2021, 04:13:27 pm »
Hi Rick,

Use the detach command.

   @detach example.exe 'parameters'

Be careful about where output may go. Some older programs do not like being detached.

66
Programming / Re: Compiling Tolower tool
« on: February 04, 2021, 04:08:37 pm »
This is the os2.h I use with watcom C

Code: [Select]
/*static char *SCCSID = "@(#)os2.h      6.6 92/03/15";*/
/****************************** Module Header ******************************\
*                                                                          *
* Copyright (c) 1987  - 1992 IBM Corporation                               *
*                                                                          *
* Module Name: OS2.H                                                       *
*                                                                          *
* This is the top level include file that includes all the files necessary *
* for writing an OS/2 application.                                         *
*                                                                          *
\***************************************************************************/

#ifndef __OS2_H__

/* NOINC */
#if __IBMC__ || __IBMCPP__
   #pragma info( none )
      #ifndef __CHKHDR__
         #pragma info( none )
      #endif
   #pragma info( restore )
#endif
#ifdef __cplusplus
      extern "C" {
#endif

#define __OS2_H__
/* INC */

#define OS2_INCLUDED

/* Common definitions */
#include <os2def.h>

/* OS/2 Base Include File */
#ifndef INCL_NOBASEAPI
   #include <bse.h>
#endif /* INCL_NOBASEAPI */

/* OS/2 Presentation Manager Include File */
#ifndef INCL_NOPMAPI
   #include <pm.h>
#endif /* INCL_NOPMAPI */

/* NOINC */
/* Open Scripting Architecture (OSA) Include File */
#ifdef INCL_OSAAPI
   #include <osa.h>
#endif /* INCL_OSAAPI */

#ifdef __cplusplus
        }
#endif
#if __IBMC__ || __IBMCPP__
   #pragma info( none )
      #ifndef __CHKHDR__
         #pragma info( restore )
      #endif
   #pragma info( restore )
#endif

/* OpenDoc for OS/2 Include File */
#ifdef __cplusplus
#ifdef INCL_ODAPI
   #include <od.h>
#endif /* INCL_ODAPI */
#endif
/* INC */

#endif /* __OS2__ */

As an example.

67
Multimedia / Re: Updated Uniaud32 build
« on: January 31, 2021, 11:45:28 am »
Hi Paul,

uniaud32-linux-5.10.11-20210131.zip
Installed, logs attached, one taken directly after a fresh boot, the other after the fault condition.

If I'm playing an MP3 file using pm123, then play a system sound (test was moving emails in pmmail folders) or via the Sound panel in System Setup, the mp3 will keep playing for x number of seconds before going silent. After this event there is no mp3 or other audio output. I can get the mp3 audio back by restarting play (without restarting pm123) but the system sounds are gone for good. Before playing the mp3, system sounds worked fine.

Bit like the pm123 buffer can no longer pull data because OS/2 has control of the queue after attempting to play a system sound.

PS, Apart from that, it works fine :)

68
Multimedia / Re: Updated Uniaud32 build
« on: January 29, 2021, 10:21:50 am »
Hi Paul,

I think I'm looking at it from an Audio path perspective, your looking at it from a programming perspective :)

Programming how multiple streams are used and allocated and/or selecting a shared mode for inputs could very easily get complex in programming. Might be why the code was commented out as I suspect it would be easier to understand using a mixing console as a representation, a bit like how its done under Linux with Jack, Pulse Audio, and the MIDI connection PATCH panel which is neat. In the end it comes down to audio inputs from different physical and/or virtual sources, and what to do with them.

As Paul says, streams are to do with the inputs from the hardware, shared mode is the software side of it which I assume simply throws it altogether into the one L or R audio 'stream' as a basic software mixer. From what you've said this means that the shared mode is what is not working, and I've made the assumption that its all in the same code location.

I was thinking of also remming out Timidity and seeing how it worked with the MIDI drivers but haven't gone that far yet, now I think about the software, not sure if that's even important.

69
Multimedia / Re: Updated Uniaud32 build
« on: January 28, 2021, 04:02:04 pm »
Hi Martin,

Speaking only for me, yes, I would say the issue is related if not the same. Though I'm not angry about it :)
I think the system sounds issue is also part of the same issue, ie, there is no input mixing happening.
As to a MM application resuming audio, or having to restart it I think would depend on the programming behind that application.

PS, same issue, installed Daniel's Mahjongg - also 100% CPU after pm123 audio stops about 5 seconds after starting Mahjongg. When I quit Mahjongg, take about another 5 seconds then pm123 audio starts again. Tried it a second time, pm123 is still playing ok start Mahjongg but there is no sound from Mahjongg.

70
Multimedia / Re: Updated Uniaud32 build
« on: January 28, 2021, 09:36:12 am »
I see what Alexander means about mutistream not working.
I normally only play multimedia one at a time :)
If I play an mp3, or a movie via mplayer, then try to play something via pm123 I get "MCI Error 5613: Insufficient buffer size specified."
If I stop mplayer then pm123 works fine.
If I start playing music via pm123, then start something in mplayer, mplayer doesnt complain it just doesnt make any sound.

Tried it with uniaud32-20210128-Alexander.zip and there is no difference.
Log attached.

PS, I'm using uniaud16.sys (dated 25th Jun 2017, revision 1.09.7) which I assumed is the latest 16 driver.
PPS, thought I would try system sounds again. They work fine until I use pm123 or another mm application, then they nolonger work - ever. If I warm boot then test the system sounds (works), then start pm123, click on the system sounds Test button, I get no system sound. If I click a second time on the Test button, the audio from pm123 stops. To get audio back for pm123 I need to restart pm123. <== with uniaud32-20210128-Alexander.zip

71
Multimedia / Re: Updated Uniaud32 build
« on: January 26, 2021, 08:24:59 am »
Hi Paul,

I have one report (and can confirm on a T60 locally) of sound not working after a warm boot (ie ctrl-alt-del or setboot /b). The T60 has Analog Devices HDA hardware. I'm wondering if anyone else is seeing similar behaviour. Sound works 100% of the time after a cold boot.

Both
  uniaud32-linux-5.10.10-20210124.zip and
  uniaud32-linux-5.10.10-20210126.zip
work fine here from cold and warm boots at least with SB Audigy 4 [SB0610].

72
Multimedia / Re: Updated Uniaud32 build
« on: January 23, 2021, 04:50:07 am »
one simple example is to mix in system notifications with a mp3 stream, rather than the annoying pause the mp3, play the system sound, resume the mp3 behaviour.

Interesting, I forgot all about system sounds, do not think I've had those turned on since the later 90's.
I clicked on the 'Enable system sounds', clicked on Play (for test sound) button and got a sound with an MP3 still playin in pm123 ok but the second time I did it there was no sound, and the MP3 though still playing was silent. I could stop, and restart playing the MP3 but nothing I could do from then on resulted in any sounds. I unticked 'Enable system sounds', exited, closed pm123, then restarted pm123 and had audio back again. I find it interesting that I was able to at least play a system sound once without affecting the mp3 stream so there appears to be some sort of mixing happening though broken. This is with the SB Audigy 4 [SB0610] card. Will find the time to do more experimenting later.

73
Multimedia / Re: Updated Uniaud32 build
« on: January 20, 2021, 11:28:32 am »
can someone tell me why we want to have 'mixing of channels'?

I'm wondering as well. I use two analog mixing consoles as I find real knobs easier to use and set, and if recent cards no longer have streams it means there is a limited audience for it.

In saying that :)

Paul, I'm happy to post you a SBLive PCI card at no cost to you. Not sure if that would help if your using a VPC.
alsa-sblive.log
 GetUniaudPcmCaps: cp1. pcm 0, phandle f5e0e4bc
  GetUniaudPcmCaps: pcm 0, cp2. nr of streams: 32
  chan: from 1 to 2
 GetUniaudPcmCaps: cp1. pcm 0, phandle f5e0eee8
  GetUniaudPcmCaps: pcm 0, cp2. nr of streams: 1
  chan: from 1 to 2

74
Applications / Re: OpenSource WishList
« on: January 19, 2021, 04:24:09 pm »
The GIMP
Inkscape
Audacity
R (Statistics, 3-D and dynamic graphics)

I'm still happy with ImageJ under OS/2 which I also use under Linux (Java based)

75
Multimedia / Re: Updated Uniaud32 build
« on: January 19, 2021, 03:39:06 pm »
Sorry, needs a debug driver....

Yep, I also figured that out on the 2nd card swap when I realised the logs didn't have much :o)
Lots of streams for you after I also swapped to the debug version :)
One Audigy card (Audigy SE [SB0570]) not checked as its in another computer at present.

Pages: 1 ... 3 4 [5] 6 7 ... 26