summaryrefslogtreecommitdiff
path: root/usr.bin/tip
AgeCommit message (Collapse)Author
2009-10-28rcsid[] and sccsid[] and copyright[] are essentially unmaintained (andTheo de Raadt
unmaintainable). these days, people use source. these id's do not provide any benefit, and do hurt the small install media (the 33,000 line diff is essentially mechanical) ok with the idea millert, ok dms
2009-01-09Tamas TEVESZ requested a better description for tip/cu, so pull in thisJason McIntyre
improvement from perry@netbsd, -r1.26; nick suggested a better description for the .Nd line; ok nick
2008-11-09typo fixed (overriden -> overridden)Tobias Stoeckmann
ok espie, jmc
2008-06-01synchronize synopsis and usage.Igor Sobrado
2007-11-26typos; ok jmc@Martynas Venckus
sys/netinet/in_pcb.c and sys/net/bridgestp.c ok henning@ sys/dev/pci/bktr/* ok jakemsr@
2007-09-11Use sig_atomic_t where required. OK moritz, deraadtChad Loder
2007-07-06some discussion of devices, logs, and permissions;Jason McIntyre
help/feedback from nick, krw, miod, todd, and deraadt millert ok'd an earlier version of this diff
2007-06-25kill "is is"; from Charles LongeauJason McIntyre
2007-05-31convert to new .Dd format;Jason McIntyre
2007-05-16Add missing ssize_t rlen, used when DEBUG is defined, and onlyRay Lai
define c when DEBUG is undefined. From Pav Lucistnik <pav at FreeBSD>. While here, correct format strings to match ssize_t. OK moritz@.
2007-05-15Remove useless NOxxx defines and use NULL instead.Moritz Jodeit
No binary change. OK ray@
2007-05-12Prevent core dump if strpbrk() returns NULL. Reported to bugs@ byRay Lai
Pav Lucistnik <pav at FreeBSD>, thanks! OK otto@.
2007-02-20Remove wrong length check, which is off-by-one, andMoritz Jodeit
let snprintf(3) decide, if the whole string fittet into the buffer. ok ray@
2007-02-20Change hard coded numbers to sizeof(buf). Also change someRay Lai
sizeof(buf) - 1 to sizeof(buf), since fgets takes the whole buffer size. Based on diff from Charles Longeau <chl at tuxfamily dot org> long ago. OK millert@.
2006-11-27Back out revision 1.31, restoring the ":dc: is always set" behaviour.Ryan Thomas McBride
Fixes hangs seen with uplcom(4) and serial console. testing pedro jolan ok deraadt
2006-11-07Ensure that CU and DV have length > 0, so buf[strlen(buf) - 1] canRay Lai
be safely called later. Add check for asprintf. Use _PATH_DEV, suggested by jaredy@. OK jaredy@.
2006-11-06Replace -### with -s### pre-getopt() and use strtonum()Todd C. Miller
instead of strtol() when parsing the speed string. Closes PR 5222.
2006-10-18do not name FILE * variables "fd" since it is confusingTheo de Raadt
2006-09-22remove the :dc: is always set behavior (use cua devices or /etc/remoteJason Wright
entries to override); ok deraadt awhile ago.
2006-08-18tip/cu always set "dc" because the code was reading from the wrong valueJason Wright
in the array. Point it at the correct chunk of memory. For now, also preserve the old ":dc:" is always set behavior. ok deraadt
2006-06-07document that tip(1) can set the line discipline.Marc Balmer
ok deraadt
2006-06-06teach tip about line disciplines; tried by mbalmer tooTheo de Raadt
2006-05-31don't spin if the tty (think ucom) goes awayJason Wright
2006-05-30clean up the VARIABLES section a little:Jason McIntyre
specifically regarding -v, and remove that bit from cu.1, as its not supported; ok otto
2006-05-25- split tip.1 into tip.1 and cu.1Jason McIntyre
- big tidy up whilst here ok mk fkr
2006-03-17more delinting.Moritz Jodeit
2006-03-17size_t size()Theo de Raadt
2006-03-17handle ssize_t vs size_tTheo de Raadt
2006-03-17more cleanups; ok moritzTheo de Raadt
2006-03-17ansification and correct prototypes. ok deraadt@Moritz Jodeit
2006-03-17global not needed; ok moritzTheo de Raadt
2006-03-17ARGSUSED is good on signal handlersTheo de Raadt
2006-03-17big prototype cleanup:Moritz Jodeit
o make more functions static o add all the prototypes to tip.h o consistently declare functions in the cmd table testing and ok dhill@
2006-03-16Fix bug that was uncovered by adding correct prototypes andMoritz Jodeit
remove lots of names from func declarations. ok dhill@
2006-03-16first pass of cleanup of this mess; ok dhillTheo de Raadt
2006-01-01disable case-mapping (evil software caps-lock) by default. if you are crazyDamien Miller
enough to want it, then it can be turned on in /etc/remote; "lovely" deraadt@
2005-05-24Remove -ansi as that means expose only C89 interfaces.Todd C. Miller
2005-04-11use STDERR_FILENO; ok cloderTheo de Raadt
2005-04-08~. was not being marked up properly;Jason McIntyre
2005-03-12escape `.' at eol to avoid double spacing issue;Jason McIntyre
2005-03-11PR 4135: detect illegal frame sizes; fix file transfer when usingOtto Moerbeek
emecs editing mode on the remote end; print [EOT] on ~. again, by making tip_abort able to finish. Largely from Hugo Villeneuve <harpagon at jwales dot EINTR dotnet> ok deraadt@ "looks good" miod@ Man page tweaks by jmc@
2005-02-17Fix case where we were testing on AC, but operating on FD. The changed codeAaron Campbell
follows the pattern of the rest of the source. otto@ ok
2004-11-07space before punctuation when passed to macro;Jason McIntyre
2004-11-07Do not ignore SIGCHLD, repairing hangs after a subshell is executedOtto Moerbeek
via ~! or ~C. While there, fix description of fd's available to the command executed by ~C in man page and comments. This has been wrong since at least 4.4BSD... Spotted by Hugo Villeneuve. PR 3971. ok and help millert@; ok deraadt@
2004-05-26if one process is killed, kill the other ourself; various okTheo de Raadt
2004-02-20bring back old cdelay & ldelay code, make it work; millert okTheo de Raadt
2003-10-15on fatal error, repair tty; millert okTheo de Raadt
2003-09-20Implement hardwareflow varable in tip(1) like Solaris and hf in /etc/remote.Todd C. Miller
Based on PR 3411 from Matthew Gream Also document "tandem" variable (XON/XOFF) in tip man page.
2003-09-04put escapes in the right place;Jason McIntyre
(i.e. stuff I got wrong the first time, or missed) this includes some .Cd's with missing quotes and .Nm abuse in man4;
2003-09-04baud rate capability is `br', not `ba';Jason McIntyre
from Satsuki Fujishima (PR 3408). many thanks to krw@ who did the real work :)