Mailing Lists: Apple Mailing Lists

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

Re: shell annoyances



Running stty -a on my Mac showed erase to be ^?. (I later changed this to ^H, which it now reads.)
Running stty -a on a remote linux server shows erase to be ^H.


In reading more about this problem, it seems like ^? is a better standard, since ^H can legitimately be a command for terminal apps. But ^H is the default on a couple of hundred linux servers here, as well as by the sysadmins who run linux, and it will probably be that way in future linux versions. So, I'm stuck with it indefinitely.

I doubt me changing it on my machine is going to affect me much, since unfortunately, there are no managed Mac or BSD machines here at work. If I did get a Mac server at home (which I'd like to!), I'd probably change the server to match linux terminal behavior, because it would either be: change Mac server once or be frustrated everytime I used it, since I have to keep my term setting like this for work anyway.

Thanks for the help everyone,

Kasey

On Mar 19, 2007, at 7:04 PM, Jonas Maebe wrote:


On 20 Mar 2007, at 00:45, Kasey Speakman wrote:

The 'stty erase ^H' fixed it. Why is '^?' the default erase and not this?

The default erase is not '^?', it's just displayed like that because the shell on the other side doesn't understand it. There are about as many different "standards" out there as there are combinations of shells and OSes, so it is fairly predictable that if you throw a new system in the mix you will have to modify some things on either the source or the target to get the same behaviour you were used to before.


It's also quite likely that some other things (which you may or may not use) now do not work as designed anymore because they actually expected the other code.


Jonas
_______________________________________________
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/kspeakman% 40asc.edu


This email sent to email@hidden

--
This message has been scanned for viruses and
dangerous content by MailScanner, and is
believed to be clean.


_______________________________________________ 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
References: 
 >Re: Darwin-userlevel Digest, Vol 4, Issue 14 (From: "Oscar Pitts" <email@hidden>)
 >Re: shell annoyances (From: Kasey Speakman <email@hidden>)
 >Re: shell annoyances (From: Jonas Maebe <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.