(unknown charset) - STDOUT - Niklaus, Niklaus, NIKLAUS!

From: (unknown charset) Alexander Iljin <"Alexander>
Date: Wed, 11 Jul 2007 14:18:27 +0700 (NOVST)

----boundary-LibPST-iamunique-674457665_-_-
Content-type: text/plain

Hello!

> Excuse my apparant arrogance, but there is an existing infrastructure of
> people out there who know about a little thing called WriteLn and ReadLn.
> Millions of us. And if it ain't in Component Pascal, then we ain't using
> Component Pascal.

  I agree that the most important feature of the Pascal language was the
ReadLn/WriteLn feature. Dropping it from the language and pushing it
into the runtime-library is a step way back! What is this, the Middle
Ages?!
  : )))

  Seriously, though.
  How come the name Niklaus (Wirth presumably?) is in the subject? He
didn't invent the Component Pascal language. He had nothing to do with

the BlackBox either (to my knowledge).

> Do I have to write the stdio routines myself? I've done it before using
> winapi calls in freepascal for kicks and giggles. So I can do it for
> component pascal. But why should I have to? Put yourself in the
> developer's shoes of year 2007.

  Despite the admitted arrogance the author makes a good point. The
BlackBox' Host subsystem can detect if the application has been run with
a standard console attached. It could redirect Log/Dialog output to the
console on that occasion. That also applies to the Kernel showing that
MessageBox instead of reporting trap to the stderr if in console mode.
  The modules In and Out could also work with consoles, filling that stdio
functionality of ReadLn/WriteLn.
  Apparently, console applications were not in minds of BlackBox
developers, but I think they would accept that as a contribution, would
they?

> Yes, I know stdout isn't good

  How come it ain't good? A console is just another interface, which is
quite good for batch processing. It is the ultimate weapon in Unix/Linux
community.

> If there is no standard out, no one will take blackbox seriously, ever.

  Well, that's just exaggeration.

> We've all been brainwashed into thinking that console programs must run
> on std out, not in some log window in blackbox.

  You just need to be brainwashed again, no biggie.

> Even if blackbox log windows are superior .. that doesn't mean
> brainwashed people are going to actually realize the power of blackbox
> right away - first they need stuff like standard out.. the wrong stuff.

  Brainwashed people won't realize anything they weren't brainwashed to
realize. Whole 'nother story is that the console is a well-known
interface. I think it should be supported for completeness' sake. It
would widen the range of tasks the BlackBox is good for.

> history repeats itself?

  It sure does.

---=====---
 Alexander

--- BlackBox
--- send subject HELP or UNSUBSCRIBE to blackbox{([at]})nowhere.xy

----boundary-LibPST-iamunique-674457665_-_-
Content-type: application/rtf
Content-transfer-encoding: base64
Content-Disposition: attachment; filename="rtf-body.rtf"

e1xydGYxXGFuc2lcYW5zaWNwZzEyNTFcZnJvbXRleHQgXGRlZmYwe1xmb250dGJsDQp7XGYwXGZz
d2lzcyBBcmlhbDt9DQp7XGYxXGZtb2Rlcm4gQ291cmllciBOZXc7fQ0Ke1xmMlxmbmlsXGZjaGFy
c2V0MiBTeW1ib2w7fQ0Ke1xmM1xmbW9kZXJuXGZjaGFyc2V0MCBDb3VyaWVyIE5ldzt9fQ0Ke1xj
b2xvcnRibFxyZWQwXGdyZWVuMFxibHVlMDtccmVkMFxncmVlbjBcYmx1ZTI1NTt9DQpcdWMxXHBh
cmRccGxhaW5cZGVmdGFiMzYwIFxmMFxmczIwIEhlbGxvIVxwYXINClxwYXINCj4gRXhjdXNlIG15
IGFwcGFyYW50IGFycm9nYW5jZSwgYnV0IHRoZXJlIGlzIGFuIGV4aXN0aW5nIGluZnJhc3RydWN0
dXJlIG9mXHBhcg0KPiBwZW9wbGUgb3V0IHRoZXJlIHdobyBrbm93IGFib3V0IGEgbGl0dGxlIHRo
aW5nIGNhbGxlZCBXcml0ZUxuIGFuZCBSZWFkTG4uXHBhcg0KPiBNaWxsaW9ucyBvZiB1cy4gQW5k
IGlmIGl0IGFpbid0IGluIENvbXBvbmVudCBQYXNjYWwsIHRoZW4gd2UgYWluJ3QgdXNpbmdccGFy
DQo+IENvbXBvbmVudCBQYXNjYWwuXHBhcg0KXHBhcg0KICBJIGFncmVlIHRoYXQgdGhlIG1vc3Qg
aW1wb3J0YW50IGZlYXR1cmUgb2YgdGhlIFBhc2NhbCBsYW5ndWFnZSB3YXMgdGhlXHBhcg0KUmVh
ZExuL1dyaXRlTG4gZmVhdHVyZS4gRHJvcHBpbmcgaXQgZnJvbSB0aGUgbGFuZ3VhZ2UgYW5kIHB1
c2hpbmcgaXRccGFyDQppbnR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b2VzLlxwYXINClxwYXINCi0tLT09PT09LS0tXHBhcg0KIEFsZXhhbmRlclxwYXIN
ClxwYXINCi0tLSBCbGFja0JveFxwYXINCi0tLSBzZW5kIHN1YmplY3QgSEVMUCBvciBVTlNVQlND
UklCRSB0byBibGFja2JveEBvYmVyb24uY2hccGFyDQp9


----boundary-LibPST-iamunique-674457665_-_---
Received on Wed Jul 11 2007 - 09:18:27 UTC

This archive was generated by hypermail 2.3.0 : Thu Sep 26 2013 - 06:31:31 UTC