Patch to enable window size detection code of psql for Solaris platform

Поиск
Список
Период
Сортировка
От Kenji Sugita
Тема Patch to enable window size detection code of psql for Solaris platform
Дата
Msg-id 20010730080500.CB32369006@srapc1267.sra.co.jp
обсуждение исходный текст
Ответы Re: Patch to enable window size detection code of psql for Solaris platform  (Bruce Momjian <pgman@candle.pha.pa.us>)
Re: Patch to enable window size detection code of psql for Solaris platform  (Bruce Momjian <pgman@candle.pha.pa.us>)
Список pgsql-patches
Attached ia a patch to enable window size detection code of psql for Solaris
platform.

====  Patch to src/bin/psql/print.c  ===========================
*** /tmp/T0gZai3g    Mon Jul 30 16:42:01 2001
--- print.c    Thu Jul 26 14:15:44 2001
***************
*** 29,34 ****
--- 29,37 ----
  #define DEFAULT_PAGER "less"
  #endif

+ #ifdef HAVE_TERMIOS_H
+ #include <termios.h>
+ #endif


  /*************************/
================================================================

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.


Kind regards,


Kenji Sugita
sugita@sra.co.jp

В списке pgsql-patches по дате отправления:

Предыдущее
От: "Christopher Kings-Lynne"
Дата:
Сообщение: Patch to contrib/fulltextindex/fti.sql
Следующее
От: Bruce Momjian
Дата:
Сообщение: Re: Patch to contrib/fulltextindex/fti.sql