Author ned.deily
Recipients agiz, ned.deily, ronaldoussoren
Date 2012-12-25.06:11:36
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <>
What you are seeing is platform-specific behavior, a difference between BSD-based systems including OS X and other systems including Linux.  The difference is that the former systems support the DSUSP (suspend on reading input) terminal character in addition to the normal SUSP (suspend immediately) terminal character.  The default value for DSUSP is CTRL-Y which you can see in the output of stty(1):

$ stty -a
cchars: discard = ^O; dsusp = ^Y; eof = ^D; eol = <undef>;
	eol2 = <undef>; erase = ^?; intr = ^C; kill = ^U; lnext = ^V;
	min = 1; quit = ^\; reprint = ^R; start = ^Q; status = ^T;
	stop = ^S; susp = ^Z; time = 0; werase = ^W;

You should see the same CTRL-Y suspend behavior with other utilities reading from standard input, like cat(1), unless they handle that signal.  You can modify the behavior of CTRL-Y by disabling the DSUSP character, for example:

$ stty dsusp undef

See the OS X stty(1) man page and other references like:
Date User Action Args
2012-12-25 06:11:38ned.deilysetrecipients: + ned.deily, ronaldoussoren, agiz
2012-12-25 06:11:38ned.deilysetmessageid: <>
2012-12-25 06:11:37ned.deilylinkissue16768 messages
2012-12-25 06:11:36ned.deilycreate