[Ttssh2-commit] [3364] 送信文字列に使えるエスケープシーケンスを追加

svnno****@sourc***** svnno****@sourc*****
2009年 4月 29日 (水) 03:58:14 JST


Revision: 3364
          http://svn.sourceforge.jp/view?root=ttssh2&view=rev&rev=3364
Author:   doda
Date:     2009-04-29 03:58:14 +0900 (Wed, 29 Apr 2009)

Log Message:
-----------
送信文字列に使えるエスケープシーケンスを追加
  \e -- ESC (0x1b)

Modified Paths:
--------------
    trunk/TTXSamples/TTXRecurringCommand/TTXRecurringCommand.c


-------------- next part --------------
Modified: trunk/TTXSamples/TTXRecurringCommand/TTXRecurringCommand.c
===================================================================
--- trunk/TTXSamples/TTXRecurringCommand/TTXRecurringCommand.c	2009-04-28 18:49:47 UTC (rev 3363)
+++ trunk/TTXSamples/TTXRecurringCommand/TTXRecurringCommand.c	2009-04-28 18:58:14 UTC (rev 3364)
@@ -132,6 +132,10 @@
 					buf[j] = '\v';
 					i++;
 					break;
+				case 'e':
+					buf[j] = '\033';
+					i++;
+					break;
 				case '0':
 					buf[j] = '\0';
 					i++;



Ttssh2-commit メーリングリストの案内