Changeset df747bd8 in mainline for uspace/app/getterm


Ignore:
Timestamp:
2009-12-16T01:59:07Z (16 years ago)
Author:
Martin Decky <martin@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
c26eb39
Parents:
47a350f
Message:

rename getvc to getterm, as the new name is more suitable for the generic nature of the binary
(virtual consoles are hopefully going to be accompanied by other terminal-like devices soon)

Location:
uspace/app/getterm
Files:
7 moved

Legend:

Unmodified
Added
Removed
  • uspace/app/getterm/Makefile.build

    r47a350f rdf747bd8  
    4141
    4242SOURCES = \
    43         getvc.c \
     43        getterm.c \
    4444        version.c
    4545
  • uspace/app/getterm/Makefile.common

    r47a350f rdf747bd8  
    3737DEPEND = Makefile.depend
    3838DEPEND_PREV = $(DEPEND).prev
    39 OUTPUT = getvc
     39OUTPUT = getterm
  • uspace/app/getterm/getterm.c

    r47a350f rdf747bd8  
    2727 */
    2828
    29 /** @addtogroup getvc GetVC
     29/** @addtogroup getterm GetTerm
    3030 * @brief Console initialization task.
    3131 * @{
     
    4444static void usage(void)
    4545{
    46         printf("Usage: getvc <device> <path>\n");
     46        printf("Usage: getterm <terminal> <path>\n");
    4747}
    4848
  • uspace/app/getterm/getterm.h

    r47a350f rdf747bd8  
    2727 */
    2828
    29 /** @addtogroup getvc
     29/** @addtogroup getterm
    3030 * @{
    3131 */
     
    3434 */
    3535
    36 #ifndef GETVC_H__
    37 #define GETVC_H__
     36#ifndef GETTERM_H__
     37#define GETTERM_H__
    3838
    3939#endif
  • uspace/app/getterm/version.c

    r47a350f rdf747bd8  
    2727 */
    2828
    29 /** @addtogroup getvc
     29/** @addtogroup getterm
    3030 * @{
    3131 */
     
    3737#include <stdio.h>
    3838#include <macros.h>
    39 #include "getvc.h"
     39#include "getterm.h"
    4040#include "version.h"
    4141
     
    5757
    5858/** Print version information. */
    59 void version_print(const char *vc)
     59void version_print(const char *term)
    6060{
    6161        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);
    6363        printf("Copyright (c) 2001-2009 HelenOS project\n\n");
    6464}
  • uspace/app/getterm/version.h

    r47a350f rdf747bd8  
    2727 */
    2828
    29 /** @addtogroup getvc
     29/** @addtogroup getterm
    3030 * @{
    3131 */
     
    3737#define VERSION_H__
    3838
    39 extern void version_print(const char *vc);
     39extern void version_print(const char *term);
    4040
    4141#endif
Note: See TracChangeset for help on using the changeset viewer.