A coffee grinder can be mounted on the bed or carriage and driven by the spindle. At least the lathe can grind coffee. If this lathe is in an old-time machine shop, the machinist might boil the water for the coffee in any number of ways:
-put a pot on top of the shop's woodstove
-shoot a jet of live steam from the shop's boiler (if the shop were steam powered) into a speckleware pot filled with water and a handful of ground coffee
-put the pot on a "bench furnace" (as was made by "Buzzer"/Hones for heating soldering coppers and small babbitt ladles)
-heat a pot of water to boiling with a blowtorch (the old gasoline 'blowtorch' or 'blowlamp' as our UK brethren refer to this tool)
-heat a pot of water with an oxyacetylene torch
-drain some hot water from the cooling hopper of an engine (if the shop were powered by a hopper cooled gasoline or diesel engine and no antifreeze were used).
Or: send the apprentice boy up the street to get coffee. Important first step for many youngsters starting out in the workplace was to be sent to get coffee. I joke that my own life came full circle. As a young person, I would often be the one to go make a coffee run. This meant going around to all the journeymen and asking what they wanted, getting money, writing it down to know what change they had coming, etc. This list usually went beyond just coffee: buttered hard rolls or a sticky bun or donut (this all predated fast food placed like 'Dunkin Donuts' or 'Krispy Creme' or McDonald's). After getting the order filled, it meant making the rounds again to distribute the "coffee-and". In the process I got to know the journeymen and asked about their work, got some quick lessons on the work as well as life in general. A little banter and a 'hard time' of 'ball breaking' by the journeymen was a part of the process, and a youngster learned to take this sort of thing and knew how much he could 'give back' without crossing the line into disrespectful or insulting.
Sending "the kid" up the street for coffee was a good thing in many ways. The more senior men kept on working and the kid learned a bit more about existing in the everyday workplace world. I joke that my own life has come full circle: Towards the end of my regular employment, as a senior mechanical engineer, once a crew got to working, I'd be the one to make the coffee runs. The crew had their work, I had done my part of it to design the job and get them started, so I was the least-needed at that moment and could make the coffee run without slowing the work down. In "retirement", it is much the same. If I am on an engineering job, I will offer to make the coffee run.
The lathe is well described as the "mother of all machine tools" or 'the prince of machine tools', but a good machinist or toolmaker might well be described as at least a Duke, if not a King. During this Covid-19 pandemic, with its restrictions on much of daily life, and me being "retired", I pulled the trigger on putting air conditioning into our home. Something my wife has wanted for years. Call it 'basic lessons', but there is quite a bit of truth to "A happy wife for a happy life".
The reefer contractor was a friend, and we agreed I'd work on the job with him and one or two other people. As the job went along, we needed hardware to hang some of the A/C equipment. No problem, I went down to my shop and cut all thread rod, cut flat bar and made plate washers, cut angle iron for clip angles. Then, we went into a wall opening and had to run a hole saw thru a row of studs in a non-bearing wall to snake reefer lines and wiring through. No problem, I went to my shop, took a tie rod from a Dodge Ram diesel pickup, and made a set of shank extensions from it. I machined the extensions in a four-jaw chuck so that everything was nice and concentric. The contractor was amazed. The holes thru the studs were a snap to put in, and a lot easier than using a "Planetor" wing type drill. The lathe and the Bridgeport came through handily. The Dodge truck tie rod machined beautifully with HSS, the shanks have a finish like it was ground with no visible tool marks. I gave the contractor the extensions I'd made. And, it was me who made the coffee for the contractor and his crew. We whipped through the A/C job, wife is beyond delighted, and never a word as to why I keep acquiring machinist tools and have the shop that I do. The lathe may well be the kind of machine tools, but a good wife is beyond priceless and light-years beyond the title of "Queen". Get a good wife and keep her happy and the lathe (along with the rest of your shop) becomes a necessity for domestic life.