Fork us on GitHub Follow us on Facebook Follow us on Twitter

Changeset 03e0a244 in mainline


Ignore:
Timestamp:
2012-01-12T12:19:51Z (10 years ago)
Author:
Vojtech Horky <vojtechhorky@…>
Branches:
lfn, master
Children:
a1347a7
Parents:
178d6a3
Message:

remcons: display welcome message

File:
1 edited

Legend:

Unmodified
Added
Removed
  • uspace/srv/hid/remcons/remcons.c

    r178d6a3 r03e0a244  
    5858
    5959#define APP_GETTERM  "/app/getterm"
    60 
     60#define APP_SHELL "/app/bdsh"
    6161
    6262/** Telnet commands to force character mode
     
    225225
    226226        task_id_t task;
    227         rc = task_spawnl(&task, APP_GETTERM, APP_GETTERM, term, "/app/bdsh", NULL);
    228         if (rc != EOK) {
    229                 telnet_user_error(user, "Spawning %s %s %s failed: %s.",
    230                     APP_GETTERM, term, "/app/bdsh", str_error(rc));
     227        rc = task_spawnl(&task, APP_GETTERM, APP_GETTERM, "-w", term, APP_SHELL, NULL);
     228        if (rc != EOK) {
     229                telnet_user_error(user, "Spawning `%s -w %s %s' failed: %s.",
     230                    APP_GETTERM, term, APP_SHELL, str_error(rc));
    231231                fibril_mutex_lock(&user->guard);
    232232                user->task_finished = true;
Note: See TracChangeset for help on using the changeset viewer.