X-Recipient: archive-cygwin AT delorie DOT com DomainKey-Signature: a=rsa-sha1; c=nofws; d=sourceware.org; h=list-id :list-unsubscribe:list-subscribe:list-archive:list-post :list-help:sender:subject:to:references:from:message-id:date :mime-version:in-reply-to:content-type :content-transfer-encoding; q=dns; s=default; b=lHKO1mYwS3F7XGgd t9jsiexPLVRdZvAHyBwckUTyDACsubNwfQXWFFJALqh5QCe2+CXBXKIdYFJCXXsv EHgvjGgmDRROkwbs9fxxtikZX0ciL08pRtuP2f/1WcW20yHua5xi8enr5/w/xkpY u7FgpVBEpfGnoZwb3CfR2tlNo+c= DKIM-Signature: v=1; a=rsa-sha1; c=relaxed; d=sourceware.org; h=list-id :list-unsubscribe:list-subscribe:list-archive:list-post :list-help:sender:subject:to:references:from:message-id:date :mime-version:in-reply-to:content-type :content-transfer-encoding; s=default; bh=sijMnuy1wSOzBBAUoBnyq4 EnoZ0=; b=GUhz5JmUSi/mgTO+S4L8QKQdcx/cTZ5mTqo8EN9Ce3uWbMsJkCGJs3 hCcepRpGf5/FUXTb4aayrgBGtavBvU5e9sexf1T0/GNwQQGxrao+1vOjwYMeRrSW zBNu/8NwdzzfOXywqyOtZcNV3ZmPme5vZ9HLZrOy+04e+1+IsXMIQ= Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner AT cygwin DOT com Mail-Followup-To: cygwin AT cygwin DOT com Delivered-To: mailing list cygwin AT cygwin DOT com Authentication-Results: sourceware.org; auth=none X-Virus-Found: No X-Spam-SWARE-Status: =?ISO-8859-1?Q?No, score=1.8 required=5.0 tests=BAYES_50,KAM_LAZY_DOMAIN_SECURITY,RCVD_IN_DNSWL_NONE autolearn=no version=3.3.2 spammy=8:re, 8:ha, 8:un, 8:=c3=a4?= X-HELO: mout.kundenserver.de Subject: Re: xterm / Windows 10 question To: cygwin AT cygwin DOT com References: <0f87d9a8-4e32-4edb-26b4-648b28358309 AT gmail DOT com> <636f4ac0-bd18-5ba0-5b81-c67f6d8fea96 AT dronecode DOT org DOT uk> From: Stefan Baur Openpgp: preference=signencrypt Message-ID: Date: Thu, 7 Jun 2018 00:46:34 +0200 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:52.0) Gecko/20100101 Thunderbird/52.8.0 MIME-Version: 1.0 In-Reply-To: Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-IsSubscribed: yes Am 07.06.2018 um 00:33 schrieb Matt Nicholas: > (I can probably put the "setxkbmap us" command in ".bash_profile", if I > don't find a more appropriate place.) If you end up doing this, be sure to check for $DISPLAY being set, only executing the command if that is the case. e.g. if [ -n "$DISPLAY" ]; then setxkbmap us fi Else you might see strange errors when logging in via SSH (if you don't have $DISPLAY set by using ssh -X, for example) or with scripted SSH sessions/commands. (NB: A command like "mesg n", which is found in some distributions' default .bash_profile files - especially for the root user - should be wrapped in if test -t 0; then mesg n fi for similar reasons). Kind Regards, Stefan Baur -- BAUR-ITCS UG (haftungsbeschränkt) Geschäftsführer: Stefan Baur Eichenäckerweg 10, 89081 Ulm | Registergericht Ulm, HRB 724364 Fon/Fax 0731 40 34 66-36/-35 | USt-IdNr.: DE268653243 -- Problem reports: http://cygwin.com/problems.html FAQ: http://cygwin.com/faq/ Documentation: http://cygwin.com/docs.html Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple