]> granicus.if.org Git - postgresql/commit
Attached ia a patch to enable window size detection code of psql for Solaris
authorBruce Momjian <bruce@momjian.us>
Wed, 1 Aug 2001 18:44:54 +0000 (18:44 +0000)
committerBruce Momjian <bruce@momjian.us>
Wed, 1 Aug 2001 18:44:54 +0000 (18:44 +0000)
commitea72cc4e111166905c17289cb78d39571b3cb59b
treec3a5e6e5c1cc74f844bbf5800572cc70af298ef2
parent938236a29716c754a9a9238e377c3cd15db11dde
Attached ia a patch to enable window size detection code of psql for Solaris
platform.

TIOCGWINSZ is defined as follows:

    Linux       asm/ioctls.h
    FreeBSD     sys/ttycom.h. This file is included by sys/ioctl.h.
    Solaris     sys/termios.h

This patch tells print.c to know TIOCGWINSZ on Solaris platform. Same code is
founded in src/bin/psal/common.c.

Kenji Sugita
src/bin/psql/print.c