summaryrefslogtreecommitdiff
path: root/usr.bin/resizewin
Commit message (Collapse)AuthorAgeFilesLines
* DIRDEPS_BUILD: Update dependencies.Bryan Drewery2017-10-311-1/+0
| | | | | | | Sponsored by: Dell EMC Isilon Notes: svn path=/head/; revision=325188
* Improve terminology in a comment.Edward Tomasz Napierala2017-06-261-1/+1
| | | | | | | | Suggested by: ian MFC after: 2 weeks Notes: svn path=/head/; revision=320363
* Make resizewin(1) do flushing by using TCSAFLUSH instead of TCSANOWEdward Tomasz Napierala2017-06-261-7/+2
| | | | | | | | | | | followed by tcflush(3). This works just as well and is more elegant. Suggested by: bde MFC after: 2 weeks Sponsored by: DARPA, AFRL Notes: svn path=/head/; revision=320360
* Language fixes.Edward Tomasz Napierala2017-05-181-2/+2
| | | | | | | | Submitted by: wblock MFC after: 2 weeks Notes: svn path=/head/; revision=318481
* Revert to pre-r318116 wording to not give the false impressionEdward Tomasz Napierala2017-05-101-2/+2
| | | | | | | | | | | | that setting the kernels' idea of terminal size is somehow an alternative to environment variables. Reported by: kib MFC after: 2 weeks Sponsored by: DARPA, AFRL Notes: svn path=/head/; revision=318138
* Random updates to resizewin(1) man page.Edward Tomasz Napierala2017-05-091-16/+24
| | | | | | | | | Reviewed by: cem, Daniel O'Connor <darius@dons.net.au> MFC after: 2 weeks Differential Revision: https://reviews.freebsd.org/D10640 Notes: svn path=/head/; revision=318116
* Sort variable declarations; no functional changes.Edward Tomasz Napierala2017-05-081-2/+2
| | | | | | | | MFC after: 2 weeks Sponsored by: DARPA, AFRL Notes: svn path=/head/; revision=317935
* Add resizewin -z. It makes resizewin not do anything if the terminalEdward Tomasz Napierala2017-05-082-3/+43
| | | | | | | | | | | | | | | size is already set to something other than zero. It's supposed to be called from eg /etc/profile - it's not neccessary to query terminal size when logging in over the network, because the protocol used already takes care of this, but it's neccessary when logging over a serial line. Reviewed by: cem, Daniel O'Connor <darius@dons.net.au> MFC after: 2 weeks Sponsored by: DARPA, AFRL Differential Revision: https://reviews.freebsd.org/D10637 Notes: svn path=/head/; revision=317934
* Use tcflush(3) instead of (nonstandard) TIOCFLUSH.Edward Tomasz Napierala2017-05-081-4/+3
| | | | | | | | | Reported by: kib MFC after: 2 weeks Sponsored by: DARPA, AFRL Notes: svn path=/head/; revision=317933
* Make resizewin(1) discard the terminal queues, to lower the chanceEdward Tomasz Napierala2017-05-071-1/+7
| | | | | | | | | | | | | for "unable to parse response" error which happens when youre typing too fast for the machine you're running it on. Reviewed by: cem, Daniel O'Connor <darius@dons.net.au> MFC after: 2 weeks Sponsored by: DARPA, AFRL Differential Revision: https://reviews.freebsd.org/D10624 Notes: svn path=/head/; revision=317909
* Rename a variable, hopefully fixing build after r317901.Edward Tomasz Napierala2017-05-071-9/+9
| | | | | | | | MFC after: 2 weeks Sponsored by: DARPA, AFRL Notes: svn path=/head/; revision=317905
* Improve error reporting in resizewin(1).Edward Tomasz Napierala2017-05-071-4/+4
| | | | | | | | | | Reviewed by: cem (earlier version) MFC after: 2 weeks Sponsored by: DARPA, AFRL Differential Revision: https://reviews.freebsd.org/D10624 Notes: svn path=/head/; revision=317901
* Make resizewin.1 manpage use .Fx macroKurt Lidl2016-07-291-3/+5
| | | | | | | | | Fix capitalization of "PuTTY" also. MFC after: 1 week Notes: svn path=/head/; revision=303515
* DIRDEPS_BUILD: Connect new directories and update dependencies.Bryan Drewery2016-06-031-0/+18
| | | | | | | Sponsored by: EMC / Isilon Storage Division Notes: svn path=/head/; revision=301283
* Fix a mandoc -Tlint warningBaptiste Daroussin2016-04-161-1/+1
| | | | Notes: svn path=/head/; revision=298113
* Add a small tool, resizewin(1), to query terminal for window sizeConrad Meyer2016-04-133-0/+199
Submitted by: Daniel O'Connor Reviewed by: kan, wblock, cem Sponsored by: EMC / Isilon Storage Division Differential Revision: https://reviews.freebsd.org/D4438 Notes: svn path=/head/; revision=297897