Subject: misc/12749: /etc/remote suggestions
To: None <gnats-bugs@gnats.netbsd.org>
From: None <Scott.Telford@torridonplc.com>
List: netbsd-bugs
Date: 04/25/2001 15:19:42
>Number:         12749
>Category:       misc
>Synopsis:       Suggestions for improving /etc/remote
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    misc-bug-people
>State:          open
>Class:          change-request
>Submitter-Id:   net
>Arrival-Date:   Wed Apr 25 07:21:00 PDT 2001
>Closed-Date:
>Last-Modified:
>Originator:     Scott Telford
>Release:        1.5
>Organization:
Ideation Technology Ltd.
>Environment:
System: NetBSD dogbolter 1.5 NetBSD 1.5 (DOGBOLTER) #5: Tue Jan 16 15:23:52 GMT 2001 stelford@dogbolter:/usr/src/sys/arch/i386/compile/DOGBOLTER i386


>Description:
	Some suggestions for changes to /etc/remote.
	
>How-To-Repeat:
	
>Fix:
	- Now that we have /dev/dty* devices, shouldn't all references
	to /dev/tty* in /etc/remote be changed to the equivalent
	/dev/dty device?

	- the com0* entry names are a bit PC-centric (looking at the CVS
	log, they seem to have been inherited from 386BSD). I suggest
	changing them to dty0* or tty0*, although, of course, some ports
	have different naming conventions (ie. tty/dty[abcd] on Suns).

	- since many systems have at least 2 ports, an entry
	corresponding to com0 for tty/dty01 would be useful (above
	caveat applies again).

	- "pa=none" is probably sensible for most cases.

I've appended a diff illustrating these changes.

--- /tmp/remote.orig	Wed Apr 25 15:07:35 2001
+++ /tmp/remote	Wed Apr 25 15:07:39 2001
@@ -29,12 +29,15 @@
 # General dialer definitions used below
 #
 dial2400|2400 Baud Hayes attributes:\
-        :dv=/dev/tty00:br#2400:cu=/dev/tty00:at=hayes:du:
+        :dv=/dev/dty00:br#2400:cu=/dev/dty00:at=hayes:du:
 dial1200|1200 Baud Hayes attributes:\
-        :dv=/dev/tty00:br#1200:cu=/dev/tty00:at=hayes:du:
+        :dv=/dev/dty00:br#1200:cu=/dev/dty00:at=hayes:du:
+
+# Hardwired lines
+dty0c|dty0:dv=/dev/dty00:br#9600:pa=none:dc:
+dty0b:dv=/dev/dty00:br#2400:pa=none:dc:
+dty1c|dty1:dv=/dev/dty01:br#9600:pa=none:dc:
+dty1b:dv=/dev/dty01:br#2400:pa=none:dc:
 
-# Hardwired line
-com0c|com0:dv=/dev/tty00:br#9600:dc:
-com0b:dv=/dev/tty00:br#2400:dc:
 # REMEMBER NOT TO USE PARITY!
-console:dv=/dev/tty01:br#9600:pa=none:dc:
+console:dv=/dev/dty01:br#9600:pa=none:dc:
>Release-Note:
>Audit-Trail:
>Unformatted: