* Source installation
@ 2002-09-24 13:21 Guennadi Liakhovetski
0 siblings, 0 replies; 10+ messages in thread
From: Guennadi Liakhovetski @ 2002-09-24 13:21 UTC (permalink / raw)
To: linux-msdos
Hello all
Well, my congratulations, you managed to make it cryptic enough, so that I
was unable after perhaps an hour of trying to run what I've compiled from
either 1.0.2 (which is said to be buggy) or 1.1.3:-)) So, you do make,
then what? make install says - just copy the binaries, the copied binaries
spit out an error
default_lib_dir /var/lib/dosemu not existing
default_lib_dir /var/lib/dosemu not existing
So, how do I install the compiled dosemu into an unpacked binary FreeDOS?
Also, dosemu (currently, has it always been the case?... not, as far as I
remember) uses FreeDOS, which can't be compiled with gcc, can it be
compiled with any free compiler?
And - as a long shot - are their any constraints for running DOS-programs,
using serial ports?
Thanks
Guennadi
---------------------------------
Guennadi Liakhovetski, Ph.D.
DSA Daten- und Systemtechnik GmbH
Pascalstr. 28
D-52076 Aachen
Germany
^ permalink raw reply [flat|nested] 10+ messages in thread
* Re: Source installation
@ 2002-09-26 11:30 Will Styles
2002-09-26 12:37 ` Guennadi Liakhovetski
2002-09-26 15:46 ` Guennadi Liakhovetski
0 siblings, 2 replies; 10+ messages in thread
From: Will Styles @ 2002-09-26 11:30 UTC (permalink / raw)
To: Guennadi Liakhovetski; +Cc: linux-msdos
On Tue, 24 Sep 2002 23:21, Guennadi Liakhovetski
wrote:
> Hello all
>
> Well, my congratulations, you managed to make it
cryptic enough
our pleasure :-)
> so that I
> was unable after perhaps an hour of trying to run
what I've compiled from
> either 1.0.2 (which is said to be buggy)
very buggy.
> or 1.1.3:-))
much better
> So, you do make,
> then what?
mkdir -p /var/lib/dosemu
cp etc/dosemu.conf /etc
cp etc/global.conf /var/lib/dosemu
cp etc/dosemu.users /etc
...or something like that
for a PhD, i'm surprised you couldn't figure that out
-:) (SICR)
> make install says - just copy the binaries, the
copied binaries
> spit out an error
global installs (which is what i just told you to do)
are now discouraged (but i like them still for various
reasons), you can get a sort-of-global install using
install_systemwide (but i hate this).
> So, how do I install the compiled dosemu into an
unpacked binary FreeDOS?
as for freedos, unpack it somewhere in /var/lib/dosemu
and tweak /etc/dosemu.conf (variable $_hdimage).
> And - as a long shot - are their any constraints for
running DOS-programs,
> using serial ports?
>
serial support is good.
run dosemu as root for everything and you will be
fine.
__________________________________________________
Do you Yahoo!?
New DSL Internet Access from SBC & Yahoo!
http://sbc.yahoo.com
^ permalink raw reply [flat|nested] 10+ messages in thread
* Re: Source installation
2002-09-26 11:30 Will Styles
@ 2002-09-26 12:37 ` Guennadi Liakhovetski
2002-09-26 15:46 ` Guennadi Liakhovetski
1 sibling, 0 replies; 10+ messages in thread
From: Guennadi Liakhovetski @ 2002-09-26 12:37 UTC (permalink / raw)
To: Will Styles; +Cc: linux-msdos
Cool! Thanks! I thouht already my style was too offensive for the list:-)
Sorry.
> > So, you do make,
> > then what?
> mkdir -p /var/lib/dosemu
> cp etc/dosemu.conf /etc
> cp etc/global.conf /var/lib/dosemu
> cp etc/dosemu.users /etc
> ...or something like that
> for a PhD, i'm surprised you couldn't figure that out
> -:) (SICR)
Yeah, that's usually the problem - the PhD:-) Anyway, with your now
obvious (:-)) instructions I managed to start DOSEMU on one of my PCs (an
oldish P-133 didn't work... Perhaps a wrong kernel or some other
mismatch), now connecting the to serial ports with a crossover I can run 2
minicoms and type in both windows - that works fine, but if I run one
minicom and configure dosemu to use the other port and do smth like
echo bla > COM1
I see nothing in the minicom... Ok, if baudrate stuff was wrong, I would
at least see some rubbish, but I see nothing. What else am I doing wrong
and how do I actually configure UART parameters under DOS(EMU)?
> global installs (which is what i just told you to do)
> are now discouraged
...and local installs are not documented:-))
> (but i like them still for various
> reasons), you can get a sort-of-global install using
> install_systemwide (but i hate this).
>
> > So, how do I install the compiled dosemu into an
> unpacked binary FreeDOS?
> as for freedos, unpack it somewhere in /var/lib/dosemu
> and tweak /etc/dosemu.conf (variable $_hdimage).
Wait a minute - isn't FreeDOS __necessary__ for running dosemu? Looks like
it is (dosemu requested /var/lib/freedos, and only worked, when I put it
there:-))
> > And - as a long shot - are their any constraints for
> running DOS-programs,
> > using serial ports?
> >
> serial support is good.
> run dosemu as root for everything and you will be
> fine.
Yeah, I was root...
Thanks a million again and waiting for further instructions
Guennadi
---------------------------------
Guennadi Liakhovetski, Ph.D.
DSA Daten- und Systemtechnik GmbH
Pascalstr. 28
D-52076 Aachen
Germany
^ permalink raw reply [flat|nested] 10+ messages in thread
* Re: Source installation
@ 2002-09-26 15:20 Stas Sergeev
2002-09-26 16:10 ` Guennadi Liakhovetski
0 siblings, 1 reply; 10+ messages in thread
From: Stas Sergeev @ 2002-09-26 15:20 UTC (permalink / raw)
To: linux-msdos
Hello.
Guennadi Liakhovetski wrote:
> echo bla > COM1
> I see nothing in the minicom...
You'd better use some terminal program rather
than a simple echo. Anyway, do you have a
$_com1 and $_com2 options set correctly in
your dosemu.conf?
> What else am I doing wrong
> and how do I actually configure UART parameters under DOS(EMU)?
No need in general. Dosemu have the UART init
code stolen from minicom, which works.
> Wait a minute - isn't FreeDOS __necessary__ for running dosemu?
No. Any DOS will do or even some other OSes
like elks (embedded linux) are fine under dosemu.
> it is (dosemu requested /var/lib/freedos, and only worked,
Check the $_hdimage option of dosemu.conf.
> To: "Will Styles" <stashelp@yahoo.com>
Hmm, this e-mail looks very suspicious...
^ permalink raw reply [flat|nested] 10+ messages in thread
* Re: Source installation
2002-09-26 11:30 Will Styles
2002-09-26 12:37 ` Guennadi Liakhovetski
@ 2002-09-26 15:46 ` Guennadi Liakhovetski
1 sibling, 0 replies; 10+ messages in thread
From: Guennadi Liakhovetski @ 2002-09-26 15:46 UTC (permalink / raw)
To: Will Styles; +Cc: linux-msdos
Ok, the UARTs work. But - I can't use the control-keys (CTRL, ALT, SHIFT)
- the application I want to use uses this ncurses-analog terminal mode,
and youo use {CTRL,ALT,SHIFT,}-Fx for various configuration options...
Yes, I saw the thread about just this, and using 1.1.3.2 didn't help.
Guennadi
---------------------------------
Guennadi Liakhovetski, Ph.D.
DSA Daten- und Systemtechnik GmbH
Pascalstr. 28
D-52076 Aachen
Germany
^ permalink raw reply [flat|nested] 10+ messages in thread
* Re: Source installation
2002-09-26 15:20 Stas Sergeev
@ 2002-09-26 16:10 ` Guennadi Liakhovetski
2002-09-26 16:43 ` Bart Oldeman
0 siblings, 1 reply; 10+ messages in thread
From: Guennadi Liakhovetski @ 2002-09-26 16:10 UTC (permalink / raw)
To: Stas Sergeev; +Cc: linux-msdos
> You'd better use some terminal program rather
> than a simple echo. Anyway, do you have a
> $_com1 and $_com2 options set correctly in
> your dosemu.conf?
Yep, works now.
> > What else am I doing wrong
> > and how do I actually configure UART parameters under DOS(EMU)?
> No need in general. Dosemu have the UART init
> code stolen from minicom, which works.
Yeah, and to change the baudrate, etc.? No idea how one does it under
DOS... Only with a terminal program?
> > Wait a minute - isn't FreeDOS __necessary__ for running dosemu?
> No. Any DOS will do or even some other OSes
> like elks (embedded linux) are fine under dosemu.
Ough, I seem to have had a totally wrong understanding of what dosemu
was... Ok, I've found thr right doc to read, that explains it
(doc/dosemu-HOWTO.txt - not a self-evident name for a primary explanatory
document:-))
> > it is (dosemu requested /var/lib/freedos, and only worked,
> Check the $_hdimage option of dosemu.conf.
Well, what I still don't quite understand, is what are the exact steps
after compilation - to copy all the required stuff in a dosemu root-dir,
where you'll later unpack FreeDOS or whatever... The reply, that got me
going did help a lot - but still, I had to guess a few things... And I am
not sure if all my guesses were right.
Thanks
Guennadi
---------------------------------
Guennadi Liakhovetski, Ph.D.
DSA Daten- und Systemtechnik GmbH
Pascalstr. 28
D-52076 Aachen
Germany
^ permalink raw reply [flat|nested] 10+ messages in thread
* Re: Source installation
2002-09-26 16:10 ` Guennadi Liakhovetski
@ 2002-09-26 16:43 ` Bart Oldeman
0 siblings, 0 replies; 10+ messages in thread
From: Bart Oldeman @ 2002-09-26 16:43 UTC (permalink / raw)
To: Guennadi Liakhovetski; +Cc: linux-msdos
On Thu, 26 Sep 2002, Guennadi Liakhovetski wrote:
> Well, what I still don't quite understand, is what are the exact steps
> after compilation - to copy all the required stuff in a dosemu root-dir,
> where you'll later unpack FreeDOS or whatever... The reply, that got me
> going did help a lot - but still, I had to guess a few things... And I am
> not sure if all my guesses were right.
The way that `make install` tries to explain (at least that's how I
understood it from Hans Lermen) is that you first download a binary
dosemu (1.0.2.1, that is) and freedos, unpack it into your home
directory and get that running. Then if you want to compile dosemu
from source, after compilation you just copy your dosemu.bin and
dosdebug to ~/dosemu/bin and your global.conf to ~/dosemu/conf.
I would like to get 'make install' working again, but I'll need to be
careful where to put files.
Another strategy now is to use the install_systemwide script, which
was really aimed at distributors, but then some major distro's don't
ship dosemu anymore.
You might want to check out
http://www.linuxjournal.com/article.php?sid=5955
for a strategy that uses install_systemwide.
Bart
^ permalink raw reply [flat|nested] 10+ messages in thread
* Re: Source installation
@ 2002-09-26 17:50 Stas Sergeev
2002-09-26 19:50 ` Bart Oldeman
0 siblings, 1 reply; 10+ messages in thread
From: Stas Sergeev @ 2002-09-26 17:50 UTC (permalink / raw)
To: linux-msdos
Hello.
Guennadi Liakhovetski wrote:
> the application I want to use uses this ncurses-analog terminal mode,
> and youo use {CTRL,ALT,SHIFT,}-Fx for various configuration options...
> Yes, I saw the thread about just this, and using 1.1.3.2 didn't help.
Set $_rawkeyboard=(1) then.
The thread you've found, was most likely
discussing a terminal mode of dosemu, use
a console mode instead.
^ permalink raw reply [flat|nested] 10+ messages in thread
* Re: Source installation
2002-09-26 17:50 Source installation Stas Sergeev
@ 2002-09-26 19:50 ` Bart Oldeman
2002-09-27 7:46 ` Guennadi Liakhovetski
0 siblings, 1 reply; 10+ messages in thread
From: Bart Oldeman @ 2002-09-26 19:50 UTC (permalink / raw)
To: linux-msdos
Stas Sergeev wrote:
> Guennadi Liakhovetski wrote:
> > the application I want to use uses this ncurses-analog terminal mode,
> > and youo use {CTRL,ALT,SHIFT,}-Fx for various configuration options...
> > Yes, I saw the thread about just this, and using 1.1.3.2 didn't help.
> Set $_rawkeyboard=(1) then.
That will only work on the linux console. I'm not sure if the OP wants
to run DOSEMU in a remote terminal. In that case rawkeyboard makes no
difference.
If nothing else works, type Ctrl-^ h (==Ctrl-6 h for me) in DOSEMU for
help on replacement key combinations that work for every terminal.
Bart
^ permalink raw reply [flat|nested] 10+ messages in thread
* Re: Source installation
2002-09-26 19:50 ` Bart Oldeman
@ 2002-09-27 7:46 ` Guennadi Liakhovetski
0 siblings, 0 replies; 10+ messages in thread
From: Guennadi Liakhovetski @ 2002-09-27 7:46 UTC (permalink / raw)
To: Bart Oldeman; +Cc: linux-msdos
On Thu, 26 Sep 2002, Bart Oldeman wrote:
> Stas Sergeev wrote:
> > Guennadi Liakhovetski wrote:
> > > the application I want to use uses this ncurses-analog terminal mode,
> > > and youo use {CTRL,ALT,SHIFT,}-Fx for various configuration options...
> > > Yes, I saw the thread about just this, and using 1.1.3.2 didn't help.
> > Set $_rawkeyboard=(1) then.
>
> That will only work on the linux console. I'm not sure if the OP wants
> to run DOSEMU in a remote terminal. In that case rawkeyboard makes no
> difference.
>
> If nothing else works, type Ctrl-^ h (==Ctrl-6 h for me) in DOSEMU for
> help on replacement key combinations that work for every terminal.
Thanks, ok, here's what finally worked for me: using ^@ keys and
__sticky__ Ctrl, etc. So, ^@-c ^@-3 is __NOT__ the same as ^@-C 3
^@-space. Ok, now it's functional! Cool! If only I also managed to get it
running on P-133 - would be totally cool!
Thanks
Guennadi
---------------------------------
Guennadi Liakhovetski, Ph.D.
DSA Daten- und Systemtechnik GmbH
Pascalstr. 28
D-52076 Aachen
Germany
^ permalink raw reply [flat|nested] 10+ messages in thread
end of thread, other threads:[~2002-09-27 7:46 UTC | newest]
Thread overview: 10+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2002-09-26 17:50 Source installation Stas Sergeev
2002-09-26 19:50 ` Bart Oldeman
2002-09-27 7:46 ` Guennadi Liakhovetski
-- strict thread matches above, loose matches on Subject: below --
2002-09-26 15:20 Stas Sergeev
2002-09-26 16:10 ` Guennadi Liakhovetski
2002-09-26 16:43 ` Bart Oldeman
2002-09-26 11:30 Will Styles
2002-09-26 12:37 ` Guennadi Liakhovetski
2002-09-26 15:46 ` Guennadi Liakhovetski
2002-09-24 13:21 Guennadi Liakhovetski
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.