JargonFile/original/html/S/shim.html
2014-03-27 18:54:56 +00:00

18 lines
2.9 KiB
HTML
Raw Blame History

This file contains invisible Unicode characters

This file contains invisible Unicode characters that are indistinguishable to humans but may be processed differently by a computer. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

<?xml version="1.0" encoding="ISO-8859-1" standalone="no"?>
<html xmlns="http://www.w3.org/1999/xhtml"><head><title>shim</title><link rel="stylesheet" href="../../jargon.css" type="text/css"/><meta name="generator" content="DocBook XSL Stylesheets V1.61.0"/><link rel="home" href="../index.html" title="The Jargon File"/><link rel="up" href="../S.html" title="S"/><link rel="previous" href="shift-left-or-right-logical.html" title="shift left (or right) logical"/><link rel="next" href="shitogram.html" title="shitogram"/></head><body><div class="navheader"><table width="100%" summary="Navigation header"><tr><th colspan="3" align="center">shim</th></tr><tr><td width="20%" align="left"><a accesskey="p" href="shift-left-or-right-logical.html">Prev</a> </td><th width="60%" align="center">S</th><td width="20%" align="right"> <a accesskey="n" href="shitogram.html">Next</a></td></tr></table><hr/></div><dt><a id="shim"/><dt xmlns="" id="shim"><b>shim</b>: <span xmlns="http://www.w3.org/1999/xhtml" class="grammar">n.</span></dt></dt><dd><p> 1. A small piece of data inserted in order to achieve a desired
memory alignment or other addressing property. For example, the <a href="../P/PDP-11.html"><i class="glossterm">PDP-11</i></a>
Unix linker, in split I&amp;D (instructions and data) mode, inserts a
two-byte shim at location 0 in data space so that no data object will have
an address of 0 (and be confused with the C null pointer). See also
<a href="../L/loose-bytes.html"><i class="glossterm">loose bytes</i></a>. </p></dd><dd><p> 2. A type of small transparent image inserted into HTML documents by
certain WYSIWYG HTML editors, used to set the spacing of elements meant to
have a fixed positioning within a TABLE or DIVision. Hackers who work on
the HTML code of such pages afterwards invariably curse these for their
crocky dependence on the particular spacing of original image file, the
editor that generated them, and the version of the browser used to view
them. Worse, they are a poorly designed <a href="../K/kludge.html"><i class="glossterm">kludge</i></a> which
the advent of Cascading Style Sheets makes wholly unnecessary; Any fool can
plainly see that use of borders, layers and positioned elements is the
Right Thing (or would be if adequate support for CSS were more
common).</p></dd><div class="navfooter"><hr/><table width="100%" summary="Navigation footer"><tr><td width="40%" align="left"><a accesskey="p" href="shift-left-or-right-logical.html">Prev</a> </td><td width="20%" align="center"><a accesskey="u" href="../S.html">Up</a></td><td width="40%" align="right"> <a accesskey="n" href="shitogram.html">Next</a></td></tr><tr><td width="40%" align="left" valign="top">shift left (or right) logical </td><td width="20%" align="center"><a accesskey="h" href="../index.html">Home</a></td><td width="40%" align="right" valign="top"> shitogram</td></tr></table></div></body></html>