[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.

Again I have to ask, which standard? You're confusing shell variables
with environment variables, and you're confusing the tcsh with the
Bourne shell. tcsh definitely does *not* implement any particular standards;
it is most definitely NON-standard. (But we like it a lot because it does
many cool things.) None of these issues have anything to do with the MiNT
kernel, they are all purely application-level issues related to which specific
shell you're using.
  -- Howard