su mkdir /mnt/dos chmod 777 /mnt/dos echo "//192.168.0.130/SHARE /mnt/dos cifs iocharset=utf8,codepage=cp866,noperm,forcemand,direct,nounix,nolock,username=user,password=userpassword,rw 0 0" >> /etc/fstab mount /mnt/dos
small explanation: 192.168.0.130 - server IP, user and userpassword are taken from users on the server who are allowed access to the Samba-ball. cp -rf XFonts /usr/X11R6/lib/X11/fonts/
write the folder like other fonts in the /etc/X11/xorg.conf file, and add them to the system with the command: /usr/sbin/fonts-config
## Terminal related settings # Character set used externally to dosemu $_external_char_set = "utf8" # Linux # Character set used by dos programs $_internal_char_set = "cp866" # DOS ## Keyboard related settings $_layout = "ru" # ## Printer and parallel port settings $_lpt1 = "lp -o media=a4 -o cpi=11" # , LPT # #$_lpt1 = "iconv -f cp866 -t utf8 | lp -o media=a4 -o cpi=11 -d printername" ## Setting specific to the X Window System (xdosemu, dosemu -X) $_X_font = "vgacyr" #
@echo off rem autoexec.bat for DOSEMU + FreeDOS path z:\bin;z:\gnu;z:\dosemu;p:\ovl1;p:\ovl;p:\prv # ovl1;p:\ovl;p:\prv - DOS; set HELPPATH=z:\help set TEMP=c:\tmp blaster prompt $P$G unix -s DOSDRIVE_D if "%DOSDRIVE_D%" == "" goto nodrived lredir d: linux\fs%DOSDRIVE_D%:nodrived lredir p: linux\fs/mnt/dos # Linux DOS unix -s DOSEMU_VERSION echo "Welcome to dosemu %DOSEMU_VERSION%!" unix -e xmode -fullscreen on # Dosemu lin.bat # DOS
@ echo off p: # p: cd ovl1 # p:\ovl1\reg01.fxp # ( .fxp , .exe, Foxpro) xmode -fullscreen off # exitemu #
dosemu
we'll get it because there is no lin.bat file, correct it by creating in the home directory, in the folder .dosemu / drive_c (the folder is created when you first start the emulator) of this file with the above contents. >LOWRAM mmap:
vm.mmap_min_addr=0
Source: https://habr.com/ru/post/268529/
All Articles