Go Back   The UNIX and Linux Forums > Top Forums > UNIX for Dummies Questions & Answers
google site



UNIX for Dummies Questions & Answers If you're not sure where to post a UNIX or Linux question, post it here. All UNIX and Linux newbies welcome !!

Reply
English Japanese Spanish French German Portuguese Italian Powered by Powered by Google
 
Search this Thread
  #1  
Old 03-07-2010
Registered User
 

Join Date: Mar 2009
Posts: 53
Thanks: 0
Thanked 0 Times in 0 Posts
How to input escape sequences in Linux tty?

More details: Unicode, Framebuffer. I tried to press Esc and then what should follow, letters or brackets, but seems not to work. Probably i do something wrong. If somebody is familiar with escape sequences in the console, how do you do that?
Thanks in advance.
Sponsored Links
  #2  
Old 03-07-2010
kiruthika_sri's Avatar
Registered User
 

Join Date: Feb 2010
Posts: 19
Thanks: 0
Thanked 0 Times in 0 Posts
Is this you are expecting.

ESC (0x1B, ^[) starts an escape sequence;

For more details visit the following link
console_codes(4) - Linux man page

and also refer the man page of console_codes.
  #3  
Old 03-08-2010
karthigayan's Avatar
Registered User
 

Join Date: Apr 2009
Location: /usr/bin
Posts: 126
Thanks: 0
Thanked 2 Times in 2 Posts
To type the control character in the terminal try the following way.

press ctrl+v and ctrl+k to achieve ^K ( crtl+k) .Like this you can generate any control characters with the combination of crtl+v.
  #4  
Old 03-08-2010
Registered User
 

Join Date: Feb 2010
Location: /usr/src/bin
Posts: 101
Thanks: 0
Thanked 0 Times in 0 Posts
Please tell which console you are using.
  #5  
Old 03-08-2010
Registered User
 

Join Date: Mar 2009
Posts: 53
Thanks: 0
Thanked 0 Times in 0 Posts
karthigayan , it seems to be beginnig of the right way. The sequence is shown as beginning with "^[", which means Escape, however, i get the message "command not found". Do i have to write own terminfo or something like that to enable terminal to work with Escape sequences?
abubacker: Linux tty (with framebuffer, if it is of essence), TERM=linux.
Sponsored Links
Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


More UNIX and Linux Forum Topics You Might Find Helpful
Thread Thread Starter Forum Replies Last Post
Trigraph sequences MrUser Programming 1 11-03-2009 08:54 AM
Escape Sequences appearing in scripts jwm-wm UNIX for Dummies Questions & Answers 1 05-08-2008 01:31 PM
CLI Magic: Use ANSI escape sequences to display a clock in your terminal Linux Bot UNIX and Linux RSS News 0 01-22-2008 04:40 AM
Available escape sequences Love Solaris 6 06-20-2006 07:31 AM
AWK and hex sequences JoeTheGuy Shell Programming and Scripting 5 10-17-2002 08:17 AM



All times are GMT -4. The time now is 09:20 PM.