,getting the key without ENTERing

This is a discussion on ,getting the key without ENTERing within the Linux Programming forums, part of the Platform Specific Boards category; Hi I want to read the pressed key an the keyboard without a need for an extra CR (ENTER). Actually ...

  1. #1
    Just kidding.... fnoyan's Avatar
    Join Date
    Jun 2003
    Location
    Still in the egg
    Posts
    269

    ,getting the key without ENTERing

    Hi

    I want to read the pressed key an the keyboard without a need for an extra CR (ENTER).

    Actually I am writing a shell and I add a stack implementation in it. The shell will be able to remember the past commands entered by the user. That's why, if the key pressed by the user is up/down arrow key, I will display the previous command.

    Thanks in advice...

  2. #2
    and the hat of wrongness Salem's Avatar
    Join Date
    Aug 2001
    Location
    The edge of the known universe
    Posts
    32,422

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. Replies: 16
    Last Post: 11-23-2007, 12:48 PM
  2. Virtual keys
    By Arkanos in forum Windows Programming
    Replies: 4
    Last Post: 12-12-2005, 09:00 AM
  3. Directional Keys - Useing in Console
    By RoD in forum C++ Programming
    Replies: 38
    Last Post: 10-06-2002, 04:42 PM
  4. FAQ: Directional Keys - Useing in Console
    By RoD in forum FAQ Board
    Replies: 38
    Last Post: 10-06-2002, 04:42 PM

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21