vsta

Check-in [b5b8acd181]
Login

Many hyperlinks are disabled.
Use anonymous login to enable hyperlinks.

Overview
Comment:Add a teensy stty(1) emulation.
Downloads: Tarball | ZIP archive | SQL archive
Timelines: family | ancestors | descendants | both | master | trunk
Files: files | file ages | folders
SHA3-256:b5b8acd18166527d2b87eeccc10f4f420cbda3d36ab8e6ff5c4df95733a28370
User & Date: vandys 2002-01-25 10:53:03
Context
2002-01-25
10:53
*** empty log message *** check-in: 5415a936ab user: vandys tags: master, trunk
10:53
Add a teensy stty(1) emulation. check-in: b5b8acd181 user: vandys tags: master, trunk
2002-01-21
08:49
Add symbol tabler check-in: 0d6d3e328e user: vandys tags: master, trunk
Changes
Hide Diffs Unified Diffs Ignore Whitespace Patch

Changes to vsta/src/bin/cmds/makefile.

10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
	sleep.o stat.o strings.o swapd.o test.o touch.o tput.o \
	uname.o wc.o which.o xargs.o dump.o operators.o true.o \
	false.o whoami.o egrep.o fgrep.o awk.o cc.o [.o view.o \
	ascii.o dirname.o

include ../../makefile.all

SHPROGS=hostname man more mt reboot shutdown

rcsdo: rcsdo.o
	$(LD) $(LDFLAGS) -o rcsdo $(CRT0) rcsdo.o -lc

changed: changed.o
	$(LD) $(LDFLAGS) -o changed $(CRT0) changed.o -lc








|







10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
	sleep.o stat.o strings.o swapd.o test.o touch.o tput.o \
	uname.o wc.o which.o xargs.o dump.o operators.o true.o \
	false.o whoami.o egrep.o fgrep.o awk.o cc.o [.o view.o \
	ascii.o dirname.o

include ../../makefile.all

SHPROGS=hostname man more mt reboot shutdown stty

rcsdo: rcsdo.o
	$(LD) $(LDFLAGS) -o rcsdo $(CRT0) rcsdo.o -lc

changed: changed.o
	$(LD) $(LDFLAGS) -o changed $(CRT0) changed.o -lc

Added vsta/src/bin/cmds/stty.sh.













































































>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
#!/bin/sh
#
# stty.sh
#	Emulate common stty command functions
#
# "stty sane" is especially useful....
#
if [ -z "$*" ]
then
	vals=`stat -`
	for x in $vals ; do eval $x ; done
	if [ ! -z "$baud" ]
	then
		echo -n " "speed" "$baud
	fi
	if [ ! -z "$onlcr" ]
	then
		if [ $onlcr -gt 0 ]
		then
			echo -n " onlcr"
		fi
	fi
	echo ""
else
	for x
	do
		case $x in
		-xkeys) stat -w - xkeys=0 ;;	# Extended keys
		xkeys) stat -w - xkeys=1 ;;
		-isig) stat -w - isig=0 ;;	# Signal generation from keys
		isig) stat -w - isig=1 ;;
		-onlcr) stat -w - onlcr=0 ;;	# Auto-CR addition
		onlcr) stat -w - onlcr=1 ;;
		sane) stat -w - reset ;;
		*) echo Unknown option: $x ;;
		esac
	done
fi