Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 8275507
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 8, 20262026-06-08T08:05:48+00:00 2026-06-08T08:05:48+00:00

What is the HEX sequence for CRTL-UP key-press? For example for UP – ‘0x1b,

  • 0

What is the HEX sequence for CRTL-UP key-press?
For example for UP – ‘0x1b, 0x5b, 0x41’.

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-08T08:05:51+00:00Added an answer on June 8, 2026 at 8:05 am

    I wrote a simple Python 3 script to find out the answer:

    while True:
        print(" ".join("{:x}".format(ord(x)) for x in input()))
    

    I had to turn off the standard “Mission control” shortcut for the CtrlUp keystroke, but after doing that I get the following in iTerm2:

    $ python3 test.py
    ^[[A
    1b 5b 41
    ^[[1;5A
    1b 5b 31 3b 35 41
    

    The first two lines represent an Up keypress, while the second two lines represent a CtrlUp. You can use this same program to find out the character sequences for any other keystrokes.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I am trying to convert a HEX-sequence to a String encoded in either, ISO-8859-1,
I would like to generate 16 char length hex decimal value as sequence. My
I have a long sequence of hex digits in a string, such as 000000000000484240FA063DE5D0B744ADBED63A81FAEA390000C8428640A43D5005BD44
A JSON string can contain the escape sequence: \u four-hex-digits, which are two octets.
How do I build an escape sequence string in hexadecimal notation. Example: string s
Is it possible to represent a sequence of hex characters (0-9A-F) with a sequence
I have a hex value (0x0020004E0000 ... which is the base address to a
I have a number (hex) and I want the one's complement of it. For
In file data.hex, the data is given in hexadecimal form where the first digit
How to convert hex 48ea369a4c120000 to 64bit integer 20120214104648 (little endian byte order) in

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.