P K
P K

Reputation: 10210

How to simulate NUL character from keyboard?

Can we type NUL character (HEX 0) from the keyboard?

Most of the printable character starts from HEX value 20.

Upvotes: 15

Views: 28146

Answers (5)

Wyck
Wyck

Reputation: 11750

Press and hold Alt and type Num Pad 0Num Pad 0Num Pad 0 then release Alt

Note: You must use the 0 key on the numeric key pad (a regular 0 key won't work for this), and you have to hold down Alt the whole time. The keystroke isn't emitted until you release the Alt key.

Upvotes: 1

jeevan
jeevan

Reputation: 255

Ctrl+spacebar works for both Windows and Linux platforms.

Upvotes: 6

user1161391
user1161391

Reputation: 131

In editing fields in SQL Server, it is Control Zero (Ctrl + 0)

Upvotes: -1

egres
egres

Reputation: 284

See if this control character works:

Ctrl+@

Upvotes: 5

Simon
Simon

Reputation: 1684

According to Wikipedia

Ctrl+SPACE works on many terminals (worked for me).

Upvotes: 3

Related Questions