Crashes if running WordPerfect 5.1
Hello.
Quoted 3 lines · Lars_BjÛrndal
Dosemu, and I picked the latest CVS (yesterday evening). Now, I can not run WordPerfect 5.1 any more, Dosemu crashes. It's very important for me to be able to run wp. What can I do to this?
You can set
$_mapping = "mapfile"
in your dosemu.conf.
-
To unsubscribe from this list: send the line "unsubscribe linux-msdos" in the body of a message to [email protected]
More majordomo info at http://vger.kernel.org/majordomo-info.html
Hi,
Quoted 9 lines
Quoted 3 lines · Lars_BjÛrndal
Dosemu, and I picked the latest CVS (yesterday evening). Now, I can not run WordPerfect 5.1 any more, Dosemu crashes. It's very important for me to be able to run wp. What can I do to this?
You can set
$_mapping = "mapfile"
in your dosemu.conf.
The patch below also does the job. As far as I could see DPMI no longer calls this function so I guess I could remove the comment whilst I was at it.
Bart
arch/linux/mapping/mapshm.c renamed from arch/linux/mapping/mapshm.c.~1.11.~ +13 -5
@@ -147,15 +147,23 @@munmap (addr, mapsize); } -/* -* NOTE: DPMI relies on realloc_mapping() _not_ changing the address ('addr'), -* when shrinking the memory region. -*/ static void *realloc_mapping_shm (int cap,void *addr,int oldsize,int newsize) { +void *ret;Q__printf ("MAPPING: realloc, cap=%s, addr=%p, oldsize=%x, newsize=%x\n" , cap, addr, oldsize, newsize); -return mremap (addr, oldsize, newsize,MREMAP_MAYMOVE ); + +if (newsize <= oldsize) +return mremap (addr, oldsize, newsize,MREMAP_MAYMOVE ); + +/* expanded new memory is apparently not shared so can't be aliased. +so we must allocate a new region and memcpy to it */ + ret =alloc_mapping_shm (cap, newsize); +if (ret !=MAP_FAILED ) { +memcpy (ret, addr, oldsize); +free_mapping_shm (cap, addr, oldsize); + } +return ret; }static void *mmap_mapping_shm (int cap,void *target,int mapsize,int protect,void *source)
-
To unsubscribe from this list: send the line "unsubscribe linux-msdos" in the body of a message to [email protected]
More majordomo info at http://vger.kernel.org/majordomo-info.html
f11 and f12
In reply to Stas SergeevI find that since upgrading to dosemu-1.2.1 I can not access F11 and F12 in MegaDots, a program for braille translation and formatting. When I try F11 or F12 in this program, it complains about that macro not existing. Is this a known program and is there something I can do about it? Thanks.
Signature · 6 lines
Cheryl "Do not fear, for I am with you; do not be dismayed, for I am your God. I will strengthen you and help you; I will uphold you with my righteous right hand."
Re: f11 and f12
Quoted 4 lines · Cheryl Homiak
I find that since upgrading to dosemu-1.2.1 I can not access F11 and F12 in MegaDots, a program for braille translation and formatting. When I try F11 or F12 in this program, it complains about that macro not existing. Is this a known program and is there something I can do about it?
depends where you use it. Terminal? Console? X?
On the console $_rawkeyboard may help (dosemu -k). Otherwise try shift-f1, many terminals don't distinguish between shift-f1 and f11. If all else fails ctrl-6 - (that is ctrl+six then minus) and ctrl-6 = should work.
Bart
Re: f11 and f12
It is the console I am using, and the ctrl-6 combinations worked. Thanks.
Signature · 6 lines
Cheryl "Do not fear, for I am with you; do not be dismayed, for I am your God. I will strengthen you and help you; I will uphold you with my righteous right hand."
Re: f11 and f12
Are there a complete list of the function keys (with combinations) you can use if you run dosemu for instance through SSH?
Lars
Quoted 3 lines · Stas Sergeev
You can set
$_mapping = "mapfile"
Yes, it worked! What happens when you spesify that?