From 53656a24f8037cf1d550da00dc2c97d07cfd4eae Mon Sep 17 00:00:00 2001 From: jkh Date: Fri, 11 Nov 1994 08:33:04 +0000 Subject: Add cu (and cu slip dialog) so that poor SLIP users can dial their modems before initiating a slip transfer. --- release/bininst | 13 +++++++++++-- 1 file changed, 11 insertions(+), 2 deletions(-) (limited to 'release/bininst') 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() -- cgit v1.1