Serial Port Terminal Program

Kipton Moravec kip at kdream.com
Sat Feb 28 05:38:55 UTC 2009


On Sat, 2009-02-28 at 04:42 +0100, Vincent Trouilliez wrote:
> On Fri, 27 Feb 2009 18:46:35 -0800
> NoOp <glgxg at sbcglobal.net> wrote:
> 
> > Sorry: this one>
> > <http://www.google.com/search?complete=0&hl=en&q=%2Bdosemu+%2Bcom1>
> > 
> > Example:
> > <http://fixunix.com/redhat/124121-getting-serial-port-com1-com2-work-dosemu-solution.html>
> 
> Thanks NoOp ! :-)
> 
> Wow, Google is incredibly useful, I really ought to give him a chance
> every now and then ;-)
> 
> I am impatient to try ou these instructions to get it working... but
> later. It's 04h45 AM here and I am sooooo tired.
> 

> --
> Vince
> 

I think I found it:

there is a configuration file /etc/dosemu/dosemu.conf

The Default is:

##############################################################################
## Serial port settings

# use e.g. "/dev/mouse", "/dev/ttyS0", "/dev/ttyS1", ...
# Note: all "/dev/ttyXX" may be suffixed by the IRQ
# used (instead of the default one), such as "/dev/ttyS2 irq 5"
# or "/dev/ttyS3 irq 9". Default: ""

# $_com1 = ""
# $_com2 = ""
# $_com3 = ""
# $_com4 = ""

# tty lock directory. Empty string "" means no tty locks.
# default: "/var/lock"

# $_ttylocks = "/var/lock"

##############################################################################

It needs to be:

##############################################################################
## Serial port settings

# use e.g. "/dev/mouse", "/dev/ttyS0", "/dev/ttyS1", ...
# Note: all "/dev/ttyXX" may be suffixed by the IRQ
# used (instead of the default one), such as "/dev/ttyS2 irq 5"
# or "/dev/ttyS3 irq 9". Default: ""

# $_com1 = "/dev/ttyS0"
# $_com2 = "/dev/ttyS1"
# $_com3 = ""
# $_com4 = ""

# tty lock directory. Empty string "" means no tty locks.
# default: "/var/lock"

$_ttylocks = "/var/lock"

##############################################################################

I used sudo gedit to edit the file because you have to be root.

And I am still sometimes getting a double key for every key I press when
in dosemu. You have to close the linux terminal and start a new one.


I just tested it and it did not work.

Grrrr.


-- 


Kipton Moravec AE5IB .- . ..... .. -... 
==============================================
Four Way Test
Is it the Truth?
Is it Fair to all concerned?
Will it build Goodwill and Better Friendships?
Will it be Beneficial to all concerned?
- Herbert J Taylor (1932)
 






More information about the ubuntu-users mailing list