summaryrefslogtreecommitdiff
path: root/usr.bin/tip
AgeCommit message (Collapse)Author
2010-08-23Clear options before setting up HOME and SHELL, not after. Fixes parsingNicholas Marriott
.tiprc reported by nick@.
2010-08-01Make parsing of /etc/remote work again (some of the options were theNicholas Marriott
wrong type), try to make it clearer what comes from where, and add a few XXX. Currently there is a mess of default options set in vinit(), default options set in getremote(), stuff read from /etc/remote and options read from the command-line, and there remains the problems with leftover options from rotation. This all needs to be sorted out properly later. Noticed while trying to find a possible problem reported by miod.
2010-07-22remove some groff \s escapes, which we do not support;Jason McIntyre
2010-07-11remove unused variable and unused static prototype.Charles Longeau
ok nicm@
2010-07-03When open() fails, warn using the device name, not the host name.Nicholas Marriott
2010-07-03Changed vinit to clear the values but forgot to move it before they are set byNicholas Marriott
command line parsing.
2010-07-02Rewrite how printing all variables works to avoid using a global variableNicholas Marriott
accessed by many functions - instead do it in one function.
2010-07-02Clear table and set defaults manually, also move table into value.c.Nicholas Marriott
2010-07-02Merge almost-empty pathnames.h into tip.h.Nicholas Marriott
2010-07-02Merge vassign and vtoken and make it much more strict on what it accepts.Nicholas Marriott
2010-07-02Bye-bye vstring, and add value type checking code to vgetstr/vsetstr/etc.Nicholas Marriott
2010-07-02Rewrite hunt() to put the "rotary action" into it rather than remote.c, and soNicholas Marriott
it isn't so stupid (returning a char * as a long which goes into an int to use as a flag, ugh).
2010-07-01Don't overwrite the device name with the fake cu%d host.Nicholas Marriott
2010-07-01Nix some warnings.Nicholas Marriott
2010-07-01Split v_value into v_string/v_number, change macros to functions and lo letNicholas Marriott
there be type checking.
2010-07-01Change variable get/set macros to have better names and drop boolean/characterNicholas Marriott
ones.
2010-07-01Kill a couple of macros, move a few bits around in header.Nicholas Marriott
2010-07-01remove unused variablesCharles Longeau
add missing headers needed for uu_unlock() ok nicm@
2010-06-30Only two variables - HOME and SHELL - are from the environment, so just fillNicholas Marriott
them in explicitly and get rid of the ENVIRON flag.
2010-06-30Unused variables.Nicholas Marriott
2010-06-29Add new read-only vtable entries for device and connection string and use thoseNicholas Marriott
instead of variables.
2010-06-29Since dial-up is no longer supported, no need to store a phone number, orNicholas Marriott
accept one to cu(1).
2010-06-29Do the same for di, es, fo, rc and remove their remote variables.Nicholas Marriott
2010-06-29For every variable which has a value table entry with IREMOTE, remove theNicholas Marriott
remote variable and always use the value from the vtable. This then allows the IREMOTE flag to be removed.
2010-06-29Merge v_type and v_access into one v_flags member in value_t, get rid of TRUENicholas Marriott
and FALSE, and rename the other flags to have a V_ prefix.
2010-06-29tip is no longer setuid or setgid so get rid of the complicatedNicholas Marriott
public/private/root permissions scheme for options in favour of a single read-only bit.
2010-06-29remove -t from SYNOPSIS;Jason McIntyre
2010-06-29Use the libutil implementation of UUCP locking.Nicholas Marriott
2010-06-29Remove now unused prototypes and sort by file.Nicholas Marriott
2010-06-29Now that there is no dial-up support, all connections are hardwired so drop theNicholas Marriott
flag and ignore the -t option to cu(1).
2010-06-29Missed this dial-up bit from cu(1).Nicholas Marriott
2010-06-29Nuke -DCONNECT and -DACULOG which we always set, also trim huge useless commentNicholas Marriott
from Makefile.
2010-06-29Bye-bye acu which even UUCP-using naddy agrees "was obsolete 20 years ago" :-).Nicholas Marriott
2010-06-29Replace "nice" strcmp() wrapper macro with strcmp.Nicholas Marriott
ok jsing
2010-03-04`speed' is an argument, not a flag.Igor Sobrado
ok jmc@
2010-02-07Change tipout to use poll(2) instead of the ghastly setup with signals/longjmp.Nicholas Marriott
Tested/briefly read by mk@, blambert@.
2010-01-12save errno wrapping in a signal handlerTheo de Raadt
2009-12-12Nuke useless ancient documentation. ok deraadtNicholas Marriott
2009-12-12Whoops, missed these.Nicholas Marriott
2009-12-12tip is not setuid or setgid anymore and there are no PRIV/EXPR commands, soNicholas Marriott
remove the code. ok deraadt
2009-12-12Use a socketpair instead of a pair of pipes.Nicholas Marriott
looks ok to millert@
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