mirror of
https://git.FreeBSD.org/src.git
synced 2024-11-23 07:31:31 +00:00
Add cu (and cu slip dialog) so that poor SLIP users can dial their modems
before initiating a slip transfer.
This commit is contained in:
parent
dcaed5228b
commit
97fa4b4e3c
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=4358
@ -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
|
||||
|
@ -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()
|
||||
|
@ -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
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user