From owner-freebsd-hackers@FreeBSD.ORG Sat May 21 22:09:40 2005 Return-Path: Delivered-To: freebsd-hackers@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 2625F16A4CE for ; Sat, 21 May 2005 22:09:40 +0000 (GMT) Received: from enterprise4.noxa.de (enterprise.noxa.de [212.60.197.71]) by mx1.FreeBSD.org (Postfix) with ESMTP id 61B6143D48 for ; Sat, 21 May 2005 22:09:38 +0000 (GMT) (envelope-from arundel@h3c.de) Received: (qmail 9327 invoked from network); 22 May 2005 00:09:37 +0200 Received: from p508fd4bd.dip.t-dialin.net (HELO localhost.skatecity) (80.143.212.189) by enterprise.noxa.de with AES256-SHA encrypted SMTP; 22 May 2005 00:09:37 +0200 Received: from localhost.skatecity (nobody@localhost.skatecity [127.0.0.1]) by localhost.skatecity (8.13.3/8.13.3) with ESMTP id j4LM9Z9O000982 for ; Sun, 22 May 2005 00:09:35 +0200 (CEST) (envelope-from arundel@localhost.skatecity) Received: (from arundel@localhost) by localhost.skatecity (8.13.3/8.13.3/Submit) id j4LM9ZTZ000981 for freebsd-hackers@freebsd.org; Sun, 22 May 2005 00:09:35 +0200 (CEST) (envelope-from arundel) From: alexander Date: Sun, 22 May 2005 00:09:35 +0200 To: freebsd-hackers@freebsd.org Message-ID: <20050521220935.GA884@skatecity> References: <20050520224726.GA7951@skatecity> <20050520230845.GC51092@dan.emsphone.com> <20050521015105.GA9063@skatecity> <20050521080723.GN2129@cirb503493.alcatel.com.au> <20050521145807.GA51141@skatecity> <20050521204719.GO2129@cirb503493.alcatel.com.au> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20050521204719.GO2129@cirb503493.alcatel.com.au> Subject: Re: Looking for ANSI/VT100 code replacement. X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 21 May 2005 22:09:40 -0000 On Sun May 22 05, Peter Jeremy wrote: > > Can you please confirm that you also see the problem when you are using > xterm (not Eterm). Can you also please advise what versions of FreeBSD, > X11 and xterm/Eterm you are using. > OK. Seems like you somehow knew what was going on here. The problem has now clearly shifted towards the Eterm code. Xterm display the VT100 codes correctly. It seems Eterm supports VT100 codes, but the code is slow and buggy. Thx a lot for your help. This was bugging me for quite some time now. Version is FreeBSD 5.4-STABLE #0: Wed Apr 27 03:14:27 CEST 2005 btw. However I'm still thinking of replacing the whole VT100 stuff with a set of syscalls. So...is there a way to reposition the cursor inside the sdtout stream just by using syscalls? Can I use lseek() or some other syscall to change the current FD position? I had a look at the 'burncd' code and the code works brilliantly even under Eterm. However burncd being a C app uses fprintf. Can I replace the functionality of fprintf under x86asm by using only syscalls? Cheers. Thx again for your help.