Friday, March 20, 2020
Walt Whitmans Take on Slang in America
Walt Whitman's Take on 'Slang in America' Influenced by the 19th-century journalist and philologist William Swinton, poet Walt Whitman celebrated the emergence of a distinctively American language one that introduced new words (and found new uses for old words) to convey the unique qualities of American life. Here, in an essay first published in 1885 in The North American Review, Whitman offers many examples of slang expressions and luxuriant place names all representative of the wholesome fermentation or eructation of those processes eternally active in language. Slang in America was later collected in November Boughs byà David McKay (1888). Slang in America Viewd freely, the English language is the accretion and growth of every dialect, race, and range of time, and is both the free and compacted composition of all. From this point of view, it stands for Language in the largest sense, and is really the greatest of studies. It involves so much; is indeed a sort of universal absorber, combiner, and conqueror. The scope of its etymologies is the scope not only of man and civilization, but the history of Nature in all departments, and of the organic Universe, brought up to date; for all are comprehended in words, and their backgrounds. This is when words become vitalizââ¬â¢d, and stand for things, as they unerringly and soon come to do, in the mind that enters on their study with fitting spirit, grasp, and appreciation. Slang, profoundly considerââ¬â¢d, is the lawless germinal element, below all words and sentences, and behind all poetry, and proves a certain perennial rankness and protestantism in speech. As the United States inherit by far their most precious possession the language they talk and write from the Old World, under and out of its feudal institutes, I will allow myself to borrow a simile, even of those forms farthest removed from American Democracy. Considering Language then as some mighty potentate, into the majestic audience-hall of the monarch ever enters a personage like one of Shakspereââ¬â¢s clowns, and takes position there, and plays a part even in the stateliest ceremonies. Such is Slang, or indirection, an attempt of common humanity to escape from bald literalism, and express itself illimitably, which in highest walks produces poets and poems, and doubtless in pre-historic times gave the start to, and perfected, the whole immense tangle of the old mythologies. For, cur ious as it may appear, it is strictly the same impulse-source, the same thing. Slang, too, is the wholesome fermentation or eructation of those processes eternally active in language, by which froth and specks are thrown up, mostly to pass away; though occasionally to settle and permanently chrystallize. To make it plainer, it is certain that many of the oldest and solidest words we use, were originally generated from the daring and license of slang. In the processes of word-formation, myriads die, but here and there the attempt attracts superior meanings, becomes valuable and indispensable, and lives forever. Thus the term right means literally only straight. Wrong primarily meant twisted, distorted. Integrity meant oneness. Spirit meant breath, or flame. A supercilious person was one who raisââ¬â¢d his eyebrows. To insult was to leap against. If you influencââ¬â¢d a man, you but flowââ¬â¢d into him. The Hebrew word which is translated prophesy meant to bubble up and pour forth as a fountain. The enthusiast bubbles up with the Spirit of God within him, and it pours forth from him like a fountain. The word prophecy is misunderstood. Many suppose that it is limited to mere prediction; that is but the lesser portion of prophecy. The greater work is to reveal God. Every true re ligious enthusiast is a prophet. Language, be it rememberââ¬â¢d, is not an abstract construction of the learnââ¬â¢d, or of di ctionary-makers, but is something arising out of the work, needs, ties, joys, affections, tastes, of long generations of humanity, and has its bases broad and low, close to the ground. Its final decisions are made by the masses, people nearest the concrete, having most to do with actual land and sea. It impermeates all, the Past as well as the Present, and is the grandest triumph of the human intellect. Those mighty works of art, says Addington Symonds, which we call languages, in the construction of which whole peoples unconsciously co-operated, the forms of which were determinââ¬â¢d not by individual genius, but by the instincts of successive generations, acting to one end, inherent in the nature of the raceThose poems of pure thought and fancy, cadenced not in words, but in living imagery, fountainheads of inspiration, mirrors of the mind of nascent nations, which we call Mytholog iesthese surely are more marvellous in their infantine spontaneity than any more mature production of the races which evolvââ¬â¢d them. Yet we are utterly ignorant of their embryology; the true science of Origins is yet in its cradle. Daring as it is to say so, in the growth of Language it is certain that the retrospect of slang from the start would be the recalling from their nebulous conditions of all that is poetical in the stores of human utterance. Moreover, the honest delving, as of late years, by the German and British workers inà comparative philology, has piercââ¬â¢d and dispersââ¬â¢d many of the falsest bubbles of centuries; and will disperse many more. It was long recorded that in Scandinavian mythology the heroes in the Norse Paradise drank out of the skulls of their slain enemies. Later investigation proves the word taken for skulls to meanà hornsà of beasts slain in the hunt. And what reader had not been exercisââ¬â¢d over the traces of that feudal custom, by whichà seigneursà warmââ¬â¢d their feet in the bowels of serfs, the abdomen being openââ¬â¢d for the purpose? It now is made to appear that the serf was only required to submit his unharmââ¬â¢d abdomen as a foot cush ion while his lord suppââ¬â¢d, and was required to chafe the legs of theà seigneurà with his hands. It is curiously in embryons and childhood, and among the illiterate, we always find the groundwork and start, of this great science, and its noblest products. What a relief most people have in speaking of a man not by his true and formal name, with a Mister to it, but by some odd or homely appellative. The propensity to approach a meaning not directly and squarely, but by circuitous styles of expression, seems indeed a born quality of the common people everywhere, evidenced by nick-names, and the inveterate determination of the masses to bestow sub-titles, sometimes ridiculous, sometimes very apt. Always among the soldiers during the Secession War, one heard of Little Mac (Gen. McClellan), or of Uncle Billy (Gen. Sherman) The old man was, of course, very common. Among the rank and file, both armies, it was very general to speak of the different States they came from by their slang names. Those from Maine were callââ¬â¢d Foxes; New Hampshire, Granite Boys; Massachusetts, Bay Stater s; Vermont, Green Mountain Boys; Rhode Island, Gun Flints; Connecticut, Wooden Nutmegs; New York, Knickerbockers; New Jersey, Clam Catchers; Pennsylvania, Logher Heads; Delaware, Muskrats; Maryland, Claw Thumpers; Virginia, Beagles; North Carolina, Tar Boilers; South Carolina, Weasels; Georgia, Buzzards; Louisiana, Creoles; Alabama, Lizards; Kentucky, Corn Crackers; Ohio, Buckeyes; Michigan, Wolverines; Indiana, Hoosiers; Illinois, Suckers; Missouri, Pukes; Mississippi, Tad Poles; Florida, Fly up the Creeks; Wisconsin, Badgers; Iowa, Hawkeyes; Oregon, Hard Cases. Indeed I am not sure but slang names have more than once made Presidents. Old Hickory, (Gen. Jackson) is one case in point. Tippecanoe, and Tyler too, another. I find the same rule in the peopleââ¬â¢s conversations everywhere. I heard this among the men of the city horse-cars, where the conductor is often callââ¬â¢d a snatcher (i.e., because his characteristic duty is to constantly pull or snatch the bell-strap, to stop or go on). Two young fellows are having a friendly talk, amid which, says 1st conductor, What did you do before you was a snatcher? Answer of 2d conductor, Nailââ¬â¢d. (Translation of answer: I workââ¬â¢d as carpenter.) What is a boom? says one editor to another. Esteemââ¬â¢d contemporary, says the other, a boom is a bulge. Barefoot whiskey is the Tennessee name for the undiluted stimulant. In the slang of the New York common restaurant waiters a plate of ham and beans is known as stars and stripes, codfish balls as sleeve-buttons, and hash as mystery. The Western States of the Union are, however, as may be supposed, the special areas of slang, not only in conversation, but in names of localities, towns, rivers, etc. A late Oregon traveller says: On your way to Olympia by rail, you cross a river called the Shookum-Chuck; your train stops at places named Newaukum, Tumwater, and Toutle; and if you seek further you will hear of whole counties labellââ¬â¢d Wahkiakum, or Snohomish, or Kitsar, or Klikatat; and Cowlitz, Hookium, and Nenolelops greet and offend you. They complain in Olympia that Washington Territory gets but little immigration; but what wonder? What man, having the whole American continent to choose from, would willingly date his letters from the county of Snohomish or bring up his children in the city of Nenolelops? The village of Tumwater is, as I am ready to bear witness, very pretty indeed; but surely an emigrant would think twice before he establishââ¬â¢d himself either there or at Toutle. Seattle is sufficiently barbarous; Stelicoom is no better; and I suspect that the Northern Pacific Railroad terminus has been fixed at Tacoma because it is one of the few places on Puget Sound whose name does not inspire horror. Then a Nevada paper chronicles the departure of a mining party from Reno: The toughest set of roosters, that ever shook the dust off any town left Reno yesterday for the new mining district of Cornucopia. They came here from Virginia. Among the crowd were four New York cock-fighters, two Chicago murderers, three Baltimoreà bruisers, one Philadelphia prize-fighter, four San Francisco hoodlums, three Virginia beats, two Union Pacific roughs, and two check guerrillas. Among the far-west newspapers, have been, or are,à The Fairplayà (Colorado)à Flume,à The Solid Muldoon, of Ouray,à The Tombstone Epitaph, of Nevada,à The Jimplecute, of Texas, andà The Bazoo, of Missouri. Shirttail Bend, Whiskey Flat, Puppytown, Wild Yankee Ranch, Squaw Flat, Rawhide Ranch, Loaferââ¬â¢s Ravine,à Squitchà Gulch, Toenail Lake, are a few of the names of places in Butteà county, Cal. Perhaps indeed no place or term gives more luxuriant illustrations of the fermentation processes I haveà mentionââ¬â¢d, and their froth andà specks, than those Mississippi and Pacificà coastà regions, at the present day. Hasty and grotesque as are some of the names, others are of an appropriateness and originality unsurpassable. This applies to the Indian words, which are often perfect. Oklahoma is proposed in Congress for the name of one of our new Territories. Hog-eye, Lick-skillet,à Rake-pocketà and Steal-easy are the names of some Texan towns. Miss Bremer found among the aborigines the following names: Menââ¬â¢s, Hornpoint; Round-Wind; Stand-and-look-out; The-Cloud-that-goes-aside; Iron-toe; Seek-the-sun; Iron-flash; Red-bottle; White-spindle; Black-dog; Two-feathers-of-honor; Gray-grass; Bushy-tail; Thunder-face; Go-on-the-burning-sod; Spirits-of-the-dead. Womenââ¬â¢s, Keep-the-fire; Spiritual-woman; Second-daughter-of-the-house; Blue-bird. Certainly philologistsà have not given enough attention to this element and its results, which, I repeat, can probably be found workingà everywhereà to-day, amid modern conditions, with as much life and activity as in far-back Greece or India, under prehistoric ones. Then the witthe rich flashes of humor and genius and poetrydarting out often from a gang of laborers, railroad-men, miners, drivers or boatmen! How often have Ià hoverââ¬â¢dà at the edge of a crowd of them, to hear their repartees and impromptus! You get more real fun from half an hour with them than from the books of all the American humorists. The science of language has large and close analogies in geological science, with its ceaseless evolution, its fossils, and its numberless submerged layers and hidden strata, the infiniteà go-beforeà of the present. Or, perhaps Language is more like some vast living body, or perennial body of bodies. And slang not only brings the first feeders ofà it,à but is afterward the start of fancy,à imaginationà and humor, breathing into its nostrils the breath of life.
Wednesday, March 4, 2020
Understanding and Processing Keyboard Events in Delphi
Understanding and Processing Keyboard Events in Delphi Keyboard events, along with mouse events, are the primary elements of a users interaction with your program. Below is information on three events that let you capture a users keystrokes in a Delphi application: OnKeyDown, OnKeyUp and OnKeyPress. Down, Up, Press, Down, Up, Press... Delphi applications can use two methods for receiving the input from the keyboard. If a user has to type something in an application, the easiest way to receive that input is to use one of the controls that automatically responds to keypresses, such as Edit. At other times and for more general purposes, however, we can create procedures in a form that handle three events recognized by forms and by any component that accepts keyboard input. We can write event handlers for these events to respond to any key or key combination the user might press at runtime. Here are those events: OnKeyDown - called when any key on the keyboard is pressedOnKeyUp - called when any key on the keyboard is releasedOnKeyPress - called when a key corresponding to an ASCII character is pressed Keyboard Handlers All the keyboard events have one parameter in common. The Key parameter is the key on the keyboard and is used to pass by reference of the value of the pressed key. The Shift parameter (in the OnKeyDown and OnKeyUp procedures) indicates whether the Shift, Alt, or Ctrl keys are combined with the keystroke. The Sender parameter references the control that was used to call the method. procedure TForm1.FormKeyDown(Sender: TObject; var Key: Word; Shift: TShiftState) ; ... procedure TForm1.FormKeyUp(Sender: TObject; var Key: Word; Shift: TShiftState) ; ... procedure TForm1.FormKeyPress(Sender: TObject; var Key: Char) ; Responding when the user presses shortcut or accelerator keys, such as those provided with menu commands, does not require writing event handlers. What Is Focus? Focus is the ability to receive user input through the mouse or keyboard. Only the object that has the focus can receive a keyboard event. Also, only one component per form can be active, or have the focus, in a running application at any given time. Some components, such as TImage, TPaintBox, TPanel and TLabel cannot receive focus. In general, components derived from TGraphicControl are unable to receive focus. Additionally, components that are invisible at run time (TTimer) cannot receive focus. OnKeyDown, OnKeyUp The OnKeyDown and OnKeyUp events provide the lowest level of keyboard response. Both OnKeyDown and OnKeyUp handlers can respond to all keyboard keys, including function keys and keys combined with the Shift, Alt, and Ctrl keys. The keyboard events are not mutually exclusive. When the user presses a key, both the OnKeyDown and OnKeyPress events are generated, and when the user releases the key, theà OnKeyUp event is generated. When the user presses one of the keys that OnKeyPress does not detect, only theà OnKeyDown event occurs, followed by theà OnKeyUp event. If you hold down a key, the OnKeyUp event occurs after all the OnKeyDown and OnKeyPress events have occurred. OnKeyPress OnKeyPress returns a different ASCII character for g and G, but OnKeyDown and OnKeyUp do not make a distinction between uppercase and lowercase alpha keys. Key and Shift Parameters Since the Key parameter is passed by reference, the event handler can change Key so that the application sees a different key as being involved in the event. This is a way to limit the kinds of characters that the user can input, like to prevent users from typing alpha keys. if Key in [a..z] [A..Z] then Key : #0 The above statement checks whether the Key parameter is in the union of two sets: lowercase characters (i.e. aà through z) and uppercase characters (A-Z). If so, the statement assigns the character value of zero to Key to prevent any input into the Edit component, for example, when it receives the modified key. For non-alphanumeric keys, WinAPI virtual key codes can be used to determine the key pressed. Windows defines special constants for each key the user can press. For example, VK_RIGHT is the virtual key code for the Right Arrow key. To get the key state of some special keys like TAB or PageUp, we can use the GetKeyState Windows API call. The key status specifies whether the key is up, down, or toggled (on or off - alternating each time the key is pressed). if HiWord(GetKeyState(vk_PageUp)) 0 then ShowMessage(PageUp - DOWN) else ShowMessage(PageUp - UP) ; In the OnKeyDown and OnKeyUp events, Key is an unsigned Word value that represents a Windows virtual key. In order to get the character value from Key,à we use the Chr function. In the OnKeyPress event, Key is a Char value that represents an ASCII character. Both OnKeyDown and OnKeyUp events use the Shift parameter, of type TShiftState, a set flags to determine the state of the Alt, Ctrl, and Shift keys when a key is pressed. For example, when you press Ctrl A, the following key events are generated: KeyDown (Ctrl) // ssCtrl KeyDown (CtrlA) //ssCtrl A KeyPress (A) KeyUp (CtrlA) Redirecting Keyboard Events to The Form To trap keystrokes at the form level instead of passing them to the forms components, set the forms KeyPreview property to True (using the Object Inspector). The component still sees the event, but the form has an opportunity to handle it first - to allow or disallow some keys to be pressed, for example. Suppose you have several Edit components on a form and the Form.OnKeyPress procedure looks like: procedure TForm1.FormKeyPress(Sender: TObject; var Key: Char) ; begin if Key in [0..9] then Key : #0 end; If one of the Edit components has the Focus,à and theà KeyPreview property of a form is False, this code will not execute. In other words, if the user presses the 5 key, the 5 character will appear in the focused Edit component. However, if the KeyPreview is set to True, thenà the forms OnKeyPress event is executed before the Edit component sees the key that is pressed. Again, if the user has pressed the 5 key, then it assigns the character value of zero to Key to prevent numerical input into the Edit component.
Subscribe to:
Comments (Atom)