From 62b671f0d17f735646566bcf49b0dc4ffe51f158 Mon Sep 17 00:00:00 2001 From: Peter Stephenson Date: Thu, 8 Feb 2007 10:43:28 +0000 Subject: 23159 plus minor doc tweaks: leave BAUD parameter unset by default --- Src/params.c | 13 ++++++++++--- 1 file changed, 10 insertions(+), 3 deletions(-) (limited to 'Src/params.c') diff --git a/Src/params.c b/Src/params.c index 917f2ee85..8e79b289b 100644 --- a/Src/params.c +++ b/Src/params.c @@ -640,9 +640,16 @@ createparamtable(void) setiparam("LOGCHECK", 60); setiparam("KEYTIMEOUT", 40); setiparam("LISTMAX", 100); -#ifdef HAVE_SELECT - setiparam("BAUD", getbaudrate(&shttyinfo)); /* get the output baudrate */ -#endif + /* + * We used to get the output baud rate here. However, that's + * pretty irrelevant to a terminal on an X display and can lead + * to unnecessary delays if it's wrong (which it probably is). + * Furthermore, even if the output is slow it's very likely + * to be because of WAN delays, not covered by the output + * baud rate. + * So allow the user to set it in the special cases where it's + * useful. + */ setsparam("TMPPREFIX", ztrdup(DEFAULT_TMPPREFIX)); setsparam("TIMEFMT", ztrdup(DEFAULT_TIMEFMT)); setsparam("WATCHFMT", ztrdup(default_watchfmt)); -- cgit 1.4.1