Hail and well met, fellow computing machine users. Most of the tips we present are generally useful on most any Unix® or Linux system thou may chance upon. This page’s tips, however, relate specifically to the Unix® built in to Apple’s Mac OS X. Some may apply elsewhere — e.g., ‘banner’ may not be included on thy system but may be installed — but no guaranty whatsoever is made herein as to cross-platform applicability.

Three Medallions with Doves (#1)

First let us speak of ‘banner’, a utility which wonderfully enlarges and sideways-ifies the text thou giveth. Though long messages and low-rent Desktop Publishing may come to mind, rather it is a simpler use which brings it to mind here. That use is simply clear visual separation of repeated command runs.

Imagine, for instance, thou art repeatedly running some Script or Program which produceth many lines of output. After each of these repeated runs, imagine as well that you wish to scroll back and compare some detail that hath flown past, but you find yourself disoriented by the tide of Lines, unsure if the Line upon which you gaze is from the most recent run, or the one before, or one earlier still. Mayhap you attempt creating visual separation by pressing ‘Enter’ five times. This is just where ‘banner’ may be of use. Give a single character, no lengthy message, is plenty for this case. Id est,

ℜ> banner , ###### ########## ############ ############## ## ################ ###################### ################### ############### ######### ℜ> _
Three Medallions with Doves (#2)

The next and more OS-X-specific technique is a way to select Text in a marvelous and occasionally useful way. If thou but hold down the ‘Option’ key while selecting text in the Terminal, then your Selection can be made vertically, without including entire Lines and their Line-endings. When initiated, thou shall see thy mouse pointer transform into a Cross. In the following example, the center gray area containing the names of these delicacies has been thus selected:

ℜ> cat feast_order.txt 1 ton beets 50 sterling 285 pounds peafowl 24 sterling 70 pounds eels 4 sterling 350 drams kippers 93 sterling 3 pounds linnets 7 sterling 1 ton turnips 88 sterling 32 pounds lamprey 32 sterling ℜ> _
Three Medallions with Doves (#3)

Last, yet certainly unable to be considered Least, is a delightful capability that thou may find passing useful, and that thou may also use at Parties to entertain thy fellow Guests. If the output of thy programs or the contente of thy logges ever contains structured data, especially the structure decreed by St. JASON, but really any text that may be wrap’d in Parentheses or Brackets, this trick will fill thee with joy and wonderment. Simply double-click directly upon a Parenthesis, a Bracket, or a Curly Brace within the Terminal, and contents of that enclosure shall be highlighted, and thy ability to understand the jumbled babel of text will be well bolstered. Id est,

ℜ> cat library.json {"source":"holy writ", "language":"Greek", "divinity":"unknown", "chapters":49240, "authors":["unknown"], "rating":"AAA+ would raid tomb again", "scroll_data": {"scroll":"787", "spindle":"13", "orientation":"top-down", "illumination":"gold leaf", "condition":"fair"}, "id":"00000002", "converted":false, "nsa_review":false} ℜ> _

Ctrl-D, Amen.

Three Medallions with Doves, about 1270, Franco-Flemish
Digital images courtesy of the Getty’s Open Content Program

~ this page pub. 27 April 2014 ~
« previouse page: Wyld Kingdom: pelicans ~ Table of Contentes ~ next page: Sponsors »