Green’s Dictionary of Slang

shack n.1

[SE shake-rag, a beggar + dial. shackle-bag, a lazy loiterer, a vagabond]
(US tramp)

1. a tramp, a vagrant, a worthless person.

[UK]R. North Examen 293: Great ladies are more apt to take Sides with talking, flattering Gossips than such a Shack as Fitzharris.
[US]Bartlett Dict. Americanisms.
[US]F.M. Whitcher Widow Bedott Papers (1883) 32: I don’t leve Bill Jinkins would a turned out such a miserable shack if he’d had a decent woman for a wife.
[UK]Hotten Sl. Dict.
W. Andrews Book of Oddities 84: [...] a notorious set of idlers [...] ready for anything except working for an honest living – easily earning the cognomen of Alfreton shacks [F&H].
[US]M.G. Hayden ‘Terms Of Disparagement’ in DN IV:iii 200: shack, a vagabond. ‘Her father was a poor drunken shack away down in Bottle town’ (Thorn.).
[US]E. Dahlberg Olive of Minerva 162: Perhaps I’ve had some clandestine need of a shack like you.

2. (US campus) an egregiously hard worker and denigrated as such.

[US]Topeka Dly Capital (KS) 22 Feb. 2/4: Animate and inanimate objects, which in his day had been known as ‘grinds,’ ‘muckers,’ ‘shacks,’ ‘rushes,’ ‘cuts,’ ‘swipes,’ etc.

3. a railroad brakeman.

[US]Anaconda Standard (MT) 15 Dec. 10/1: ‘Der shacks begun to frisk der rods an’ dey frisked us all off’.
[US]J. Flynt Tramping with Tramps 397: SHACK: a brakeman.
[US]J. London Road 25: The ‘shack’ (brakeman) takes a coupling-pin and a length of bell-cord to the platform in front of the truck in which the tramp is riding.
[US]‘A-No. 1’ From Coast to Coast with Jack London 29: In the stock car adjoining the one we were hoboing, the shack found other trespassers.
[US]P. & T. Casey Gay-cat 189: I was purty near corraled betoon the engine crew runnin’ down from for’rd an’ the shacks comin’ up from the caboose.
[US]‘Dean Stiff’ Milk and Honey Route 26: A great many hobo writers are [...] full ready to tell the novice how to outwit the brakemen, or shacks.
[US]‘Boxcar Bertha’ Sister of the Road (1975) 230: There’s only one way that the shacks and the dicks will always let a hobo alone, and that is when he’s got a woman and a baby with him.
L. M. Beebe Mixed Train Daily 313: The stock was valuable and a roundup was imperative, but, as the shacks and hoggers of the S.V. were unaccustomed to the saddle, a score of professional cowpokes were engaged for the task [DA].
[US]L. Brown Iron City 156: The link-and-pin claimed the lives of eight of his fellow shacks.
[US](con. 1900s) Gaddis & Long Panzram (2002) 25: They rode the freights [...] at the the risk of being thrown off moving trains by tough shacks (brakemen).
[Can](con. 1920s) O.D. Brooks Legs 169: The hogger, tallow pot and head-end shack were sitting on a low pile of ties eating lunch.

4. (US Und.) a police officer.

[US]G. Henderson Keys to Crookdom 414: Police. [...] shack, hack.

In compounds

shack fever (n.)

(US tramp) weariness, fatigue.

[US]N. Klein ‘Hobo Lingo’ in AS I:12 652: Shack fever—tired or sleepy feeling.
[US]‘Dean Stiff’ Milk and Honey Route 213: Shack fever – Tired feeling that comes in the spring. It is also called itching feet.