Re: piping escape into dosemu

Mike McCarty <[email protected]>
Newsgroups org.kernel.vger.linux-msdos
Message-ID <[email protected]>
Meant for the whole group to see the answer I gave.
Sorry

-------- Original Message --------
Subject: Re: piping escape into dosemu
Date: Fri, 05 Mar 2010 12:49:59 -0600
From: Mike McCarty <[email protected]>
To: solarflow99 <[email protected]>
References: 
<[email protected]>	 
<[email protected]> 
<[email protected]>

solarflow99 wrote:
> hmm, i'm not really sure myself, if no one knows here, maybe you will
> have to ask the dosemu-devel list.

$ man echo

NAME
        echo - display a line of text


SYNOPSIS
        echo [OPTION]... [STRING]...
[...]

        -e     enable   interpretation  of  the  backslash-escaped
characters
               listed below

[...]

        \NNN   the character whose ASCII code is NNN (octal)

[...]

$ echo "\033" > dospipe

> 
> 
> On Thu, Mar 4, 2010 at 11:21 PM, TW <[email protected]> wrote:
>> Sorry, can't anybody give me a hint about this?  Is there more
>> documentation on the commands that can be piped into dosemu
>> (especially the keystroke command, of course)?
>>
>> Thanks!
>> Thomas W.
>>
>>
>> 2010/2/25 TW <[email protected]>:
>>> Hi all,
>>>
>>> I'm sorry, the crappy webmail service of my e-mail provider messed up
>>> my last message, so here it is again from a different mail account:
>>>
>>> I'm using the -U switch to pipe keyboard input into dosemu. I'm
>>> starting dosemu like
>>>
>>>  dosemu -U dospipe
>>>
>>> and can then pipe keystrokes like
>>>
>>>  echo "keystroke dir\r" > dospipe
>>>
>>> Are all keystrokes encoded the same way as described for the -input
>>> switch[1]? I'm trying to pipe the escape key, but
>>>
>>>  echo "keystroke \^[" > dospipe
>>>
>>> doesn't seem to do anything. Any suggestions? By the way, how can I
>>> pipe a single space character?
>>>
>>> Thanks in advance!
>>>
>>> Thomas W.
>>>
>>> [1] http://dosemu.sourceforge.net/docs/README/1.4/x724.html#AEN748
>>>
>> --
>> To unsubscribe from this list: send the line "unsubscribe linux-msdos" in
>> the body of a message to [email protected]
>> More majordomo info at  http://vger.kernel.org/majordomo-info.html
>>
> --
> To unsubscribe from this list: send the line "unsubscribe linux-msdos" in
> the body of a message to [email protected]
> More majordomo info at  http://vger.kernel.org/majordomo-info.html
> 


-- 
p="p=%c%s%c;main(){printf(p,34,p,34);}";main(){printf(p,34,p,34);}
Oppose globalization and One World Governments like the UN.
This message made from 100% recycled bits.
You have found the bank of Larn.
I speak only for myself, and I am unanimous in that!


-- 
p="p=%c%s%c;main(){printf(p,34,p,34);}";main(){printf(p,34,p,34);}
Oppose globalization and One World Governments like the UN.
This message made from 100% recycled bits.
You have found the bank of Larn.
I speak only for myself, and I am unanimous in that!
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.