Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 16 Jul 1998 15:12:58 -0700 (PDT)
From:      Doug White <dwhite@resnet.uoregon.edu>
To:        laszlo vagner <vagner@mutsgo.kf7nn.com>
Cc:        questions@FreeBSD.ORG
Subject:   Re: off topic
Message-ID:  <Pine.BSF.4.00.9807161512330.21519-100000@resnet.uoregon.edu>
In-Reply-To: <199807160456.XAA24071@mutsgo.kf7nn.com>

next in thread | previous in thread | raw e-mail | index | archive | help

On Wed, 15 Jul 1998, laszlo vagner wrote:

> if i run top and send it to a file like this
> top > file.txt  i can look at it perfectly 
> in a web browser but if i run it as a cgi
> script the output looks all bunched together
> like it is missing carriage returns.

What file type is your CGI script returning?  If it's text/HTML then it's
getting reformatted.  Try returning type text/plain.

Doug White                              | University of Oregon  
Internet:  dwhite@resnet.uoregon.edu    | Residence Networking Assistant
http://gladstone.uoregon.edu/~dwhite    | Computer Science Major


To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-questions" in the body of the message



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?Pine.BSF.4.00.9807161512330.21519-100000>