Terminal.app and the delete key

Discussion in 'Mac Apps and Mac App Store' started by toddburch, Jan 25, 2007.

  1. toddburch macrumors 6502a

    Joined:
    Dec 4, 2006
    Location:
    Katy, Texas
    #1
    Why doesn't the delete key above the arrow keys work on the console? I get a tilde and a dull beep when I press it.

    How does one move the cursor to the end of the typed text to fix typos? (END does not work, nor does control+right arrow). Must I suffer through every character with the right arrow key?

    The other delete key (aka backspace) works fine, but only on characters to th e left of the cursor.

    Thanks, Todd
     
  2. bousozoku Moderator emeritus

    Joined:
    Jun 25, 2002
    Location:
    Gone but not forgotten.
    #2
    I've forgotten all of the combinations, but control + A will get you to the beginning of the text string and control + D will delete the character to the right.

    It could of course, be dependent on the shell that's active so you should try the combinations to see what works. Consider that the original computer terminals didn't have arrow keys, page keys, and so on.
     
  3. toddburch thread starter macrumors 6502a

    Joined:
    Dec 4, 2006
    Location:
    Katy, Texas
    #3
    OK, thanks. Control+A gets you to the start of input. Control+D deletes a character. Control+E gets me to the end of the line.

    I'm getting the BASH shell.
     

Share This Page