Go Back   The UNIX and Linux Forums > Top Forums > UNIX for Dummies Questions & Answers
Search Forums:



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 !!

Closed Thread    
 
Thread Tools Search this Thread Display Modes
    #1  
Old 03-07-2010
Registered User
 

Join Date: Mar 2009
Posts: 57
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.
Sponsored Links
    #3  
Old 03-08-2010
karthigayan's Avatar
Registered User
 

Join Date: Apr 2009
Location: India , Chennai
Posts: 137
Thanks: 0
Thanked 3 Times in 3 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: /root
Posts: 101
Thanks: 0
Thanked 0 Times in 0 Posts
Please tell which console you are using.
Sponsored Links
    #5  
Old 03-08-2010
Registered User
 

Join Date: Mar 2009
Posts: 57
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
Closed Thread

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

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
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 03:20 AM.