[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
/dev/console switching : fix: term doesn't copy arg for output device.
From: |
David Walter |
Subject: |
/dev/console switching : fix: term doesn't copy arg for output device. |
Date: |
Tue, 19 Nov 2002 23:17:56 -0500 |
User-agent: |
Gnus/5.090007 (Oort Gnus v0.07) XEmacs/21.4 (Honest Recruiter, hurd-i386-debian) |
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 <dwalter@syr.edu>
* 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 <dwalter@syr.edu>
+
+ * main.c (parse_opt): copy arg to tty_arg for switching console
+ output to new arg.
+
2002-09-10 Marcus Brinkmann <marcus@gnu.org>
* 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 <dwalter@syr.edu>
fingerprint = 50A0 E513 732D 1D0F BD26 C84E A8DD 9D80 DC92 AE30
sub 2048g/51023582 2002-02-26
- /dev/console switching : fix: term doesn't copy arg for output device.,
David Walter <=
- Re: /dev/console switching : fix: term doesn't copy arg for output device., Roland McGrath, 2002/11/20
- Re: /dev/console switching: the continuing saga, David Walter, 2002/11/20
- Re: /dev/console switching: the continuing saga, Marcus Brinkmann, 2002/11/20
- Re: /dev/console switching: the continuing saga, David Walter, 2002/11/20
- Re: /dev/console switching: the continuing saga, David Walter, 2002/11/20
- Re: /dev/console switching: the continuing saga, Roland McGrath, 2002/11/20
- Re: /dev/console switching: the continuing saga, David Walter, 2002/11/20
- Re: /dev/console switching: the continuing saga, Roland McGrath, 2002/11/20