Hello, On Tue, 02 Feb 2021, Stakanov wrote:
In data martedì 2 febbraio 2021 12:08:46 CET, Per Jessen ha scritto:
jdd@dodin.org wrote:
Le 02/02/2021 à 12:00, Carlos E. R. a écrit :
If you type "apropos hostname" you get a list that includes that command.
I quote this line, because "apropos" is an often forgotten command, yet very usefull :-)
I tend to use "man -k hostname", not sure how different they are.
Well in all cases, thank you to you both and jdd for quoting it, in fact, apropos is a thing that sticks easy to my "bucket brain" with a lot of hole in it....
They are the same, but "apropos" sticks better than 'man -k' :) There's also 'whatis' aka 'man -f'.
man is also nice, but I still have problems to read output on CLI, there was once a problem to put it into pdf, but then, I best read - unsustainable I admit it - printed on paper.
If your groff is recent enough (1.21 isn't, 1.22 is): $ man -Tpdf man > man.1.pdf else there's still $ man -Tps man > man.1.ps (which you can convert to pdf in a pipe or after the fact from .ps, e.g.: $ man -Tps man | ps2pdf - man.1.pdf ) But I encourage you to read in a good monospace font on-screen (see below). But I strongly want do discourage you from reading manpages in a serif-font pdf on screen! Open an xterm (or other term with a decent font configured) as large as you want and just call e.g. 'man man'...
Maybe I need a 30" screen to fully show an A4.
First of all, you need a *GOOD* monitor. A blownup garbled print on A2 does not help, if a good or just decent one on A5 suffices. Well, if you need to enlarge stuff because of failing sight, more area _does_ help and, depending on your sight, e.g. a good 27" or 32" screen might really help, but always check the dpi! And rather choose a good smaller one, unless you really need to enlarge a lot (and then I'd go for 42" or so). But as I gather you seem to be able to read normal print on A4, go for a *good* 27" (or even 24") rather than a cheap 32" or something. I use e.g. an EIZO S1721 with a mere 1280x1024 on 17" (96dpi), which was cheap-ish at ~350 EUR back in 04/2010. But it is _sharp_! Yes, I'd like to have some more resolution _and_ area at times, but generally, it's just fine. I could hook up a (rather bad) other 1280x1024 on 17" screen besides it, but have not got around to it in the last ~9 years. Go figure. Now, to the other *important* facet of this: Choose the right font for on-screen reading! I use fonts that are fit for use on a monitor, i.e. misc-fixed / gnu-unifont, and if it's not monospace, I use almost exclusively "Verdana" (yes, it's been paid for by and available from M$, but it's explicitly designed for on-screen use, unlike most other fonts). Reading serif fonts on-screen is generally tedious, and even sans-serif usually are, unless, like Verdana, they're designed for the screen. YMMV on "Retina" or other HiDPI device with >>200dpi, but your usual (cheaper) monitor has <100 dpi. Helvetica works fine (just) for window titles and the like. So, first of all: change your fonts! My guess is, that that will already help a lot. FWIW: $ xrdb -query |grep -i xterm.*fixed [..] xterm*Font: -misc-fixed-medium-r-normal--13-120-75-75-c-70-iso10646-1 [..] $ grep -- misc-fixed-medium-r-normal--13-120-75-75-c-70-iso10646-1 \ /usr/share/fonts/*/fonts.dir /usr/share/fonts/misc/fonts.dir:7x13.pcf.gz -misc-fixed-medium-r-normal--13-120-75-75-c-70-iso10646-1 $ rpm --qf '%{name}\n' -qf /usr/share/fonts/misc/7x13.pcf.gz xorg-x11-fonts-core BTW: whats wrong with just editing /etc/hostname and /etc/hosts? And, go check: 'hostname' vs. 'hostname -f'! The latter should print something other than 'localhost'... And BTW2: I have this set up: ==== /etc/init.d/boot.local ==== dbus-uuidgen > /etc/machine-id ==== (just symlinking machine-id to /dev/null sadly makes some apps barf) Who the F came up with that machine-id thing anyway? deadrat again? HTH, -dnh, who also likes to read print first and foremost, but hasn't printed himself a page in the last ~15+ years, but had others print about 8 pages for him in the first ~7 of those and hasn't even had others print for him in about 8 years ;) -- "Does anyone else sense the deep irony in a 'Family size' pack of condoms?"