Changeset 3b3e776 in mainline for uspace/app/getterm
- Timestamp:
- 2010-02-05T10:57:50Z (16 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- 0358da0
- Parents:
- 3f085132 (diff), b4cbef1 (diff)
Note: this is a merge changeset, the changes displayed below correspond to the merge itself.
Use the(diff)links above to see all the changes relative to each parent. - Location:
- uspace/app/getterm
- Files:
-
- 7 moved
-
Makefile (moved) (moved from uspace/app/redir/Makefile.common ) (2 diffs)
-
Makefile.build (moved) (moved from uspace/app/getvc/Makefile.build )
-
Makefile.common (moved) (moved from uspace/app/getvc/Makefile.common )
-
getterm.c (moved) (moved from uspace/app/getvc/getvc.c ) (2 diffs)
-
getterm.h (moved) (moved from uspace/app/getvc/getvc.h ) (2 diffs)
-
version.c (moved) (moved from uspace/app/getvc/version.c ) (3 diffs)
-
version.h (moved) (moved from uspace/app/getvc/version.h ) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
uspace/app/getterm/Makefile
r3f085132 r3b3e776 1 1 # 2 2 # Copyright (c) 2005 Martin Decky 3 # Copyright (c) 2007 Jakub Jermar 3 4 # All rights reserved. 4 5 # … … 27 28 # 28 29 30 include ../../../version 31 DEFS += -DRELEASE=$(RELEASE) "-DNAME=$(NAME)" 29 32 30 ## Common names 31 # 32 33 LIBC_PREFIX = ../../lib/libc 34 SOFTINT_PREFIX = ../../lib/softint 33 USPACE_PREFIX = ../.. 35 34 LIBS = $(LIBC_PREFIX)/libc.a 36 35 37 DEPEND = Makefile.depend 38 DEPEND_PREV = $(DEPEND).prev 39 OUTPUT = redir 36 OUTPUT = getterm 37 38 SOURCES = \ 39 getterm.c \ 40 version.c 41 42 include ../Makefile.common -
uspace/app/getterm/getterm.c
r3f085132 r3b3e776 27 27 */ 28 28 29 /** @addtogroup get vc GetVC29 /** @addtogroup getterm GetTerm 30 30 * @brief Console initialization task. 31 31 * @{ … … 44 44 static void usage(void) 45 45 { 46 printf("Usage: get vc <device> <path>\n");46 printf("Usage: getterm <terminal> <path>\n"); 47 47 } 48 48 -
uspace/app/getterm/getterm.h
r3f085132 r3b3e776 27 27 */ 28 28 29 /** @addtogroup get vc29 /** @addtogroup getterm 30 30 * @{ 31 31 */ … … 34 34 */ 35 35 36 #ifndef GET VC_H__37 #define GET VC_H__36 #ifndef GETTERM_H__ 37 #define GETTERM_H__ 38 38 39 39 #endif -
uspace/app/getterm/version.c
r3f085132 r3b3e776 27 27 */ 28 28 29 /** @addtogroup get vc29 /** @addtogroup getterm 30 30 * @{ 31 31 */ … … 37 37 #include <stdio.h> 38 38 #include <macros.h> 39 #include "get vc.h"39 #include "getterm.h" 40 40 #include "version.h" 41 41 … … 57 57 58 58 /** Print version information. */ 59 void version_print(const char * vc)59 void version_print(const char *term) 60 60 { 61 61 printf("HelenOS release %s (%s)%s%s\n", release, name, revision, timestamp); 62 printf("Running on %s (%s)\n", arch, vc);62 printf("Running on %s (%s)\n", arch, term); 63 63 printf("Copyright (c) 2001-2009 HelenOS project\n\n"); 64 64 } -
uspace/app/getterm/version.h
r3f085132 r3b3e776 27 27 */ 28 28 29 /** @addtogroup get vc29 /** @addtogroup getterm 30 30 * @{ 31 31 */ … … 37 37 #define VERSION_H__ 38 38 39 extern void version_print(const char * vc);39 extern void version_print(const char *term); 40 40 41 41 #endif
Note:
See TracChangeset
for help on using the changeset viewer.
