From owner-freebsd-hackers Thu Dec 31 02:07:28 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id CAA14340 for freebsd-hackers-outgoing; Thu, 31 Dec 1998 02:07:28 -0800 (PST) (envelope-from owner-freebsd-hackers@FreeBSD.ORG) Received: from relay.ucb.crimea.ua (relay.ucb.crimea.ua [194.93.177.113]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id CAA14253 for ; Thu, 31 Dec 1998 02:05:12 -0800 (PST) (envelope-from ru@ucb.crimea.ua) Received: (from ru@localhost) by relay.ucb.crimea.ua (8.8.8/8.8.8) id MAA02446; Thu, 31 Dec 1998 12:00:57 +0200 (EET) (envelope-from ru) Date: Thu, 31 Dec 1998 12:00:57 +0200 From: Ruslan Ermilov To: Brian Somers Cc: FreeBSD Hackers Subject: Proposed small change to ppp(8): CONNECT -> CALLER_ID Message-ID: <19981231120057.A1164@ucb.crimea.ua> Mail-Followup-To: Brian Somers , FreeBSD Hackers Mime-Version: 1.0 Content-Type: multipart/mixed; boundary=AqsLC8rIMeq19msA Content-Transfer-Encoding: 8bit X-Mailer: Mutt 0.94.17i X-Operating-System: FreeBSD 2.2.8-STABLE i386 Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG --AqsLC8rIMeq19msA Content-Type: text/plain; charset=koi8-r Content-Transfer-Encoding: 8bit Hi! How about logging CALLER_ID to the host field instead of CONNECT? It looks more meaningful. Look: # w 11:57 up 4 days, 12:03, 8 users, load averages: 0.58, 0.41, 0.24 USER TTY FROM LOGIN@ IDLE WHAT dakota c00 +02732231 11:55 1 ppp -direct uupf17 c01 - 11:56 - - dep05 c02 +02546701 11:51 - ppp -direct ru p0 wks-1-250 ÓÒ 03ÐÐ - w rost p1 rost ÓÒ 03ÐÐ 13 ftp rtuis.miem.edu.ru rost p2 rost 10:21 1:27 ftp rtuis.miem.edu.ru rost p3 rost 10:33 1:07 -tcsh (tcsh) bill p4 wks-1-254 11:05 51 deco # last -tcuac00 epi cuac00 +04933301 Thu Dec 31 10:53 - 10:54 (00:00) parus cuac00 +02476691 Thu Dec 31 10:48 - 10:49 (00:00) terhold cuac00 +02493761 Thu Dec 31 10:10 - 10:21 (00:10) inkomplu cuac00 +02297181 Thu Dec 31 09:44 - 09:46 (00:02) parus cuac00 +02476691 Thu Dec 31 09:19 - 09:20 (00:00) parus cuac00 +02476691 Thu Dec 31 09:11 - 09:13 (00:01) dakota cuac00 +02732231 Thu Dec 31 08:57 - 08:58 (00:00) dakota cuac00 +02732231 Thu Dec 31 08:55 - 08:55 (00:00) parus cuac00 +02476691 Thu Dec 31 08:43 - 08:44 (00:01) steve cuac00 +02546681 Thu Dec 31 00:51 - 01:55 (01:04) steve cuac00 +02546681 Thu Dec 31 00:46 - 00:50 (00:03) sasha cuac00 +02719391 Thu Dec 31 00:10 - 00:42 (00:32) sasha cuac00 +02719391 Wed Dec 30 23:12 - 00:08 (00:56) sasha cuac00 +02719391 Wed Dec 30 22:49 - 22:53 (00:04) sasha cuac00 +02749061 Wed Dec 30 21:44 - 21:49 (00:05) sasha cuac00 +02749061 Wed Dec 30 21:24 - 21:41 (00:17) sasha cuac00 +02749061 Wed Dec 30 21:14 - 21:21 (00:07) sasha cuac00 +02719391 Wed Dec 30 20:18 - 20:36 (00:18) sasha cuac00 +02719391 Wed Dec 30 20:08 - 20:10 (00:01) One-line patch is in attachment. BR, -- Ruslan Ermilov Sysadmin and DBA of the ru@ucb.crimea.ua United Commercial Bank +380.652.247.647 Simferopol, Ukraine http://www.FreeBSD.org The Power To Serve http://www.oracle.com Enabling The Information Age --AqsLC8rIMeq19msA Content-Type: text/plain; charset=us-ascii Content-Disposition: attachment; filename="physical.c.diff" Index: physical.c =================================================================== RCS file: /usr/FreeBSD-CVS/src/usr.sbin/ppp/physical.c,v retrieving revision 1.6 diff -u -r1.6 physical.c --- physical.c 1998/08/25 17:48:43 1.6 +++ physical.c 1998/12/29 11:14:32 @@ -196,7 +196,7 @@ time(&ut.ut_time); strncpy(ut.ut_name, name, sizeof ut.ut_name); strncpy(ut.ut_line, phys->name.base, sizeof ut.ut_line); - if ((connstr = getenv("CONNECT"))) + if ((connstr = getenv("CALLER_ID"))) /* mgetty sets this to the connection speed */ strncpy(ut.ut_host, connstr, sizeof ut.ut_host); ID0login(&ut); --AqsLC8rIMeq19msA-- To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message