Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S271065AbTG1VF4 (ORCPT ); Mon, 28 Jul 2003 17:05:56 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S271034AbTG1VFI (ORCPT ); Mon, 28 Jul 2003 17:05:08 -0400 Received: from 206-158-102-129.prx.blacksburg.ntc-com.net ([206.158.102.129]:38540 "EHLO wombat.ghz.cc") by vger.kernel.org with ESMTP id S270977AbTG1Upy (ORCPT ); Mon, 28 Jul 2003 16:45:54 -0400 Message-ID: <21265.216.12.38.216.1059425148.squirrel@www.ghz.cc> In-Reply-To: References: <1059422724VQM.fvw@tracks.var.cx> Date: Mon, 28 Jul 2003 16:45:48 -0400 (EDT) Subject: Re: Turning off automatic screen clanking From: "Charles Lepple" To: root@chaos.analogic.com Cc: "Linux kernel" User-Agent: SquirrelMail/1.4.1 MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7BIT X-Priority: 3 Importance: Normal Sender: linux-kernel-owner@vger.kernel.org X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 813 Lines: 22 Richard B. Johnson said: > It is impossible to send escape sequences to an input that does > not exist. That's why I need to know how to stop the kernel's > insistence on turning off the screen. from 'strace setterm -blank 0': write(1, "\33[9;0]", 6) = 6 which means you want to write the escape sequence to standard output (fd 1), or /dev/tty0 if your code is not attached to the current console. This should be independent of any input devices that may or may not be there. -- Charles Lepple http://www.ghz.cc/charles/ - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/