From owner-freebsd-questions Tue May 27 03:13:02 1997 Return-Path: Received: (from root@localhost) by hub.freebsd.org (8.8.5/8.8.5) id DAA06364 for questions-outgoing; Tue, 27 May 1997 03:13:02 -0700 (PDT) Received: from mail.EUnet.hu (www.eunet.hu [193.225.28.100]) by hub.freebsd.org (8.8.5/8.8.5) with ESMTP id DAA06333 for ; Tue, 27 May 1997 03:12:57 -0700 (PDT) Received: by mail.EUnet.hu, id MAA14120; Tue, 27 May 1997 12:12:48 +0200 Received: (from zgabor@localhost) by CoDe.hu (8.7.5/8.7.3) id LAA00452; Tue, 27 May 1997 11:29:48 +0200 (MET DST) From: Zahemszky Gabor Message-Id: <199705270929.LAA00452@CoDe.hu> Subject: Re: question To: freebsd-questions@freebsd.org (FreeBSD questions) Date: Tue, 27 May 1997 11:29:48 +0200 (MET DST) Cc: lenya@fpf1.net.kiae.su In-Reply-To: <199705261136.LAA00223@fpf1.net.kiae.su> from lenya at "May 26, 97 11:36:16 am" X-Mailer: ELM [version 2.4ME+ PL11 (25)] MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Sender: owner-questions@freebsd.org X-Loop: FreeBSD.org Precedence: bulk > I need file "termio.h" for compilling. > I did not this file on many sites. > Please say me where i may found "termio.h" or how i can exchange this file. If I know well, termio.h is an old SysV-ism. Old BSD machines used to have sgtty.h (BSD) or something, and most of the modern Unices use termios.h (POSIX). So you have to find an old SVR2 machine somewhere. Well, if I remember well, Coherent had termio, too. Bye, Gabor PS: I think, it would be better to look around in your software, and find, how can it use BSD- or POSIX-like terminal handler routines. PS2: I've just found, that you're from .su, so look around and find an old hungarian machine (VT32x) with DMOS. It has (had) termio, too. -- #!/bin/ksh Z='21N16I25C25E30, 40M30E33E25T15U!' ;IFS=' ABCDEFGHIJKLMNOPQRSTUVWXYZ ';set $Z;for i { [[ $i = ? ]]&&print $i&&break;[[ $i = ??? ]]&&j=$i&&i=${i%?};typeset -i40 i=8#$i;print -n ${i#???};[[ "$j" = ??? ]]&&print -n "${j#??} "&&j=;typeset +i i;};IFS=' 0123456789 ';set $Z;X=;for i { [[ $i = , ]]&&i=2;[[ $i = ?? ]]||typeset -l i;X="$X $i";typeset +l i;};print "$X"