From owner-freebsd-emulation Tue May 5 05:16:08 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id FAA29297 for freebsd-emulation-outgoing; Tue, 5 May 1998 05:16:08 -0700 (PDT) (envelope-from owner-freebsd-emulation@FreeBSD.ORG) Received: from zaphod.ttu.ee (root@zaphod.ttu.ee [193.40.254.227]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id FAA29192 for ; Tue, 5 May 1998 05:16:03 -0700 (PDT) (envelope-from priit@cc.ttu.ee) Received: from chani.cc.ttu.ee (c24.class.ttu.ee [193.40.254.24]) by zaphod.ttu.ee (8.8.8/8.8.8) with SMTP id PAA26937 for ; Tue, 5 May 1998 15:15:57 +0300 (EET DST) Message-ID: <354F01CF.7E60@cc.ttu.ee> Date: Tue, 05 May 1998 15:10:55 +0300 From: Priit Jarv Organization: Tallinn Technical University X-Mailer: Mozilla 3.04 (Win95; I) MIME-Version: 1.0 To: emulation@FreeBSD.ORG Subject: linux adom on FreeBSD Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Sender: owner-freebsd-emulation@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org I was wondering if anyone has tried running linux adom (a roguelike game) on FreeBSD? I have, and generally it runs ok, if it wasn't for the terminal problems. I wouldn't bother otherwise, if wasn't such a great and addictive game! I even contacted the author suggesting I could produce a FreeBSD binary (he doesn't distribute the source), but he apparently wasn't interested. So I figured maybe anyone here has experience with running programs designed for linux console on FreeBSD. I'm assuming the binary is compiled with ncurses, since it uses colors. Basically, the way I've gotten it working is playing with the TERM environment variable. So far, setting it to 'vt100' has been the best solution. The screen occasionally scrolls up a by a line, if something is printed on the last line, but generally it is most playable. 'xterm' also works, and doesn't have the scrolling problems, but some parts of the screen don't get updated properly. Recently I discovered that on linux consoles the TERM variable could be set to 'linux' and I tried that too.. voila! The game comes up in color, no scrolling, everything seems ok, except that the '@' character (people who play roguelikes should know what I'm talking about) isn't displayed properly, probably because it should be highlighted or something. Btw, the default 'cons25' is also recognized, but doesn't work at all. Other values for TERM produce an error message, 'foo':cannot open terminal. I'm running 2.2.5-RELEASE, linux_lib-2.4, and the adom binary is in linux-elf format, if this information is of any use. TIA, Priit. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-emulation" in the body of the message