Mailing Lists: Apple Mailing Lists

Image of Mac OS face in stamp
 
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

shell annoyances



Dear list,

I have a question about using the shell and ssh.  Firstly, I've already
been through the pain of getting Delete, Backspace, Home, and End to work
in both local and remote shells, as well as vi.  I'm a bit disappointed
that these things are not already in place, as they are in Linux.

I'm using iTerm, as it seems to have better defaults, and it does tabbed
terminals, but Terminal.app tends to suffer the same ills.

Anyway, my question is about using backspace while a program is running. 
The main example of this is when I ssh to a server and the key password
prompt comes up.  If I know I made a mistake typing in Linux, I can just
hit backspace a number of times (even though the cursor never moves), and
retype the password, no problem.  But in OS X iTerm, the backspace gets
sent as ^H in this circumstance, and so there's no way to back up over
your input.

Another illustration of this is using an rsync command that runs a while
(this is the reason I know that ^H is sent rather than backspace).  Say
I'm running a rsync on large amounts of data and it takes a while to run. 
Like so:

rsync -a /big/files /backup

Now, normally, as I'm sitting there waiting, I can type another command
and hit enter and that command will execute after rsync finishes. 
However, what if I notice my syntax for the next command is wrong or I
mistyped?  In Linux, I can just backspace over what I typed.  But in OS X
iTerm, I get ^H printed out for every backspace.  How do I fix that?
 _______________________________________________
Do not post admin requests to the list. They will be ignored.
Darwin-userlevel mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/darwin-userlevel/email@hidden

This email sent to email@hidden



Visit the Apple Store online or at retail locations.
1-800-MY-APPLE

Contact Apple | Terms of Use | Privacy Policy

Copyright © 2007 Apple Inc. All rights reserved.