info-3b2@lamc (Info-3b2 Mailing List) (08/26/88)
Info-3b2 Digest, Number 9
Thursday, August 25th 1988
Today's Topics:
Various stuff
autologout.sh
TCP/IP software for 3B2
----------------------------------------------------------------------
Subject: Various stuff
From: pacbell!sactoh0!ejnihill
This is a little give & take:
To the best of my knowledge, these are the correct
cross references.
3B2/300,310,400 30MB Drive = CDC 94155-36
3B2/310,400 72MB Drive = CDC 94255-86
Drive Specs
----------------------------------------------------------------------
Manf. Model Size Cylinders Tracks/ Sectors/ Bytes/
Cylinder Track Sector
----------------------------------------------------------------------
Seagate ST-412 10MB 306 4 18 512
CDC WREN 30MB 697 5 18 512
CDC WREN II 72MB 925 9 18 512
Fujitsu M2243AS 72MB 754 11 18 512
The $50.00 question: Has anyone used other type of drives?
(ie: Micropolis 1325)
The Model 525-CT Tape Cartridge Drive is made by Cipher Data
Products, Inc. (I do not know any more about CDP) It is 32MB
unformatted and 23.3MB formatted, six tracks, 4MB per track and
uses a 3M # DC600A cartridge. (1/4 inch ,600 ft)
The question:
Anybody else make a drop-in 23MB Tape drive?
I have:
Termcap for an IBM PC/XT
pc|PC|ansi standard pc console:\
:al= \El:cd= \E[lbrktJ:ce= \E[K:cl= \E[0;0H\E[2J:\
:cm= \E[%2;%2H:co#80:dl= \EL:\
:li#25:nd= \E[C:pt:sr= \EM:up= \E[A:\
:ku= \E[A:kl= \E[D:kr= \E[C:kd= \E[B:kh= \E[H:\
:k0= \ED:k1= \E;:k2= \E<:k3= \E=:k4= \E>:k5= \E?:\
:k6= \E:k7= \EA:k8= \EB:k9= \EC:\
:se= \E[m:so= \E[7m:us= \E[4m:\
if=/usr/lib/tabset/std:\
:sf= \ED:
(A user gave that to me, UNTESTED)
I need:
Termcap for a WYSE 60
Printer interface for Panosonic# KX-P1080i with serial card.
REMOTE PRINTER INTERFACE SCRIPT
(The filename is the name of the printer on the local system)
(and the file should be located in '/usr/spool/lp/interface')
(MACHINE= remote machine name)
(PRINTER= remote printer name)
======================================================================
#Remote Printer Interface Script
USER=${2} #name of originator on local machine
COPIES=${4} #number of copies passed from the -n option of 'lp'
shift 5 #pass over the first 5 position parameters
files=$* #the rest of the position parameters are the files
#to be printed
# The Printing Of Files
(
for file in $files
do
cat $file 2>&1 #Open file and send to stdout and stderr
#also mapped to stdout
echo "\f\c" #Formfeed between copies
done
#Send Files To Remote Machine
)|uux - -n "MACHINE!/usr/bin/lp -dPRINTER -t${USER} -n${COPIES:=1}"
exit 0
The question:
Are there any suppliers, other than AT&T, of 3B2 circuit
boards?
Thanks for your time and help;
Eric
>From sactoh0!ejnihill Wed Aug 24 04:50:12 1988
Received: by lamc.UUCP (smail2.5)
id AA25346; 24 Aug 88 04:50:12 PDT (Wed)
To: lamc!info-3b2
Subject: autologout.sh
===================================================================
# Run this script from cron once a minuite.
# Watch your system load.
# autologout: logs-off users idle more than MAXTIME minutes.
#Shell script designed for AT&T System V
MAXTIME=10 # Allow 10 minutes idle time
#Select logins idle for over a minute
who -u | sed '/.*\..*/d' | sed 's/://g' |
while read x #capture output of pipe
do
set $x #Assign elements to positional parameters
time=$6 #Save time since last terminal activity
#If time since last activity is greater than MAXTIME prepare
#to log user off.
if [ $time -ge $MAXTIME ]
then
uid=$1 #save users logname
tty=$2 #save users terminal
date="$3 $4 $5" #save users login time
pid=$7 #save process ID of the users shell
cktime=`date "+%H%M"` #store current time in hhmm format
echo "">>/usr/adm/autolog #create log file
echo "`date` $uid $tty WARNING " >> /usr/adm/autolog #log entry
echo "\007\n $uid YOU HAVE BEEN IDLE LONGER THAN $MAXTIME MINUTES \007\n YOU WILL BE LOGGED OFF IN ONE MINUTE\n UNLESS YOU PRESS <RETURN> \007\c">/dev/$tty
#send warning
sleep 60 #wait a minute
set `ls -lu /dev/$tty | sed 's/://'` #last update stored in $9
#if user presses RETURN they're saved
if [ $9 -lt $cktime ] #if not updated in last minute
then
echo "`date ` $uid ++logged off++">>/usr/adm/autolog #log entry
echo "Logged off--excess idle time `date`"|mail $uid #notify user
kill -1 $pid #terminate user's login shell
fi
fi
done
=====================================================================
------------------------------
Subject: TCP/IP software for 3B2
Date: 25 Aug 88 13:16:58 CDT (Thu)
From: lll-tis!ames!harvard!iquery!matt (Matt Reedy)
We have a 3B2/300 with a Starlan NAU connecting several MS-DOS PC's. We
just purchased a DEC Microvax 2000 and would like to connect the 3B2
and the Microvax. I know I'll need a Starlan-to-Ethernet converter (any
info or experience with these is greatly appreciated), but I'd also like
to TCP/IP the 3B2 and Vax for rlogin and rcp. Has anyone tried this
successfully (or unsuccessfully)? Where can I find some TCP/IP software
for the 3B2? (I've found some for the Vax.) Thanks in advance.
matt
---
Matthew Reedy UUCP: {harvard!adelie,gatech!petro}!iquery!matt
Programmed Intelligence Corp. "Lots of people without brains do alot of talking"
400 N Loop 1604 E, Suite 330 Scarecrow - "Wizard of Oz"
San Antonio, TX 78232 (512) 490 6684
-------------------------------------
To join this group or have your thoughts in the next issue, please
send electronic mail to Ken Davis at the following address;
{pacbell,netsys,hoptoad,well}!lamc!info-3b2-request
The views expressed in Info-3b2 Digest are those of the
individual authors only.
*********************
End of Info-3b2 Digest
*********************