Misplaced Pages

Hard space: Difference between revisions

Article snapshot taken from Wikipedia with creative commons attribution-sharealike license. Give it a read and then ask your questions in the chat. We can research this topic together.
Browse history interactively← Previous editNext edit →Content deleted Content addedVisualWikitext
Revision as of 20:28, 30 October 2009 edit216.99.201.109 (talk) Commodore PETSCII did not have "non-breaking spaces"← Previous edit Revision as of 17:30, 24 February 2010 edit undoWormgoor (talk | contribs)2 editsNo edit summaryNext edit →
Line 3: Line 3:
In ] and ]s, the term '''''hard space''''' has several meanings, all related to a special way of representing the ] between characters. In ] and ]s, the term '''''hard space''''' has several meanings, all related to a special way of representing the ] between characters.


*The most commonly used meaning is the same as ]: a special space character used by a ] that forbids an automatic line breaking (]) at its position. A hard space on a ] is commonly entered by holding down the ] key and pressing 0160 (ie ] character U+00A0) on the ] (In some applications '']+SHIFT+SPACE'' can also be used). *The most commonly used meaning is the same as ]: a special space character used by a ] that forbids an automatic line breaking (]) at its position.


*In earlier days of ]s that worked with ] ] ], when a paragraph had to be ], this was achieved by means of inserting extra '''soft spaces''' at ]s. The soft spaces were so called because they could be "compressed" away during further editing. By contrast, ordinary spaces were called ''hard'' or ''incompressible'' spaces. *In earlier days of ]s that worked with ] ] ], when a paragraph had to be ], this was achieved by means of inserting extra '''soft spaces''' at ]s. The soft spaces were so called because they could be "compressed" away during further editing. By contrast, ordinary spaces were called ''hard'' or ''incompressible'' spaces.

Revision as of 17:30, 24 February 2010

This article does not cite any sources. Please help improve this article by adding citations to reliable sources. Unsourced material may be challenged and removed.
Find sources: "Hard space" – news · newspapers · books · scholar · JSTOR (February 2007) (Learn how and when to remove this message)

In typesetting and text editors, the term hard space has several meanings, all related to a special way of representing the whitespace between characters.

  • In earlier days of text editors that worked with text mode CRT displays, when a paragraph had to be justified, this was achieved by means of inserting extra soft spaces at whitespaces. The soft spaces were so called because they could be "compressed" away during further editing. By contrast, ordinary spaces were called hard or incompressible spaces.
  • Also, in some older text editors, the hard spaces were both non-expandable—i.e., no soft spaces could be added to them—and non-breaking ones.
  • In many term programs and game parsers, a hard space was a special kind of field delimiter, against which a filename could be examined or listed, or a semantic thought or consideration could be interpreted.
  • In the Commodore directory system, a hard space usually terminated the spelling of a filename, and was replaced with a quotation mark when listed to the user.

See also

Stub icon

This computer science article is a stub. You can help Misplaced Pages by expanding it.

Categories: