help with dosemu
Hi sir;
i download dosemu form your site and i install it
i found some files in /usr/local/shre/dosemu
but i don't how to use this program
please can you guide me
please
best wishes
abdullah alwabel
"Real" text in xdosemu
I have version 1.3, and its xdosemu has a resizable window both for graphics and text, which is very nice. But -- this also means that copying from the xdosemu window and pasting into other Linux windows does not work anymore.
I apologize to all if this is an old FAQ (it may very well be) but is there a way to enable copying text from the xdosemu window like it used to be? (I don't mind if this means giving up the resize feature for text screens).
Regards, Jan
Re: "Real" text in xdosemu
Jan,
I had the same issue. I wanted a larger font than was available, so I was loading a standard font and then resizing the window to a larger size. I finally found (thru some folks help on this site) a font large enough to use without needing to resize the window. After loading that,
the window was large enough, but no longer re-sizable. And I could
once again do copy and paste.
The lines in the /etc/dosemu/dosemu.conf file which matter are:
$_X_font = "vga1024norm" # <-- anything will work, this is a very large font $_X_bilin_filt = (on)
Good luck.
Joe Henley
Quoted 17 lines · Jan Willem Stumpel
I have version 1.3, and its xdosemu has a resizable window both for graphics and text, which is very nice. But -- this also means that copying from the xdosemu window and pasting into other Linux windows does not work anymore.
I apologize to all if this is an old FAQ (it may very well be) but is there a way to enable copying text from the xdosemu window like it used to be? (I don't mind if this means giving up the resize feature for text screens).
Regards, Jan
-
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
Re: "Real" text in xdosemu
In reply to Jan Willem StumpelHi Jan!
Am Dienstag, 28. September 2004 16:43 schrieben Sie:
Quoted 4 lines
I apologize to all if this is an old FAQ (it may very well be) but is there a way to enable copying text from the xdosemu window like it used to be? (I don't mind if this means giving up the resize feature for text screens).
The fonts you need are here:
http://resmedicinae.sourceforge.net/manuals/apw_linux/vgafonts.tgz
cu
Claudia
Re: "Real" text in xdosemu
In reply to Joe HenleyQuoted 4 lines
Quoted 4 lines
I apologize to all if this is an old FAQ (it may very well be) but is there a way to enable copying text from the xdosemu window like it used to be? (I don't mind if this means giving up the resize feature for text screens).
I have never been able to copy/paste from a xdosemu window. How do you do that?
Re: "Real" text in xdosemu
Quoted 2 lines · Ralph Alvy
I have never been able to copy/paste from a xdosemu window. How do you do that?
It is strange .. copying and pasting to and from xdosemu (text programs only, of course) *does* works fine in 1.3. And it works irrespective of the font used, and whether the text window is resizable or not!
I only *thought* it did not work, because I could not see the selected text highlighted in the program I tried it with.
But even if you cannot see the selection highlighted, it is copied into the buffer, as you can see by pasting it into another program running in a Linux xterm.
Why selections are highlighted in some programs and not in others, I have no idea. Even within the same program there are differences. For instance in Turbo C, selections are highlighted in the main edit screen, but not in the help screens. But selections can be taken from both of them.
Regards, Jan
Re: "Real" text in xdosemu
Quoted 4 lines · Jan Willem Stumpel
It is strange .. copying and pasting to and from xdosemu (text programs only, of course) *does* works fine in 1.3. And it works irrespective of the font used, and whether the text window is resizable or not!
I had problems myself with KDE 3.2.3: after you selected by dragging the mouse it would be cleared as soon as I released the mouse button. That's fixed now and committed to the CVS. The fix for 1.2.2 is below in case anyone is interested.
Quoted 5 lines
Why selections are highlighted in some programs and not in others, I have no idea. Even within the same program there are differences. For instance in Turbo C, selections are highlighted in the main edit screen, but not in the help screens. But selections can be taken from both of them.
True, I'll have a look at that later.
Bart
env/video/X.c +33 -10
@@ -453,9 +453,16 @@static int sel_start_row =-1 , sel_end_row =-1 , sel_start_col, sel_end_col;static unsigned short *sel_start =NULL , *sel_end =NULL ;static u_char *sel_text =NULL ; -static Atom compound_text_atom = None; -static Atom utf8_text_atom = None; -static Atom text_atom = None; +enum { +TARGETS_ATOM , +TIMESTAMP_ATOM , +COMPOUND_TARGET , +UTF8_TARGET , +TEXT_TARGET , +STRING_TARGET , +NUM_TARGETS +}; +static Atom targets[NUM_TARGETS ];static Boolean doing_selection = FALSE, visible_selection = FALSE;#endif
@@ -844,9 +851,12 @@ }#if CONFIG_X_SELECTION /* Get atom for COMPOUND_TEXT/UTF8/TEXT type. */ - compound_text_atom =XInternAtom (display,"COMPOUND_TEXT" , False); - utf8_text_atom =XInternAtom (display,"UTF8_STRING" , False); - text_atom =XInternAtom (display,"TEXT" , False); + targets[TARGETS_ATOM ] =XInternAtom (display,"TARGETS" , False); + targets[TIMESTAMP_ATOM ] =XInternAtom (display,"TIMESTAMP" , False); + targets[COMPOUND_TARGET ] =XInternAtom (display,"COMPOUND_TEXT" , False); + targets[UTF8_TARGET ] =XInternAtom (display,"UTF8_STRING" , False); + targets[TEXT_TARGET ] =XInternAtom (display,"TEXT" , False); + targets[STRING_TARGET ] =XA_STRING ;#endif /* Delete-Window-Message black magic copied from xloadimage. */ proto_atom =XInternAtom (display,"WM_PROTOCOLS" , False);
@@ -4094,8 +4104,20 @@ (unsigned long) requestor); e.xselection.property = None; } -else if ((target ==XA_STRING ) || (target == compound_text_atom) || - (target == utf8_text_atom) || (target == text_atom)) { +else if (target == targets[TARGETS_ATOM ]) { +X_printf ("X: selection: TARGETS\n" ); +XChangeProperty (display, requestor, property,XA_ATOM ,32 , + PropModeReplace, (char *)targets,NUM_TARGETS ); + } +else if (target == targets[TIMESTAMP_ATOM ]) { +X_printf ("X: timestamp atom\n" ); +XChangeProperty (display, requestor, property,XA_INTEGER ,32 , + PropModeReplace, (char *)&e.xselection.time,1 ); + } +else if (target == targets[STRING_TARGET ] || + target == targets[COMPOUND_TARGET ] || + target == targets[UTF8_TARGET ] || + target == targets[TEXT_TARGET ]) {X_printf ("X: selection: %s\n" ,sel_text); e.xselection.target = target; XChangeProperty(display, requestor, property, target, 8, PropModeReplace,
@@ -4107,8 +4129,9 @@else { e.xselection.property = None; -X_printf ("X: Window 0x%lx requested unknown selection format %ld\n" , - (unsigned long ) requestor, (unsigned long ) target); +X_printf ("X: Window 0x%lx requested unknown selection format %ld %s\n" , + (unsigned long ) requestor, (unsigned long ) target, +XGetAtomName (display, target)); }XSendEvent (display, requestor, False,0 , &e); }