On Thu, 3 Aug 2000, Bart Oldeman wrote:
> On Thu, 3 Aug 2000, ionel wrote:
>
> > Hi my dos emulator works just fine. DOS programs are running very well.
> > My question is if some of you know how to make a shortcut from Xwindow
> > in linux to programs in dos emulator. I don't know how to do it. So I
> > want to have shortcuts to some programs from DOS
> If you see "ir" instead of "dir" you have to give it an extra keystroke,
> e.g.
> xdos -I 'keystroke "ddir\r"'
A better method is \pn (Thanks Hans ;-) README.txt:
> \pn; Before typing the next stroke wait n unix ticks.
> This is usefull, when the DOS-application fushes the
> keybord buffer on startup. Your strokes would be discared,
> if you don't wait.
Moreover, in the KDE "shortcut" input boxes you should not use ' nor \'
but ", and \" for the inner double quotes.
So for instance do:
xdos -I "keystroke \"\p50;dir\r\""
or
xdos -I "keystroke \"\p50;cd games\rpacman\r\""
Bart