homepage

This issue tracker has been migrated to GitHub , and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

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 <1356415898.13.0.770888587239.issue16768@psf.upfronthosting.co.za>
In-reply-to
Content
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:
http://www.gnu.org/software/libc/manual/html_node/Signal-Characters.html 
History
Date User Action Args
2012年12月25日 06:11:38ned.deilysetrecipients: + ned.deily, ronaldoussoren, agiz
2012年12月25日 06:11:38ned.deilysetmessageid: <1356415898.13.0.770888587239.issue16768@psf.upfronthosting.co.za>
2012年12月25日 06:11:37ned.deilylinkissue16768 messages
2012年12月25日 06:11:36ned.deilycreate

AltStyle によって変換されたページ (->オリジナル) /