SQL Plus command line: Arrow keys not giving previous commands back

As in tittle, I'm using sqlplus on Windows XP and OEL 5.5 and I can use up,down arrows in Windows to select previous command but I can't do it in Linux.
My DB is 11gR2 on OEL 5.5 .

Hi,
Sorry, I don't know anything about Linux. The up-arrow feature on Windows seems to be provided by the operating system, not by Oracle. I would guess it's that way on Linux, too.
In Windows, there's one more thing that affect this: Properties -> Options -> Command History. Perhaps Linux has something similar.
In Windows (not just SQL*Plus or Oracle programs) if you right-click on the title bar at the top of a window, uyou get a small drop-down.
If you select the last item, "Properties", you get a small window with 4 tabs, the 1st of which is "Options".
On that "Options" tab, there are some settings for "Command History", oncluding Buffer Size. That seems to be the number of old ommands it will keep. You can set it to 0, but that seems to still keep 1 old command available via up-arrow.
Sorry I don't know any more.

Similar Messages

  • Command Line argument is not valid please verify the switch.......???

    hello frends
    We are currently getting this error.
    Command Line argument is not valid please verify the switch.
    The code used to send the mail is
    mail ="mailto:?subject="+escape(subject)+"&body="+escape(email);
    document.location = mail;
    return ;
    this is a javascript code to open outlook mail to send emails.
    the main problem is,when we write
    mailto:?subject=abc&body=uvwxyz......
    then we should be getting abc as subj and uvwxyz as the body..,and we r getting it....
    but when we include ""(double quotes ) in either the subject or the body..,it is showing the error line mentioned above.
    and if em using the html tags in the body part..,it's giving everything including the tags,which z not desired.
    kindly help me .....

    shikha6g wrote:
    i've thought..,you people are brainy enough to help me out in the javascript too...!!so..,i relied on this forum and have posted my problem,coz solving this thing was really imp for me.
    i din't knew,dat i'll get such circastic replys here.sorryTo me, being brainy implies that you are a smart thinker and good at problem solving. It doesn't mean that you know a language that you never learned.

  • Simple command line parameter does not seem to work; options?

    All,
    I asked an earlier question about getting an application (Olyvia) to work as a remote app.  Specifically, we were having issues with it not wanting to run for more than one user at a time.
    I found that I needed to add the "-m" (multi-user switch) to enable it to run for more than one user at a time.  I tested this by logging on to the server by two different people, bringing up a command prompt, and adding the "-m"
    to execute line.  so, "xvViewer.exe -m"  Worked great.
    Unfortunately this solution does NOT work when setting the same "-m" option in the command line parameters "Always use the following command line parameters"
    I do note that the published app name is Olyvia, but the actual application file is "xvViewer" and is called an "alias."  I'm wondering if the parameter is not being passed to the actual executable?
    Am I going to have to create a vbscript/powershell/whatever that calls the executable with the correct parameter and publish that script instead?
    Thanks,
    GeoffW

    Hi,
    Generally by passing the command line it must work but if for any specific application you are facing any error then you can try for the script\batch file and then publish as RemoteApp and check the result.
    Thanks.
    Dharmesh Solanki
    Please remember to mark the replies as answers if they help and unmark them if they provide no help. If you have feedback for TechNet Support, contact [email protected]

  • Command arrow key not working in iCal

    Command arrow to navigate between day, week or year now not working.  Command T works for example, just not the arrow keys for scrolling through the diary.

    Hello Angela. A bit of info often helps. Basic is machine type and OS version. Since you say "now not", presumably it used to, so what have you changed since it last worked? Does it still work in eg TextEdit (start/end of line)?
    Are you syncing your calendars with anything?

  • My keyboard keys are giving opposite commands..

    my volume keys are giving commands like swiping the creen to the left or up and the keys will play my alert sound when i type how do i get back to normal settings?

    I suggest you take computer in to an Apple store for a full diagnosis. That is free. If hardware replacements are needed, and the MBP is not under warranty, you will be told how much the repair will cost.

  • Work from command line but did not work from JSP call

    I have a test class that should perform Triple DES. When I run it from command line work ok, but when runs from JSP it give me an error:
    Exception:
    ======================================
    javax.crypto.IllegalBlockSizeException: Input length not multiple of 8 bytes
    put 3 check points inside the code, and run it from command line and here is the result:
    C:\Documents and Settings\salasadi\Desktop\DigitalMailer>java TDESStringEncrypto
    r 123456781234567812345678 "CID=103&A
    this is pass 3
    this is pass 1
    this is pass 2
    here is the class:
    import javax.crypto.*;
    import javax.crypto.spec.*;
    import java.security.*;
    import java.io.*;
    public class TDESStringEncryptor
    static final int DATA_STRING_LENGTH = 64;
    public static void main(String[] args)
    try
    TDESStringEncryptor enc = new TDESStringEncryptor();
    String value = enc.Encrypt(args[0], args[1]);
    System.err.println(value);
    catch (Exception ex)
    System.err.println(ex);
    public String Encrypt(String inkey, String data)
    throws Exception
    // convert key to byte array and get it into a key object
    byte[] rawkey = inkey.getBytes();
    DESedeKeySpec keyspec = new DESedeKeySpec(rawkey);
    SecretKeyFactory keyfactory = SecretKeyFactory.getInstance("DESede");
    SecretKey key = keyfactory.generateSecret(keyspec);
    Cipher cipher = Cipher.getInstance("DESede/ECB/NoPadding");
    cipher.init(Cipher.ENCRYPT_MODE, key);
    byte[] out = cipher.doFinal( padString(data).getBytes( ) );
    System.out.println("this is pass 1");
    return byteArrayToHexString( out );
    private String byteArrayToHexString(byte in[])
    byte ch = 0x00;
    int i = 0;
    if ( in == null || in.length <= 0 )
    return null;
    String pseudo[] = {"0", "1", "2", "3", "4", "5", "6", "7", "8",
    "9", "A", "B", "C", "D", "E", "F"};
    StringBuffer out = new StringBuffer( in.length * 2 );
    while ( i < in.length )
    ch = (byte) ( in[i] & 0xF0 );
    ch = (byte) ( ch >>> 4 );
    ch = (byte) ( ch & 0x0F );
    out.append( pseudo[ (int) ch] );
    ch = (byte) ( in[i] & 0x0F );
    out.append( pseudo[ (int) ch] );
    i++;
    String rslt = new String( out );
    System.out.println("this is pass 2");
    return rslt;
    private String padString( String s )
    StringBuffer str = new StringBuffer( s );
    int strLength = str.length();
    for ( int i = 0; i <= DATA_STRING_LENGTH ; i ++ )
    if ( i > strLength ) str.append( ' ' );
    System.out.println("this is pass 3");
    return str.toString();
    And here is the JSP call:
    TDESStringEncryptor encryptz = new TDESStringEncryptor();
    String cryptodata1 = encryptz.Encrypt(Keyz,cryptodata);
    Thanks

    Please use [ code ] tags when posting code.
    Please indicate the line that causes the exception.
    Please indicate what Keyz and cryptodata is.

  • Up and Down Arrow Keys Not Working

    I have had the HP Pavilion g6t-1b00 CTO Notebook PC for a year or two now. I've been having a couple of problems with internet connectivity and putting my computer on "sleep".
    However, few days ago, my keyboard randomly started acting weirdly. When I would try to type certain letter/numbers, they would come out differently. 
    Ex. pressing the space bar would show up " ./M" instead
    I tried restarting my computer many times and installed a BiOS update which fixed all of my issues except for my up and down arrow keys. As of now, they have no function; I can't scroll with them and they don't seem to be taking on the role of another key. I have tried using the keys on different programs. Using the touch pad to scroll works but I still can't use the up and down keys.
    Is there anyway to get the up and down arrow keys to work again?
    This question was solved.
    View Solution.

    Hello Larasoft,
    I understand you’re up and down arrow keys are not functioning, is that accurate? I will do all I can to help you with this issue.
    I want you to access the setup menu to test the keys out, see instructions below.
    1.       Shut down the computer.
    2.       Locate the F10 key across the top.
    3.       When you turn the computer back on immediately start tapping the F10 key repeatedly.
    4.       If successful you should be on setup utility screen. What’s different about this is you can only use you arrow keys to navigate.  
    5.       Try working the arrow keys  up and down on different menus and see if they work.
    6.       Once you tested it press F9 to setup defaults and then press F10 to save and exit.
    If I have been helpful or if you’d like to say thanks you can click the white star under my name to give me Kudos.  I really appreciate it.
    Please respond at your earliest convenience with you results.
    Thanks
    Clicking the White Kudos star on the left is a way to say Thanks!
    Clicking the 'Accept as Solution' button is a way to let others know which steps helped solve the problem!

  • Up and Down Arrow Keys Not Functioning in CS2 for Windows

    A little over 6 months ago I purchased Adobe Photoshop CS2 for Windows XP and installed it on my work PC and my home PC. Everything works fine and dandy on my work PC, however when I try to do some editting on my home PC there are some quirks that I can't figure out. The main thing is that my Up/Down Arrow Keys do absolutely nothing. Whether I am trying to edit text and scroll through my fonts or if I'm trying to nudge a part of a picture, the Arrow keys do nothing.
    Does anybody have any suggestions for me?
    Any help would be greatly appreciated.
    Thanks.

    >but that's beside the point.
    it's not. what you describe is typical behavior of a high quality cracked version that's been floating around. a great copy with shrink wrap, nice manuals, etc. but you've been burned. usually the discs are stamped "made in singapore".
    try to get your money back.

  • Arrow key not functioning

    My arrow keys are not functioning when I tried to use them to move my objects. They work fine in InDesign and Photoshop, but not responding at all in Illustrator. Anyone knows why?
    Thanks!

    Always mention the version of Illustrator & the OS you are using.
    Check if by any chance the 'Keyboard Increment' in Preferences (Ctrl/Cmd-K) is set to 0.

  • HP G62-348CA number keys and arrow keys not working

    Good day Experts! Can someone help me fix my laptop? I got G62-348CA unit. only number 5 and 6 in my number keys are working and also arrow keys down and right are not functioning. at first it was built with windows 7 home premium 64bit but then i have to reformat my laptop with windows 7 ultimate but i dont have available 64bit so i install 32bit of the OS. before i install the OS, number keys and arrow keys are working fine but after I reformat my laptop with ultimate 32bit, the said keys are not working. please guys help me. im having trouble with my unit and i dont know what to do. its pretty bad i dont have any idea. all the best with you guys and i'm hoping for your fast and kind response. thank you!

    Because the operating system does not affect the keyboard in that way . .. If the operating system has issues it would switch keys or assign wrong characters.
    I have replaced over 200 keyboards because of such issues

  • How to connect to SQL*Plus and issue a query all in one command?

    Hi everyone,
    Does anyone know of a way to connect to a db with SQL*Plus, and issue a simple query, all with one command?
    I know that I can save a .sql script with a query, then do this:
    sqlplus user/pwd@db @myscript.sql
    But I'm wondering if there's any way to put the actual query right into the connect command, something like:
    sqlplus user/pwd@db "select count(*) from dba_tables;"
    Does anyone know of a way to do this?

    you didn't mention windows or unix. so, here's a link with both
    Re: windows sql script
    it also has a link to another thread on how to deal with the parens when using ehco in dos.

  • Linux: Pipe to stdout displays on the command line, but does not redirect to file

    Hello all,
    Several years ago, I was given the task of making a LabVIEW application run from the Linux command line with arguments.
    Now I have the same task, and I naively thought, "Sure, no problem."  So, for my stdout output, I used something very similar to the following:
    It seems to work fine in a compiled application, as it always has, and the prescribed string appears on the command line window.  However, the person testing the functionality here remarked that he couldn't successfully redirect output to a file.
    For example:
    If my compiled binary is "LabVIEW_executable", let's say it is called in the following manner:
    /foo/bar> ./LabVIEW_executable >foo.txt
    Since the desired output appears on the command line, you'd intuitively think that it would also appear in foo.txt, but it does not.  After tinkering for a while and coming up with very little in the way of search results, I thought I'd ask here.
    Has anyone ever done this before?
    I am very grateful for any assistance.
    Regards,
    Jim

    Ahhh, thanks a lot!
    Whoops.  Looks like I made a novice mistake.
    Nice icon, by the way. 

  • The -profile command line switch is not passed to the windows 7 jumplist properly.

    I start Firefox with a shortcut like this one: "C:\Program Files (x86)\Mozilla Firefox\firefox.exe -no-remote -profile SomeProfileButNotTheDefaultOne -win7appid SomeUniqueAppId".
    When pinning to the Windows 7 taskbar, the jumplist items "New Tab" and "New Window" ignore the given command line parameter -profile and open a new tab or window with the default profile instead of the given one.
    The program itself handles the parameters correctly; alas, the jumplist entries do not. Is there any way to convince the jumplist to use the given command line parameters as well?

    As I said: "The program itself handles the parameters correctly." -profile (lowercase) itself works fine. Apperently the jumplist ignores ''any'' command line parameter but starts a new process with the "-browser" parameter.

  • Wired keyboard-number pad&right arrow keys not working-serial # help!

    Hello to whomever reads/replies -
    I have a wired keyboard for my iMac(it's not the aluminum imac, but the version before it with the keyboard and mouse that came with it). I got this keyboard June 2007 after the original keyboard sent to me had problems with it with some keys not working properly. And now about a week ago my right arrow key and the zero, decimal point, one, two, three and enter button on the keypad stopped working out of the blue. One night they worked and the next they didn't with nothing being done different, nor was the keyboard stored differently.
    I've cleaned the keyboard inside and out twice and tried pushing the little squishy thing under the keys when you pop them off and there's no response with those being pushed either so something's got to be wrong with the keyboard itself.
    Also, when I go online to look up the warrenty on this keyboard, #1 i can't find where it tells me where the serial number on the **** WIRED keyboard is, just gives me where i can find it on the WIRELESS keyboards. Ugh. So I looked under my keyboard and punched in the numbers and letters that i found on a little silver plate just below where the wire and USB ports are in the top of the keyboard and I get an 'invalid serial number' error message.
    So.. could anyone help me with these problems? I'd really rather not call tech support since it took me over two hours to explain to the man that I spoke with last year about my other keyboard and I just don't have the time! Thanks in advance!
    Sharon

    Hello sharon:
    Welcome to Apple discussions.
    Run, don't walk to the phone. Call Applecare and indicate you have a warranty problem. The KB is (or will be shortly) out of warranty. It may take you some time, but it may save you some money in the long run.
    Incidentally, it appears to me that your KB is, indeed, broken.
    Barry

  • Arrow keys not working on CS2 64 bit system

    Recently purchased a new computer with 64 bit system 4meg ram. I installed CS2 and everything seems to be working except the arrow keys and the control +/- features. Arrow keys are working in other programs like word and publisher. Any suggerstions?

    I had the same issue on one machine but not another, so I compared the Photoshop install directories and found that (among other things) Tw10122.dat was different between the two. My only guess is that the version we have is localized to a different country, and this is causing the issue. Perhaps a common pirated version is also localized to a different country and that's why this issue is common among pirated versions, even though ours are not pirated.
    ...Or maybe they are and we just don't know it! Either way, replacing this file with my other version fixed it for me and maybe it will for you, too. Here's what to do:
    Close Photoshop (if opened)
    Navigate to your Photoshop install directory. This is c:\Program Files (x86)\Adobe\Adobe Photoshop CS2\ by default on x64 systems or c:\Program Files\Adobe\Adobe Photoshop CS2\ on x32.
    Find Tw10122.dat and rename it to  Tw10122.dat.bak.
    Download my attached  Tw10122.dat to your install directory.
    Launch Photoshop and test it.
    If the issue persists, or anything else seems wrong with Photoshop, restore your old  Tw10122.dat by deleting mine and renaming  Tw10122.dat.bak to its original filename. Please let us all know if this works for you.

Maybe you are looking for

  • Unable to get Material No and Description from VBAP

    Hi Gurus Can anyone please help me to get material number and description from vbap table, The report is fine but I am unable to get material no and description. regards report ZCHGDOC_BY_SALES no standard page heading                           line-

  • With my upgrade to iOS 6 I lost all my Safari bookmarks. How do I get them back?

    Safari bookmarks were lost with iOS 6 upgrade.  How do I get them back?

  • Restarting a monthly subscription Acrobat Pro XI

    From your experience can a person restart their monthly subscription of Acrobat Pro XI as their needs require i.e.: 2-3 times a year. And if so how easy is it to do that? I am using the trial version and would love to have it, but my needs just don't

  • Upload speed is extremely slow. I can't figure out why.

    My problem is my iMac uploads files slower than a modem from the 1980s. The download speed of my cable internet is great, no problems getting video, music, etc. But if I try and FTP or even send an email attachment larger than 35K it takes a ridiculi

  • Where did "reduce file size" go?

    My co-worker has acrobat reader version 7 and has a "reduce file size" option under the "file" menu.  I am on verion 9 and cannot find this option.  Can anyoen point me to where I can find it.  Thank you.