🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.unix.shell
Article #3978

Displaying output from STDOUT/STDERR from tcsh shell on a web browser

#3978
From: Miles Davenport
Date: Wed, 31 May 2000 00:00
12 lines
1145 bytes
I am in the process of writing a tcsh script which will be called from a
browser via a submit form button.  I want to know how to to redirect all
outputs such as STDOUT/ERR to the browser so the user can see whats
happening.

I remember something like &2>1 in Perl, but can't remember how to do it.

Can anyone help.

Many thanks.

Miles Davenport.
Technical Details
Message-ID: <959786175.7562.0.nnrp-06.d4e4dc01@news.demon.co.uk>
Path: arc1-ca.pugleaf.net!unknown!not-for-mail

Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit
X-Google-Thread: 109f25,64ad3c72177ca6a5,start
X-Google-Attributes: gid109f25,public
X-Google-Thread: 1012a6,64ad3c72177ca6a5,start
X-Google-Attributes: gid1012a6,public
From: "Miles Davenport" <miles@explorer.demon.co.uk>
Subject: Displaying output from STDOUT/STDERR from tcsh shell on a web browser
Date: 2000/05/31
Message-ID: <959786175.7562.0.nnrp-06.d4e4dc01@news.demon.co.uk>
X-Deja-AN: 629489985
X-NNTP-Posting-Host: explorer.demon.co.uk:212.228.220.1
X-Trace: news.demon.co.uk 959786175 nnrp-06:7562 NO-IDENT explorer.demon.co.uk:212.228.220.1
X-MSMail-Priority: Normal
X-Priority: 3
X-MimeOLE: Produced By Microsoft MimeOLE V5.00.2615.200
Newsgroups: comp.unix.shell,fj.unix.shells
X-Complaints-To: abuse@demon.net