Integer ASCII code: | 7 |
Binary code: | 0000 0111 |
Octal code: | 7 |
Hexadecimal code: | 07 |
Group: | control |
Seq: | ^G |
C/C++ notation: | \a or '\a' |
Unicode symbol: ␇, int code: 9223 (html ␇) hex code: 2407 (html ␇)
Initially was used to make a sound of bell on the terminal. Time passed and later it was used in the role of a beep on systems that didn't actually possess a physical bell. The inverse video may also be rapidly turned on and off by it (a visual bell).
A bell code (bell character in some cases) is a device control code initially created to ring a small electromechanical bell on tickers as well as on the other teleprinters and teletypewriters. This was done in order to notify operators at the other end of the line, frequently of a newly received message. Via tickers the bell codes were punched into their tapes. When the bell code is received, printers do not print a character. Bell codes are usually represented by the label "BEL". Since 1870 they were in wide use (the Baudot code was the first one).
Video display terminals (VDTs) have replaced teletypewriters. In order to support backward compatibility, they included speakers or buzzers to realize the same function. The same did the personal computers that were the later followers. Nowadays terminal emulators usually place the warnings to the desktop environment (e.g., the Mac OS X Terminal will make a sound of the system warning). Besides, they frequently offer a function of a visual bell with no sound. It's a short flash on the terminal window.
The character that has a 7 value in ASCII and Unicode is BEL. In caret notation it can be can be related to the control-G or ^G. Unicode has a special character for the visual representation of the bell code, "symbol for bell" (␇) at U+2407.
BEL is also represented in the 5-bit Baudot codes. When in "figures" mode, it has number 11 (0x0B).
Talking about the C programming language (created in 1972), here the bell character can be organized in a string or character constant with \a. ('a' means "alert" or "audible". It was chosen this way \b was already taken for the backspace character.)
input value | base | output hash |
---|---|---|
BEL | char | 89E74E640B8C46257A29DE0616794D5D |
7 | dec | 8F14E45FCEEA167A5A36DEDD4BEA2543 |
00000111 | bin | 0CCE1B3FBC56ACC685344BCA4840B85A |
0000 0111 | bin | 9835BBD3B178D1454573387F817BA8D7 |
7 | oct | 8F14E45FCEEA167A5A36DEDD4BEA2543 |
07 | hex | D72D187DF41E10EA7D9FCDC7F5909205 |
0x07 | hex | 20462E8E656FE3BB216AC0EE6B089124 |
input value | base | output hash |
---|---|---|
BEL | char | CA358758F6D27E6CF45272937977A748FD88391DB679CEDA7DC7BF1F005EE879 |
7 | dec | 7902699BE42C8A8E46FBBB4501726517E86B22C56A189F7625A6DA49081B2451 |
00000111 | bin | 1FFBB193C8600EDA4381677F6D048D1E9E0A11597E8589A572CFC5BFEEA8413C |
0000 0111 | bin | E9D8E19D1DB84C281B40958A571242A1ECE5F65FC03B5534944D509BDBC02DD9 |
7 | oct | 7902699BE42C8A8E46FBBB4501726517E86B22C56A189F7625A6DA49081B2451 |
07 | hex | 19B100AB7725C612F3D80FF203CA53CEA5CADAAFAE3BF0F88F0FB4089FE08815 |
0x07 | hex | A0222B7BF145FA94D64233F30609911C46D174C80BA1E95DD1D35036B8C2338F |
input value | base | output hash |
---|---|---|
BEL | char | Bw== |
7 | dec | Nw== |
00000111 | bin | MDAwMDAxMTE= |
0000 0111 | bin | MDAwMCAwMTEx |
7 | oct | Nw== |
07 | hex | MDc= |
0x07 | hex | MHgwNw== |