public inbox for linux-msdos@vger.kernel.org
 help / color / mirror / Atom feed
* Dosemu stsrts only one time in Putty
@ 2011-10-09 19:52 Tomasz Skorupa
  2011-10-10  2:09 ` Frantisek Hanzlik
  0 siblings, 1 reply; 6+ messages in thread
From: Tomasz Skorupa @ 2011-10-09 19:52 UTC (permalink / raw)
  To: linux-msdos

Hi All,
I new on the list so let me say that You do a great job!

As I say in subject i observe strange behavior on Ubuntu Server 8.04 LTS 
with Dosemu installed.
After installation dosemu starts only one time with properly working 
screen on Putty terminal. I see Dosemu welcome message when I invoke it 
via dosemu -t command.
When I exit to linux and start Dosemu again I see only black background 
with cursor block in strange position, but program works ok because when 
I type exitemu I back to linux prompt.
Only machine restart let me run Dosemu again. Exit Putty and start new 
session not work.
Software used:
Linux Ubuntu server 8.04 LTS
Dosemu 1.4.0 from Ubuntu repository installed via aptitude with no 
tweeks in config files.
Putty for Windows version 0.60

Could Yoy give me some direction what I can change to make it working?

Regards,
Tomasz Skorupa

^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: Dosemu stsrts only one time in Putty
  2011-10-09 19:52 Dosemu stsrts only one time in Putty Tomasz Skorupa
@ 2011-10-10  2:09 ` Frantisek Hanzlik
  2011-10-10 16:44   ` Tomasz Skorupa
  0 siblings, 1 reply; 6+ messages in thread
From: Frantisek Hanzlik @ 2011-10-10  2:09 UTC (permalink / raw)
  To: Tomasz Skorupa; +Cc: linux-msdos

Tomasz Skorupa wrote:
> Hi All,
> I new on the list so let me say that You do a great job!
> 
> As I say in subject i observe strange behavior on Ubuntu Server 8.04 LTS with Dosemu installed.
> After installation dosemu starts only one time with properly working screen on Putty terminal.
> I see Dosemu welcome message when I invoke it via dosemu -t command.
> When I exit to linux and start Dosemu again I see only black background with cursor block in
> strange position, but program works ok because when I type exitemu I back to linux prompt.
> Only machine restart let me run Dosemu again. Exit Putty and start new session not work.
> Software used:
> Linux Ubuntu server 8.04 LTS
> Dosemu 1.4.0 from Ubuntu repository installed via aptitude with no tweeks in config files.
> Putty for Windows version 0.60
> 
> Could Yoy give me some direction what I can change to make it working?
> 
> Regards,
> Tomasz Skorupa

You must restart Linux server, or Windows machine?
Running dosemu directly from Linux server is fine?
What is Your dosemu.conf file?

I never met with something of that kind. From my experience, DOS
applications often behaves weirdly when setting $_dosmem >640, but
this usualy become evident in every session, not only in second+.
I mostly access remote dosemu from other Linux box via "ssh -X" and
thus I'm using xdosemu, but "dosemu -t" works for me too (just tested
on Fedora 15 with dosemu i686 svn.2053 in vm86 mode) - only one thing
seems interesting for me: "mode" command shows (in dependence on
accessing PC window size) values as:
C:\>mode
*** PRINTER PORT 1 STATUS ***
Port status: [  ]
*** PRINTER PORT 2 STATUS ***
Port status: [  ]
*** PRINTER PORT 3 STATUS ***
Port status: [  ]
*** VIRTUAL PRINTER PORT 4 INFORMATION ***
Free for redirection to serial ports.
*** CONSOLE STATUS ***
CON codepage support (FreeDOS DISPLAY) not loaded.
Screen size: 110 columns, 39 rows, mode 3, font height 16.
Switchar is '/'. Numlock is off. Scrolllock is off. Capslock is off.

(110 columns and/or 39 rows are non-standard in DOS world, i'm not
sure when it cannot break some dos apps).

(and second thing, interesting for me, is line "*** VIRTUAL PRINTER ..".
Isn't there in FreeDOS some support for virtual printers which is
missing in DOSEMU? Printing to more than 3 (virtual) printers is
important for me - know somebody about status in FreeDOS and dosemu?)

What Your ~/.dosemu/boot.log ? Tried You compare this between first
and second session? Eventually with fiddling with $_debug setting in
"/etc/dosemu/dosemu.conf".

Best, Franta

^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: Dosemu stsrts only one time in Putty
  2011-10-10  2:09 ` Frantisek Hanzlik
@ 2011-10-10 16:44   ` Tomasz Skorupa
  2011-10-11 13:18     ` Ivan Baldo
  0 siblings, 1 reply; 6+ messages in thread
From: Tomasz Skorupa @ 2011-10-10 16:44 UTC (permalink / raw)
  To: Frantisek Hanzlik; +Cc: linux-msdos

[-- Attachment #1: Type: text/plain, Size: 3159 bytes --]

Hi Frantisek,

W dniu 2011-10-10 04:09, Frantisek Hanzlik pisze:
> Tomasz Skorupa wrote:
>> Hi All,
>> I new on the list so let me say that You do a great job!
>>
>> As I say in subject i observe strange behavior on Ubuntu Server 8.04 LTS with Dosemu installed.
>> After installation dosemu starts only one time with properly working screen on Putty terminal.
>> I see Dosemu welcome message when I invoke it via dosemu -t command.
>> When I exit to linux and start Dosemu again I see only black background with cursor block in
>> strange position, but program works ok because when I type exitemu I back to linux prompt.
>> Only machine restart let me run Dosemu again. Exit Putty and start new session not work.
>> Software used:
>> Linux Ubuntu server 8.04 LTS
>> Dosemu 1.4.0 from Ubuntu repository installed via aptitude with no tweeks in config files.
>> Putty for Windows version 0.60
>>
>> Could Yoy give me some direction what I can change to make it working?
>>
>> Regards,
>> Tomasz Skorupa
> You must restart Linux server, or Windows machine?

I must restart Linux server to make dosemu working again. Restarting 
Windows machine do nothing as logout from Linux and start new session 
with Putty.


> Running dosemu directly from Linux server is fine?
I need check this.

> What is Your dosemu.conf file?
As I sad in previous post I don't make changes to default creating by 
install script.

>
> I never met with something of that kind. From my experience, DOS
> applications often behaves weirdly when setting $_dosmem>640, but
> this usualy become evident in every session, not only in second+.
> I mostly access remote dosemu from other Linux box via "ssh -X" and
> thus I'm using xdosemu, but "dosemu -t" works for me too (just tested
> on Fedora 15 with dosemu i686 svn.2053 in vm86 mode) - only one thing
> seems interesting for me: "mode" command shows (in dependence on
> accessing PC window size) values as:
> C:\>mode
> *** PRINTER PORT 1 STATUS ***
> Port status: [  ]
> *** PRINTER PORT 2 STATUS ***
> Port status: [  ]
> *** PRINTER PORT 3 STATUS ***
> Port status: [  ]
> *** VIRTUAL PRINTER PORT 4 INFORMATION ***
> Free for redirection to serial ports.
> *** CONSOLE STATUS ***
> CON codepage support (FreeDOS DISPLAY) not loaded.
> Screen size: 110 columns, 39 rows, mode 3, font height 16.
> Switchar is '/'. Numlock is off. Scrolllock is off. Capslock is off.
>
> (110 columns and/or 39 rows are non-standard in DOS world, i'm not
> sure when it cannot break some dos apps).
>
> (and second thing, interesting for me, is line "*** VIRTUAL PRINTER ..".
> Isn't there in FreeDOS some support for virtual printers which is
> missing in DOSEMU? Printing to more than 3 (virtual) printers is
> important for me - know somebody about status in FreeDOS and dosemu?)
I include picture with result of mode command execution. You find there 
all informations You want

> What Your ~/.dosemu/boot.log ? Tried You compare this between first
> and second session? Eventually with fiddling with $_debug setting in
> "/etc/dosemu/dosemu.conf".
>
> Best, Franta
Because this is a working server I will do that tests tonight.

Regards, Tomasz.

[-- Attachment #2: dosemu mode command.PNG --]
[-- Type: image/png, Size: 55839 bytes --]

^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: Dosemu stsrts only one time in Putty
  2011-10-10 16:44   ` Tomasz Skorupa
@ 2011-10-11 13:18     ` Ivan Baldo
  2011-10-11 16:00       ` Tomasz Skorupa
  0 siblings, 1 reply; 6+ messages in thread
From: Ivan Baldo @ 2011-10-11 13:18 UTC (permalink / raw)
  To: Tomasz Skorupa; +Cc: Frantisek Hanzlik, linux-msdos

     Hello.
     Run DOSEmu, then run it once again so that it fails, write 
"exitemu" and then send the file ~/.dosemu/boot.log please, maybe there 
is some information.
     Thanks.


El 10/10/11 14:44, Tomasz Skorupa escribió:
> Hi Frantisek,
>
> W dniu 2011-10-10 04:09, Frantisek Hanzlik pisze:
>> Tomasz Skorupa wrote:
>>> Hi All,
>>> I new on the list so let me say that You do a great job!
>>>
>>> As I say in subject i observe strange behavior on Ubuntu Server 8.04 
>>> LTS with Dosemu installed.
>>> After installation dosemu starts only one time with properly working 
>>> screen on Putty terminal.
>>> I see Dosemu welcome message when I invoke it via dosemu -t command.
>>> When I exit to linux and start Dosemu again I see only black 
>>> background with cursor block in
>>> strange position, but program works ok because when I type exitemu I 
>>> back to linux prompt.
>>> Only machine restart let me run Dosemu again. Exit Putty and start 
>>> new session not work.
>>> Software used:
>>> Linux Ubuntu server 8.04 LTS
>>> Dosemu 1.4.0 from Ubuntu repository installed via aptitude with no 
>>> tweeks in config files.
>>> Putty for Windows version 0.60
>>>
>>> Could Yoy give me some direction what I can change to make it working?
>>>
>>> Regards,
>>> Tomasz Skorupa
>> You must restart Linux server, or Windows machine?
>
> I must restart Linux server to make dosemu working again. Restarting 
> Windows machine do nothing as logout from Linux and start new session 
> with Putty.
>
>
>> Running dosemu directly from Linux server is fine?
> I need check this.
>
>> What is Your dosemu.conf file?
> As I sad in previous post I don't make changes to default creating by 
> install script.
>
>>
>> I never met with something of that kind. From my experience, DOS
>> applications often behaves weirdly when setting $_dosmem>640, but
>> this usualy become evident in every session, not only in second+.
>> I mostly access remote dosemu from other Linux box via "ssh -X" and
>> thus I'm using xdosemu, but "dosemu -t" works for me too (just tested
>> on Fedora 15 with dosemu i686 svn.2053 in vm86 mode) - only one thing
>> seems interesting for me: "mode" command shows (in dependence on
>> accessing PC window size) values as:
>> C:\>mode
>> *** PRINTER PORT 1 STATUS ***
>> Port status: [  ]
>> *** PRINTER PORT 2 STATUS ***
>> Port status: [  ]
>> *** PRINTER PORT 3 STATUS ***
>> Port status: [  ]
>> *** VIRTUAL PRINTER PORT 4 INFORMATION ***
>> Free for redirection to serial ports.
>> *** CONSOLE STATUS ***
>> CON codepage support (FreeDOS DISPLAY) not loaded.
>> Screen size: 110 columns, 39 rows, mode 3, font height 16.
>> Switchar is '/'. Numlock is off. Scrolllock is off. Capslock is off.
>>
>> (110 columns and/or 39 rows are non-standard in DOS world, i'm not
>> sure when it cannot break some dos apps).
>>
>> (and second thing, interesting for me, is line "*** VIRTUAL PRINTER ..".
>> Isn't there in FreeDOS some support for virtual printers which is
>> missing in DOSEMU? Printing to more than 3 (virtual) printers is
>> important for me - know somebody about status in FreeDOS and dosemu?)
> I include picture with result of mode command execution. You find 
> there all informations You want
>
>> What Your ~/.dosemu/boot.log ? Tried You compare this between first
>> and second session? Eventually with fiddling with $_debug setting in
>> "/etc/dosemu/dosemu.conf".
>>
>> Best, Franta
> Because this is a working server I will do that tests tonight.
>
> Regards, Tomasz.

-- 
Ivan Baldo - ibaldo@adinet.com.uy - http://ibaldo.codigolibre.net/
 From Montevideo, Uruguay, at the south of South America.
Freelance programmer and GNU/Linux system administrator, hire me!
Alternatives: ibaldo@codigolibre.net - http://go.to/ibaldo

--
To unsubscribe from this list: send the line "unsubscribe linux-msdos" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: Dosemu stsrts only one time in Putty
  2011-10-11 13:18     ` Ivan Baldo
@ 2011-10-11 16:00       ` Tomasz Skorupa
  2011-10-15  2:20         ` Ivan Baldo
  0 siblings, 1 reply; 6+ messages in thread
From: Tomasz Skorupa @ 2011-10-11 16:00 UTC (permalink / raw)
  To: Ivan Baldo; +Cc: linux-msdos

[-- Attachment #1: Type: text/plain, Size: 536 bytes --]

W dniu 2011-10-11 15:18, Ivan Baldo pisze:
>     Hello.
>     Run DOSEmu, then run it once again so that it fails, write 
> "exitemu" and then send the file ~/.dosemu/boot.log please, maybe 
> there is some information.
>     Thanks.
>
Hello Ivan.
I include two files.
boot.log.fail - this is what You want.
diffrences - fcomp result of compare two files boot.log.success when 
dosemu start ok and boot.log.fail when dosemu starts with black screen.

I check that dosemu -dumb command starts everytime properly

Regards,
Tomasz Skorupa

[-- Attachment #2: boot.log.fail --]
[-- Type: text/plain, Size: 3436 bytes --]

major = 136 minor = 0
CONF: config variable parser_version_3 set
CONF: config variable c_system set
CONF: Parsing built-in dosemu.conf file.
CONF: config variable version_3_style_used set
CONF: Parsing built-in global.conf file.
CONF: config variable version_3_style_used unset
CONF: config variable version_3_style_used set
CONF: opened include file /etc/dosemu/dosemu.conf
CONF: closed include file /etc/dosemu/dosemu.conf
CONF: mapping driver = 'auto'
debug flags: -a+cw
CONF: Disabling use of pentium timer
CONF: dosbanner on
CONF: timer freq=18, update=54925
CONF: CPU set to 586
CONF: JIT CPUEMU set to 0 for 586
CONF: 2048k bytes EMS memory
CONF: EMS-frame = 0xe400
CONF: DPMI-Server on (0x5000)
CONF: DPMI base addr = 0xffffffff
CONF: PM DOS API Translator on
CONF: No DJGPP NULL deref checks: off
CONF: dosemu running on _terminal
CONF: time mode = 'bios'
SER: directory /var/lock namestub LCK.. binary No
MOUSE: no device specified, type 0 using internaldriver: yes, emulate3buttons: no baudrate: 0
CONF: Keyboard-layout keyb-user
CONF: **** Warning: floppy /dev/fd0 not accessable, disabled
CONF: fastfloppy = 1
CONF: IPX support off
CONF(LPT0) f: (null)   c: lpr -l  t: 20  port: 0
CONF(LPT1) f: (null)   c: lpr -l -P lpt2  t: 20  port: 0
CONF: not allowing speaker port access
CONF: Packet Driver enabled.
device: /home/tskorupa/.dosemu/drives/c type 4 h: -1  s: -1   t: -1 drive C:
device: /home/tskorupa/.dosemu/drives/d type 4 h: -1  s: -1   t: -1 drive D:
CONF: cdrom MSCD0001 on /dev/cdrom
CONF: config variable c_system unset
Linux kernel 2.6.24; CPU speed is 2399916000 Hz
CPU-EMU speed is 2400 MHz
CONF: mostly running as USER: uid=1000 (cached 1000) gid=1000 (cached 1000)
DBG_FD already set
DOSEMU-1.4.0.0 is coming up on Linux version 2.6.24-25-server #1 SMP Tue Oct 20 07:20:02 UTC 2009 x86_64
Compiled with GCC version 4.1.3 -m64
WARN: vm86plus service not available in your kernel
WARN: using CPU emulation for vm86()
CONF: reserving 640Kb at 0x00000 for 'd' (Base DOS memory (first 640K))
CONF: reserving 48Kb at 0xF4000 for 'r' (Dosemu reserved area)
CONF: reserving 128Kb at 0xA0000 for 'v' (Video memory)
CONF: reserving 8256Kb at 0x100000 for 'x' (Extended memory (HMA+XMS))
CONF: reserving 4Kb at 0xC0000 for 'V' (VGAEMU Video BIOS)
SERIAL $Id: ser_init.c 1769 2007-05-04 05:59:48Z bartoldeman $
PKT: Cannot allocate TAP device (dynamic): Permission denied
CONF: reserving 64Kb at 0xE4000 for 'E' (EMS page frame)
CONF: reserving 140Kb at 0xC1000 for 'U' (Upper Memory Block (UMB, XMS 3.0))
TIME: using 9154 usec for updating ALRM timer
======================= ENTER CPU-EMU ===============

DOS termination requested
leavedos(0|0x0) called - shutting down
======================= LEAVE CPU-EMU ===============
Total cpuemu time           410865 us (incl.trace)
Total codgen time            41852 us
Total linker time            38828 us
Total exec   time           125488 us (incl.faults)
Total insert time            39499 us
Total search time            12093 us
Total clean  time            15893 us
Max tree nodes                2280
Max node size                  523
Max tree depth                  13
Nodes parsed                112049
Find misses                  97229
Nodes executed              505442
Find hits                   136722 (27%)
Find last hits              368720 (72%)
Page faults                   7919
Signals received               106
Tree cleanups                   14



[-- Attachment #3: diffrences --]
[-- Type: text/plain, Size: 1345 bytes --]

FILE A: boot.log.success
FILE B: boot.log.fail
TOTALS: 14 inserted  14 deleted  68 matched

******************** REPLACE [A 63-69, B 63-69]:
Total cpuemu time           414125 us (incl.trace)
Total codgen time            42933 us
Total linker time            39106 us
Total exec   time           125993 us (incl.faults)
Total insert time            39932 us
Total search time            12321 us
Total clean  time            15570 us
******************** WITH:
Total cpuemu time           410865 us (incl.trace)
Total codgen time            41852 us
Total linker time            38828 us
Total exec   time           125488 us (incl.faults)
Total insert time            39499 us
Total search time            12093 us
Total clean  time            15893 us

******************** REPLACE [A 73-79, B 73-79]:
Nodes parsed                112425
Find misses                  97967
Nodes executed              509279
Find hits                   137299 (26%)
Find last hits              371980 (73%)
Page faults                   7920
Signals received               105
******************** WITH:
Nodes parsed                112049
Find misses                  97229
Nodes executed              505442
Find hits                   136722 (27%)
Find last hits              368720 (72%)
Page faults                   7919
Signals received               106

^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: Dosemu stsrts only one time in Putty
  2011-10-11 16:00       ` Tomasz Skorupa
@ 2011-10-15  2:20         ` Ivan Baldo
  0 siblings, 0 replies; 6+ messages in thread
From: Ivan Baldo @ 2011-10-15  2:20 UTC (permalink / raw)
  To: Tomasz Skorupa; +Cc: linux-msdos

     Hello.

El 11/10/11 14:00, Tomasz Skorupa escribió:
> W dniu 2011-10-11 15:18, Ivan Baldo pisze:
>>     Hello.
>>     Run DOSEmu, then run it once again so that it fails, write 
>> "exitemu" and then send the file ~/.dosemu/boot.log please, maybe 
>> there is some information.
>>     Thanks.
>>
> Hello Ivan.
> I include two files.
> boot.log.fail - this is what You want.
> diffrences - fcomp result of compare two files boot.log.success when 
> dosemu start ok and boot.log.fail when dosemu starts with black screen.
>
> I check that dosemu -dumb command starts everytime properly
>
> Regards,
> Tomasz Skorupa
     I just wanted to let you know that I don't know what else to do to 
help you.
     The boot.log file looks ok, also there isn't any meaningful 
difference between the two versions.
     Using -dumb works always.
     It should be some thing with the terminal emulation, but I don't 
know what could it be.
     Anyone else has any suggestion?
     If instead of Putty you run it using another Linux with "xterm" 
does it work always? Can you try a different terminal emulator for 
Windows (Putty is very fine though)?
     Good luck!!!
P.s.: if you fix it, please let us know how you fixed it, so it gets 
stored on the mailing list archives.

-- 
Ivan Baldo - ibaldo@adinet.com.uy - http://ibaldo.codigolibre.net/
 From Montevideo, Uruguay, at the south of South America.
Freelance programmer and GNU/Linux system administrator, hire me!
Alternatives: ibaldo@codigolibre.net - http://go.to/ibaldo

--
To unsubscribe from this list: send the line "unsubscribe linux-msdos" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2011-10-15  2:20 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2011-10-09 19:52 Dosemu stsrts only one time in Putty Tomasz Skorupa
2011-10-10  2:09 ` Frantisek Hanzlik
2011-10-10 16:44   ` Tomasz Skorupa
2011-10-11 13:18     ` Ivan Baldo
2011-10-11 16:00       ` Tomasz Skorupa
2011-10-15  2:20         ` Ivan Baldo

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox