I've never used 'tput reset', but have always used 'stty sane', which
sometimes clears things up, and sometimes doesn't.

Next time it happens, I'll try 'tput reset'.

Thanks,

Jared




"Richard Ji" <[EMAIL PROTECTED]>
Sent by: [EMAIL PROTECTED]

 10/30/2003 01:29 PM
 Please respond to ORACLE-L

       
        To:        Multiple recipients of list ORACLE-L <[EMAIL PROTECTED]>
        cc:        
        Subject:        RE: alter system reset



On a Unix system, you can "tput reset" to clear up that mess after viewing a binary file
by accident.
-----Original Message-----
From:
[EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]
Sent:
Tuesday, September 02, 2003 3:39 PM
To:
Multiple recipients of list ORACLE-L
Subject:
Re: alter system reset


Using an editor to view the binary file is a much better

idea than displaying it directly to the screen.  Doing so

with a binary file will often corrupt the display.


All that is needed is to close the window and open

a new one, but that is kind of a pain at times as you

lose your command history.


Jared




"Arup Nanda" <[EMAIL PROTECTED]>
Sent by: [EMAIL PROTECTED]

 09/01/2003 08:19 PM
Please respond to ORACLE-L

       
       To:        Multiple recipients of list ORACLE-L <[EMAIL PROTECTED]>

       cc:        

       Subject:        Re: alter system reset




Prem,

The SPFILE should never be opened to be modified; opening a file to see the
contents are acceptable and that's what I said. Sometimes opening the file
in an editor may not be needed;
"type" in Windows command prompt or "cat" in unix will let us achive the
same objective.

Talking about the SPFILE modification, you can't effectively modify it with
accuracy. The file is binary (actually binary in the beginning and then text
towards the bottom part), so even if you open it in notepad and save it,
there is no guarantee that the file will be accurately saved with all
contents intact.

By the way, I have edited the SPFILE in some cases, only in development,
though; but I wouldn't advise it to be done that way; always use ALTER
SYSTEM ... SCOPE=SPFILE to modify it or edit the init.ora file and then
create the SPFILE from it. You can create the spfile from pfile even when

the instance is down.

HTH.

Arup

----- Original Message -----
To: "Multiple recipients of list ORACLE-L" <[EMAIL PROTECTED]>
Sent: Monday, September 01, 2003 10:49 PM


> Arup Bhai, i remember oracle docs saying NOT to open a spfile and that it
may even
> corrupt the file.
>
> Is that always true ?
> Can the spfile be opened ?
> can you kindly explain me ?
>
> Thanks & Regards,
> Prem Khanna J.
>
>
> 02-09-2003 04:14:26, "Arup Nanda" <[EMAIL PROTECTED]> wrote:
> >Does the entry even exist in the SPFILE? Open up the spfile in notepad
and
> >check the existence of the parameter in there. Do the following:
> >SQL> alter system set undo_suppress_errors = false scope=spfile
sid='ananda';
> >System altered.
> >SQL> ALTER SYSTEM RESET undo_suppress_errors scope=spfile sid='ananda';
> >System altered.
> >Arup
>
>
>
> --
> Please see the official ORACLE-L FAQ: http://www.orafaq.net
> --
> Author: Prem Khanna J
>   INET: [EMAIL PROTECTED]
>
> Fat City Network Services    -- 858-538-5051 http://www.fatcity.com
> San Diego, California        -- Mailing list and web hosting services
> ---------------------------------------------------------------------
> To REMOVE yourself from this mailing list, send an E-Mail message
> to: [EMAIL PROTECTED] (note EXACT spelling of 'ListGuru') and in
> the message BODY, include a line containing: UNSUB ORACLE-L
> (or the name of mailing list you want to be removed from).  You may
> also send the HELP command for other information (like subscribing).
>
--
Please see the official ORACLE-L FAQ: http://www.orafaq.net
--
Author: Arup Nanda
INET: [EMAIL PROTECTED]

Fat City Network Services    -- 858-538-5051 http://www.fatcity.com
San Diego, California        -- Mailing list and web hosting services
---------------------------------------------------------------------

To REMOVE yourself from this mailing list, send an E-Mail message
to: [EMAIL PROTECTED] (note EXACT spelling of 'ListGuru') and in
the message BODY, include a line containing: UNSUB ORACLE-L

(or the name of mailing list you want to be removed from).  You may
also send the HELP command for other information (like subscribing).




Reply via email to