| Commit message (Collapse) | Author | Age | Files | Lines |
| |
|
|
|
|
|
| |
make use of C99 sparse initialization for static variables, this makes talk(1)
to compile cleanly with WARNS=6.
|
| |
|
| |
|
| |
|
| |
|
|
|
|
| |
by POSIX.
|
|
|
|
| |
Submitted by: ru
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
"machine name" in ntalkd(8) request packets, when the destination
and source are local.
This should make talk(1) use much more pleasant for those security-
conscious individuals who have chosen to bind talkd to "localhost".
Previous to this change, talk(1) would require that the hostname of
the machine, as retrieved by gethostname(3), resolved to a valid and
reachable IPv4 address, using gethostbyname(3).
This makes talk(1) dependent on a valid host entry for "localhost"
in /etc/hosts (or the Domain Name System).
PR: bin/23178
Submitted by: angui.sh admin (with cleanups)
|
| |
|
|
|
|
|
| |
Submitted by: Cyril Nguyen Huu
Obtained from: OpenBSD
|
|
|
|
|
|
| |
2. Compare socket(2) return code to -1, not <= 0.
Obtained from: OpenBSD rev. 1.9
|
|
|
|
|
|
| |
so that talk works without COMPAT_43.
Obtained from: NetBSD (christos), Rumi Szabolcs
|
|
|
|
|
|
|
| |
no function changes, but removes an unnecessary reference to a
deprecated struct.
Obtained from: NetBSD (thorpej)
|
| |
|
|
|
|
|
|
| |
service to work correctly.
Inspired by: P. U. Kruppa <520023893678-0001@t-online.de>
|
|
|
|
| |
especially in troff files.
|
| |
|
| |
|
| |
|
|
|
|
|
|
| |
Use setproctitle to remove arguments from 'ps' output.
MFC after: 3 days
|
| |
|
| |
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
deprecated in favor of the POSIX-defined lowercase variants.
o Change all occurrences of NTOHL() and associated marcros in the
source tree to use the lowercase function variants.
o Add missing license bits to sparc64's <machine/endian.h>.
Approved by: jake
o Clean up <machine/endian.h> files.
o Remove unused __uint16_swap_uint32() from i386's <machine/endian.h>.
o Remove prototypes for non-existent bswapXX() functions.
o Include <machine/endian.h> in <arpa/inet.h> to define the
POSIX-required ntohl() family of functions.
o Do similar things to expose the ntohl() family in libstand, <netinet/in.h>,
and <sys/param.h>.
o Prepend underscores to the ntohl() family to help deal with
complexities associated with having MD (asm and inline) versions, and
having to prevent exposure of these functions in other headers that
happen to make use of endian-specific defines.
o Create weak aliases to the canonical function name to help deal with
third-party software forgetting to include an appropriate header.
o Remove some now unneeded pollution from <sys/types.h>.
o Add missing <arpa/inet.h> includes in userland.
Tested on: alpha, i386
Reviewed by: bde, jake, tmm
|
| |
|
|
|
|
| |
warnings. Use __FBSDID().
|
|
|
|
|
| |
PR: docs/32128
Submitted by: Gerald Pfeifer <pfeifer@dbai.tuwien.ac.at> (partially)
|
|
|
|
|
|
|
|
|
| |
message. Similar information is given by the talk daemon when a
connection is requested, but that part isn't on the screen when the
main "talk" screen appears, and sometimes it's nice to know who you're
talking to.
Reviewed by: ru
|
|
|
|
|
|
|
| |
definitions are more readable, and it's possible that they're
more portable to pathalogical platforms.
Submitted by: David Hill <david@phobia.ms>
|
| |
|
| |
|
|
|
|
| |
builtints (e.g., exit, strcmp).
|
|
|
|
| |
Let the user know...
|
| |
|
|
|
|
|
|
|
|
|
|
|
| |
was being interperated and displayed as ^M on the remote side.
Old curses used to change the behavior of the tty and how carriage
return was interperated via STDIN. ncurses does this on a per-window
basis within the library rather than using the tty modes. Since
talk is bypassing ncurses, it was missing the conversion.
Reviewed by: peter
|
|
|
|
|
| |
of the typeset output, tend to make diffs harder to read and provide
bad examples for new-comers to mdoc.
|
| |
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
track.
The $Id$ line is normally at the bottom of the main comment block in the
man page, separated from the rest of the manpage by an empty comment,
like so;
.\" $Id$
.\"
If the immediately preceding comment is a @(#) format ID marker than the
the $Id$ will line up underneath it with no intervening blank lines.
Otherwise, an additional blank line is inserted.
Approved by: bde
|
|
|
|
| |
<errno.h> included).
|
| |
|
| |
|
|
|
|
| |
add usage().
|
| |
|
| |
|
|
|
|
|
|
|
|
| |
This will make a number of things easier in the future, as well as (finally!)
avoiding the Id-smashing problem which has plagued developers for so long.
Boy, I'm glad we're not using sup anymore. This update would have been
insane otherwise.
|
|
|
|
|
|
| |
(which doesn't use the setting at all), but when linking with
recent versions of libncurses, ncurses screws up without it for some reason
(presumably a ncurses bug).
|
|
|
|
|
|
|
|
| |
hline() to draw the window split rather than fudging it with dashes.
This causes the line to be drawn in line-draw characters if the terminal
description has them.
Suggested by: ache
|
|
|
|
|
|
|
|
|
|
| |
- use termios, not sgtty
- dont use _putchar(), that was a BSD-curses specific feature not in
other curses packages (such as ncurses)
- use sigaction, not sigvec while I'm there
- box() does different things under sysv/ncurses on 1-line high windows,
and BSD-curses doesn't have hline(), so do it by adding characters
instead. That works on both styles of curses.
|