summaryrefslogtreecommitdiffstats
path: root/usr.bin/talk/io.c
Commit message (Collapse)AuthorAgeFilesLines
* WARNS=2 fixes with NO_WERROR set because of system-header originatingmarkm2001-12-111-8/+10
| | | | warnings. Use __FBSDID().
* Print the peer's name and address in the "Connection establish"dd2001-08-091-2/+25
| | | | | | | | | 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
* Use STD{ERR,IN,OUT}_FILENO instead of their numeric values. Thesheldonh2001-07-261-1/+2
| | | | | | | definitions are more readable, and it's possible that they're more portable to pathalogical platforms. Submitted by: David Hill <david@phobia.ms>
* Fix a bug when talking to non-freebsd machines where carriage returnps2000-07-111-0/+4
| | | | | | | | | | | 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
* talk depended on side effects of curses includes.peter1999-08-301-0/+1
|
* $Id$ -> $FreeBSD$peter1999-08-281-1/+1
|
* Remove couple of 'extern int errno'. (They turned to something funny whendt1999-02-141-4/+1
| | | | <errno.h> included).
* Add rcsid. Remove unused #includes (what about RU# ?). Change exit(-1) andcharnier1998-01-141-3/+4
| | | | add usage().
* Update some ancient warts in talk:peter1996-08-191-1/+3
| | | | | | | | | | - 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.
* Make talk automagically find out the interface IP address where thejoerg1996-03-091-8/+10
| | | | | | | remote peer will be connected through. This avoids the ``Checking for invitation on caller's machine'' problem for multi-homed hosts. Thanks to: Garrett, for his `find_interface' example
* Remove trailing whitespace.rgrimes1995-05-301-4/+4
|
* Don't allow talk own messages wrap around on the screen, justache1995-03-281-6/+5
| | | | scroll them like normal user input/output does.
* BSD 4.4 Lite Usr.bin Sourcesrgrimes1994-05-271-0/+142
OpenPOWER on IntegriCloud