1#! /bin/sh |
2# $Id: MKkey_defs.sh,v 1.8 2002/06/01 17:24:28 tom Exp $ |
3############################################################################## 4# Copyright (c) 2001,2002 Free Software Foundation, Inc. # 5# # 6# Permission is hereby granted, free of charge, to any person obtaining a # 7# copy of this software and associated documentation files (the "Software"), # 8# to deal in the Software without restriction, including without limitation # 9# the rights to use, copy, modify, merge, publish, distribute, distribute # 10# with modifications, sublicense, and/or sell copies of the Software, and to # --- 28 unchanged lines hidden (view full) --- 39 40data=data$$ 41pass1=pass1_$$ 42pass2=pass2_$$ 43pass3=pass3_$$ 44pass4=pass4_$$ 45trap 'rm -f $data pass[1234]_$$' 0 1 2 5 15 46sed -e 's/[ ]\+/ /g' < $DATA |sort -n +5 >$data |
47cat >>$data <<EOF 48key_resize kr1 str R1 KEY_RESIZE + ----- Terminal resize event 49EOF |
50 51cat <<EOF 52/* 53 * These definitions were generated by $0 $DATA 54 */ 55EOF 56 |
57# KEY_RESET 58maxkey=345 |
59 60for pass in 1 2 3 4 61do 62 63output=pass${pass}_$$ 64 65${AWK-awk} >$output <$data ' 66function print_cols(text,cols) { --- 99 unchanged lines hidden --- |