fix: term doesn't copy arg for output device. the following works for me given the changes below
fsysopts /dev/console /dev/vcs/10/console -- Where I have been dumping syslog output. -- Now console messages show up 'rightly' :) Question: I don't see a join in the (*bottom->finis)() calls. Is there some magic that I don't know about in term or the libraries that is managing the threads, or should the threads be saved and joined on finis' calls? 2002-11-19 David Walter <[EMAIL PROTECTED]> * main.c (parse_opt): copy arg to tty_arg for switching console output to new arg. Index: ChangeLog =================================================================== RCS file: /cvsroot/hurd/hurd/term/ChangeLog,v retrieving revision 1.86 diff --unified -w -i -r1.86 ChangeLog --- ChangeLog 10 Sep 2002 18:58:47 -0000 1.86 +++ ChangeLog 20 Nov 2002 03:59:49 -0000 @@ -1,3 +1,8 @@ +2002-11-19 David Walter <[EMAIL PROTECTED]> + + * main.c (parse_opt): copy arg to tty_arg for switching console + output to new arg. + 2002-09-10 Marcus Brinkmann <[EMAIL PROTECTED]> * hurdio.c (hurdio_writer_loop): Check output_stopped instead termflags. Index: main.c =================================================================== RCS file: /cvsroot/hurd/hurd/term/main.c,v retrieving revision 1.31 diff --unified -w -i -r1.31 main.c --- main.c 18 Aug 2002 19:57:52 -0000 1.31 +++ main.c 20 Nov 2002 03:59:50 -0000 @@ -215,6 +215,11 @@ (*bottom->fini) (); tty_type = v->type; + if (v->arg && tty_arg) + { + free (tty_arg); + tty_arg = strdup (v->arg); + } switch (tty_type) { case T_DEVICE: -- pub 1024D/DC92AE30 2002-02-26 David Walter <[EMAIL PROTECTED]> fingerprint = 50A0 E513 732D 1D0F BD26 C84E A8DD 9D80 DC92 AE30 sub 2048g/51023582 2002-02-26 _______________________________________________ Bug-hurd mailing list [EMAIL PROTECTED] http://mail.gnu.org/mailman/listinfo/bug-hurd