logo

oasis-root

Compiled tree of Oasis Linux based on own branch at <https://hacktivis.me/git/oasis/> git clone https://anongit.hacktivis.me/git/oasis-root.git

fgconsole.1 (915B)


  1. .TH FGCONSOLE 1 "14 Feburary 2002" "kbd"
  2. .SH NAME
  3. fgconsole \- print the number of the active VT.
  4. .SH SYNOPSIS
  5. .B fgconsole
  6. [
  7. .B \-h \-\-help
  8. |
  9. .B \-V \-\-version
  10. |
  11. .B \-n \-\-next-available
  12. ]
  13. .SH DESCRIPTION
  14. If the active Virtual Terminal is
  15. .IR /dev/ttyN ,
  16. then prints
  17. .I N
  18. on standard output.
  19. If the console is a serial console, then
  20. "serial"
  21. is printed instead.
  22. .TP
  23. .I \-h \-\-help
  24. Prints short usage message and exits.
  25. .TP
  26. .I \-V \-\-version
  27. Prints version number and exits.
  28. .TP
  29. .I \-\-next\-available
  30. Will show the next unallocated virtual terminal. Normally 6 virtual
  31. terminals are allocated, with number 7 used for X; this will return
  32. "8" in this case.
  33. .SH NOTES
  34. Under
  35. .IR devfs ,
  36. the consoles are in
  37. .IR /dev/vc/N .
  38. .I devfsd
  39. may maintain symlinks for compatibility.
  40. .SH "SEE ALSO"
  41. .BR chvt (1).
  42. .\" .SH "AUTHORS"
  43. .\" Andries Brouwer
  44. .\" .br
  45. .\" Manpage by Alastair McKinstry <mckinstry@computer.org>