summaryrefslogtreecommitdiffstats
path: root/usr.bin/tip (follow)
Commit message (Collapse)AuthorAgeFilesLines
* Remove tip(1), superseded by cu(1).nicm2015-04-2412-3438/+0
| | | | ok deraadt sthen bmercer
* Convert many atoi() calls to strtonum(), adding range checks and failurederaadt2015-04-181-2/+9
| | | | | handling along the way. Reviews by Brendan MacDonell, Jeremy Devenport, florian, doug, millert
* remove unused cu(1) support in tip; it is supplied as a seperatederaadt2015-02-074-212/+7
| | | | | simpler binary written by nicm since 5.4 ok jsing dlg
* uucp cleansingtedu2014-03-171-4/+3
|
* this file is deadtedu2014-03-171-464/+0
|
* Put tip back but without the hardlink to cu for now, ok deraadtnicm2013-03-101-3/+2
|
* Get rid of two 10-year-old XXX comments and do check for getchar(3) returningkettenis2012-12-041-7/+15
| | | | | | | EOF. Fixes a very annoying bug where cu(1) will start sending the EOF "character" down the serial line at high speed if it loses its input terminal. ok deraadt@, nicm@
* Clear options before setting up HOME and SHELL, not after. Fixes parsingnicm2010-08-231-14/+14
| | | | .tiprc reported by nick@.
* Make parsing of /etc/remote work again (some of the options were thenicm2010-08-011-63/+63
| | | | | | | | | | | | 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.
* remove some groff \s escapes, which we do not support;jmc2010-07-222-6/+6
|
* remove unused variable and unused static prototype.chl2010-07-112-5/+2
| | | | ok nicm@
* When open() fails, warn using the device name, not the host name.nicm2010-07-031-2/+2
|
* Changed vinit to clear the values but forgot to move it before they are set bynicm2010-07-032-6/+4
| | | | command line parsing.
* Rewrite how printing all variables works to avoid using a global variablenicm2010-07-021-66/+75
| | | | accessed by many functions - instead do it in one function.
* Clear table and set defaults manually, also move table into value.c.nicm2010-07-025-131/+85
|
* Merge almost-empty pathnames.h into tip.h.nicm2010-07-026-48/+12
|
* Merge vassign and vtoken and make it much more strict on what it accepts.nicm2010-07-021-74/+70
|
* Bye-bye vstring, and add value type checking code to vgetstr/vsetstr/etc.nicm2010-07-023-33/+48
|
* Rewrite hunt() to put the "rotary action" into it rather than remote.c, and sonicm2010-07-025-87/+73
| | | | | it isn't so stupid (returning a char * as a long which goes into an int to use as a flag, ugh).
* Don't overwrite the device name with the fake cu%d host.nicm2010-07-011-2/+1
|
* Nix some warnings.nicm2010-07-013-9/+11
|
* Split v_value into v_string/v_number, change macros to functions and lo letnicm2010-07-014-76/+102
| | | | there be type checking.
* Change variable get/set macros to have better names and drop boolean/characternicm2010-07-019-215/+231
| | | | ones.
* Kill a couple of macros, move a few bits around in header.nicm2010-07-012-18/+6
|
* remove unused variableschl2010-07-015-8/+9
| | | | | | add missing headers needed for uu_unlock() ok nicm@
* Only two variables - HOME and SHELL - are from the environment, so just fillnicm2010-06-303-20/+15
| | | | them in explicitly and get rid of the ENVIRON flag.
* Unused variables.nicm2010-06-301-4/+1
|
* Add new read-only vtable entries for device and connection string and use thosenicm2010-06-296-47/+33
| | | | instead of variables.
* Since dial-up is no longer supported, no need to store a phone number, ornicm2010-06-295-35/+9
| | | | accept one to cu(1).
* Do the same for di, es, fo, rc and remove their remote variables.nicm2010-06-292-18/+14
|
* For every variable which has a value table entry with IREMOTE, remove thenicm2010-06-297-109/+112
| | | | | remote variable and always use the value from the vtable. This then allows the IREMOTE flag to be removed.
* Merge v_type and v_access into one v_flags member in value_t, get rid of TRUEnicm2010-06-297-132/+125
| | | | and FALSE, and rename the other flags to have a V_ prefix.
* tip is no longer setuid or setgid so get rid of the complicatednicm2010-06-293-60/+42
| | | | | public/private/root permissions scheme for options in favour of a single read-only bit.
* remove -t from SYNOPSIS;jmc2010-06-291-2/+2
|
* Use the libutil implementation of UUCP locking.nicm2010-06-295-132/+14
|
* Remove now unused prototypes and sort by file.nicm2010-06-291-70/+54
|
* Now that there is no dial-up support, all connections are hardwired so drop thenicm2010-06-296-47/+14
| | | | flag and ignore the -t option to cu(1).
* Missed this dial-up bit from cu(1).nicm2010-06-291-25/+2
|
* Nuke -DCONNECT and -DACULOG which we always set, also trim huge useless commentnicm2010-06-295-33/+6
| | | | from Makefile.
* Bye-bye acu which even UUCP-using naddy agrees "was obsolete 20 years ago" :-).nicm2010-06-2923-2873/+77
|
* Replace "nice" strcmp() wrapper macro with strcmp.nicm2010-06-294-16/+15
| | | | ok jsing
* `speed' is an argument, not a flag.sobrado2010-03-041-4/+4
| | | | ok jmc@
* Change tipout to use poll(2) instead of the ghastly setup with signals/longjmp.nicm2010-02-072-72/+111
| | | | Tested/briefly read by mk@, blambert@.
* save errno wrapping in a signal handlerderaadt2010-01-121-1/+5
|
* Nuke useless ancient documentation. ok deraadtnicm2009-12-122-79/+0
|
* Whoops, missed these.nicm2009-12-121-3/+1
|
* tip is not setuid or setgid anymore and there are no PRIV/EXPR commands, sonicm2009-12-125-99/+23
| | | | | | remove the code. ok deraadt
* Use a socketpair instead of a pair of pipes.nicm2009-12-124-27/+46
| | | | looks ok to millert@
* rcsid[] and sccsid[] and copyright[] are essentially unmaintained (andderaadt2009-10-2724-204/+24
| | | | | | | 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
* Tamas TEVESZ requested a better description for tip/cu, so pull in thisjmc2009-01-092-14/+18
| | | | | | | | improvement from perry@netbsd, -r1.26; nick suggested a better description for the .Nd line; ok nick