/[hurd]/hurd/console-client/console.c
ViewVC logotype

Diff of /hurd/console-client/console.c

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 1.2 by marcus, Mon Nov 18 07:35:47 2002 UTC revision 1.3 by marcus, Fri Aug 15 21:07:31 2003 UTC
# Line 1  Line 1 
1  /* console.c -- A pluggable console client.  /* console.c -- A pluggable console client.
2     Copyright (C) 2002 Free Software Foundation, Inc.     Copyright (C) 2002, 2003 Free Software Foundation, Inc.
3     Written by Marcus Brinkmann.     Written by Marcus Brinkmann.
4    
5     This program is free software; you can redistribute it and/or     This program is free software; you can redistribute it and/or
# Line 354  cons_vcons_set_scroll_lock (vcons_t vcon Line 354  cons_vcons_set_scroll_lock (vcons_t vcon
354    mutex_unlock (&global_lock);    mutex_unlock (&global_lock);
355  }  }
356    
357    
358    /* The user must define this function.  Clear the existing screen
359       matrix and set the size of the screen matrix to the dimension COL x
360       ROW.  This call will be immediately followed by a call to
361       cons_vcons_write that covers the whole new screen matrix.  */
362    error_t
363    cons_vcons_set_dimension (vcons_t vcons, uint32_t col, uint32_t row)
364    {
365      mutex_lock (&global_lock);
366      if (vcons == active_vcons)
367        display_iterate
368          if (display->ops->set_dimension)
369            display->ops->set_dimension (display->handle, col, row);
370      mutex_unlock (&global_lock);
371      return 0;
372    }
373    
374    
375  /* Console-specific options.  */  /* Console-specific options.  */
376  static const struct argp_option  static const struct argp_option

Legend:
Removed from v.1.2  
changed lines
  Added in v.1.3

savannah-hackers-public@gnu.org
ViewVC Help
Powered by ViewVC 1.1.26