Recent Posts

Pages: [1] 2 3 ... 10
1
Off Topic discussions / Re: Slowing Down But Not Hitting the Brakes
« Last post by mauro on Today at 10:13:57 am »
Condolence. Most of our fathers-mothers made us the kind of person we now are, also wherever not directly wanting that.
2
Are you using a multiprocessor system? - Just wondering if using markexe.exe (from os/2 toolkit) to "mark" the executable (dux.exe ?) as mpunsafe will help...
Hi Pete, It' s a VirtualBox system, one processor in the configuration. I' ll check that anyway, but I remember my "real" system in the early 2000s, a P4 (hence without multiprocessing), showed the same problem.
3
Internet / Re: simble browser does not handle URL by domain name
« Last post by mauro on Today at 08:43:15 am »
Loaded fine here as https://www.liberto.it/
Dooble is pretty simple and doesn't seem to try alternative domain names unlike Mozilla which will make a few attempts http vs https, www. or not and .com added
right, it's basic and I would prefer like this if it worked basically well. Thing is that is the only one among other browser on same system unable to translate URL string into IP address, it's not a matter of http/https, happening in both cases.  Probably reinstalling it would be the only attempt to try fixing.   Boh....  (from an italian slang :"who ever knows?)   ::)
4
Off Topic discussions / Re: Slowing Down But Not Hitting the Brakes
« Last post by Mentore on Today at 08:04:05 am »
Well, this is just the kind of messages one would never write.
My sincerest condolences for your loss - it's clear from your words you love and respect your father.

Take your time. Mourn him and praise him as you find fit. Only after this, please come back with renewed strength.
Hugs from Italy.
Mentore
5
Programming / getting a single keypress?
« Last post by Dave Yeo on Today at 06:00:21 am »
Trying to fix the terminal control in mpg123 so things like pause work.
Example program which works on other systems but not on OS/2, at that sometimes hangs the system.
Ideas to get this to work?
Code: [Select]

#include <stdlib.h>
#include <stdio.h>
#include <fcntl.h>
#include <sys/select.h>
#include <unistd.h>
#include <termios.h>

int term_fd = -1;

int get_key(int do_delay, char *val)
{
fd_set r;
struct timeval t;
t.tv_sec=0;
t.tv_usec=(do_delay) ? 1000 : 0;
FD_ZERO(&r);
FD_SET(term_fd,&r);
int n = select(term_fd+1,&r,NULL,NULL,&t);
if(n > 0 && FD_ISSET(term_fd,&r) && read(term_fd,val,1) == 1)
return 1;
return 0;
}


int main(int argc, char **argv)
{
if(argc >= 2)
term_fd = open("/dev/tty", O_RDONLY);
else
term_fd = STDIN_FILENO;
if(term_fd < 0)
{
perror("failure opening terminal input");
return 1;
}
fprintf(stderr, "terminal fd: %d\n", term_fd);

struct termios old_tio;
int termsetup = 0;
if(!tcgetattr(term_fd, &old_tio))
{
fprintf(stderr, "proper terminal setup\n");
struct termios tio = old_tio;
tio.c_lflag &= ~(ICANON|ECHO);
tio.c_cc[VMIN] = 1;
tio.c_cc[VTIME] = 0;
tcsetattr(term_fd,TCSANOW,&tio);
termsetup = 1;
}

char val = 0;
while(val != 'q')
{
if(get_key(1, &val))
fprintf(stderr, "got key: %c\n", val);
}

if(termsetup)
tcsetattr(term_fd,TCSAFLUSH,&old_tio);
if(term_fd > 0)
close(term_fd);
return 0;
}

6
Hi Glenn

Are you using a multiprocessor system? - Just wondering if using markexe.exe (from os/2 toolkit) to "mark" the executable (dux.exe ?) as mpunsafe will help...


Regards

Pete
7
Applications / Re: Old problem.. any known solution ?
« Last post by Glenn on Today at 12:55:39 am »
Hi Glenn

I don't have the American Heritage Dictionary by DUX, but the only thing I had seen is that there are two patches at hobbes, but I'm not sure if those are for the same thing you are using? Those are patches for DUX.EXE.

Regards
Unfortunately the remedy is worse than the problem: instead of just not starting the application, applying these patches causes the app to somehow start minimized (can see the program in lSwitcher) but also to hang the WPS - I have to use TOP to kill the app AND reset the WPS before I can regain control on the system...
8
The readme is out of date as well as the libc DLL's that come with the additions.
You want to remove any in \os2\dll and only use the ones in \usr\lib.
Also note that the latest is libcn0.dll and the other libc06*.dll's are forwarders and need to be at the same level.
Dave,

Thanks for the additional information. I was not aware of the connection between libcn0.dll and libc06*.dll. Since the Guest Additions for OS2 do not include libcn0.dll, then we shouldn't be using the libc06*.dll files from the Guest Additions CDROM image.

Bennie

Libcn is a fork of libc as Knut who officially maintains libc has no time for it but requested that if anyone took over maintainence of libc to change the name of it. The forwarder DLLs are so that older programs benefit from libc updates and bug fixes. Example is the recent (last year?) DST break, when it was fixed, all programs using any libc6* version benefited and once again understood daylight savings time, important for mailers.
9
Internet / Re: simble browser does not handle URL by domain name
« Last post by Dave Yeo on May 15, 2022, 09:47:56 pm »
Loaded fine here as https://www.liberto.it/
Dooble is pretty simple and doesn't seem to try alternative domain names unlike Mozilla which will make a few attempts http vs https, www. or not and .com added
10
Applications / Re: PMMail email address db messed up. How to fix it?
« Last post by Doug Bissett on May 15, 2022, 09:43:33 pm »
Please check your incident in Mantis. Apparently there was a discrepancy in your e-mail address, that may have been incorrectly fixed. That can mean that you don't get notified of updates to the incident.

For anybody following this, it looks like one of the data separator characters got changed to a semi-colon, somehow.
Pages: [1] 2 3 ... 10