History log of /freebsd/usr.bin/resizewin/resizewin.c (Results 1 – 16 of 16)
Revision (<<< Hide revision tags) (Show revision tags >>>) Date Author Comments
Revision tags: release/14.0.0
# 1d386b48 16-Aug-2023 Warner Losh <imp@FreeBSD.org>

Remove $FreeBSD$: one-line .c pattern

Remove /^[\s*]*__FBSDID\("\$FreeBSD\$"\);?\s*\n/


# 456c1199 15-Jun-2023 Jessica Clarke <jrtc27@FreeBSD.org>

resizewin: Stop printing bogus NUL to TTY

A char array has an implicit NUL terminating it, which sizeof will
include, so we need to subtract 1 here. Printing a NUL can cause issues
for things like C

resizewin: Stop printing bogus NUL to TTY

A char array has an implicit NUL terminating it, which sizeof will
include, so we need to subtract 1 here. Printing a NUL can cause issues
for things like CI environments that aren't expecting it, especially
with recent Jenkins being stricter about not putting NUL in XML files.

Fixes: 3d222369acbe ("Add a small tool, resizewin(1), to query terminal for window size")
MFC after: 1 week

show more ...


Revision tags: release/13.2.0, release/12.4.0, release/13.1.0, release/12.3.0, release/13.0.0, release/12.2.0, release/11.4.0, release/12.1.0, release/11.3.0, release/12.0.0, release/11.2.0, release/10.4.0
# 531c2d7a 24-Jul-2017 Enji Cooper <ngie@FreeBSD.org>

MFhead@r320180


# bca9d05f 23-Jul-2017 Hans Petter Selasky <hselasky@FreeBSD.org>

Merge ^/head r319973 through 321382.


Revision tags: release/11.1.0
# a3604b95 27-Jun-2017 Dimitry Andric <dim@FreeBSD.org>

Merge ^/head r320042 through r320397.


# deb808ad 26-Jun-2017 Edward Tomasz Napierala <trasz@FreeBSD.org>

Improve terminology in a comment.

Suggested by: ian
MFC after: 2 weeks


# dd99f75c 26-Jun-2017 Edward Tomasz Napierala <trasz@FreeBSD.org>

Make resizewin(1) do flushing by using TCSAFLUSH instead of TCSANOW
followed by tcflush(3). This works just as well and is more elegant.

Suggested by: bde
MFC after: 2 weeks
Sponsored by: DARPA, AF

Make resizewin(1) do flushing by using TCSAFLUSH instead of TCSANOW
followed by tcflush(3). This works just as well and is more elegant.

Suggested by: bde
MFC after: 2 weeks
Sponsored by: DARPA, AFRL

show more ...


# 7e1b7636 08-May-2017 Dimitry Andric <dim@FreeBSD.org>

Merge ^/head r317808 through r317970.


# bd274cce 08-May-2017 Edward Tomasz Napierala <trasz@FreeBSD.org>

Sort variable declarations; no functional changes.

MFC after: 2 weeks
Sponsored by: DARPA, AFRL


# f1504c0c 08-May-2017 Edward Tomasz Napierala <trasz@FreeBSD.org>

Add resizewin -z. It makes resizewin not do anything if the terminal
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 t

Add resizewin -z. It makes resizewin not do anything if the terminal
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

show more ...


# 048fd859 08-May-2017 Edward Tomasz Napierala <trasz@FreeBSD.org>

Use tcflush(3) instead of (nonstandard) TIOCFLUSH.

Reported by: kib
MFC after: 2 weeks
Sponsored by: DARPA, AFRL


# 7ffc8a54 07-May-2017 Edward Tomasz Napierala <trasz@FreeBSD.org>

Make resizewin(1) discard the terminal queues, to lower the chance
for "unable to parse response" error which happens when youre typing
too fast for the machine you're running it on.

Reviewed by: ce

Make resizewin(1) discard the terminal queues, to lower the chance
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

show more ...


# 31cf65bb 07-May-2017 Edward Tomasz Napierala <trasz@FreeBSD.org>

Rename a variable, hopefully fixing build after r317901.

MFC after: 2 weeks
Sponsored by: DARPA, AFRL


# 46f44afb 07-May-2017 Edward Tomasz Napierala <trasz@FreeBSD.org>

Improve error reporting in resizewin(1).

Reviewed by: cem (earlier version)
MFC after: 2 weeks
Sponsored by: DARPA, AFRL
Differential Revision: https://reviews.freebsd.org/D10624


Revision tags: release/11.0.1, release/11.0.0
# 9c831bbd 13-Apr-2016 Glen Barber <gjb@FreeBSD.org>

MFH

Sponsored by: The FreeBSD Foundation


# 3d222369 13-Apr-2016 Conrad Meyer <cem@FreeBSD.org>

Add a small tool, resizewin(1), to query terminal for window size

Submitted by: Daniel O'Connor
Reviewed by: kan, wblock, cem
Sponsored by: EMC / Isilon Storage Division
Differential Revision: https

Add a small tool, resizewin(1), to query terminal for window size

Submitted by: Daniel O'Connor
Reviewed by: kan, wblock, cem
Sponsored by: EMC / Isilon Storage Division
Differential Revision: https://reviews.freebsd.org/D4438

show more ...