[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Virtual timer expired
- To: firstname.lastname@example.org (Danny Jared Epstein)
- Subject: Re: Virtual timer expired
- From: Urs Hoelzle <urs>
- Date: Thu, 15 Nov 1990 16:39:02 PST
- Cc: self-interest
- In-reply-to: Your message of Thu, 15 Nov 90 19:13:04 EST
- Reply-to: Urs Hoelzle <email@example.com>
> I have just started using SELF 1.0 and have run into a problem with the
> unixCommand primitive. I have been using the SELF expression:
> 'emacs' unixCommand
> to edit script files. The problem is that some time later, the message:
> Virtual timer expired
> (usually followed by a number) appears on the screen and control is
> returned to SELF (ie. emacs is aborted).
This is indeed a bug; I would suggest that you stop Self with ^Z, then use
Emacs, then go back to Self; not too elegant but it works.
> I have looked into getting access to the keyboard by reading '/dev/console'
> and it looks promising. All you have to do is call the unix command:
> stty raw -icanon -echo
> before reading keys.
An easier way is to use the _CBreak: primitive (p. I-43 of the manual)
which achieves the same effect (and handles ^Z).
Hope that helps,