[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: MiNT bug
>On Fri, 27 Mar 1998, Martin-Eric Racine wrote:
>
>>I was just writing this simple script, and it seems MiNT
>>(or the shell?) doesn't understand the $TTY variable:
>>
>>--------/usr/etc/ttylog--------
>>#!/bin/sh
>>echo "MiNT 1.14 ("$HOSTNAME") ("$TTY")"
>>exec tail -f /var/log/syslog
>>#end
>
>change it into:
>echo "MiNT 1.14 ("$HOSTNAME") (`tty`)"
>
>tty in our case is a program that will fetch the current tty,
Sounds nice, except it doesn't excuse MiNT not supporting $TTY which
is a standard Unix environment variable.
-----------------------------------------------------------------
From: Martin-Eric Racine FUNKYWARE http://www.megacom.net/~q-funk
Atari TT030 12/1600 NVDI 4.11, MiNT 1.14.6, N.AES 1.1.0, GlueSTiK
-----------------------------------------------------------------
Unsollicited material will be proof-read for $100 USD per word,
payable within 10 days. Submission of your advertisement to my
address constitutes your formal acceptance of these terms.
-----------------------------------------------------------------
<TITLE><BLINK><H1>No HTML Messages Please!</H1></BLINK></TITLE>