瀏覽代碼

* fix for 10758, additional terminal type checked (udev)

git-svn-id: trunk@16616 -
marco 14 年之前
父節點
當前提交
b6a8fb8a5b
共有 1 個文件被更改,包括 1 次插入1 次删除
  1. 1 1
      ide/fpusrscr.pas

+ 1 - 1
ide/fpusrscr.pas

@@ -753,7 +753,7 @@ begin
   if Not IsXterm and (IsATTY(stdinputhandle)<>-1) then
     begin
       Console:=TTyNetwork;  {Default: Network or other vtxxx tty}
-      if (Copy(ThisTTY, 1, 8) = '/dev/tty') and (ThisTTY[9]<>'p') Then
+      if ((Copy(ThisTTY, 1, 8) = '/dev/tty') and (ThisTTY[9]<>'p')) or (Copy(ThisTTY,1,8)='/dev/vc/') Then
         begin
           Case ThisTTY[9] of
             '0'..'9' :