[erlang-questions] how search and search_quit are handled by user_drv?

Leo Liu sdl.web@REDACTED
Tue May 26 07:24:48 CEST 2015


On 2015-05-21 00:34 +0800, Leo Liu wrote:
> 1.
> (devel@REDACTED)3> |
>
>     {trace,<0.28.0>,'receive',{#Port<0.349>,{data,[18]}}}
>     {trace,<0.28.0>,'receive', {<0.30.0>,{requests,[{delete_chars,0},{delete_chars,-20}]}}}
>     {trace,<0.28.0>,'receive', {<0.30.0>,{requests,[{put_chars,unicode,"(search)`': "}]}}}
>     {trace,<0.28.0>,'receive',{<0.30.0>,beep}}
>
> 2.
> (search)`': |
>
>     {trace,<0.28.0>,'receive',{#Port<0.349>,{data,"\t"}}}
>     {trace,<0.28.0>,'receive', {<0.30.0>,{requests,[{move_rel,-3},{put_chars,unicode,"\n"}]}}}
>
> 3.
> (search)`
> |': 
>
>     {trace,<0.28.0>,'receive', {<0.30.0>,{requests,[{delete_chars,0},{delete_chars,-12}]}}}
>
> 4.
> (search)`
> |': 
>
>     {trace,<0.28.0>,'receive', {<0.30.0>,
>                                 {requests,[{put_chars,unicode,"(devel@REDACTED)3> "},
>                                 {put_chars,unicode,[]},
>                                 {move_rel,0}]}}}
> 5.
> (search)`
> (devel@REDACTED)3> |

What's wrong with my interpretation of the edlin.erl messages? Could
someone shed some light on it? Thanks.

Leo




More information about the erlang-questions mailing list