From mboxrd@z Thu Jan 1 00:00:00 1970 Date: Thu, 20 Nov 1997 23:17:31 +0000 From: forsyth@caldo.demon.co.uk forsyth@caldo.demon.co.uk Subject: [9fans] Novice use of libg Topicbox-Message-UUID: 6baf2be8-eac8-11e9-9e20-41e7f4b1d025 Message-ID: <19971120231731.O_FF09mQMVlFa6Q2NGBQ3zTjGjlLBSk3OAkcu4yJclY@z> >> if ((Estdin = estart((ulong)0, 0, 8192)) == 0) >> panic("Estdin = estart(0, 0, 8192) fails"); >> einit(Emouse | Estdin); einit must be called before estart (it initialises the state for the other event routines). on Plan 9, you can use fprint(2, ...); to print directly to a file descriptor, instead of fprintf(stderr, ... avoiding an old library and the possible need to fflush.