Re: A downright wierd Netscape problem--solved.

1999-02-08 Thread Curt Daugaard
My thanks to Daniel and Brian for their posts.  Well, there was nothing
mysterious about the solution, was there :o)   I
guess what threw me is that I hadn't changed any mime types or applications
settings, so I supposed some arcane file had gotten corrupted.  Ah well.

Thanks again.


Curt
[EMAIL PROTECTED]


Re: A downright wierd Netscape problem

1999-02-08 Thread Daniel Martin
Curt Daugaard <[EMAIL PROTECTED]> writes:

> When trying to open certain documents in Netscape--for example, the
> Printing-HOWTO at sunsite.unc--the document is not displayed right
> away but starts to download.  When it's done a dialog box appears with
> this message:
> 
>Netscape: subprocess diagnostics(stdout/stderr)
> 
>Vim: Warning: Output is not to a terminal
>[24; 1H [0;10mVim: Error reading input, exiting...
>Vim: Finished.
>[24;1H
>Vim: Warning:Input is not from a terminal
> 
> I have no idea what brought this on.  Does anyone else?  I'd be grateful
> to anyone who can give me a clue.

Well, I don't know what brought it on, but I have an idea of how 
to fix it - go to the Edit->Preferences menu in netscape, then go into
for Navigator->Applications (you may have to click on the little
triangle next to Navigator).  Then, select "Plain Text" in dialog box
(it's likely all the way at the bottom).  Notice that it's not set up
to be handled by Netscape.  Edit the type and select the "Navigator"
option button in the "Handled by..." group.

My; describing how to do something in a GUI is painful - it's so much
easier to say "change line 432 to... in the such-and-such file".


Re: A downright wierd Netscape problem

1999-02-08 Thread servis
*- On  7 Feb, Curt Daugaard wrote about "A downright wierd Netscape problem"
> When trying to open certain documents in Netscape--for example, the
> Printing-HOWTO at sunsite.unc--the document is not displayed right
> away but starts to download.  When it's done a dialog box appears with
> this message:
> 
>Netscape: subprocess diagnostics(stdout/stderr)
> 
>Vim: Warning: Output is not to a terminal
>[24; 1H [0;10mVim: Error reading input, exiting...
>Vim: Finished.
>[24;1H
>Vim: Warning:Input is not from a terminal
> 
> I have no idea what brought this on.  Does anyone else?  I'd be grateful
> to anyone who can give me a clue.
> 

Well, let me take a stab at this.

You don't say if you are looking at the html or txt version of the
HOWTO.  It looks like a mime type has been set up to launch the vim
application for the file type of the HOWTO.  Then when Netscape calls
vim, vim fails because it is not being launched in a terminal. 
The '[24; 1H [0;10m' characters are the results of vim(a text based
editor) sending console control codes to the shell that Netscape
launched for vim, I think Netscape does a 'sh -c' to start its shells, 
so it is issuing 'sh -c vim %s'. 

Look through your Preferenses-Navigator-Applications for a mime type
that is launching vim.  If you really want to launch vim then you
should launch it in an xterm or other terminal.  Use something like
this for the Application field: xterm -e vim %s.

-- 
Brian 
-
"Never criticize anybody until you have walked a mile in their shoes,  
 because by that time you will be a mile away and have their shoes." 
   - unknown  

Mechanical Engineering[EMAIL PROTECTED]
Purdue University   http://www.ecn.purdue.edu/~servis
-


A downright wierd Netscape problem

1999-02-07 Thread Curt Daugaard
When trying to open certain documents in Netscape--for example, the
Printing-HOWTO at sunsite.unc--the document is not displayed right
away but starts to download.  When it's done a dialog box appears with
this message:

   Netscape: subprocess diagnostics(stdout/stderr)

   Vim: Warning: Output is not to a terminal
   [24; 1H [0;10mVim: Error reading input, exiting...
   Vim: Finished.
   [24;1H
   Vim: Warning:Input is not from a terminal

I have no idea what brought this on.  Does anyone else?  I'd be grateful
to anyone who can give me a clue.

Thanks.

Curt Daugaard
[EMAIL PROTECTED]