csh and arrow keys on Solaris 9

From: fabio (fabio_at_crearium.com)
Date: 09/27/04

  • Next message: Thomas.Hinz_at_bfa.de: "Thomas Hinz/1104/11/BfA-Berlin ist außer Haus. [Virus checked]"
    Date: Mon, 27 Sep 2004 15:01:11 -0600
    To: sunmanagers@sunmanagers.org
    
    

    Hi.

    When I was doing administration on FreeBSD, I used csh as my default
    shell, when I mistake a command, I pressed up arrow key and the typed
    command showed up and I edited it. Now, on Solaris sparc 9, I use the
    same shell but when I press the up arrow key, this appers:

    nietzsche% prtconfig | grep cpuu
    prtconfig: Command not found
    nietzsche% ^[[A
    ^[[A: No match
    nietzsche%

    I wonder how can I edit the mistyped command and correct it. In general,
    I am facing problems while doing simple tasks on command line. I am
    using a Sun type 6 usb unix keyboard and default us keymap. I would like
    to know hints and tips for command line editing but the ones I used on
    freebsd are not applicable.

    Thanks in advance.
    _______________________________________________
    sunmanagers mailing list
    sunmanagers@sunmanagers.org
    http://www.sunmanagers.org/mailman/listinfo/sunmanagers


  • Next message: Thomas.Hinz_at_bfa.de: "Thomas Hinz/1104/11/BfA-Berlin ist außer Haus. [Virus checked]"

    Relevant Pages

    • Why newbies dont RTFM...
      ... Even though I've used Linux before, I've never had to do any ... BASH BUILTIN COMMANDS ... last command exited within ... unless the shell is not exeâ ...
      (comp.os.linux.misc)
    • Re: Great SWT Program
      ... None of the nasty things that you have said or implied about me are at ... treat the file as input (manually invoking the command interpreter ... script, copy the line into that within the editor, exit, and invoke ... the shell script. ...
      (comp.lang.java.programmer)
    • Re: Shell function - accessing an Access secure db (.MDW file)
      ... > Hi - Does anyone know the correct syntax for the shell function. ... You can use the Shell command. ... To execute internal DOS command (Dir, Copy, ... Private Declare Function OpenProcess _ ...
      (microsoft.public.vb.general.discussion)
    • Re: ksh silently ignores function if mistakenly not autoloaded
      ... Here's the order of execution. ... This really takes place prior to command ... Shell scripts, with all their power, have one major drawback - they ... In the Korn Shell, there are two separate syntaxes for defining ...
      (comp.unix.shell)
    • Re: how to make function known to subshell
      ... What do I have to do to make a function available in shell scripts or ... When a command is parsed the first word will be checked against the ... In the Korn Shell, there are two separate syntaxes for defining ...
      (comp.unix.shell)