Control-c in sqlplus on Windows leaves me at C: prompt

An annoying "feature" of the command line version of SQL*Plus (sqlplus.exe not sqlplusw.exe) is that a control-c will cause the program to abort.
If I set pause on and want to break out of the execution of the query, i end up aborting my sqlplus session.
On unix, a control-c (break) will simply abort the current command, not the program.
Does anyone know a windows work-around or setting to avoid this program exiting "feature".

user12286392 wrote:
An annoying "feature" of the command line version of SQL*Plus (sqlplus.exe not sqlplusw.exe) is that a control-c will cause the program to abort.
If I set pause on and want to break out of the execution of the query, i end up aborting my sqlplus session.
On unix, a control-c (break) will simply abort the current command, not the program.
Does anyone know a windows work-around or setting to avoid this program exiting "feature".Ctrl-C during a query execution should take it back to the SQL> prompt, whilst Ctrl-C at the SQL> prompt will cause sqlplus to exit back to the cmd prompt. This is standard levels of execution and termination for processes and has always worked like this for any process written. It is up to the process itself to capture ctrl-C and handle it as it sees fit, and most processes at the top level of their "business process" (for want of a better way of putting it) will capture it and exit the process. Likewise in unix environments processes run in similar ways with Ctrl-Z stopping jobs except that they can then be killed or put into the background or brought back to the foreground.
In truth it does exactly what I would expect it to do. It's not an unusual "feature", it's the way these operating systems and processes have always worked over the decades. So, I would say, stop hitting Ctrl-C unless you are doing it for a reason.

Similar Messages

  • Qosmio G30 - Media center remote control doesn't work in windows

    Dear All,
    I have Qosmio G30-194,
    first i had a problem with the VGA , i send it for repair, when it comes back i noticed that the remote control is not working on windows Media Center, while in A/V mode it work perfectly.
    I tried to do full system restore from the recovery DVD, but nothing changed, even i installed Windows Vista with all of its drivers.
    Nothing changed also, I borrowed a USB IR received for another remote control it worked perfectly with my remote on windows.
    Please advise me what to do, do i send it back to the service center , or there is an easier solution.
    Mazen Habbal
    N.B, : My laptop info are:
    Model Number PQG32E-01P018AR
    Thank you in advance

    don't expect toshiba to fix problems like this.
    they replaced motherboard on my laptop and ever since the remote was not working.. it would turn the laptop on but was unresponsive thereafter. thing's we have tried:
    - install software and drivers for remote again
    - reinstall windows
    - replace reciever
    - change motherboard
    - change remote
    - terminate and restart relevant processes
    - downgrade bios
    - update bios
    - combinations of the above
    on several occassions Toshiba told me they were able to replicate and solve the problem but after trying it on my laptop they remembered that actually their one was slightly different.
    almost a year later, i still have a non-working remote
    my theory is the laptop leaves factory with certain software which Toshiba fail to include in recovery partition and\or bios that is available through them... so once you lose the factory components (i.e.the original motherboard) you also lose some necessary files with them.

  • Sqlplus in Windows and Linux display same data diversely

    Database 10.2.0.1.0 on Linux.
    NLS parameter from nls_database_parameters:
    NLS_CHARACTERSET = AL32UTF8
    NLS_NCHAR_CHARACTERSET = AL16UTF16
    Environment variable:
    NLS_LANG=ESTONIAN_ESTONIA.AL32UTF8
    When I insert characters like öü from sqlplus they appear correctly.
    But if I try to insert character ä (test is table with one varchar2(19) column)
    insert into test values('ä');I recive:
    ORA-ORA-01756: quoted string not properly terminated I don't understand why can't I insert that character.
    When I use sqlplus on my Windows machine I see ?? instead of characters öü which I inserted successfully in Linux.
    On Windows I'm able to insert characters öüä into table test. I can aslo quey them and see correctly. But if I query them from Linux sqlplus then I see just one starnge caracter ā instead of öüä.
    On Windows I have NLS_LANG=ESTONIAN_ESTONIA.BLT8MSWIN1257
    Can somebody help me with that issue. I'm very confused. I would like to be able to insert and see character öüä from both environments.

    A          DUMP
    öüä        Typ=1 Len=8 CharacterSet=AL32UTF8:
    e2,80,9d,c2,81,e2,80,9e
    k??k       Typ=1 Len=4 CharacterSet=AL32UTF8:
    6b,f6,f6,6b
    ??         Typ=1 Len=2 CharacterSet=AL32UTF8: f6,fc
    ?          Typ=1 Len=1 CharacterSet=AL32UTF8:
    f5Before you worry about the output/display aspect, you have illegal data stored in the db. E.g. there is no single-byte code points F5, F6 or FC in UTF-8.
    This is probably due to having char set part of NLS_LANG incorrectly set. In the Linux system, are you sure it is setup to produce utf-8? I think the Linux system uses a single-byte Iso Latin encoding.
    What code page are you using on the Windows side?
    Also you have (in the first row above) special Windows characters right double quote marks (U+201D) and double low quote marks (U+201E), plus a control "character", not defined in Windows-1257. The Windows special characters does not exist in the closest-matching Iso char set (Latin-4?).
    How are you inserting the data? What does the users use to enter the data?
    Message was edited by:
    orafad

  • How do I fix my left shift key? Any open windows leave and make the desktop visible.

    How do I fix my left shift key? Any open windows leave and make the desktop visible. I have tired to go into system preferences and reset all of the keyboard settings to default but the issue hasn't gone away.

    You are not running as administrator, I think, which may be required and the only way to properly work and register. Also check for compatibility mode settings, UAC and DEP, all of which may require to be adjusted for a legacy app like PS CS2 to run properly. Also turn off Aero and switch to a conventional visual theme. The brush issue may be related to that or is a more generic problem with your graphics card and mouse config, but since you didn't provide any info on that, it will be hard for anyone to advise.
    Mylenium

  • After i install window 8.1, i can't see window icon in my start up disk, i see only mac icon 10.10, but i can see both mac and win icon in my window boot camp control. i want to see window icon in my mac Yosemite 10.10.2,system preference, start up disk

    After i install window 8.1, i can't see window icon in my start up disk, i see only mac icon 10.10, but i can see both mac and win icon in my window boot camp control. i want to see window icon in my mac Yosemite 10.10.2,system preference, start up disk.

    Third-party NTFS software interferes with the Apple NTFS drivers, which control whether you can see the Bootcamp partition in the Startup Disk option. As a test, can you uninstall all third-party NTFS software and check System Preferences -> Startup Disk?

  • I cannot use a website I need to use, with Firefox 5.0. So, I need to uninstall and go back to 3.5 or 3.6. Please advise. Also, my control panel locks up since Windows Explorer has pbms. Which is why I am using Firefox instead. Thanks for any help!

    I cannot use a website I need to use, with Firefox 5.0. So, I need to uninstall and go back to 3.5 or 3.6. Please advise. Also, my control panel locks up since Windows Explorer has pbms. Which is why I am using Firefox instead. Thanks for any help!

    ''I figured it was going to be FAFSA causing your problem.''
    Install Portable Firefox 3.6.x to your hard drive for that one website. It won't affect your current Firefox installation at all. <br />
    http://portableapps.com/apps/internet/firefox_portable/localization#legacy36

  • I can not install the Icloud control panel on a new windows 7 pc wtih outlook 2010. I get "you can't sign in because of a server error" .

    I can not install the icloud control panel on a neww windows 7 pc with outlook 2010. When i try I get "you can't inssign in because of a server error"
    I have :
    turned of the windows fire wall and antivirus protection
    stop and started the bonjour service
    done the "netsh winsock reset"
    updated all the drivers
    I can login to icloud.com with no problem and view my calendar.
    Apple chat also provide me with a test id and password to try to install the icloud panel, I got the same error message???
    Anyone have a fix?
    Thanks,

    To solve this problem you can:
    Windows 7
    1) Click on Start
    2) Type cmd and press enter
    you will see a new window
    3) type "netsh winsock reset"
    4) restart the machine
    should work.
    If still does not work you must disable the firewall and antivirus
    Para solucionar este problema debes hacer lo siguiente:
    en Windows 7
    1) click en Inicio
    2) escribe CMD y pulsa enter
    te va a aparecer una nueva ventana
    3) escribe "netsh winsock reset"
    4) reinicia la maquina
    deberia de funcionar.
    Si aun no funciona debes de deshabilitar el firewall y el antivirus

  • How to add document navigator control into a plug-in window?

    I develop a filter plug-in for Photohsop CS2, but I wonder how to add navigator controll in the plug-in window. The navigator works int the same way like Photoshop navigator - moving cursor on the navigator makes the image scroll in the main previes. I want to have both, the navigator and a main preview window in the filter plug-in window. I saw it many times, however, I did not find example in Photoshop CS2 filter SDK.
    If somebody could point me to a resource, that could get me to the right track, i would be glad.
    Thanks
    Rene.

    Chris hello,
    It is good to know that plugins can not control the docunment view in Photoshop. However, my idea was to have preview in Photoshop plug-in window, and then to have small navigator that would scroll the preview. Exactly like on this Photoshop plug-in:
    http://data.unipixels.com/screenshot.jpg
    Please notice tha navigator on the right side of the window. Moving the red rectangle in it will scroll the middle preview window.
    With regards,
    Rene.

  • I want to install PSE 13, but want to uninstall PSE 12 first. It is not listed in the control panel. I have windows 7. How do I uninstall it?

    How do I uninstall PSE 12? It is not listed in the control panel. I have windows 7. I want to install PSE 13.

    Does the iPod show in My Computer? If so then go to My Computer>iPod>DCMI Folder and copy them from there to where you want them

  • Designer Control automaticaly opens its Preview Window

    Hey Guys
    I am having a problem and hope you can help to fix it up
    Here is the code i use to open a new Report Using RDC XI with VB6
    Set m_Report = Nothing
    Set m_Report = m_Application.NewReport
    CRDesignerCtrl1.ReportObject = m_Report
    The Above Statements work fine when New Report is created for the first time.
    The Problem is at run time, when i create another new Report (Using Statements above mentioned) Designer Control automaticaly opens its Preview Window tab "Main Report Preview".
    As I am using My own Viewrer Control, I don't want this Tab to be opened. I have searched a lot but yet to find any help
    Kindly let me know what can i do TO NOT LET IT OPEN
    Your Cooperation will be very much appreciated!

    Thank Ludek for your responce..
    Let me explain code
    Referecnes Added:
    Crystal Reports Active X Designer Design And Run-Time Library 11.5
    Embedable Crystal report Designer Control libaray 11.5
    Crystal Active X Report viewere Library 11.5
    Code
    Dim m_Application As New CRAXDDRT.Application
    Dim m_Report As CRAXDDRT.Report
    ' Code Executed for new Report Button
    Set m_Report = Nothing
    Set m_Report = m_Application.NewReport
    CRDesignerCtrl1.ReportObject = m_Report
    '  Set the report source.
    CRViewer1.ReportSource = m_Report
    '  Set the viewer to view the report.
    CRViewer1.ViewReport
    CRViewer1.Zoom 1
    When this code is executed for the 1st time (If i click New Report Button) It works fine. but if I click New Report button again  "Main Report Preview" tab of Embedable Designer Controls opens automatically. This tab is opened precisely for execution of this statement
    CRDesignerCtrl1.ReportObject = m_Report
    More to add, if i click New Report Button again, it raises error "Index out of range".
    If hope this explain my situation, if there is anything else, let me know.
    Your help will very much be appreciated!
    Abdul Rehman

  • Executing sqlplus in windows batch file - URGENT

    Hi
    Is it possible to run sqlplus.exe thru batch file as follows.
    set PATH=%PATH%;C:\oracle\product\10.2.0\client_1\BIN;
    host sqlplus userid=test1/test12@testdev
    sELECT * FROM CASESTATUS
    Thanks
    murali

    hI
    It did not work. I have this question.
    1. Do I have to run this opening SQL/PLUS and then submit
    @C:\Test\SQL2.bat
    2. Or from Windows command run SQL2.Bat
    I tried both of them , it did not work. If I try from windows , I am getting SQLPlus connection window at all.
    Please help me.
    Murali
    set PATH=%PATH%;C:\oracle\product\10.2.0\client_1\BIN;
    sqlplus userid=test1/test12@testdev
    Ok so far but your select needs to be in a file if you want this to be executed.
    Put this in, f.ex, run.sql
    >>
    sELECT * FROM CASESTATUS
    >>
    then you can use
    sqlplus userid=test1/test12@testdev @run.sql <complete path if needed>

  • Every cut I make in the sequence window leaves one remaining frame from its deleted neighbor clip. How do I turn off this feature - It is driving me mad.

    Every cut I make in the sequence window leaves one remaining frame from its deleted neighbor clip. How do I turn off this feature - It is driving me mad.

    Here are 3 pictures detailing what I'm experiencing.
    Picture 1; clip 1 tail frame.
    Picture 2; clip 2 head frame.
    Picture 3; clip 2 head frame is now tail frame of clip 1.
    does this help describe what is happening? Basically every cut I make
    leaves an unwanted frame as a ghost of the missing cut.
    best,
    Fred
    On Wed, Dec 10, 2014 at 4:50 PM, Kevin Monahan <[email protected]>

  • ActiveX control is not working with windows NT

    I've have a stand alone application which uses an activeX control.  The application was compiled using Labview 7.1 on a Windows XP machine.  The application will run without any problems on Windows XP and Windows 2000, however the activeX control will not work with Windows NT 4.0.  The activeX control is registered, and I have also compiled the application on a Windows NT 4.0 machine.  I do not receive any error messages, the application will start but will not communicate with the activeX control.  Does anyone have any suggestions?  

    Hello,
    Have you tired running the VI by itself (not exe) on the NT machine? Make sure you are doing adequate error checking in your code. It could be possible that the application is generating an error which in not handled appropriately. Also which service pack do you have installed on the NT machine? Please look at the release notes for LabVIEW 7.1 here.  
    Regards,
    Chetan K
    Application Engineer

  • The Transport Control Buttons on the QuickTime window

    Hello every body !!!
    The Transport Control Buttons on the QuickTime window in Logic 9.1.7 disappeared…
    Some one could explain me why and how to recover them ?
    Thank you

    Re Hello
    Finally I noticed that buttons are not any more there in 64 bits mode but they appear in 32 bits...
    Thank you

  • I have set up iCloud control panel 3.1 for Windows 7 but when I add a contactact on my PC the information is not updating my iPhone and sames hold true for my calendar. Any suggestions?

    I have set up iCloud control panel 3.1 for Windows 7 but when I add contacts on my Windows 7 desktop it is not updating to my iPhone 5 and the same holds true with my Calendar.  Any suggestions?  Thanks

    The version that came with Microsoft Office Home and Business 2010 and says Version 14.0.7106.5003 (32 Bit) and the e-mail I have set up as POP / SMTP.  Thanks for your reply.

Maybe you are looking for

  • FTP error in SAP PI 7.0

    Hi, PI 7.0 under OS Windows 2003 server, just want to cvs format file transfer to other server in operating system (using same network) via FTP + SAP I got that messages error messages: "Message processing failed. Cause: com.sap.aii.af.ra.ms.api. Rec

  • Error in Master Detail Form

    Hi All, i m getting the following error when i m creating a master entry ... ORA-06550: line 5, column 23: PL/SQL: ORA-02289: sequence does not exist ORA-06550: line 5, column 16: PL/SQL: SQL Statement ignored ORA-06550: line 8, column 16: PLS-00364:

  • LR HTML Web Gallery -- modified version with great features is available

    For anyone using the default Lightroom HTML Web Gallery, one of our associates here has offered a modified version with some great added features. John Beardsworth's site -- Lightroom Solutions - http://lightroomsolutions.com/ -- is a wonderful resou

  • JSP AND BEAN PROBLEm   java.lang.nullpointerexception   help me please

    hello i have a problem, when i open login.jsp and enter the form i have nullpointerexception. i don't understand where i wrong... i use tomcat 5.5 ... sorry for my english i'm italian and i speak only italian :( login.jsp this is the code of the java

  • Why is live and video streaming so slow on my MacBook Pro?

    why is live and video streaming so slow on my MacBook Pro?