Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > linux.debian.user > #240735 > unrolled thread
| Started by | Gene Heskett <gheskett@shentel.net> |
|---|---|
| First post | 2021-10-01 18:30 +0200 |
| Last post | 2021-10-02 18:00 +0200 |
| Articles | 14 on this page of 34 — 10 participants |
Back to article view | Back to linux.debian.user
What do we have that will save a manpage as we see it on-screen Gene Heskett <gheskett@shentel.net> - 2021-10-01 18:30 +0200
Re: What do we have that will save a manpage as we see it on-screen Larry Martell <larry.martell@gmail.com> - 2021-10-01 18:40 +0200
Re: What do we have that will save a manpage as we see it on-screen Gene Heskett <gheskett@shentel.net> - 2021-10-01 23:00 +0200
Re: What do we have that will save a manpage as we see it on-screen Greg Wooledge <greg@wooledge.org> - 2021-10-01 23:10 +0200
Re: What do we have that will save a manpage as we see it on-screen Gene Heskett <gheskett@shentel.net> - 2021-10-01 23:30 +0200
Re: What do we have that will save a manpage as we see it on-screen Greg Wooledge <greg@wooledge.org> - 2021-10-01 23:40 +0200
Re: What do we have that will save a manpage as we see it on-screen Fred <fred@blakemfg.com> - 2021-10-02 02:50 +0200
Re: What do we have that will save a manpage as we see it on-screen Greg Wooledge <greg@wooledge.org> - 2021-10-02 03:00 +0200
Re: What do we have that will save a manpage as we see it on-screen David Wright <deblis@lionunicorn.co.uk> - 2021-10-02 05:00 +0200
Re: What do we have that will save a manpage as we see it on-screen Gene Heskett <gheskett@shentel.net> - 2021-10-02 13:30 +0200
Re: What do we have that will save a manpage as we see it on-screen Greg Wooledge <greg@wooledge.org> - 2021-10-02 15:00 +0200
Re: What do we have that will save a manpage as we see it on-screen Gene Heskett <gheskett@shentel.net> - 2021-10-02 13:20 +0200
Re: What do we have that will save a manpage as we see it on-screen Gene Heskett <gheskett@shentel.net> - 2021-10-02 11:40 +0200
Re: What do we have that will save a manpage as we see it on-screen Cindy Sue Causey <butterflybytes@gmail.com> - 2021-10-01 18:50 +0200
Re: What do we have that will save a manpage as we see it on-screen Gene Heskett <gheskett@shentel.net> - 2021-10-01 23:10 +0200
Re: What do we have that will save a manpage as we see it on-screen Lee <ler762@gmail.com> - 2021-10-01 20:00 +0200
Re: What do we have that will save a manpage as we see it on-screen Jude DaShiell <jdashiel@panix.com> - 2021-10-01 20:10 +0200
Re: What do we have that will save a manpage as we see it on-screen Gene Heskett <gheskett@shentel.net> - 2021-10-01 23:10 +0200
Re: What do we have that will save a manpage as we see it on-screen Greg Wooledge <greg@wooledge.org> - 2021-10-01 23:20 +0200
Re: What do we have that will save a manpage as we see it on-screen Gene Heskett <gheskett@shentel.net> - 2021-10-01 23:40 +0200
Re: What do we have that will save a manpage as we see it on-screen Brian <ad44@cityscape.co.uk> - 2021-10-02 17:20 +0200
Re: What do we have that will save a manpage as we see it on-screen Gene Heskett <gheskett@shentel.net> - 2021-10-02 21:50 +0200
Re: What do we have that will save a manpage as we see it on-screen Brian <ad44@cityscape.co.uk> - 2021-10-02 22:10 +0200
Re: What do we have that will save a manpage as we see it on-screen Gene Heskett <gheskett@shentel.net> - 2021-10-02 23:40 +0200
Re: What do we have that will save a manpage as we see it on-screen Jude DaShiell <jdashiel@panix.com> - 2021-10-02 23:10 +0200
Re: What do we have that will save a manpage as we see it on-screen Greg Wooledge <greg@wooledge.org> - 2021-10-01 21:50 +0200
Re: What do we have that will save a manpage as we see it on-screen Gene Heskett <gheskett@shentel.net> - 2021-10-01 23:20 +0200
Re: What do we have that will save a manpage as we see it on-screen Eric S Fraga <e.fraga@ucl.ac.uk> - 2021-10-02 13:50 +0200
Re: What do we have that will save a manpage as we see it on-screen Gene Heskett <gheskett@shentel.net> - 2021-10-02 14:50 +0200
Re: What do we have that will save a manpage as we see it on-screen Greg Wooledge <greg@wooledge.org> - 2021-10-02 15:10 +0200
Re: What do we have that will save a manpage as we see it on-screen Brian <ad44@cityscape.co.uk> - 2021-10-02 16:40 +0200
Re: What do we have that will save a manpage as we see it on-screen Eric S Fraga <e.fraga@ucl.ac.uk> - 2021-10-02 18:00 +0200
Re: What do we have that will save a manpage as we see it on-screen Brian <ad44@cityscape.co.uk> - 2021-10-02 19:40 +0200
Re: What do we have that will save a manpage as we see it on-screen Eric S Fraga <e.fraga@ucl.ac.uk> - 2021-10-02 18:00 +0200
Page 2 of 2 — ← Prev page 1 [2]
| From | Brian <ad44@cityscape.co.uk> |
|---|---|
| Date | 2021-10-02 17:20 +0200 |
| Message-ID | <D3OXU-3zY-13@gated-at.bofh.it> |
| In reply to | #240761 |
On Fri 01 Oct 2021 at 17:32:37 -0400, Gene Heskett wrote: > On Friday 01 October 2021 17:17:53 Greg Wooledge wrote: [...] > > We still don't know why you want this. I guess we'll never know. > > We apparently don't speak the same dialect of english Greg. I wanted a > dead tree (aka paper) copy of a manpage, with ALL the markup totally > stripped. As for Lee's suggestion, I didn't try it since Cindy's example > worked perfectly and by the time I read Lee's msg, I had what I needed > on the output tray of my huge printer. No reflection on Lee was > intended. Still isn't. Nitpicking time :). You specified "...so what we save is exactly what we see." Neither Cindy Sue Cause's mor Lee's give *exactly* what is seen onscreen. If bolded headings are unwanted, either method gives a nice text file to print. -- Brian.
[toc] | [prev] | [next] | [standalone]
| From | Gene Heskett <gheskett@shentel.net> |
|---|---|
| Date | 2021-10-02 21:50 +0200 |
| Message-ID | <D3Tbc-65e-11@gated-at.bofh.it> |
| In reply to | #240804 |
On Saturday 02 October 2021 11:13:09 Brian wrote: > On Fri 01 Oct 2021 at 17:32:37 -0400, Gene Heskett wrote: > > On Friday 01 October 2021 17:17:53 Greg Wooledge wrote: > > [...] > > > > We still don't know why you want this. I guess we'll never know. > > > > We apparently don't speak the same dialect of english Greg. I wanted > > a dead tree (aka paper) copy of a manpage, with ALL the markup > > totally stripped. As for Lee's suggestion, I didn't try it since > > Cindy's example worked perfectly and by the time I read Lee's msg, I > > had what I needed on the output tray of my huge printer. No > > reflection on Lee was intended. Still isn't. > > Nitpicking time :). True. TBT, the use of bold was not something these old eyes considered. > You specified "...so what we save is exactly what > we see." Neither Cindy Sue Cause's mor Lee's give *exactly* what is > seen onscreen. If bolded headings are unwanted, either method gives a > nice text file to print. Yes, I should have more precisely stated "text". :( Cheers, Gene Heskett. -- "There are four boxes to be used in defense of liberty: soap, ballot, jury, and ammo. Please use in that order." -Ed Howdershelt (Author, 1940) If we desire respect for the law, we must first make the law respectable. - Louis D. Brandeis Genes Web page <http://geneslinuxbox.net:6309/gene>
[toc] | [prev] | [next] | [standalone]
| From | Brian <ad44@cityscape.co.uk> |
|---|---|
| Date | 2021-10-02 22:10 +0200 |
| Message-ID | <D3Tuz-6rC-11@gated-at.bofh.it> |
| In reply to | #240818 |
On Sat 02 Oct 2021 at 15:43:33 -0400, Gene Heskett wrote: > On Saturday 02 October 2021 11:13:09 Brian wrote: > > > On Fri 01 Oct 2021 at 17:32:37 -0400, Gene Heskett wrote: > > > On Friday 01 October 2021 17:17:53 Greg Wooledge wrote: > > > > [...] > > > > > > We still don't know why you want this. I guess we'll never know. > > > > > > We apparently don't speak the same dialect of english Greg. I wanted > > > a dead tree (aka paper) copy of a manpage, with ALL the markup > > > totally stripped. As for Lee's suggestion, I didn't try it since > > > Cindy's example worked perfectly and by the time I read Lee's msg, I > > > had what I needed on the output tray of my huge printer. No > > > reflection on Lee was intended. Still isn't. > > > > Nitpicking time :). > True. TBT, the use of bold was not something these old eyes considered. > > You specified "...so what we save is exactly what > > we see." Neither Cindy Sue Cause's mor Lee's give *exactly* what is > > seen onscreen. If bolded headings are unwanted, either method gives a > > nice text file to print. > > Yes, I should have more precisely stated "text". :( A very reasonable respose. Your eyes may be deteriorating but there is nothing amaiss with your intellect. -- Brian.
[toc] | [prev] | [next] | [standalone]
| From | Gene Heskett <gheskett@shentel.net> |
|---|---|
| Date | 2021-10-02 23:40 +0200 |
| Message-ID | <D3UTD-7bS-1@gated-at.bofh.it> |
| In reply to | #240819 |
On Saturday 02 October 2021 16:02:52 Brian wrote: > On Sat 02 Oct 2021 at 15:43:33 -0400, Gene Heskett wrote: > > On Saturday 02 October 2021 11:13:09 Brian wrote: > > > On Fri 01 Oct 2021 at 17:32:37 -0400, Gene Heskett wrote: > > > > On Friday 01 October 2021 17:17:53 Greg Wooledge wrote: > > > > > > [...] > > > > > > > > We still don't know why you want this. I guess we'll never > > > > > know. > > > > > > > > We apparently don't speak the same dialect of english Greg. I > > > > wanted a dead tree (aka paper) copy of a manpage, with ALL the > > > > markup totally stripped. As for Lee's suggestion, I didn't try > > > > it since Cindy's example worked perfectly and by the time I read > > > > Lee's msg, I had what I needed on the output tray of my huge > > > > printer. No reflection on Lee was intended. Still isn't. > > > > > > Nitpicking time :). > > > > True. TBT, the use of bold was not something these old eyes > > considered. > > > > > You specified "...so what we save is exactly what > > > we see." Neither Cindy Sue Cause's mor Lee's give *exactly* what > > > is seen onscreen. If bolded headings are unwanted, either method > > > gives a nice text file to print. > > > > Yes, I should have more precisely stated "text". :( > > A very reasonable respose. Your eyes may be deteriorating but there is > nothing amaiss with your intellect. Thats holding up fairly well, tested at 147 in the 7nth grade, made my living in electroncs since I quit school in the 9th grade and went to work fixing what was then a new toy called a tv, and finished off my working years as the chief engineer and the often only tech at a local tv station for 18+ years. Been retired for 19 years with enough to support my hobbies. That pulmonary embolism did cost me a few points though. That eyesight loss unfortunately is slowly happening despite the daily intake of a 40 milligram dose of lutien daily for the last 35 or so years, trying to stave off going blind because I was declared diabetic type 2 about that many years ago. Macular degeneration, where I have dark spots dead center in the dark of the moon are beginning to be noticeable. OTOH, I'll be 87 Monday, so I don't imagine it would be good to complain too loudly. I guess I'm a survivor, or he isn't ready for me yet, I have surived a pulmonary embolism that kills >98% 8 years ago, my heart has had a couple attacks, a replacement valve, some stents and a pacemaker that keeps it running at about 30% effficiency, so I tire more easily than 40 years ago. But other than the aches & pains that seem to go with the years, I actually feel pretty good yet. Currently digging out a bush that found some growth hormones in the back yard, it was 20 feet across and nearly 20 feet high when I first decided it had to go as it was damaging the house, but I'll have to get a backhoe in to finish that, and replacing about 170 feet of split rail fencing around the lower third of my place with vinyl cuz I'm tired of replaceing the split rail every 10 years and its due again. Posts rotting off at ground level. Rails breaking of their own weight etc. The vinyl should outlast me. Got around 50 feet to go. Anybody wanna help? I pay well, in cash. Take care now Brian, and the rest of you who helped. Cheers, Gene Heskett. -- "There are four boxes to be used in defense of liberty: soap, ballot, jury, and ammo. Please use in that order." -Ed Howdershelt (Author, 1940) If we desire respect for the law, we must first make the law respectable. - Louis D. Brandeis Genes Web page <http://geneslinuxbox.net:6309/gene>
[toc] | [prev] | [next] | [standalone]
| From | Jude DaShiell <jdashiel@panix.com> |
|---|---|
| Date | 2021-10-02 23:10 +0200 |
| Subject | Re: What do we have that will save a manpage as we see it on-screen |
| Message-ID | <D3UqC-71E-5@gated-at.bofh.it> |
| In reply to | #240818 |
Anyone tried ansifilter -i bash.1 -o bash.2 yet? On Sat, 2 Oct 2021, Gene Heskett wrote: > On Saturday 02 October 2021 11:13:09 Brian wrote: > > > On Fri 01 Oct 2021 at 17:32:37 -0400, Gene Heskett wrote: > > > On Friday 01 October 2021 17:17:53 Greg Wooledge wrote: > > > > [...] > > > > > > We still don't know why you want this. I guess we'll never know. > > > > > > We apparently don't speak the same dialect of english Greg. I wanted > > > a dead tree (aka paper) copy of a manpage, with ALL the markup > > > totally stripped. As for Lee's suggestion, I didn't try it since > > > Cindy's example worked perfectly and by the time I read Lee's msg, I > > > had what I needed on the output tray of my huge printer. No > > > reflection on Lee was intended. Still isn't. > > > > Nitpicking time :). > True. TBT, the use of bold was not something these old eyes considered. > > You specified "...so what we save is exactly what > > we see." Neither Cindy Sue Cause's mor Lee's give *exactly* what is > > seen onscreen. If bolded headings are unwanted, either method gives a > > nice text file to print. > > Yes, I should have more precisely stated "text". :( > > > Cheers, Gene Heskett. >
[toc] | [prev] | [next] | [standalone]
| From | Greg Wooledge <greg@wooledge.org> |
|---|---|
| Date | 2021-10-01 21:50 +0200 |
| Message-ID | <D3wHE-G3-21@gated-at.bofh.it> |
| In reply to | #240735 |
On Fri, Oct 01, 2021 at 12:24:50PM -0400, Gene Heskett wrote: > With the man markup subtracted, so what we save is exactly what we see. If you want to reproduce what you see when you type "man bash" (just as an example), you would need to *retain* the "man markup", not subtract it. So, right off the bat, the question is confusing me. What is it you're actually trying to do here? Do you want to store Debian's man pages in files, move them to another platform (say, Microsoft Windows) and view them there? If you're not moving the files across systems, then I don't see the point. If you want to see the same result again, just run "man bash" again. Yes? The man page isn't going anywhere. Unless... maybe... are you planning to remove a package, but you want to keep its man pages around, so you can read them despite the package being removed? One way to do that would be to read the man pages on Debian's web site. Or, of course, you could also copy the files out of /usr/share/man/ into your home directory, and then run the man command on them as files: unicorn:~$ cp /usr/share/man/man1/ls.1.gz . unicorn:~$ man ./ls.1.gz This works perfectly well. Note that the ./ matters. If your goal isn't one of these things, then I'm quite confused. Please give us some more background information about what you want.
[toc] | [prev] | [next] | [standalone]
| From | Gene Heskett <gheskett@shentel.net> |
|---|---|
| Date | 2021-10-01 23:20 +0200 |
| Message-ID | <D3y6K-1Ds-13@gated-at.bofh.it> |
| In reply to | #240751 |
On Friday 01 October 2021 15:47:18 Greg Wooledge wrote: > On Fri, Oct 01, 2021 at 12:24:50PM -0400, Gene Heskett wrote: > > With the man markup subtracted, so what we save is exactly what we > > see. > > If you want to reproduce what you see when you type "man bash" (just > as an example), you would need to *retain* the "man markup", not > subtract it. So, right off the bat, the question is confusing me. > > What is it you're actually trying to do here? Do you want to store > Debian's man pages in files, move them to another platform (say, > Microsoft Windows) and view them there? > > If you're not moving the files across systems, then I don't see the > point. If you want to see the same result again, just run "man bash" > again. Yes? The man page isn't going anywhere. > I'm tryting to configure the .hal file in linuxcnc, so loading the uncompressed file into geany and printing it, prints all the markup too, and any of that in a .hal file is a showstopper syntax error. I need to type it into the .hal file exactly as I see it onscreen. I thought I was doing that, Greg, when I said I wanted a file identical to what I see on screen when man has processed the manfile to show the onscrren text. Processing removes around 600 bytes. Cheers, Gene Heskett. -- "There are four boxes to be used in defense of liberty: soap, ballot, jury, and ammo. Please use in that order." -Ed Howdershelt (Author, 1940) If we desire respect for the law, we must first make the law respectable. - Louis D. Brandeis Genes Web page <http://geneslinuxbox.net:6309/gene>
[toc] | [prev] | [next] | [standalone]
| From | Eric S Fraga <e.fraga@ucl.ac.uk> |
|---|---|
| Date | 2021-10-02 13:50 +0200 |
| Message-ID | <D3LGF-1vV-3@gated-at.bofh.it> |
| In reply to | #240735 |
man pages are written in troff/nroff (which can be compiled using groff) using the man style. You can do the following, for instance: gunzip -c /usr/share/man/man1/chmod.1.gz | groff -man | lp (or replace "lp" with "gv -" to see on screen). Replace chmod with specific command and note that there is a different folder for each section of the Unix manual, man1 being for commands, man2 for system libraries, ... troff is how us old-timers used to write before LaTeX took over. I did my PhD in troff many moon ago on BSD Unix and then SunOS. Testament to the quality of the software: I can still generate a PDF of my thesis now after more than 30 years since I wrote it. Try that in Word... ;-) -- Eric S Fraga via Emacs 28.0.50 & org 9.5 on Debian 11.0
[toc] | [prev] | [next] | [standalone]
| From | Gene Heskett <gheskett@shentel.net> |
|---|---|
| Date | 2021-10-02 14:50 +0200 |
| Message-ID | <D3MCJ-23w-3@gated-at.bofh.it> |
| In reply to | #240789 |
On Saturday 02 October 2021 07:45:07 Eric S Fraga wrote: > man pages are written in troff/nroff (which can be compiled using > groff) using the man style. You can do the following, for instance: > > gunzip -c /usr/share/man/man1/chmod.1.gz | groff -man | lp > > (or replace "lp" with "gv -" to see on screen). > > Replace chmod with specific command and note that there is a different > folder for each section of the Unix manual, man1 being for commands, > man2 for system libraries, ... > > troff is how us old-timers used to write before LaTeX took over. I > did my PhD in troff many moon ago on BSD Unix and then SunOS. > Testament to the quality of the software: I can still generate a PDF > of my thesis now after more than 30 years since I wrote it. Try that > in Word... ;-) And in 3 decades, word will have destroyed it 30 times (or more) :((((( Cheers, Gene Heskett. -- "There are four boxes to be used in defense of liberty: soap, ballot, jury, and ammo. Please use in that order." -Ed Howdershelt (Author, 1940) If we desire respect for the law, we must first make the law respectable. - Louis D. Brandeis Genes Web page <http://geneslinuxbox.net:6309/gene>
[toc] | [prev] | [next] | [standalone]
| From | Greg Wooledge <greg@wooledge.org> |
|---|---|
| Date | 2021-10-02 15:10 +0200 |
| Message-ID | <D3MW5-2pu-11@gated-at.bofh.it> |
| In reply to | #240789 |
On Sat, Oct 02, 2021 at 12:45:07PM +0100, Eric S Fraga wrote: > man pages are written in troff/nroff (which can be compiled using groff) > using the man style. You can do the following, for instance: > > gunzip -c /usr/share/man/man1/chmod.1.gz | groff -man | lp > > (or replace "lp" with "gv -" to see on screen). This appears to produce a Postscript stream. I'm pretty sure that isn't what Gene wanted (but who knows, since the question was apparently "how do I save a man page's text, without markup, into a file" and the answer turned out to be "man foo > file", which should not have required asking a worldwide mailing list for help).
[toc] | [prev] | [next] | [standalone]
| From | Brian <ad44@cityscape.co.uk> |
|---|---|
| Date | 2021-10-02 16:40 +0200 |
| Message-ID | <D3Olc-379-13@gated-at.bofh.it> |
| In reply to | #240797 |
On Sat 02 Oct 2021 at 09:03:39 -0400, Greg Wooledge wrote: > On Sat, Oct 02, 2021 at 12:45:07PM +0100, Eric S Fraga wrote: > > man pages are written in troff/nroff (which can be compiled using groff) > > using the man style. You can do the following, for instance: > > > > gunzip -c /usr/share/man/man1/chmod.1.gz | groff -man | lp > > > > (or replace "lp" with "gv -" to see on screen). > > This appears to produce a Postscript stream. I'm pretty sure that isn't > what Gene wanted (but who knows, since the question was apparently "how > do I save a man page's text, without markup, into a file" and the answer > turned out to be "man foo > file", which should not have required asking > a worldwide mailing list for help). It appears Gene Heskett wants to print a man page (but maybe not). In this case, I see nothing wrong with 'man -t | lp'. BTW, I do not think gv accepts an output piped to it. -- Brian.
[toc] | [prev] | [next] | [standalone]
| From | Eric S Fraga <e.fraga@ucl.ac.uk> |
|---|---|
| Date | 2021-10-02 18:00 +0200 |
| Message-ID | <D3PAC-3N5-5@gated-at.bofh.it> |
| In reply to | #240802 |
On Saturday, 2 Oct 2021 at 15:39, Brian wrote: > BTW, I do not think gv accepts an output piped to it. Well, it does on my Debian system. YMMV, of course. I did try the command before posting. ;-) -- Eric S Fraga via Emacs 28.0.60 & org 9.5 on Debian 11.0
[toc] | [prev] | [next] | [standalone]
| From | Brian <ad44@cityscape.co.uk> |
|---|---|
| Date | 2021-10-02 19:40 +0200 |
| Message-ID | <D3R9n-4Rc-13@gated-at.bofh.it> |
| In reply to | #240807 |
On Sat 02 Oct 2021 at 16:51:59 +0100, Eric S Fraga wrote: > On Saturday, 2 Oct 2021 at 15:39, Brian wrote: > > BTW, I do not think gv accepts an output piped to it. > > Well, it does on my Debian system. YMMV, of course. > > I did try the command before posting. ;-) Eyesight. Many apologies. I missed the "-". Such a simple mistake! -- Brian.
[toc] | [prev] | [next] | [standalone]
| From | Eric S Fraga <e.fraga@ucl.ac.uk> |
|---|---|
| Date | 2021-10-02 18:00 +0200 |
| Message-ID | <D3PAB-3N5-1@gated-at.bofh.it> |
| In reply to | #240797 |
On Saturday, 2 Oct 2021 at 09:03, Greg Wooledge wrote: > This appears to produce a Postscript stream. Yes; I was basing my post on the specified need for "dead wood" output. -- Eric S Fraga via Emacs 28.0.60 & org 9.5 on Debian 11.0
[toc] | [prev] | [standalone]
Page 2 of 2 — ← Prev page 1 [2]
Back to top | Article view | linux.debian.user
csiph-web