Magic cookie
1. Something passed between routines or programs that enables the receiver to perform some operation; a capability ticket or opaque identifier. Especially used of small data objects that contain data encoded in a strange or intrinsically machine-dependent way. E.g. on non-Unix operating systems with a non-byte-stream model of files, the result of “ftell” may be a magic cookie rather than a byte offset; it can be passed to “fseek”, but not operated on in any meaningful way. The phrase “it hands you a magic cookie” means it returns a result whose contents are not defined but which can be passed back to the same or some other program later.
2. An in-band code for changing graphic rendition (e.g. inverse video or underlining) or performing other control functions. Some older terminals would leave a blank on the screen corresponding to mode-change magic cookies; this was also called a glitch (or occasionally a “turd”; compare mouse droppings).
See also cookie.
[Jargon File]
(1995-01-25)
Read Also:
- Magic eye
noun 1. a miniature cathode-ray tube in some radio receivers, on the screen of which a pattern is displayed in order to assist tuning
- Magic-flute
noun, German Die Zauberflöte 1. an opera (1791) by Wolfgang Amadeus Mozart.
- Magician
[muh-jish-uh n] /məˈdʒɪʃ ən/ noun 1. an entertainer who is skilled in producing illusion by sleight of hand, deceptive devices, etc.; conjurer. 2. a person who is skilled in ; sorcerer. /məˈdʒɪʃən/ noun 1. another term for conjuror 2. a person who practises magic 3. a person who has extraordinary skill, influence, or qualities n. […]
- Magicians
[muh-jish-uh n] /məˈdʒɪʃ ən/ noun 1. an entertainer who is skilled in producing illusion by sleight of hand, deceptive devices, etc.; conjurer. 2. a person who is skilled in ; sorcerer. /məˈdʒɪʃən/ noun 1. another term for conjuror 2. a person who practises magic 3. a person who has extraordinary skill, influence, or qualities n. […]
- Magick
[maj-ik] /ˈmædʒ ɪk/ noun 1. Archaic. magic. 2. a power or effort associated with wicca.