summaryrefslogtreecommitdiffstats
path: root/release
diff options
context:
space:
mode:
authorjkh <jkh@FreeBSD.org>1994-11-11 08:33:04 +0000
committerjkh <jkh@FreeBSD.org>1994-11-11 08:33:04 +0000
commit53656a24f8037cf1d550da00dc2c97d07cfd4eae (patch)
treedcbb6ff77462727d8e10cdaa632478fbe3413850 /release
parent59151de82190b81835f61b48bfda74557705adb3 (diff)
downloadFreeBSD-src-53656a24f8037cf1d550da00dc2c97d07cfd4eae.zip
FreeBSD-src-53656a24f8037cf1d550da00dc2c97d07cfd4eae.tar.gz
Add cu (and cu slip dialog) so that poor SLIP users can dial their modems
before initiating a slip transfer.
Diffstat (limited to 'release')
-rw-r--r--release/Makefile4
-rwxr-xr-xrelease/bininst13
-rw-r--r--release/cpio_flp_1.conf2
3 files changed, 14 insertions, 5 deletions
diff --git a/release/Makefile b/release/Makefile
index 9fc9061..81b234f 100644
--- a/release/Makefile
+++ b/release/Makefile
@@ -1,4 +1,4 @@
-# $Id: Makefile,v 1.31 1994/11/10 05:27:56 jkh Exp $
+# $Id: Makefile,v 1.32 1994/11/10 23:43:22 jkh Exp $
#
# Evil floppies are, of course, 1.2MB floppies.
@@ -17,7 +17,7 @@ DDCOUNT= 80
MNT= /mnt
-CPIO1= cat chmod cp date dd df echo ed expr hostname kill ln ls mkdir
+CPIO1= cat chmod cp cu date dd df echo ed expr hostname kill ln ls mkdir
CPIO1+= mt mv rcp rm rmdir sh sleep stty sync test [ -sh
CPIO1+= badsect chown clri disklabel dump dmesg fdisk fsck ifconfig init
CPIO1+= mknod mount mount_cd9660 mount_msdos mount_nfs ncftp newfs ping pwd
diff --git a/release/bininst b/release/bininst
index 154f76d..ba1a12b 100755
--- a/release/bininst
+++ b/release/bininst
@@ -13,7 +13,7 @@
# your name on top after doing something trivial like reindenting it, just
# to make it look like you wrote it!).
#
-# $Id: bininst,v 1.25 1994/11/10 23:43:25 jkh Exp $
+# $Id: bininst,v 1.26 1994/11/11 07:33:50 jkh Exp $
# Some useful constants.
PATH=/usr/bin:/usr/sbin:/bin:/sbin:/stand
@@ -78,7 +78,7 @@ handle_rval() {
# A simple user-confirmation dialog.
confirm() {
- dialog --title "Please Confirm" --msgbox "$*" 6 72
+ dialog --title "User Confirmation" --msgbox "$*" 8 72
}
# A simple message box dialog.
@@ -316,6 +316,15 @@ setup_network_slip()
if ! network_dialog "What speed is the serial interface"; then return 1; fi
serial_speed=$answer
clear="--clear"
+
+ if dialog $clear --title "Dial" --yesno "Do you need to dial the phone or otherwise talk to the modem?"; then
+ touch -f /var/log/aculog >& /dev/null
+ chmod 666 /var/log/aculog >& /dev/null
+ confirm "You may now dialog with your modem and set up the slip connection.\nBe sure to disable DTR sensitivity (usually with AT&D0) or the modem may\nhang up when you exit 'cu'. Use ~. to exit cu and continue."
+ dialog --clear
+ cu -l $serial_interface -s $serial_speed
+ dialog --clear
+ fi
}
setup_network_plip()
diff --git a/release/cpio_flp_1.conf b/release/cpio_flp_1.conf
index fc65132..27f0e74 100644
--- a/release/cpio_flp_1.conf
+++ b/release/cpio_flp_1.conf
@@ -29,7 +29,7 @@ ln reboot halt
# /usr/bin stuff
-progs ftp ncftp rsh sed telnet rlogin
+progs cu ftp ncftp rsh sed telnet rlogin
# finally, we specify the libraries to link in with our binary
OpenPOWER on IntegriCloud