diff options
author | tv <tv@xso> | 2011-08-13 14:56:27 +0200 |
---|---|---|
committer | tv <tv@xso> | 2011-08-13 14:56:27 +0200 |
commit | b50c069f0f824f47234d29d8784489a31c0b5d40 (patch) | |
tree | 3b05bbc583007550f402cfd77e9ffb91e08656b0 /cholerab/knut/plugs | |
parent | df6c500d626358f6f7d6fa231ec21b85b0a42319 (diff) |
cholerab knut: initial commit
Diffstat (limited to 'cholerab/knut/plugs')
-rwxr-xr-x | cholerab/knut/plugs/ttycnser/bin/login | 4 | ||||
-rwxr-xr-x | cholerab/knut/plugs/ttycnser/bin/write | 4 | ||||
l--------- | cholerab/knut/plugs/ttycnser/index | 1 |
3 files changed, 9 insertions, 0 deletions
diff --git a/cholerab/knut/plugs/ttycnser/bin/login b/cholerab/knut/plugs/ttycnser/bin/login new file mode 100755 index 00000000..bf88d6f9 --- /dev/null +++ b/cholerab/knut/plugs/ttycnser/bin/login @@ -0,0 +1,4 @@ +#! /bin/sh +set -euf +pipe="/tmp/krebscode.painload.cholerab.ttycnser.${LOGNAME}" +ln -snf "`tty`" "$pipe" diff --git a/cholerab/knut/plugs/ttycnser/bin/write b/cholerab/knut/plugs/ttycnser/bin/write new file mode 100755 index 00000000..f358407a --- /dev/null +++ b/cholerab/knut/plugs/ttycnser/bin/write @@ -0,0 +1,4 @@ +#! /bin/sh +set -euf +pipe="/tmp/krebscode.painload.cholerab.ttycnser.${LOGNAME}" +echo -n "7[2;1H[2K[33;1m>>>> ${params}8" > "${pipe}" diff --git a/cholerab/knut/plugs/ttycnser/index b/cholerab/knut/plugs/ttycnser/index new file mode 120000 index 00000000..2d949688 --- /dev/null +++ b/cholerab/knut/plugs/ttycnser/index @@ -0,0 +1 @@ +bin/write
\ No newline at end of file |