From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Ergus Newsgroups: gmane.emacs.help Subject: Terminal only emacs question Date: Fri, 25 Sep 2020 00:01:06 +0200 Message-ID: <20200924220106.way5eue2tmykuhgy@Ergus> References: <20200924220106.way5eue2tmykuhgy.ref@Ergus> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii; format=flowed Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="26108"; mail-complaints-to="usenet@ciao.gmane.io" To: help-gnu-emacs@gnu.org Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane-mx.org@gnu.org Fri Sep 25 00:02:28 2020 Return-path: Envelope-to: geh-help-gnu-emacs@m.gmane-mx.org Original-Received: from lists.gnu.org ([209.51.188.17]) by ciao.gmane.io with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1kLZJr-0006hQ-LZ for geh-help-gnu-emacs@m.gmane-mx.org; Fri, 25 Sep 2020 00:02:27 +0200 Original-Received: from localhost ([::1]:59814 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1kLZJq-0007sY-MK for geh-help-gnu-emacs@m.gmane-mx.org; Thu, 24 Sep 2020 18:02:26 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:53378) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1kLZIo-0007s9-N1 for help-gnu-emacs@gnu.org; Thu, 24 Sep 2020 18:01:24 -0400 Original-Received: from sonic302-3.consmr.mail.bf2.yahoo.com ([74.6.135.42]:43627) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1kLZIk-0008VN-M2 for help-gnu-emacs@gnu.org; Thu, 24 Sep 2020 18:01:22 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=aol.com; s=a2048; t=1600984875; bh=qkqryu3573IvRXBJTm9xn6XJMV79NugcuX22V+YdKxU=; h=Date:From:To:Subject:References:From:Subject; b=p3W3F+WqwrLeiD6teWv4LEs+ZiBjMEdjUWdF2qmbJ+ig3OVy/J5H9wOg72xBK2O8NbpwCMa7XkjaFF8tPgKpxhC4lHo2K0PJA6sPZHyNJmk4iiL8CwlE8mBwAgrsWtJqTv8SuTtJm7fsjR7GVvQywAJdqrqHub6yzeqRv64qCB/lPC+ZmONnNDrdxCIYnHtbNwtsa/Y2MAxHDbXWCq9r5WPnzej3bOucnwyBsoEGSd49wcdk6csEXUQ0G+UtXKB8WbigKwWWJfNTt/OH6CsoqnobrH1OLHDA0dWTjYNmMP26pAMxRke57MNb4PLZAR43CeEBippv5uNhgG082mLqVw== X-YMail-OSG: fQg4ip8VM1lzLY0XUUfqgoxVZ5of7NM_YQa.wvQ_hE2aB5Tk4ArlCOZVq39HU6V KxoLWyzN_4ddiB_BIfRArermQNlzCI_fHvIMH26CV91r85Do.CLvo_6_ZumQ5CQs_mJyIKeIZtvY Bs0c5zpNLAY03FS7_xWbYncmUJY6n.mpkSWkg1UUWbQEnEglk1fHgVYOtKHFp4NgvEAdUcjsgw4E gqSEBeaaXOtluvo3gwZZ2pe_Rk9dRvRjRud8AB_pKNGDQex888Mcdia6vWpGiLmhZHmFgCOL6NW. mo2HVWtoON5udWJTnvGQCfk5rtSS3k.gWg5BrBjAZA5t8x17_CsQ.iWNUR1lEMAkJi8Qcg2yckvX Y9CsG0gtlapaiuCIJN8dr2ovO9NLWExbkhfVqzvoakcw3V2nry6HMI_ewtNacm5DvmldphazTLGy ODuwyy5GRmTqepKmtoiNAKfhSd1IpM45SNhBpxiVMXjePhcoqAryP870YhySoT9v9wv76zyeMF8K kD8ti2QbxOpIhqKIIr3_aWHOoMtYZ.I640Y28FVQFiXFNRknaHN.PAm0c1VmQ0T8FBUnEz7SLBpW S7v0C4HLmuDvvT48DldDniFikcQOvlBZE.MAFHesZYLxL9FJS03HLMRAMzODkBnFUTZjPiYGaSsC FzmkimHBA4NzbjbvK5vs_Zgm2781cJZYIsNciBkBnRdNFzXDU7wJfByyJNg4IRXGuX8KH7EbAakx O0SysL_uvhW.HdPto0H386zS2iAYLRFZequ5BFk06Wn8rz1Ryc09fYRIpLt8B127wmtxbOnaXgkm 4gI.8dqnWZz_q.2J11qh2vWxT1oP72q4oThh9XZEyy Original-Received: from sonic.gate.mail.ne1.yahoo.com by sonic302.consmr.mail.bf2.yahoo.com with HTTP; Thu, 24 Sep 2020 22:01:15 +0000 Original-Received: by smtp416.mail.ir2.yahoo.com (VZM Hermes SMTP Server) with ESMTPA ID 434a73945805e417be839d12619cb070; Thu, 24 Sep 2020 22:01:13 +0000 (UTC) Content-Disposition: inline X-Mailer: WebService/1.1.16674 mail.backend.jedi.jws.acl:role.jedi.acl.token.atz.jws.hermes.aol Apache-HttpAsyncClient/4.1.4 (Java/11.0.7) Received-SPF: pass client-ip=74.6.135.42; envelope-from=spacibba@aol.com; helo=sonic302-3.consmr.mail.bf2.yahoo.com X-detected-operating-system: by eggs.gnu.org: First seen = 2020/09/24 17:09:02 X-ACL-Warn: Detected OS = Linux 3.11 and newer [fuzzy] X-Spam_score_int: -20 X-Spam_score: -2.1 X-Spam_bar: -- X-Spam_report: (-2.1 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, FREEMAIL_FROM=0.001, RCVD_IN_DNSWL_NONE=-0.0001, RCVD_IN_MSPIKE_H2=-0.001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane-mx.org@gnu.org Original-Sender: "help-gnu-emacs" Xref: news.gmane.io gmane.emacs.help:124172 Archived-At: Hi emacs: Whats the way to determine in the init file if a emacs is running under a terminal emulator or the linux console? I need this to condition the load of xterm-mouse-mode or gpm-mouse-mode. I tried getenv but for some reason inside emacs it is always "dumb". Any idea? Best, Ergus