#include #include void putat (int i) { while (i--) putchar ('@'); } int main (int argc, char *argv[]) { struct termios raw, old; tcgetattr (0, &old); tcgetattr (0, &raw); cfmakeraw (&raw); tcsetattr (0, TCSANOW, &raw); fputs ("\033[H\033[2J", stdout); putat (80); fputs ("\r\n", stdout); fputs ("*", stdout); fputs ("\r\n\n", stdout); putat (80); fputs ("a", stdout); fputs ("\r\n", stdout); fputs ("*", stdout); fputs ("\r\n\n", stdout); putat (80); fputs ("\rb\n", stdout); fputs ("*", stdout); fputs ("\r\n\n", stdout); putat (80); fputs ("\nc\n", stdout); fputs ("*", stdout); fputs ("\r\n\n", stdout); putat (80); fputs ("\033[Cd", stdout); fputs ("\r\n", stdout); fputs ("*", stdout); fputs ("\r\n\n", stdout); putat (80); fputs ("\033[De", stdout); fputs ("\r\n", stdout); fputs ("*", stdout); fputs ("\r\n\n", stdout); tcsetattr (0, TCSANOW, &old); return 0; } > upstream openwrtJames
aboutsummaryrefslogtreecommitdiffstats
blob: cb68454c91c8e5bcde01c7580ba5620e6e31a029 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
# 
# Copyright (C) 2007 OpenWrt.org
#
# This is free software, licensed under the GNU General Public License v2.
# See /LICENSE for more information.
#
curdir:=target

$(curdir)/builddirs:=linux sdk imagebuilder toolchain
$(curdir)/builddirs-default:=linux
$(curdir)/builddirs-install:=linux $(if $(CONFIG_SDK),sdk) $(if $(CONFIG_IB),imagebuilder) $(if $(CONFIG_MAKE_TOOLCHAIN),toolchain)

$(curdir)/imagebuilder/install:=$(curdir)/linux/install

$(eval $(call stampfile,$(curdir),target,prereq,.config))
$(eval $(call stampfile,$(curdir),target,compile,$(TMP_DIR)/.build))
$(eval $(call stampfile,$(curdir),target,install,$(TMP_DIR)/.build))

$($(curdir)/stamp-install): $($(curdir)/stamp-compile) 

$(eval $(call subdir,$(curdir)))