On Thu 27 Mar 2025 at 12:23:26 (+0200), Anssi Saari wrote: > David Wright <deb...@lionunicorn.co.uk> writes: > > > host!auser 09:57:47 /somewhere/that/is/obnoxiously/long/program-1.2.3$ > > /bin/su --login > > Password: > > bullseye on /dev/sda5 toto05 > > host 09:57:59 ~# cd /somewhere/that/is/obnoxiously/long/program-1.2.3 > > host 09:58:08 /somewhere/that/is/obnoxiously/long/program-1.2.3# > > > > where that's a simple cut and paste. > > Yes. I don't remember why but at some point in the distant past I got > into the habit of su - and expect to end up in root's home dir and > nowhere else. > > Thinking back, it could be argued some crude consoles like Sun's or old > school text terminals might not have copy-paste available. Maybe even > today it could be a thing, don't really know. If my old HP Microserver > gen8 is any indication, server people like to do extremely weird stuff > for remote management.
It could be argued that it would be simple enough to communicate the user's cwd to root, as a workaround, so that it didn't have to be retyped. On Thu 27 Mar 2025 at 07:26:35 (-0400), Dan Ritter wrote: > > The Linux console has no cut/paste. The text or framebuffer > console you get when you boot without having a GUI available? No > cut/paste there. You can add one with another daemon. Yes, I can't imagine anyone doing serious work at the console without a tool like gpm, available ever since buzz (1.1). Cheers, David.