Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/lib/libcurses Document baudrate(3).
details: https://anonhg.NetBSD.org/src/rev/8a193107c1fb
branches: trunk
changeset: 350876:8a193107c1fb
user: roy <roy%NetBSD.org@localhost>
date: Wed Jan 25 12:42:05 2017 +0000
description:
Document baudrate(3).
diffstat:
lib/libcurses/curses.3 | 3 ++-
lib/libcurses/curses_tty.3 | 12 ++++++++++--
2 files changed, 12 insertions(+), 3 deletions(-)
diffs (61 lines):
diff -r 6697c0b4d3d4 -r 8a193107c1fb lib/libcurses/curses.3
--- a/lib/libcurses/curses.3 Wed Jan 25 12:21:18 2017 +0000
+++ b/lib/libcurses/curses.3 Wed Jan 25 12:42:05 2017 +0000
@@ -1,4 +1,4 @@
-.\" $NetBSD: curses.3,v 1.70 2017/01/25 12:21:18 roy Exp $
+.\" $NetBSD: curses.3,v 1.71 2017/01/25 12:42:05 roy Exp $
.\"
.\" Copyright (c) 1985, 1991, 1993
.\" The Regents of the University of California. All rights reserved.
@@ -79,6 +79,7 @@
.It attroff Ta Xr curses_attributes 3
.It attron Ta Xr curses_attributes 3
.It attrset Ta Xr curses_attributes 3
+.It baudrate Ta Xr curses_tty 3
.It beep Ta Xr curses_tty 3
.It bkgd Ta Xr curses_background 3
.It bkgdset Ta Xr curses_background 3
diff -r 6697c0b4d3d4 -r 8a193107c1fb lib/libcurses/curses_tty.3
--- a/lib/libcurses/curses_tty.3 Wed Jan 25 12:21:18 2017 +0000
+++ b/lib/libcurses/curses_tty.3 Wed Jan 25 12:42:05 2017 +0000
@@ -1,4 +1,4 @@
-.\" $NetBSD: curses_tty.3,v 1.10 2016/12/31 22:47:01 roy Exp $
+.\" $NetBSD: curses_tty.3,v 1.11 2017/01/25 12:42:05 roy Exp $
.\"
.\" Copyright (c) 2002
.\" Brett Lymn (blymn%NetBSD.org@localhost, brett_lymn%yahoo.com.au@localhost)
@@ -30,11 +30,12 @@
.\" SUCH DAMAGE.
.\"
.\"
-.Dd December 31, 2016
+.Dd January 25, 2017
.Dt CURSES_TTY 3
.Os
.Sh NAME
.Nm curses_tty ,
+.Nm baudrate ,
.Nm beep ,
.Nm flash ,
.Nm curs_set ,
@@ -74,6 +75,8 @@
.Sh SYNOPSIS
.In curses.h
.Ft int
+.Fn baudrate "void"
+.Ft int
.Fn beep "void"
.Ft int
.Fn flash "void"
@@ -143,6 +146,11 @@
These functions manipulate curses terminal settings.
.Pp
The
+.Fn baudrate
+function extrats the output speed of the terminal
+and returns it in bits per second.
+.Pp
+The
.Fn beep
function rings the terminal bell, if this is possible.
Failing that, the terminal screen will be flashed.
Home |
Main Index |
Thread Index |
Old Index