🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.readers
Article #256235

Re: @Sandman, Gregory Hall is not "delusional", you are.

#256235
From: Sandman
Date: Tue, 26 Nov 2013 11:16
35 lines
2939 bytes
In article <52935d0a$57$fuzhry+tra$mr2ice@news.patriot.net>, Shmuel  Metz wrote:

> > > > Shmuel  Metz:
> > > > cat, in turn, manages the bridge between the content and the
> > > > terminal,
> > > 
> > > Doesn't cat copy its inputs unchanged to stdout?
> > 
> > Jesse:
> > Yes, but I believe that is what the OP was intending by that
> > statement.
> 
> The wording "cat, in turn, manages the bridge between the content
> and the terminal," suggests adding terminal-dependent control
> characters. There are tools in *ix that will do that, but AFAIK cat
> isn't one of them.

Here is the entire quote:

	It does, it's called "cat" because if it exists, man uses "cat" to 
	display it to the screen.

	cat, in turn, manages the bridge between the content and the 
	terminal, so if you're on a dumb terminal, cat handles it.

The content is in the files, and the terminal is the output. cat handles 
that bridge (i.e. displaying the contents of a file to stdout) and also 
handles control characters, but rather *removes* them if stdout is not 
capable of handling them. cat doesn't add anything.

You can see the source for man.c and see for yourself that it just calls 
"cat" via the system if a catfile exists cor the manpage.

-- 
Sandman[.net]
Technical Details
Message-ID: <slrnl990q6.uhi.mr@irc.sandman.net>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!i2pn2.pugleaf.net!archive.newsdeef.eu!mbox2nntp-alt.free.newsservers.20150605.mbox.gz!border1.nntp.dca3.giganews.com!backlog3.nntp.dca3.giganews.com!border3.nntp.dca.giganews.com!border1.nntp.dca.giganews.com!nntp.giganews.com!goblin1!goblin.stu.neva.ru!fu-berlin.de!uni-berlin.de!individual.net!not-for-mail
References: <slrnl71h87.fk4.mr@irc.sandman.net> <Jeff-Relf.Me@Oct.30{9.07.Seattle.2013}> <70o0vv.dtq.17.1@news.alt.net> <slrnl72s1e.hgb.mr@irc.sandman.net> <70oh19.cua.17.1@news.alt.net> <slrnl72tge.hgb.mr@irc.sandman.net> <Jeff-Relf.Me@Oct.30{17.01.Seattle.2013}> <slrnl746nq.kqc.mr@irc.sandman.net> <20131102002158.67c0bbc2147e466f12f33677@gmail.com> <slrnl788vc.q9d.mr@irc.sandman.net> <20131102223054.dd8826fa3c95abbc3ad830cf@gmail.com> <slrnl7am8k.ld.mr@irc.sandman.net> <20131104171826.4f421aca5a77756181953279@gmail.com> <slrnl7fag9.58s.mr@irc.sandman.net> <20131104225149.333cad7d9004346a11ef292a@gmail.com> <slrnl7g0pd.8mh.mr@irc.sandman.net> <52841e99$2$fuzhry+tra$mr2ice@news.patriot.net> <d734$52843f47$17750d2f$12487@nntpswitch.blueworldhosting.com> <52935d0a$57$fuzhry+tra$mr2ice@news.patriot.net>

Show Full Headers
Complete Article Headers
Message-ID: <slrnl990q6.uhi.mr@irc.sandman.net>
Subject: Re: @Sandman, Gregory Hall is not "delusional", you are.
Date: Tue, 26 Nov 2013 11:16:23 +0000
From: Sandman <mr@sandman.net>
References: <slrnl71h87.fk4.mr@irc.sandman.net> <Jeff-Relf.Me@Oct.30{9.07.Seattle.2013}> <70o0vv.dtq.17.1@news.alt.net> <slrnl72s1e.hgb.mr@irc.sandman.net> <70oh19.cua.17.1@news.alt.net> <slrnl72tge.hgb.mr@irc.sandman.net> <Jeff-Relf.Me@Oct.30{17.01.Seattle.2013}> <slrnl746nq.kqc.mr@irc.sandman.net> <20131102002158.67c0bbc2147e466f12f33677@gmail.com> <slrnl788vc.q9d.mr@irc.sandman.net> <20131102223054.dd8826fa3c95abbc3ad830cf@gmail.com> <slrnl7am8k.ld.mr@irc.sandman.net> <20131104171826.4f421aca5a77756181953279@gmail.com> <slrnl7fag9.58s.mr@irc.sandman.net> <20131104225149.333cad7d9004346a11ef292a@gmail.com> <slrnl7g0pd.8mh.mr@irc.sandman.net> <52841e99$2$fuzhry+tra$mr2ice@news.patriot.net> <d734$52843f47$17750d2f$12487@nntpswitch.blueworldhosting.com> <52935d0a$57$fuzhry+tra$mr2ice@news.patriot.net>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!i2pn2.pugleaf.net!archive.newsdeef.eu!mbox2nntp-alt.free.newsservers.20150605.mbox.gz!border1.nntp.dca3.giganews.com!backlog3.nntp.dca3.giganews.com!border3.nntp.dca.giganews.com!border1.nntp.dca.giganews.com!nntp.giganews.com!goblin1!goblin.stu.neva.ru!fu-berlin.de!uni-berlin.de!individual.net!not-for-mail
Newsgroups: news.software.readers,alt.free.newsservers
Lines: 35
X-Trace: individual.net YDRerkARQ1hg2mvzBESNYgPQ77bFv7CXMK4ghqrcrln0P+yto=
Cancel-Lock: sha1:GK9/i2FGgR2Oo1LL2B54w4LmBSc=
User-Agent: slrn/pre1.0.0-18 (Linux)
X-Original-Bytes: 2744