Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.lang.javascript > #29968

Re: Wait on keyboard

Newsgroups comp.lang.javascript
Date 2016-03-13 15:19 -0700
References (7 earlier) <re58ebtpclu82quc4thn4uglg7jp4ps48o@4ax.com> <19832681-7906-4fee-90ca-a01c88b9fa6e@googlegroups.com> <bbgaeblqc1s0d6inalb50oduink406pdf9@4ax.com> <040dba52-3121-4d6e-850e-ef5aa64147e2@googlegroups.com> <332117cd-e7df-4f7f-b03b-0022d6229e02@googlegroups.com>
Message-ID <176191a9-82a7-48b1-affb-e9053c66f4d2@googlegroups.com> (permalink)
Subject Re: Wait on keyboard
From jonas.thornvall@gmail.com

Show all headers | View raw


Den söndag 13 mars 2016 kl. 21:01:18 UTC+1 skrev Scott Sauyet:
> jonas.thornvall@gmail.com wrote: 
> > John Harris wrote:
> 
> >> If you search ECMA 262 you will find that the word "alert" does not
> >> appear anywhere in the ECMAScript standard.
> >> 
> >> Therefore, alert is not part of the ECMAScript core language. It is a
> >> function supplied to programs by the browser in the same way that
> >> objects giving you access to the document are supplied by the browser.
> >> 
> >> In a server either there is no function named alert or it is a
> >> function that does something different.
> > 
> > Well i guess there is no eventhandlers either running on the server. 
> > And that is my point the listeners and evenhandler UI should have 
> > both *wait* and *keypress*
> 
> Why?  For heaven's sake, why should it have your "keypress" and not my
> "mousemove", her "resize", his "touch", their "click", or everyone's
> "change" actions?  Or are you suggesting that it should have all of 
> them as top-level events, and then every time someone needs a new
> event we have to expand this API?
> 
> And what are your semantics for "wait" in a single-threaded language?
> What does it mean?  How does it affect the rest of the host environment
> (browser, server, other) where the Javascript runs?  Are you talking
> about something like continuations, or do you really expect to pause
> the entire execution of the engine while you wait for your 
> prince^B^B^B^B^B event to come?
> 
> Or are you simply whining, "This is not working like some other 
> language I used to know, and I don't want to bother learning anything
> about this one?  Why can't someone fix this so I don't have to bother
> using my brain?  Come on guys, help me out?  Please?"
> 
> Because that's certainly what it sounds like.
> 
>   -- Scott

Honestly i don't anything as long it does not invoke 30 lines of code  to wait for user input. And it is a keyboard i do not see why it is tied to fields and documents only. I wano to call functions on presskey.

Back to comp.lang.javascript | Previous | NextPrevious in thread | Next in thread | Find similar | Unroll thread


Thread

Wait on keyboard jonas.thornvall@gmail.com - 2016-03-11 02:30 -0800
  Re: Wait on keyboard Tim Streater <timstreater@greenbee.net> - 2016-03-11 10:37 +0000
  Re: Wait on keyboard jonas.thornvall@gmail.com - 2016-03-11 02:50 -0800
    Re: Wait on keyboard jonas.thornvall@gmail.com - 2016-03-11 03:13 -0800
      Re: Wait on keyboard jonas.thornvall@gmail.com - 2016-03-11 03:23 -0800
        Re: Wait on keyboard jonas.thornvall@gmail.com - 2016-03-11 03:32 -0800
          Re: Wait on keyboard jonas.thornvall@gmail.com - 2016-03-11 03:39 -0800
            Re: Wait on keyboard jonas.thornvall@gmail.com - 2016-03-11 04:41 -0800
              Re: Wait on keyboard jonas.thornvall@gmail.com - 2016-03-11 05:00 -0800
                Re: Wait on keyboard jonas.thornvall@gmail.com - 2016-03-11 05:43 -0800
      Re: Wait on keyboard Tim Streater <timstreater@greenbee.net> - 2016-03-11 12:13 +0000
  Re: Wait on keyboard "Mr. Man-wai Chang" <toylet.toylet@gmail.com> - 2016-03-11 21:52 +0800
    Re: Wait on keyboard jonas.thornvall@gmail.com - 2016-03-11 07:29 -0800
  Re: Wait on keyboard Stefan Weiss <krewecherl@gmail.com> - 2016-03-11 17:00 +0100
    Re: Wait on keyboard Stefan Weiss <krewecherl@gmail.com> - 2016-03-11 17:11 +0100
      Re: Wait on keyboard jonas.thornvall@gmail.com - 2016-03-11 08:32 -0800
        Re: Wait on keyboard Stefan Weiss <krewecherl@gmail.com> - 2016-03-11 20:20 +0100
      Re: Wait on keyboard jonas.thornvall@gmail.com - 2016-03-11 08:55 -0800
        Re: Wait on keyboard Aleksandro <aleksandro@gmx.com> - 2016-03-11 16:30 -0300
          Re: Wait on keyboard jonas.thornvall@gmail.com - 2016-03-11 11:46 -0800
            Re: Wait on keyboard jonas.thornvall@gmail.com - 2016-03-11 12:22 -0800
              Re: Wait on keyboard Aleksandro <aleksandro@gmx.com> - 2016-03-11 17:25 -0300
                Re: Wait on keyboard jonas.thornvall@gmail.com - 2016-03-11 12:32 -0800
                Re: Wait on keyboard Aleksandro <aleksandro@gmx.com> - 2016-03-11 17:42 -0300
                Re: Wait on keyboard jonas.thornvall@gmail.com - 2016-03-11 12:52 -0800
                Re: Wait on keyboard jonas.thornvall@gmail.com - 2016-03-11 12:47 -0800
                Re: Wait on keyboard "Michael Haufe (TNO)" <tno@thenewobjective.com> - 2016-03-11 18:39 -0800
              Re: Wait on keyboard "Michael Haufe (TNO)" <tno@thenewobjective.com> - 2016-03-11 18:37 -0800
              Re: Wait on keyboard John Harris <niam@jghnorth.org.uk.invalid> - 2016-03-12 13:16 +0000
                Re: Wait on keyboard jonas.thornvall@gmail.com - 2016-03-12 05:57 -0800
                Re: Wait on keyboard John Harris <niam@jghnorth.org.uk.invalid> - 2016-03-13 10:31 +0000
                Re: Wait on keyboard jonas.thornvall@gmail.com - 2016-03-13 05:55 -0700
                Re: Wait on keyboard "Evertjan." <exxjxw.hannivoort@inter.nl.net> - 2016-03-13 17:19 +0100
                Re: Wait on keyboard Scott Sauyet <scott.sauyet@gmail.com> - 2016-03-13 13:01 -0700
                Re: Wait on keyboard jonas.thornvall@gmail.com - 2016-03-13 15:19 -0700
                Re: Wait on keyboard Aleksandro <aleksandro@gmx.com> - 2016-03-13 20:08 -0300
                Re: Wait on keyboard jonas.thornvall@gmail.com - 2016-03-13 21:45 -0700
                Re: Wait on keyboard Aleksandro <aleksandro@gmx.com> - 2016-03-14 01:50 -0300
                Re: Wait on keyboard jonas.thornvall@gmail.com - 2016-03-13 22:39 -0700
                Re: Wait on keyboard jonas.thornvall@gmail.com - 2016-03-13 22:46 -0700
                Re: Wait on keyboard Scott Sauyet <scott.sauyet@gmail.com> - 2016-03-14 11:54 -0700
                Re: Wait on keyboard Tim Streater <timstreater@greenbee.net> - 2016-03-14 08:31 +0000
                Re: Wait on keyboard John Harris <niam@jghnorth.org.uk.invalid> - 2016-03-14 10:43 +0000
                Re: Wait on keyboard jonas.thornvall@gmail.com - 2016-03-12 06:04 -0800
                Re: Wait on keyboard "Evertjan." <exxjxw.hannivoort@inter.nl.net> - 2016-03-12 15:22 +0100
                Re: Wait on keyboard jonas.thornvall@gmail.com - 2016-03-12 07:46 -0800
                Re: Wait on keyboard Tim Streater <timstreater@greenbee.net> - 2016-03-12 15:52 +0000
                Re: Wait on keyboard jonas.thornvall@gmail.com - 2016-03-12 09:25 -0800
                Re: Wait on keyboard Aleksandro <aleksandro@gmx.com> - 2016-03-12 20:16 -0300
                Re: Wait on keyboard jonas.thornvall@gmail.com - 2016-03-12 15:57 -0800
                Re: Wait on keyboard Aleksandro <aleksandro@gmx.com> - 2016-03-12 21:07 -0300
                Re: Wait on keyboard Scott Sauyet <scott.sauyet@gmail.com> - 2016-03-12 21:27 -0800
                Re: Wait on keyboard jonas.thornvall@gmail.com - 2016-03-13 03:08 -0700
                Re: Wait on keyboard "Evertjan." <exxjxw.hannivoort@inter.nl.net> - 2016-03-12 23:30 +0100
                Re: Wait on keyboard jonas.thornvall@gmail.com - 2016-03-12 06:15 -0800
            Re: Wait on keyboard "Michael Haufe (TNO)" <tno@thenewobjective.com> - 2016-03-11 18:33 -0800
              Re: Wait on keyboard jonas.thornvall@gmail.com - 2016-03-12 03:01 -0800
    Re: Wait on keyboard "Michael Haufe (TNO)" <tno@thenewobjective.com> - 2016-03-11 18:30 -0800
    Re: Wait on keyboard Thomas 'PointedEars' Lahn <PointedEars@web.de> - 2016-03-12 04:44 +0100
      Re: Wait on keyboard Stefan Weiss <krewecherl@gmail.com> - 2016-03-12 11:21 +0100
        Re: Wait on keyboard Stefan Weiss <krewecherl@gmail.com> - 2016-03-12 11:27 +0100
        Re: Wait on keyboard Thomas 'PointedEars' Lahn <PointedEars@web.de> - 2016-03-12 14:44 +0100
    Re: Wait on keyboard "Mr. Man-wai Chang" <toylet.toylet@gmail.com> - 2016-03-14 18:58 +0800

csiph-web