Commit Graph

41 Commits

Author SHA1 Message Date
bde
a456566921 Fixed bitrot in synopsis. The change of the color type from byte to u_long
had not reached here.
2001-10-03 15:20:03 +00:00
ru
727c2b4b9e mdoc(7) police: Use the new .In macro for #include statements. 2001-10-01 16:09:29 +00:00
dillon
d375fe96be Implement __FBSDID() 2001-09-16 21:35:07 +00:00
ru
3b72217422 mdoc(7) police: join split punctuation to macro calls. 2001-08-10 17:35:21 +00:00
ru
94c8444bff More spelling fixes. 2001-08-07 12:47:57 +00:00
yokota
7cdd0e751a Fix spelling in the last commit. (Oh, I thought I had run ispell... ;-<
Spotted by: sheldonh
2001-07-26 09:46:08 +00:00
yokota
1e90c8af12 Adds notes on program termination and signal handlers.
I revised the text after dd's kind review. So, if you find
any error, it is probably introduced by my last minutes'
update and is entirely my fault, not dd's.

Reviewed by: dd
2001-07-26 08:46:47 +00:00
yokota
d7c5092d9b - Do not call VGLEnd() and exit() to terminate the program
immediately when a signal is caught.  Instead, defer
  program termination until the next call to VGLCheckSwitch().
  Otherwise, the video card may not be restored correctly
  if the signal is seen while inside libvgl functions.

MFC after: 1 week
2001-07-24 11:15:20 +00:00
dd
c49a4e6620 Remove whitespace at EOL. 2001-07-15 07:53:42 +00:00
ru
940dc0c680 mdoc(7) police: removed HISTORY info from the .Os call. 2001-07-10 13:41:46 +00:00
sos
d961fb67cb Dont free a hard code array.
PR 20569
2001-05-30 07:51:56 +00:00
sobomax
8d1e29d68f Use CONS_GETINFO ioctl to get geometry of the current text mode instead of
TIOCGWINSZ. The former is more correct in this context.
2001-05-19 17:05:52 +00:00
ru
f85a17a1d7 MAN[1-9] -> MAN. 2001-03-27 17:27:19 +00:00
sobomax
3efa45a4c4 Don't hardcode geometry of VESA_800x600 raster text mode (80x25). Instead save
actual geometry before switching to the graphics mode.
2001-01-25 16:58:46 +00:00
nsouch
e6bb835fdb Set properly the PixelBytes field for 8bits modes.
Submitted by:	Maxim Sobolev <sobomax@FreeBSD.org>
2001-01-25 11:01:20 +00:00
sobomax
a72713d315 Protect against multiple inclusion. 2001-01-24 09:06:42 +00:00
sobomax
5475fbb523 Minor fixes:
- Use "OPOST | ONLCR" as a c_oflag in the raw mode instead of 0, which should
  make debug output mode readable;
- flush input buffer when switching to/from raw mode. This should prevent
  leaking raw scancodes into your shell prompt when program called
  VGLKeyboardEnd() w/o processing all scancodes in the buffer.
2001-01-24 09:05:35 +00:00
nsouch
a8954affb1 Version bump, because of ABI incompatibility.
Suggested by:	Maxim Sobolev <sobomax@FreeBSD.org>
2001-01-15 13:19:05 +00:00
nsouch
032907efed Add Truecolor 16 and 32bits support. Note that 24bits modes are not
supported since it's not easy to put 3 bytes accross 64Kb windows
of memory. This should not be such a problem with linear framebuffers.

There is no major interface modification except that the color type
becomes u_long instead of byte. So one just need to recompile his
application.

Approved by:	Soren Schmidt <sos@freebsd.dk>
2001-01-13 11:30:17 +00:00
ru
fb54000812 Prepare for mdoc(7)NG. 2000-12-29 14:08:20 +00:00
ru
fe2efd38b3 mdoc(7) police: removed history info from the .Os FreeBSD call. 2000-12-14 11:52:05 +00:00
ru
58ab42d6df Spell the sos's name correctly. 2000-11-14 13:09:12 +00:00
phk
c0aadf7521 Initiate deorbit burn sequence for <machine/console.h>.
Replace all in-tree uses with necessary subset of <sys/{fb,kb,cons}io.h>.
This is also the appropriate fix for exo-tree sources.

Put warnings in <machine/console.h> to discourage use.
November 15th 2000 the warnings will be converted to errors.
January 15th 2001 the <machine/console.h> files will be removed.
2000-10-08 21:34:00 +00:00
phantom
3c13cec7bb Introduce .Lb macro to libvgl manpage 2000-04-22 16:17:38 +00:00
sheldonh
0bd4857cef Remove single-space hard sentence breaks. These degrade the quality
of the typeset output, tend to make diffs harder to read and provide
bad examples for new-comers to mdoc.
2000-03-02 09:14:21 +00:00
rgrimes
7e1486bf06 Replace beforeinstall target with new variables used by .mk system.
Reviewed by:	marcel, and make world
2000-01-14 07:57:47 +00:00
phantom
e4bc71d59f mdoc(7)'fy 2000-01-05 15:16:32 +00:00
bde
4420bfb369 Fixed missing #include in synopsis.
Fixed misspelling of VGLPanScreen in its prototype.
Fixed missing installation of link to VGLPanScreen.3.
1999-12-23 16:56:27 +00:00
abial
449cbc59c6 Document VGLGetXY and VGLSetXY functions.
Reviewed by:	sos
1999-12-13 10:48:22 +00:00
yokota
b4f4905f17 Fix the VGLBITMAP_INITIALIZER macro; VXsize and VYsize should
be the same as Xsize and Ysize.
1999-11-09 12:11:24 +00:00
yokota
7cf34e340e - This is the new version of libvgl jointly developed by sos and I.
It adds new functions and extend some structures and can handle
  VESA modes.
- Update the man page.
- Bump the library version number.

(The old version will be added to compat3x.)
1999-11-08 11:37:46 +00:00
mpp
3bd6acff44 Minor mdoc cleanup. 1999-10-30 19:29:45 +00:00
phantom
789d64958d Complete page reorganization. I have splited FUNCTIONS section into
two subsections: SINOPSIS (declarations) and DESCRIPTION (descriptions)
All functions now mentioned in NAME section (apropos capable manpage :)
Various mdoc fixe
1999-10-28 15:51:50 +00:00
yokota
3ecbf6f1bd - Handle the signal SIGTERM.
- Slightly rearrange VGLCheckSwitch() to ensure the display content
  will be correctly restored when switching back to the vty where
  the vgl program is running.
- VGLEnd() should clear the screen only when the vty is in the
  foreground.

Discussed with: sos
1999-08-28 02:39:10 +00:00
peter
e226894fa0 $Id$ -> $FreeBSD$ 1999-08-28 00:22:10 +00:00
yokota
9df459b9d7 Assorted bug fixes.
keyboard.c
- Call tcsetattr() in VGLKeyboardEnd() to restore tty, only when
  tty attributes have been previously saved.
  PR: misc/9524
  Submitted by: Katusyuki 'kei' Maeda (kei@nanet.co.jp)
- Set up the tty raw mode correctly.

main.c
- Restore VESA_800x600 raster text mode correctly in VGLEnd().
  Submitted by: des

text.c
- Allocate the correct size of a font buffer in VGLSetFontFile().
  I forgot the submitter ;-(

simple.c, bitmap.c
- Fix address calculation for the VGA mode X in VGLGetXY() and
  VGLBitmapCopy().
- Fix typo (dsty -> dstx) in __VGLBitmapCopy().

Reviewed by: sos
1999-08-22 03:31:13 +00:00
charnier
46f7bb5b5b .Sh AUTHOR -> .Sh AUTHORS. Use .An/.Aq 1998-03-19 07:34:22 +00:00
jraynard
812dc42a7e Fix a few typos. 1997-10-22 23:12:27 +00:00
sos
db40e3cb6b Fix a couble of typos.
Submitted by: "Vanill I. Shu" <vanilla@MinJe.com.TW>
1997-10-16 09:12:31 +00:00
sos
36df03b8be Add rudimentary support for using the keyboard. 1997-10-01 20:53:41 +00:00
sos
d8029b51e3 First import of my little "video graphic library".
See the manpage vgl.3 for more info.

A little example will follow shortly.
1997-08-17 21:09:35 +00:00