diff options
author | Maxim Sobolev <sobomax@FreeBSD.org> | 2002-08-19 16:32:09 +0000 |
---|---|---|
committer | Maxim Sobolev <sobomax@FreeBSD.org> | 2002-08-19 16:32:09 +0000 |
commit | 41a2a5c1c6adc1245a3848b9abbe04eff1e4b37c (patch) | |
tree | 7ff3a72ebe82854d0ec91ce581bd42a727af019a /sys/sys/consio.h | |
parent | 14213e7d3e8f7a9b33b1644374cf88fe75fafd6b (diff) | |
download | src-41a2a5c1c6adc1245a3848b9abbe04eff1e4b37c.tar.gz src-41a2a5c1c6adc1245a3848b9abbe04eff1e4b37c.zip |
1. Allow information about current history size be retrieved using ioctl(2);
2. modify screen dumpung routine, so that in addition to visible area, it
allows to grab any portion of history buffer as well.
Notes
Notes:
svn path=/head/; revision=102108
Diffstat (limited to 'sys/sys/consio.h')
-rw-r--r-- | sys/sys/consio.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/sys/sys/consio.h b/sys/sys/consio.h index 77879d1900f8..24b7b969d84e 100644 --- a/sys/sys/consio.h +++ b/sys/sys/consio.h @@ -228,6 +228,7 @@ struct vid_info { u_short font_size; u_short mv_row, mv_col; u_short mv_rsz, mv_csz; + u_short mv_hsz; struct colors mv_norm, mv_rev, mv_grfc; @@ -263,6 +264,8 @@ typedef struct vid_info vid_info_t; #define CONS_RELKBD _IO('c', 111) struct scrshot { + int x; + int y; int xsize; int ysize; u_int16_t* buf; |