Problem with up-arrow on a long command line

I often use the "terminal" window to open up a connection (via ssh) to linux and unix boxes.
While I'm logged into the remote computer and I try to edit a previous command, I notice that my
display gets all fouled up if the command that I'm trying edit is very long. I'm unable to do the
usual unix tricks of up-arrowing to the command and then backspacing through it to perform my edits. Often my only recourse is to retype the entire command which is a pain and prone to error.
I'm using bash as my Mac shell and tcsh on the remote machines.
Has anybody experienced this? Any hints?

It's a visual-only problem with Terminal.app.
Other than the cosmetic effect, you will find that the editing works as you expect - you might just have to be psychic with regards to telling how far to backspace and where/when to make your edits.
The problem has been there for a long time. You might have better luck setting the terminal to a different emulation (Terminal -> Preferences -> Declare terminal as:) to see if one of the other emulations work for you, or use a different terminal application such as iTerm

Similar Messages

  • Numerical Characters Formatting Problem With XML Report Output Run From Command Line

    Hi,
    Problem description is:
    When a BI Publisher concurrent job is submitted as a child job of a PL/SQL type concurrent request, the locale in OPP is not set same as of RTF template selected. This results in number format and date format localization not work as expected. For example, when BI Publisher child job is submitted after attaching RTF template (through fnd_request.add_layout API) having language-territory as de-DE, the number format on PDF output comes out as 9,999.00 instead of 9.999,00.
    Points to notice:
    1. In OPP log we noticed that xslt._XDOLOCALE always has value EN-GB irrespective of language-territory of attached RTF template
    2. NLS_NUMERIC_CHARACTER column in fnd_concurrent_request table has no value for BI Publisher job. We can set it up through fnd_request.set_options API but it is not a desired solution. We need that OPP should automatically choose correct number format depending on locale of selected RTF template
    3. When same child BI Publisher job's output is re-processed through "XML Publisher Report" program and de-DE locale is chosen for RTF template then the number format localization works fine.
    Please help us to understand root cause of this issue and how it can be resolved.
    Thanks!

    Hi,
    Problem description is:
    When a BI Publisher concurrent job is submitted as a child job of a PL/SQL type concurrent request, the locale in OPP is not set same as of RTF template selected. This results in number format and date format localization not work as expected. For example, when BI Publisher child job is submitted after attaching RTF template (through fnd_request.add_layout API) having language-territory as de-DE, the number format on PDF output comes out as 9,999.00 instead of 9.999,00.
    Points to notice:
    1. In OPP log we noticed that xslt._XDOLOCALE always has value EN-GB irrespective of language-territory of attached RTF template
    2. NLS_NUMERIC_CHARACTER column in fnd_concurrent_request table has no value for BI Publisher job. We can set it up through fnd_request.set_options API but it is not a desired solution. We need that OPP should automatically choose correct number format depending on locale of selected RTF template
    3. When same child BI Publisher job's output is re-processed through "XML Publisher Report" program and de-DE locale is chosen for RTF template then the number format localization works fine.
    Please help us to understand root cause of this issue and how it can be resolved.
    Thanks!

  • Problem with program hanging randomly on certain commands from win 7 pro client to SB Server

    Having a problem with program hanging randomly on certain commands from Win-7 Pro Client to SB Server Both 64-Bit
    Five other slower XP-Pro 32 Bit systems though they are older and slower systems do not seem to hang as readily if at all.
    It has been very frustrating as the Client-System, SB-Server and Program should work w/o any hitches, but this seems to work fine @ times and then hang randomly.
    Would appreciate any and all suggestions in assisting.... JimBAgde-MSS  

    You can try this, as I have had similar problems with another MS Access .MDB file and slow access before. This fixed my problem for me. On the slow computer, make sure the program is set to see the .mdb file via UNC path, not a mapped drive letter. ex.
    USE:  \\yourserver\shared\dental\file.mdb
    DO NOT: S:\\shared\dental\file.mdb
    hope this helps

  • Bash: wrapping long command line [SOLVED]

    I'm trying to configure my bash to wrap long command lines.  I am looking for a behaviour similar to tcsh where, at the border of the window,  the command is continued on the next line.  In bash, the command continues at the begining of the same lines wich is messy.  I tried using
    set horizontal-scroll-mode on
    in my ~/.inputrc but the continuation doesn't start at the windows border. I can post screenshots if that would help.
    Thanks.

    putting the line in .bashrc have no effect.
    Here is my .bashrc
    export EDITOR=emacs
    export PAGER=less
    export LESS="-f -r"
    export BROWSER=firefox
    PS1='[33[01;34m]#[33[00m] 33[01;31m]u@H[33[00m]33[01;39m] w $33[00m] '
    # create an xauth key for root user
    umask 377
    /usr/X11R6/bin/xauth extract /tmp/user.xauth $DISPLAY
    umask 022
    #set horizontal-scroll-mode on
    source ~/.aliases
    my .bash_profile
    . $HOME/.bashrc
    my .inputrc
    "e[A": history-search-backward
    "e[B": history-search-forward
    set show-all-if-ambiguous on
    set page-completions off
    set completion-query-items 10000
    set horizontal-scroll-mode on
    The screenshots:
    With tsch (what I'm looking for)
    With set horizontal-scroll-mode off:
    If I continue to press the 'a' key, it overwrite the whole line and wraps at the window border.
    With set horizontal-scroll-mode on:
    It wraps 2 inches before reaching the window border.
    [/img]

  • Hello I suffer from a problem with your MacBook  There is a black line in screen

    Hello
    I suffer from a problem with your MacBook
    There is a black line in screen
    http://i48.tinypic.com/35apzz8.png

    Is the line always present? If you boot up the MacBook holding down the option key during startup so that you get to the startup manager, is the line still there?
    If so you have a hardware issue and it needs to be repaired. Contact Apple using their Express Lane if you live in a country where that is available, or call the appropriate phone number on this page if not. You can also take the MacBook in to an Apple store or service provider.
    Best of luck.

  • Hi guys. i have some problem with a link from a pdf on-line,when i click on it,the page adds a "%" at the and of the link and says "page not found" because of it

    Hi guys. i have some problem with a link from a pdf on-line,when i click on it,the page adds a "%" at the and of the link and says "page not found" because of it.
    This happens only when a load my pdf file on my server, because if i click on the link when the file is on my iPad, the page opens without problem.
    Any help please?
    thanx

    the % sign is often used when there's a space in a name. HTML doesn't like spaces so it fills them with % or %20
    try, on the end of that link, see if there's a space built into the page or the link when the page was made
    On the web address you may be able to 'backspace' at the end and erase that space to get the address, but whomever made the page possibly put a mistake in the link

  • Problems with Playback in CS5, CS4 (gotoAndPlay command)

    I've encountered a really frustrating issue a couple times now throughout the past year, both in CS5 and CS4.  I get to a certain point in a project where it just seems Flash does not want to cooperate anymore.  It's difficult to even explain what the issue is because it doesn't seem to  be triggered by one thing in particular, and often produces different results.  It's almost as if the file becomes corrupted. 
    Here's what will happen:
    *I will create symbols and place each one in its own frame on the main timeline, so that I can see them easily.  The assets will usually contain animation inside the symbol. When I'm working on a particular symbol, I will put a gotoAndStop command on the first frame of the main timeline, pointing it to the symbol I want to test.  So if I'm making a tea kettle, and have placed it on frame 4, I will put a "gotoAndStop(4);" command on the first frame.
    *At a certain point, I will start having problems with test movies using this gotoAndStop method, even if I don't change any the scripting.  Sometimes it will turn off layers that aren't supposed to be guides.  Other times it will show me a blank frame.  If I replace the gotoAndStop command with a  stop command on the particular frame I want, my project will display correctly. 
    If it were a relatively small project, I would deal with it and test everything with the Stop command.  However, this is a fairly big, complex project, and in my experience, this issue seems to contaminate other files that these assets are copied to.
    *I've double checked the scripts inside of the symbol, which are all simple "stop();" or "gotoAndPlay("label");" commands, and there's no error showing up in the Output window.
    *The most random things will trigger this problem.  Sometimes, it's adding a shape tween to the symbol.  Other times, I could turn off the background layer in the main timeline by making it a guide, and all my other layers would show up.  But this background layer shouldn't affect anything, as it only has a "stop();" command inside.  I was able to fix the problem once by saving the FLA as an Uncompressed Flash Document (xlf).  When I opened the new file, it would play back correctly, but eventually, it'd break again. 
    I was having similar problems in CS4 on another project.  In one case, we discovered we could fix the problem temporarily by deleting a single tiny line in one of the symbols.  Eventually, it would pop up again, though.  Another time, I could fix it by blowing away all the linkage identifiers, but that doesn't seem to be working this time. 
    It's very odd.  Anyone have any ideas?

    She didn't export it for CS4. If she had it wouldn't be an INDD file. She needs to export to IDML and you need to realize that this document may not look like it does in CS5.
    You do need to upgrade if you want to work successfully with this other designer. Worth noting, in case you don't, is that you cannot upgrade individual components of the suite. Personally, I recommend Design Premium as the best bang for the buck.
    Here's why: http://www.theindesignguy.com/purchase-advice.shtml
    You find a link a Amazon on that page, which as far as I can tell is the best place to buy with free shipping and for the most part no sales tax.
    Bob

  • Apps with long command lines

    All,
    I have an application which has quite a few parameters. Once sequenced, the path in the shortcut is prefixed with the local storage location of the sequence, pushing the path length to 278 characters which is byond what we can use in Windows.
    Can anyone advise ways around this?
    Many thanks

    Sure.
    I'm using App-V v5.
    The shortcut for the application would be:
    "c:\program files\application\application.exe param1 param2 param3 param4 param5" etc etc
    Translated into App-V 5 this would become:
    "C:\ProgramData\App-V\9816CD98-D85C-4BB3-8597-7615201EAC6D\63EA6D79-DA43-46FD-AAE4-F2E602C0A906\Root\application.exe param1 param2 param3 param4 param5 etc etc"
    So, the following causes the command line to exceed 255 chars:
    "C:\ProgramData\App-V\9816CD98-D85C-4BB3-8597-7615201EAC6D\63EA6D79-DA43-46FD-AAE4-F2E602C0A906"
    Instead of:
    "c:\program files\application"
    In my particular case 2 of the parameters are UNC paths and without App-V v5 the path is shorter than 255 chars. but with App-V v5 its over 270.
    Many thanks

  • Class files created with JBuilder don't run from command line ?

    I have created an Application with JBuilder which is
    running perfectly from within JBuilder.
    However when I tried to run the app from the command line using c:\java ...... I got an error
    Exception in thread "main" java.lang.NoClassDefFoundError: ItasApplication/class
    I also tried to compile my .java files with javac which
    worked perfectly but I got the same message when trying
    to run the app!
    Can you help me ?

    I did this and I got this message :
    Exception in thread "main" java.lang.NoClassDefFoundError: ItasApplication (wron
    g name: itasgui/ItasApplication)
    at java.lang.ClassLoader.defineClass0(Native Method)
    at java.lang.ClassLoader.defineClass(ClassLoader.java:486)
    at java.security.SecureClassLoader.defineClass(SecureClassLoader.java:11
    1)
    at java.net.URLClassLoader.defineClass(URLClassLoader.java:248)
    at java.net.URLClassLoader.access$100(URLClassLoader.java:56)
    at java.net.URLClassLoader$1.run(URLClassLoader.java:195)
    at java.security.AccessController.doPrivileged(Native Method)
    at java.net.URLClassLoader.findClass(URLClassLoader.java:188)
    at java.lang.ClassLoader.loadClass(ClassLoader.java:297)
    at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:286)
    at java.lang.ClassLoader.loadClass(ClassLoader.java:253)
    at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:313)

  • How can I print the test page with the Arabic type from the command line

    Hi,
    I have been trying to make the tool for printing the test page from the command line on the Arabic OS. I used "rundll32 printui dll printuientry" with "/k /n" options. My tool is to print the test page in all OS when pushing the
    button.
    Normally, in the Arabic Windows, the test page is printed with RTL type when printing the test page in the "Devices and Printers". But in my tool, the test page is printed with LTR type. I'm confused because of this result.
    Is it possilbe to print the test page with RTL type when using the "rundll32 printui dll printuientry"? If it is possible, could anyone give me the hint or information for resolving?
    Please check for me.

    Hello,
    Thank you for your post.
    Your issue is out of support range of Test Tools in Visual Studio 2010 and 2012 forum which discusses Visual Studio Test issues.
    I am moving your question to the moderator forum ("Where is the forum for..?"). The owner of the forum will direct you to a right forum.
    Best regards,
    We are trying to better understand customer views on social support experience, so your participation in this interview project would be greatly appreciated if you have time. Thanks for helping make community forums a great place.
    Click
    HERE to participate the survey.

  • Problem - reading an abitrary string from the command line in basic swing

    Hi,
    I'm sorry if this problem is a bit basic, but I've only just started swing in Java. Anyway, I'm trying to adapt a basic swing version of the HelloWorld class. When I try to pass an abitrary string from the command line to the label within the class, I get the following error,
    Exception in thread "main" java.lang.ArrayIndexOutOfBoundsException: 1
            at week2.HelloWorldSwing_commandline.main(HelloWorldSwing_commandline.java:31)
    Java Result: 1I must be missing something because I can't see where the problem is in the following code.
    import javax.swing.*;
    import java.awt.*;
    public class HelloWorldSwing_commandline {
        String message;
        private static void createAndShowGui(String message){
            JFrame.setDefaultLookAndFeelDecorated(true);
            JFrame frame = new JFrame("HelloWorldSwing");
            frame.setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE);
            JLabel label = new JLabel(message);
            Container content = frame.getContentPane();
            content.add(label);
            frame.pack();
            frame.setVisible(true);
        public static void main(String[ ] args) {
         createAndShowGui(args[1]);
    }Any help would really be appreciated.

    Hi,
    I've tried changing the index value to O in the main method, but I still get the same error.
    I'm running this in NetBeans 4.1, and when I try to run the class I get the error as listed above.
    Any ideas how to correct this error?
    Thanks

  • Create Users with Mail enabled in dscl or command line

    I have figured out how to use the dscl to add a user.
    example:
    $ sudo dscl . create /users/rothman uid 701
    $ sudo dscl . create /users/rothman gid 20
    $ sudo dscl . create /users/rothman realname "Ernest Rothman"
    $ sudo dscl . create /users/rothman passwd \*
    I went as far as to launch WorkGroup manager to enable Mail.
    The following gave me the key values:
    dscl . read /Users/test MailAttribute > mailsettings.txt
    When I try to replace from the txt file. WorkGroup Manager than believes the Mail is not enabled.
    How do I use dscl or a terminal command to enable the user with mail server and to use IMAP Only?
    I do not want to always have to remotely connect to launch Workgroup Manager to enable mail for new users.
    I hope you can help for I am new dscl or even NetInfo command line tools.
    I have tried these, but I guess it does't like how it is being restored into that property.
    dscl . create /Users/test MailAttribute `< mailsettings.txt`
    <?xml version="1.0" encoding="UTF-8"?>
    <dict>
    <key>kAPOPRequired</key>
    <string>APOPNotRequired</string>
    <key>kAltMailStoreLoc</key>
    <string></string>
    <key>kAttributeVersion</key>
    <string>Apple Mail 1.0</string>
    <key>kAutoForwardValue</key>
    <string></string>
    <key>kIMAPLoginState</key>
    <string>IMAPAllowed</string>
    <key>kMailAccountLocation</key>
    <string>192.168.181.132</string>
    <key>kMailAccountState</key>
    <string>Enabled</string>
    <key>kPOP3LoginState</key>
    <string>POP3Deny</string>
    <key>kUserDiskQuota</key>
    <string>0</string>
    </dict>
    I have also tried appending by doing something like this.
    dscl . create /Users/test MailAttribute '<?xml version="1.0" encoding="UTF-8"?>’
    dscl . append /Users/test MailAttribute ‘<dict>’
    dscl . append /Users/test MailAttribute ‘<key>kAPOPRequired</key>’
    dscl . append /Users/test MailAttribute ‘<string>APOPNotRequired</string>’
    dscl . append /Users/test MailAttribute ‘<key>kAltMailStoreLoc</key>’
    dscl . append /Users/test MailAttribute ‘<string></string>’
    dscl . append /Users/test MailAttribute ‘<key>kAttributeVersion</key>’
    dscl . append /Users/test MailAttribute ‘<string>Apple Mail 1.0</string>’
    dscl . append /Users/test MailAttribute ‘<key>kAutoForwardValue</key>’
    dscl . append /Users/test MailAttribute ‘<string></string>’
    dscl . append /Users/test MailAttribute ‘<key>kIMAPLoginState</key>’
    dscl . append /Users/test MailAttribute ‘<string>IMAPAllowed</string>’
    dscl . append /Users/test MailAttribute ‘<key>kMailAccountLocation</key>’
    dscl . append /Users/test MailAttribute ‘<string>192.168.181.132</string>’
    dscl . append /Users/test MailAttribute ‘<key>kMailAccountState</key>’
    dscl . append /Users/test MailAttribute ‘<string>Enabled</string>’
    dscl . append /Users/test MailAttribute ‘<key>kPOP3LoginState</key>’
    dscl . append /Users/test MailAttribute ‘<string>POP3Deny</string>’
    dscl . append /Users/test MailAttribute ‘<key>kUserDiskQuota</key>’
    dscl . append /Users/test MailAttribute ‘<string>0</string>’
    dscl . append /Users/test MailAttribute ‘</dict>’

    Got it to take as a single statement.
    dscl . create /users/test applemail "<?xml version='1.0' encoding='UTF-8'?> <dict> <key>kAPOPRequired</key> <string>APOPNotRequired</string> <key>kAltMailStoreLoc</key> <string></string> <key>kAttributeVersion</key> <string>Apple Mail 1.0</string> <key>kAutoForwardValue</key> <string></string> <key>kIMAPLoginState</key> <string>IMAPAllowed</string> <key>kMailAccountLocation</key> <string>192.168.181.132</string> <key>kMailAccountState</key> <string>Enabled</string> <key>kPOP3LoginState</key> <string>POP3Deny</string> <key>kUserDiskQuota</key> <string>0</string> </dict>"
    Doing the above showed in WorkGroup manager and I tested and the user received a email, so now I can automate adding users without needing the GUI. *Just to note you still have to setup mail services and your virtual, aliases files for postfix. This is just so the user is opened up to be allowed to receive email in the first place.
    I still could not seem to pipe a file into dscl command even though the file was a single line of text. I had planned to embed this in a single command so no big deal.

  • How I can run Firefox with enabled Responsive design mode from command line?

    I trying to find a way for running Firefox with already enabled Responsive mode with predefined resolution (for selenuim testing) for standartizing a viewport size in different OS`s.
    Thanks!

    These are all the command line options [https://developer.mozilla.org/en-US/docs/Mozilla/Command_Line_Options Command Line Options]

  • Problem with one table taking a long time to query.

    We have one table with around 6000 rows and 30 columns. It has 1 primary key, 5 indexes, 2 foreign Keys
    select primarykeycolumn from table
    it takes 0.003 seconds.
    If we add a where clause on an indexed column it takes 0.003 seconds approx.
    If we add a simple where clause on ANY column that is not indexed then it takes around 7 seconds!
    I have done a create table test as (select * from table) recreated all constraints and this again take milliseconds!
    The only thing i noticed was that the table had a long RAW in it and the phyical size of it via dba_segments was 777mb. I dropped this column but the speed has not improved. But then again the dba_segment size has not changed?
    Is there anything i can check or anything i can do to see where the problem could be?
    Hope i have made myself clear.
    Thanks in advance

    Is this what is required?
    PLAN_TABLE_OUTPUT
    Plan hash value: 3474698526
    | Id | Operation | Name | Rows | Bytes | Cost (%CPU)| Time |
    | 0 | SELECT STATEMENT | | 1 | 10 | 21582 (1)| 00:04:19 |
    |* 1 | TABLE ACCESS FULL| SFJR | 1 | 10 | 21582 (1)| 00:04:19 |
    recursive calls     1
    db block gets     0
    consistent gets     98098
    physical reads     95014
    redo size     0
    bytes sent via SQL*Net to client     725
    bytes received via SQL*Net from client     606
    SQL*Net roundtrips to/from client     2
    sorts (memory)     1
    sorts (disk)     0

  • Zsh: problem with up arrow binding and history function [SOLVED]

    The expected action of an 'up arrow' in the middle of a command using zsh is not right.  What do I have misconfigured?
    When I type the following:
    % cd /mnt<<UP ARROW>>
    I expect zsh to search my history of other commands that started with "cd /mnt" and auto complete that subset of my history.  In other words, ONLY history items that begin with "cd /mnt" but that isn't what's happening.  Upon hitting <<UP ARROW>> in the middle of a "cd /mnt" gives me entries in my history that begin with "cd" not with "cd /mnt" and I don't know why.  Where is the error in my configuration?
    Relevant config files:
    ~/.zshrc.
    As you can see, it will source the scriptlets in ~/.zsh as well.
    Thanks in advance!
    Last edited by graysky (2012-10-03 19:20:50)

    How about '{up,down}-line-or-beginning-search'?
    autoload up-line-or-beginning-search
    autoload down-line-or-beginning-search
    zle -N up-line-or-beginning-search
    zle -N down-line-or-beginning-search
    bindkey "^[[A" up-line-or-beginning-search
    bindkey "^[[B" down-line-or-beginning-search
    *isn't sure how your key definitions work, but they don't seem to work for me*
    EDIT: from man zshcontrib:
    up-line-or-beginning-search, down-line-or-beginning-search
    These widgets are similar to the builtin functions up-line-or-search and
    down-line-or-search: if in a multiline buffer they move up or down within the buf‐
    fer, otherwise they search for a history line matching the start of the current
    line. In this case, however, they search for a line which matches the current line
    up to the current cursor position, in the manner of history-beginning-search-back‐
    ward and -forward, rather than the first word on the line.
    Last edited by WorMzy (2012-10-03 15:15:52)

Maybe you are looking for

  • For Each Loop container help

    I have a package that inserts data from multiple flat files and it also captures the file name from the path. I have qualified in the enumerator to pick only files with *.BID extension from the source folder, However What I want is if there`s a file

  • Ability to adjust multiple images at the same time as in Bridge

    Why the extra step of having to sync develop settings? Why not have lightroom's develop module work like Camera Raw? I would like the ability to select my main image and any others that need the same adjustments, then make adjustments to the one whil

  • How to identify if the data is excel sheet is not on fixed column in SSIS package

    Hi, I am using SSIS 2008 R2 in which my excel file is the source for data. I am using the "Excel Source" transformation. For the normal data feed and all it is working fine. There is a requirement the data in the excel sheets are not static. For exam

  • Need of Simple Scenarios...

    Dear frnds, I m very new to ABAP.And I dont have any Knowledge about Business Processes and Process flows. (For example Purchase order flow).. So , I want to learn the basic ideas about the Process flows..  And I searched for the documents and sites

  • Custom SAP report used to display an average standard cost per material.

    Hi All, I need to implement a report with the following functionality, This is a custom SAP report used to display an average standard cost per material.  Standard cost data is stored in SAP at the Material/Plant level.  This report will gather the i