John, How about looking for a sequence of 3 bytes. If you press the F1 key it sends 1B 4F 50, the F2 key sends 1B 4F 51... and so on. the 1B IS the escape char and 4F is an 'O', 50 is a 'P' and 51 is a 'Q' Regards, Brian. -----Original Message----- From: pic microcontroller discussion list [mailto:PICLIST@MITVMA.MIT.EDU]On Behalf Of John Pearson Sent: 15 May 2003 05:22 To: PICLIST@MITVMA.MIT.EDU Subject: Re: Serial comm. protocalls I want to reserve the RETURN or ENTER character since the data is going to a display. I need the RETURN for new line. Thanks John --------------------------------------------- This email was sent using http://mail.uk2.net UK2.NET - UK's Biggest Host! - http://uk2.net -- http://www.piclist.com#nomail Going offline? Don't AutoReply us! email listserv@mitvma.mit.edu with SET PICList DIGEST in the body