0707070000020032131006440001450000000000010410610360164004000000500000000003Size30 0707070000020032141006440001450000000000010410620372373364500000700000000754README This is the new keyswitch loadable driver that has been on THE STORE! for some time. The left-control/CAPSLOCK keyswitch works the same. The addition is that if the right-shift, and the right- control are pushed at the same time, the user's next open window is made active in the same manner as the NEXT or PREVIOUS function in the Office although it works on all open windows. Credits: Paul Fox Further information from: Jonathan Clark MT 3G317 957 2586 mtung!jhc, olorin!jonathan 0707070000020032151006440001450000000000010410630361100566700000600000000123Files./Size ./README ./Files ./Install ./Name ./Remove ./capctl.o ./MAKEflop ./MAKEcpio 0707070000020032161007770001450000000000010410640372373415000001000000010551Install DRIVERNAME="capctl" PRETTYNAME="CAPSLOCK/CTRL keyswitch" # set DEVNAME to null if no /dev entry needed DEVNAME= MASTERPREFIX="KbD_" # MASTERCALLS should be a combination of: # init release # open close read write ioctl pwr print strategy fix flt # char block required supp nocnt once MASTERCALLS="init release once nocnt" DRVLIST=/etc/lddrv/InstDrv CURDIR=`pwd` Name=`cat ./Name` RET=`grep "$Name" /usr/installed/CONTENTS| awk ' length > 6 { print $1 } '` cnt=`expr \`echo $RET |wc -w\`` if [ "$cnt" -gt "1" ] then message "The $Name package has been installed before. If you want to reinstall it, first uninstall the current package." grep -v "^$Name" /usr/installed/CONTENTS >/tmp/cnt$$ mv /tmp/cnt$$ /usr/installed/CONTENTS set $RET echo "$1 $Name" >>/usr/installed/CONTENTS exit 1 else Remove=/usr/installed/${RET}.un echo "Installing the $Name package." fi chmod +x $Remove #------ if [ ! -s /etc/lddrv/lddrv ] then message "You need to install a 3.0 UNIX System release before installing the $Name Package. Contact AT&T Support for information. Aborting $Name installation." message "Please select 'Remove Installed Software' and remove this package. IGNORE the message that installation is complete. The installation of this package has been ABORTED!!" exit 1 fi echo Installing "$PRETTYNAME" echo "Adding $DRIVERNAME driver /etc/master entry" # someone ELSE's driver, also # by chance called $DRIVERNAME cd /etc/lddrv; ./lddrv -dv $DRIVERNAME cd $CURDIR masterupd -d $DRIVERNAME >/dev/null 2>&1 RET=`masterupd -a -p $MASTERPREFIX $MASTERCALLS $DRIVERNAME 2>&1` retcode="$?" if [ "$retcode" = "255" ] then message "The maximum number of loadable character drivers has already been added. You must uninstall a loadable driver in order to install this package. Aborting $Name Installation." message "Please select 'Remove Installed Software' and remove this package. IGNORE the message that installation is complete. The installation of this package has been ABORTED!!" exit 1 elif [ "$retcode" != "0" ] then message "There is a problem adding the $DRIVER driver master entry --" $RET. "Aborting $Name Installation." message "Please select 'Remove Installed Software' and remove this package. IGNORE the message that installation is complete. The installation of this package has been ABORTED!!" exit 1 fi echo "Updating Loadable Drivers tables" if [ -f $DRVLIST ] then cp $DRVLIST $UA/tmp$$ uaupd -r "$PRETTYNAME" tmp$$ mv $UA/tmp$$ $DRVLIST fi cat >>$DRVLIST </tmp/ld$$ mv /tmp/ld$$ /etc/lddrv/drivers echo "$DRIVERNAME" >>/etc/lddrv/drivers cat >>$Remove </tmp/drv\$\$ mv /tmp/drv\$\$ /etc/lddrv/drivers END if [ "$DEVNAME" ] then MAJDEV=`masterupd -c $DRIVERNAME` echo "Adding devices" rm -f ${DEVNAME}* mknod $DEVNAME c $MAJDEV 0 if [ "$?" != "0" ] then message "Can't create $DRIVERNAME device ($DEVNAME).\n\nAborting $Name Installation." message "Please select 'Remove Installed Software' and remove this package. IGNORE the message that installation is complete. The installation of this package has been ABORTED!!" exit 1 fi chmod 666 $DEVNAME chown root $DEVNAME chgrp sys $DEVNAME cat >>$Remove <>/usr/adm/drv.log echo "Removing $Name files" mv /etc/lddrv/${DRIVERNAME}.o /tmp END fi echo "Installing $DRIVERNAME object module" rm -f /etc/lddrv/${DRIVERNAME}.o if [ -f /etc/lddrv/${DRIVERNAME}.o ] then mv /etc/lddrv/${DRIVERNAME}.o /tmp fi mv ${DRIVERNAME}.o /etc/lddrv # load driver echo "Loading $DRIVERNAME driver" cd /etc/lddrv ; ./lddrv -av $DRIVERNAME >>/usr/adm/drv.log 2>&1 if [ "$?" != "0" ] then message "Cannot load $DRIVERNAME driver.\ (Check /usr/adm/drv.log file for status information.)" fi message -i "Pressing CapsLock, lefthand Shift, and lefthand Ctrl together \ inverts the senses of CapsLock and lefthand Ctrl. Pressing righthand Ctrl \ and righthand Shift makes another window active.\n\ This package is a service of the Distributed Programming Tools group.\n\ Press Enter to continue" 0707070000020032171006440001450000000000010410710360164025300000500000000105NameCAPCTL - from the Distributed Programming Tools group via THE STORE! 0707070000020032201007770001450000000000010410720360164004000000700000000001Remove 0707070000020032211007550001450000000000010410730372373374000001100000015574capctl.oR@lH  .text  .data @.bss  NVN-@. /</<N FP. /</<N .P. /</<N P.NN^NuNVN-@. /<N .X. /<N X. /<N X.NN^NuNVH.  @gF0" 6p0Ѐ.p2"|ǁQ. f,LN^NuNv`p0Ѐ"|BqRC Cev`p0Ѐ"|<1p0Ѐ"|01@:p0Ѐ3p0Ѐ"|BqJEgFx`:p0gp0r.p0r2Ё/NXp0:p0<RD DeRC Cepp09  fy    p090 0fJ9 fp`p `NVH. &. Hg IfJJg>R9 IfJ9gR.N`\S9`R9 g MfzJg8R9 Mf2J9g*R.N`S9J9g$Hnp9/NP8 Dg3LN^NuJf9fN`9 fy9HH` ~f$y9HH.N`Hn0/NP8 Dgx0.H.0H/NX`XNVH 9d:. gB9L N^Nu9R92 | `B9B@. @6B@94J9 gCBy . f0D@4. f0D@60Hѹ0HJlB` o #JlB` o #. R.N`NVBB.=y 9jDD`=@yB9N-@J9gJg 9..N-@`BB`j9HHЮй.N-@..N"|A-H((g.N,JfB.N`R .ⰹmB9JnlBn` no=|JnlBn` n[o=|[Jg y((g yJf0."yie8"yi d,0."yi e0."yid -y`0."yQe>"yid20."yie"0."yid-y|`-y`|` n-hJgp0."nQe"nid0."nie0."nid0."nie"ni d0."ni e0."nidxJg"J.f n(g nA#` #33#.9gN n,m>J.g J9f0.H.0.H/NX.NN^NuJ.g4J9f, ng Jf-yJg.N` nfJg yh0."ni=@0.i =@J.f.HHr €g0."yie0"yid$0."yie0."yidp`p@Jg.g y(p`J.f:.g2 y(p..HH/0.H/0.H/N`N9.g.9@J.g4Jf.HH.0.H/0.H//.N `^.g.HH.HHgp`d.g2.HH9HHgp`?>@A;BBC1BB*58DJ<V5`5j555555 5 DE LB ^B F B  zG    G .filegcapctls.c.text .data .bss kscansav mscansav mousesav Kctrl1 Kcaplck Mfast ismgrwin _strcmp *kbdwakeKbD_initKbD_reledspl7ljg_kscakscanpatch hpgf_mscamscanpgf_mousmousesplxunpatch ljg_kupd0keynewkillreptkeyoldkshiftkctrlwdomswakewakeupkreptkbdkxlatkreptcodkcaplockknumlockkoutkhighmstatemdataphysmxphysmymbismouseomsvisspl0keywpwindefldiv__win_cntulrem__lmul__lastwpwselectwfrontmiconsysiconlastmxlastmylastmbmsbelowsyswinmsreportmsborderbcopy0707070000020032261007770001450000000000010410760360164004100001100000000045MAKEflopcat Files | cpio -ocBv > /dev/rfp021 0707070000020032271007770001450000000000010410770360164021300001100000000046MAKEcpiocat Files | cpio -ocBv > KEYSWITCH+IN 0707070000020032271007770001450000000000010410770360164021300001300000000000TRAILER!!!#$#%"&&'(&&.6@)F)`*f*x+'&,----.-$.,8.`/j0p/x///000012#$#%/01"$*304:D5L5R6^7v889:6;<8&;0;@;R;^;n;~;;;;;;;=>?>@A;BBC1BB*58DJ<V5`5j555555 5 DE LB ^B F B  zG    G .filegcapctls.c.text .data .bss kscansav mscansav mousesav Kctrl1 Kcaplck Mfast ismgrwin _strcmp *kbdwakeKbD_initKbD_reledspl7ljg_kscakscanpatch hpgf_mscamscanpgf_mousmousesplxunpatch ljg_kupd0keynewkillreptkeyoldkshiftkctrlwdomswakewakeupkreptkbdkxlatkreptcodkcaplockknumlockkoutkhighmstatemdataphysmxphysmymbismouseomsvisspl0keywpwindefldiv__win_cntulrem__lmul__lastwpwselectwfrontmicon