From owner-freebsd-questions@freebsd.org Tue Feb 2 23:22:23 2021 Return-Path: Delivered-To: freebsd-questions@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id 708614F8F11 for ; Tue, 2 Feb 2021 23:22:23 +0000 (UTC) (envelope-from freebsd@edvax.de) Received: from mout.kundenserver.de (mout.kundenserver.de [212.227.126.187]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange ECDHE (P-256) server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (2048 bits) client-digest SHA256) (Client CN "mout.kundenserver.de", Issuer "TeleSec ServerPass Class 2 CA" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4DVgnn42wbz4jQP for ; Tue, 2 Feb 2021 23:22:21 +0000 (UTC) (envelope-from freebsd@edvax.de) Received: from r56.edvax.de ([178.5.95.157]) by mrelayeu.kundenserver.de (mreue012 [212.227.15.167]) with ESMTPA (Nemesis) id 1Mcpz0-1lggex3x6w-00Zyed; Wed, 03 Feb 2021 00:21:54 +0100 Date: Wed, 3 Feb 2021 00:21:53 +0100 From: Polytropon To: LuMiWa Cc: freebsd-questions@freebsd.org, Polytropon Subject: Re: vi editor Message-Id: <20210203002153.81725c82.freebsd@edvax.de> In-Reply-To: <20210202181148.2ea69176@dismail.de> References: <20210202052155.3a6ca086@dismail.de> <20210202232148.995f86c7.freebsd@edvax.de> <20210202181148.2ea69176@dismail.de> Reply-To: Polytropon Organization: EDVAX X-Mailer: Sylpheed 3.1.1 (GTK+ 2.24.5; i386-portbld-freebsd8.2) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit X-Provags-ID: V03:K1:UrEaMIK2SoSB0i0BpEOvVzdehWyY0gyA7jY+SuUI65JulMwe+vY uUXu0NxoKz8mN7lHkKhP18qpeRA0ErVa9jdy9bwKmzbCVVaBNrdPOYbUATprIDVAnk/tf2k uoGOv2Rwtsemkl0DLxhPGmC05FDEKSyZ7lfmVS2no4VHk7hCoabOqhMmx5uQbw/SX2j3FFP CQN8vxeNfggv8l7HV7lzw== X-Spam-Flag: NO X-UI-Out-Filterresults: notjunk:1;V03:K0:NuJyi1M0MnI=:Tobvq+BLGR/vnLkDoywdc4 jiVcEPA1EFLbhhMeGNagOyhz2VV53jzvHrYWCzvh4OApIYEWeGg0XB856qe/3VOT8ZTaUVQ9g ryCQyarwRIDOkl5Hr6PzmGiKfd8SvUrMx/V5LvGAJaH0Vp67XlamaBTBG8io9XyCOHXhfVG8j 0dLppyYQOD+z2EYUmv1iwr045M8Y1mW9crms3/Zkbf3xEHCcBDIz1JsQjw1RyoPWcEXNCF1nN AYcV4a8ACu4uYDDnGODOnuR+6S0wY5q3em/0+xQEb3RC9yy6pki/S49x+p3oWgfuZn3Aj91u3 IjqKO4MExt5IRVRMzb0D1VptICaZUzxiXGjmb05kwQMQIn8j+ZVCHj/QJMbbstKMe2ecDCB6K /SMq0UMSvTJLT/uxMMAJKC84DDlw6uREGw5zlRFQBTKk1hBYgY12KeWIkFHx0 X-Rspamd-Queue-Id: 4DVgnn42wbz4jQP X-Spamd-Bar: / Authentication-Results: mx1.freebsd.org; dkim=none; dmarc=none; spf=none (mx1.freebsd.org: domain of freebsd@edvax.de has no SPF policy when checking 212.227.126.187) smtp.mailfrom=freebsd@edvax.de X-Spamd-Result: default: False [-0.60 / 15.00]; HAS_REPLYTO(0.00)[freebsd@edvax.de]; RCVD_VIA_SMTP_AUTH(0.00)[]; TO_DN_SOME(0.00)[]; MV_CASE(0.50)[]; HAS_ORG_HEADER(0.00)[]; NEURAL_HAM_SHORT(-1.00)[-1.000]; RECEIVED_SPAMHAUS_PBL(0.00)[178.5.95.157:received]; RCVD_TLS_LAST(0.00)[]; R_DKIM_NA(0.00)[]; FROM_EQ_ENVFROM(0.00)[]; MIME_TRACE(0.00)[0:+]; RBL_DBL_DONT_QUERY_IPS(0.00)[212.227.126.187:from]; ASN(0.00)[asn:8560, ipnet:212.227.0.0/16, country:DE]; ARC_NA(0.00)[]; NEURAL_HAM_MEDIUM(-1.00)[-1.000]; REPLYTO_EQ_FROM(0.00)[]; FROM_HAS_DN(0.00)[]; RCPT_COUNT_THREE(0.00)[3]; NEURAL_HAM_LONG(-1.00)[-1.000]; MIME_GOOD(-0.10)[text/plain]; DMARC_NA(0.00)[edvax.de]; AUTH_NA(1.00)[]; SPAMHAUS_ZRD(0.00)[212.227.126.187:from:127.0.2.255]; TO_MATCH_ENVRCPT_SOME(0.00)[]; MID_CONTAINS_FROM(1.00)[]; RCVD_IN_DNSWL_NONE(0.00)[212.227.126.187:from]; R_SPF_NA(0.00)[no SPF record]; RWL_MAILSPIKE_POSSIBLE(0.00)[212.227.126.187:from]; RCVD_COUNT_TWO(0.00)[2]; MAILMAN_DEST(0.00)[freebsd-questions] X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 02 Feb 2021 23:22:23 -0000 On Tue, 2 Feb 2021 18:11:48 -0500, LuMiWa wrote: > On Tue, 2 Feb 2021 23:21:48 +0100 > Polytropon wrote: > > > On Tue, 2 Feb 2021 05:21:55 -0500, LuMiWa via freebsd-questions wrote: > > > I do not what happened but yesterday when I start typing it doesn't > > > respond on the keyboard immediately. I need to type from 5 to 10 > > > times and than start. I never had the same problem in 20 years. > > > For user I have ksh93 shell and root sh but on the both are the > > > same. > > > > A few questions: > > > > Does this delay affect shell interaction already, or is it present > > only in vi? > > > > Does it happen inside an X session (terminal) or at the console? > > If inside X, which input method are you using, and how? > > > > Do you use the system locally or via network connection? > > > > Lagging _could_ be a problem of networking (if networking is > > involved here). But any program generating system load could > > interfere with input processing, so check "top" output for > > any suspicious values. Also try "reset" to get rid of any > > terminal misconfiguration that might have happened. > > > > > > > > I am sorry hat I didn't sent an email about my mistake or. better the > keyboard problem. I had the old Cherry which is connected with adapter > to usb port and I had sometimes problem but never with vi. Regarding USB (and especially converters from PS/2 to USB): Sometimes, they are discovered by the kernel _after_ the login prompt has been displayed, i. e., after booting completed. No idea why, probably a "slow" firmware inside the converter that needs some time to load. Sidenote: I am currently using an IBM model M keyboard with such an adapter, or to be precise, a chain of adapters (HIL to DIN, DIN to PS/2, PS/2 to USB), really _sometimes_ the keyboard isn't present yet when the system displays the XDM login screen; a few seconds later, it works as expected. And it will continue working after I have turned to dust many years in the distant future... ;-) So what you've been observing could be fully normal for your hardware setting (including the "sometimes" aspect). Also note that even though USB is a fundamental part of the kernel, the kernel changes, therefore "detection order" might be affected after a system (or kernel) upgrade. -- Polytropon Magdeburg, Germany Happy FreeBSD user since 4.0 Andra moi ennepe, Mousa, ...