From owner-freebsd-hackers@freebsd.org  Tue Oct  6 11:03:51 2020
Return-Path: <owner-freebsd-hackers@freebsd.org>
Delivered-To: freebsd-hackers@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 6CC2D430084
 for <freebsd-hackers@mailman.nyi.freebsd.org>;
 Tue,  6 Oct 2020 11:03:51 +0000 (UTC)
 (envelope-from wojtek@puchar.net)
Received: from puchar.net (puchar.net [194.1.144.90])
 (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits))
 (Client did not present a certificate)
 by mx1.freebsd.org (Postfix) with ESMTPS id 4C5F2Z2Zgfz4LPd
 for <freebsd-hackers@freebsd.org>; Tue,  6 Oct 2020 11:03:50 +0000 (UTC)
 (envelope-from wojtek@puchar.net)
Received: Received: from 127.0.0.1 (localhost [127.0.0.1])
 by puchar.net (8.15.2/8.16.1) with ESMTPS id 096B3fEh060886
 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NO)
 for <freebsd-hackers@freebsd.org>; Tue, 6 Oct 2020 13:03:42 +0200 (CEST)
 (envelope-from puchar-wojtek@puchar.net)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=puchar.net;
 s=default; t=1601982222;
 bh=6iQadARpZ1Cj7fGRhi4SuLj4w3MINUOifKrswhVrN/0=;
 h=Date:From:To:Subject;
 b=IWHDRPrO/O8Y4i9UfZR1TcdmklHuqDSHuoGx3FLFeszUxhsNIKB1zm+ob83Do9YaS
 zbUygaD+sgGH49W+5HtAbj7wH9omt7KF9Ut1/eTc47OCkQ5xWs4DNfZ1oW0LKYfxMF
 bnPGzDpXZEndeU2qzhNgsgQPkrQWLdPF1kchFpBE=
Received: from localhost (puchar-wojtek@localhost)
 by puchar.net (8.16.1/8.16.1/Submit) with ESMTP id 096B3fZa060883
 for <freebsd-hackers@freebsd.org>; Tue, 6 Oct 2020 13:03:41 +0200 (CEST)
 (envelope-from puchar-wojtek@puchar.net)
Date: Tue, 6 Oct 2020 13:03:41 +0200 (CEST)
From: Wojciech Puchar <wojtek@puchar.net>
To: freebsd-hackers@freebsd.org
Subject: difference between real serial console and virtual console
Message-ID: <alpine.BSF.2.20.2010061259550.56990@puchar.net>
User-Agent: Alpine 2.20 (BSF 67 2015-01-07)
MIME-Version: 1.0
Content-Type: text/plain; format=flowed; charset=US-ASCII
X-Rspamd-Queue-Id: 4C5F2Z2Zgfz4LPd
X-Spamd-Bar: -
Authentication-Results: mx1.freebsd.org;
 dkim=fail (headers rsa verify failed) header.d=puchar.net header.s=default
 header.b=IWHDRPrO; dmarc=none;
 spf=pass (mx1.freebsd.org: domain of wojtek@puchar.net designates 194.1.144.90
 as permitted sender) smtp.mailfrom=wojtek@puchar.net
X-Spamd-Result: default: False [-1.28 / 15.00]; MID_RHS_MATCH_FROM(0.00)[];
 ARC_NA(0.00)[]; NEURAL_HAM_MEDIUM(-0.83)[-0.830];
 FROM_HAS_DN(0.00)[]; TO_MATCH_ENVRCPT_ALL(0.00)[];
 R_SPF_ALLOW(-0.20)[+mx]; MIME_GOOD(-0.10)[text/plain];
 TO_DN_NONE(0.00)[];
 PREVIOUSLY_DELIVERED(0.00)[freebsd-hackers@freebsd.org];
 RCPT_COUNT_ONE(0.00)[1]; NEURAL_HAM_LONG(-0.96)[-0.963];
 DMARC_NA(0.00)[puchar.net];
 R_DKIM_REJECT(1.00)[puchar.net:s=default];
 DKIM_TRACE(0.00)[puchar.net:-];
 NEURAL_HAM_SHORT(-0.19)[-0.188]; FROM_EQ_ENVFROM(0.00)[];
 MIME_TRACE(0.00)[0:+]; RCVD_TLS_LAST(0.00)[];
 ASN(0.00)[asn:43476, ipnet:194.1.144.0/24, country:PL];
 RCVD_COUNT_TWO(0.00)[2]; MAILMAN_DEST(0.00)[freebsd-hackers]
X-BeenThere: freebsd-hackers@freebsd.org
X-Mailman-Version: 2.1.33
Precedence: list
List-Id: Technical Discussions relating to FreeBSD
 <freebsd-hackers.freebsd.org>
List-Unsubscribe: <https://lists.freebsd.org/mailman/options/freebsd-hackers>, 
 <mailto:freebsd-hackers-request@freebsd.org?subject=unsubscribe>
List-Archive: <http://lists.freebsd.org/pipermail/freebsd-hackers/>
List-Post: <mailto:freebsd-hackers@freebsd.org>
List-Help: <mailto:freebsd-hackers-request@freebsd.org?subject=help>
List-Subscribe: <https://lists.freebsd.org/mailman/listinfo/freebsd-hackers>, 
 <mailto:freebsd-hackers-request@freebsd.org?subject=subscribe>
X-List-Received-Date: Tue, 06 Oct 2020 11:03:51 -0000

from userland program point of view? What's the difference.

I'm asking because i have problem as below when using real serial console 
(PCengines apu).

I have TERM set to xterm on both serial console and on virtual console 
when i log over ssh or rsh.

i have same screen size.

and ALMOST all programs behave the same way, including full screen 
programs like mc or vi or even alpine. including colors,sizes etc.

the only exception is joe editor. that doesn't work at all.
Actually - it display few upper-left characters of it's status bar and 
nothing else. All i can is to blindly type CTRL-C to exit.

switching TERM to vt100 or vt220 doesn't change things at all.


any idea why?