VT100

Discussion in 'C Programming' started by Free Doc, Apr 30, 2004.

  1. Free Doc

    Free Doc Guest

    Hi,
    I need to read the keyboard input without waiting for the ENTER key
    to be pressed in a VT100 emulation.
    I use an ANSI C compiler, so the getch()(and similar) needs the ENTER
    too.
    Please, don't suggest me to use the courses (that I already know)
    because I can't.
    I found the escape character sequences (ESC ] etc) to set the cursor
    position, clear the screen and so on, and I guess there should be a
    kind of similar to intercept a key press event.

    Can someone help me please.
     
    Free Doc, Apr 30, 2004
    #1
    1. Advertising

  2. (Free Doc) writes:
    > I need to read the keyboard input without waiting for the ENTER key


    This is a FAQ. See the comp.lang.c FAQ, question 19.1.

    Martin


    --
    ,--. Martin Dickopp, Dresden, Germany ,= ,-_-. =.
    / ,- ) http://www.zero-based.org/ ((_/)o o(\_))
    \ `-' `-'(. .)`-'
    `-. Debian, a variant of the GNU operating system. \_/
     
    Martin Dickopp, Apr 30, 2004
    #2
    1. Advertising

Want to reply to this thread or ask your own question?

It takes just 2 minutes to sign up (and it's free!). Just click the sign up button to choose a username and then you can ask your own questions on the forum.
Similar Threads
  1. Dominique Bouré

    Python and VT100

    Dominique Bouré, Mar 5, 2005, in forum: Python
    Replies:
    2
    Views:
    458
    Christos TZOTZIOY Georgiou
    Mar 6, 2005
  2. Daniele C.

    Curses for win32 with VT100/ANSI support

    Daniele C., May 20, 2006, in forum: C Programming
    Replies:
    48
    Views:
    1,569
    Dave Thompson
    Jun 8, 2006
  3. Wolfgang Rohdewald

    Re: VT100 in Python

    Wolfgang Rohdewald, Sep 14, 2009, in forum: Python
    Replies:
    2
    Views:
    791
    Nobody
    Sep 17, 2009
  4. Jeff Silverman
    Replies:
    2
    Views:
    293
    Thomas Dickey
    Dec 29, 2005
  5. Grehom
    Replies:
    0
    Views:
    175
    Grehom
    Mar 17, 2008
Loading...

Share This Page