• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Trapping keyboard characters
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Trapping keyboard characters


  • Subject: Trapping keyboard characters
  • From: Tom Gray <email@hidden>
  • Date: Tue, 23 Jul 2002 17:38:40 -0400

Its me again, the newby in over his head trying to write a terminal.

Say, I want to "trap" keyboard keys as they are typed and NOT display them
in my NSTextView. I want to send them off to the remote computer (possibly
echoing the character in a light gray color as a means of providing some
feedback that the character has been typed.)

In other words, since my terminal doesn't use local echo, I need to hold off
displaying the character in my NSTextView until the remote computer echos it
back.

So, what is the best way to "read the keyboard" and "catch the keys" so that
I can send them off to the remote computer.

--

Tom Gray
email@hidden
or
email@hidden
_______________________________________________
cocoa-dev mailing list | email@hidden
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/cocoa-dev
Do not post admin requests to the list. They will be ignored.

  • Prev by Date: Bolding a range in a mutable string
  • Next by Date: Drawing an old style Terminal Cursor
  • Previous by thread: RE: Bolding a range in a mutable string
  • Next by thread: Drawing an old style Terminal Cursor
  • Index(es):
    • Date
    • Thread