downloads | documentation | faq | getting help | mailing lists | licenses | wiki | reporting bugs | php.net sites | conferences | my php.net

search for in the

ncurses_refresh> <ncurses_qiflush
[edit] Last updated: Fri, 17 May 2013

view this page in

ncurses_raw

(PHP 4 >= 4.0.7, PHP 5 < 5.3.0, PECL ncurses >= 1.0.0)

ncurses_raw端末を raw モードに変更する

説明

bool ncurses_raw ( void )
警告

この関数は、 実験的 なものです。この関数の動作・ 名前・その他ドキュメントに書かれている事項は、予告なく、将来的な PHP のリリースにおいて変更される可能性があります。 この関数は自己責任で使用してください。

端末を raw モードに変更します。row モードは cbreak モードと似ており、 タイプされた文字はすぐにプログラムへ渡されます。違う点は、raw モードの場合は 中断 (interrupt)、終了 (quit)、停止 (suspend) およびフロー制御文字もそのまま渡され、シグナルは発生しないということです。

返り値

何らかのエラーが発生した場合に TRUE、 それ以外の場合に FALSE を返します。

参考



add a note add a note User Contributed Notes ncurses_raw - [1 notes]
up
0
israelbz at yahoo dot com dot mx
7 years ago
nc_raw() will reset ncurses_halfdelay():

<?php
 
//This don't set the halfdelay mode
 
ncurses_halfdelay(9);
 
ncurses_raw();
?>

If you want set halfdelay and raw be shure put halfdelay after
raw:

<?php
 
//Correct sets the halfdelay mode
 
ncurses_raw();
 
ncurses_halfdelay(9);
?>

 
show source | credits | sitemap | contact | advertising | mirror sites