Menu

#52 How to display all CP437 chars?

closed
nobody
None
5
2016-12-26
2003-11-02
Anonymous
No

I would like to run a DOS program, which uses almost all
CP437 characters i dosemu.
If I set
setfont -u cp437.uni cp437.f16
I get almost all necessary chars except th control char
0x9b in the console.
Nevertheless, under dosemu (v 1.0.2.0) the chars
in the range 0x00 - 0x1f are not displayed properly.
I have set
$_term_char_set="ibm"
and that works well for the chars 0x20 and above,
but there is still some translation of the chars 0x00 - 0x1f.

Any solution or workaround for it (and for the char 0x9f, too)?
Thank you in advance.

Zmatik

Discussion

  • Nobody/Anonymous

    Logged In: NO

    I needed to send escape sequences to my vt100 terminal to do
    passthru printing. I had to modify dosemu module int10.c
    to make this work. I also had to change my dos application.
    It would be so easy if the dosemu guys would privide an
    option to let experienced users to send anthing they want to
    the screen. Dave Mathews <http://www.cgmsgolf.com>

     
  • mceric

    mceric - 2004-06-04

    Logged In: YES
    user_id=309160

    You have to use an experimental DOSEMU
    which supports drawing text screens with
    simulated VGA fonts for that. Tested with
    a patched DOSEMU 1.1.5.7 and the TED3 editor
    which displays an ASCII table on the third
    help page, works.

     
  • Bart Oldeman

    Bart Oldeman - 2004-10-21

    Logged In: YES
    user_id=176505

    If your console uses text mode (non fbdev) you can use
    $_console=(1) as root.

    Otherwise the only way out (to be able to display all
    cp437 characters on a terminal) is UTF-8. That requires a
    special SLang library and CVS dosemu at the moment though.

     
  • Ulrich Prinz

    Ulrich Prinz - 2016-12-26

    Hi!
    I know that this thread is fairly old, but I ran in exactly the same issue. We need the special characters for "games" like the arrows, heart and diamond for a text mode GUI. Unfortunately we cannot modify the software so we like to emulate the character set. We tried some of the above but failed. So is there a curent way to have the original display characters from 0x00 to 0x1F in a current DOSEMU?

    Thanks for any idea
    Astralix

     
  • Andrew Bird

    Andrew Bird - 2016-12-27

    Have you tried the latest Dosemu2? Search on github for the source, or on Launchpad for a ppa of it for Ubuntu. From what remember the character set handling was rewritten sometime in the 1.3 era and is now utf-8 based.

     

Log in to post a comment.

MongoDB Logo MongoDB