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.
OS2World.com Forum is back !!!
Remember to visit OS2World at:
http://www.os2world.com
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.
Loaded fine here as https://www.liberto.it/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?)
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
#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;
}
Hi GlennUnfortunately 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...
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
The readme is out of date as well as the libc DLL's that come with the additions.Dave,
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.
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