From mint-bounce@lists.fishpool.fi Sun Jul 18 10:24:34 2010 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:subject:mime-version :content-type:from:in-reply-to:date:cc:content-transfer-encoding :message-id:references:to:x-mailer; bh=4Opw4aOzxLoXrb8+layaBTwGgeLPWkZ1DU0ptBikw3I=; b=XLvjRbD2OIrq3eqr1KezTTfGnjTDxhOeg8YHkyM9/KBI+sM5Lg+kwTbsoli/UIVXF7 WZWgRaVNA2xl2HD7T/U1E7k6uvKpxrIcvm1tI6TJ+vr1/QTjT6tu3iCGrd/GFDvZPhmL y91QqQ4LkidkGoMhO7Q/FapOEQXnsFZYhD7jU= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=subject:mime-version:content-type:from:in-reply-to:date:cc :content-transfer-encoding:message-id:references:to:x-mailer; b=h8+8xfuEkOVhZTt0DgrFV16UMYb6ZbCPPt8bwNeo/WgYJgFYuz24R3mrD232b/KUuA DjVCu6JNDPWoGm+XeguhSPmFOumqIeWw0x8hgVuYyeiZF2HXH3/KGEIk4wlDTFKUeu1q 9Dwy0g+IrIDkfz35MBmfg2O1bQP/IZEfqwkI0= Subject: Re: [MiNT] Conholio 0.7r Mime-Version: 1.0 (Apple Message framework v1081) Content-Type: text/plain; charset=us-ascii From: Peter Persson In-Reply-To: <201007181348.06202.oak@helsinkinet.fi> Date: Sun, 18 Jul 2010 16:22:09 +0200 Cc: mint@lists.fishpool.fi Message-Id: <922BEEAE-7910-4F61-B21B-05399DC21DAD@gmail.com> References: <4C224E8E.9020709@atari-source.org> <201007181348.06202.oak@helsinkinet.fi> To: Eero Tamminen X-Mailer: Apple Mail (2.1081) X-ecartis-version: Ecartis v1.0.0 Sender: mint-bounce@lists.fishpool.fi Errors-to: mint-bounce@lists.fishpool.fi X-original-sender: pep.fishmoose@gmail.com Precedence: bulk List-help: List-unsubscribe: List-Id: X-List-ID: List-subscribe: List-owner: List-post: Content-Transfer-Encoding: 8bit X-MIME-Autoconverted: from quoted-printable to 8bit by mail.sparemint.org id o6IEOYmk007903 18 jul 2010 kl. 12.48 skrev Eero Tamminen: > Shouldn't it work so that user sets the terminal type in Conholio and > Conholio then set the TERM environment variable for the program(s) it > launches? Conholio is a VT100 terminal with extensions from the Linux console & xterm. It can also work in VT52 mode, but I've tested that part of the implementation for like 5 seconds :-) The TERM variable is set to 'linux' when opening a new terminal. Should it be configurable, or how do you mean? I'm a bit lost here. > Only case for user to need to set TERM inside the console should be when he > logs to a remote machine (where he of course should set TERM to whatever > he's configured Conholio to use). Hopefully, the remote machine should be familiar with the linux console, or at least that was the idea.. > Btw. Why Conholio in the first place supports multiple terminal types? All > programs use nowadays ncurses or something similar and will therefore > support anything described in the system terminfo database (vt102, linux > etc). It doesn't - it's a VT100 terminal with extensions from Linux & xterm - set the TERM variable to something other than 'linux' and it won't work as intended. But to be honest - my knowledge about terminfo & termcap stuff is limited to... not knowing much about it. >> There are a couple of different modes regarding special keys, and it's >> quite possible that I've not implemented one of them properly. I've only >> tested it with a few apps (MC, JED for example). > > I've forgotten all the details, but based on the comments in the terminfo > entry I had written for Wterm, at least following things can be specified in > the given terminfo entry (i.e. can be specific to given terminal type): > cursor keys, home, end, pgup, pgdn, function keys f1-f10, insert, delete, > backspace, bell, CR, tab... Ah ok. This stuff is hard coded at the moment, but if I could read it from terminfo instead that would ofcourse be neat. -- PeP