Fossil

Changes On Branch omnios-terminal-width
Login

Changes On Branch omnios-terminal-width

Many hyperlinks are disabled.
Use anonymous login to enable hyperlinks.

Changes In Branch omnios-terminal-width Excluding Merge-Ins

This is equivalent to a diff from a8b6fdc8 to 32428f12

2024-01-03
14:41
Include termio.h to let OmniOS and OpenIndiana determine terminal width. ... (check-in: a8780e41 user: preben tags: trunk)
2023-12-07
19:57
Improvements to the diff algorithm. See forum thread 515e0d43425d7164 for discussion. ... (check-in: a45c7f0a user: drh tags: trunk)
2023-12-05
16:02
Provide a dark mode for the TCL/TK-based diff GUI. ... (check-in: b59a42f1 user: danield tags: tk-diff-darkmode)
2023-12-03
21:36
The th1-expr-3 test revealed that Th_SetResultInt() could produce incorrect result for INT_MIN. Ensure that -1*iVal is positive for all values and remove unsiged casts. Seems a common optimisation problem with gcc on various verisons from 10 through 13 on Linux, NetBSD and OmniOS on various architectures. ... (Closed-Leaf check-in: 4a98d2aa user: preben tags: th-int-min-errors)
20:28
Include termio.h to determine terminal width on OmniOS. Uses __EXTENSIONS__ in line with detection of solaris like systems in auto.def. ... (Closed-Leaf check-in: 32428f12 user: preben tags: omnios-terminal-width)
2023-12-01
22:37
Typo corrections in comments only. No change in functionality. ... (check-in: a8b6fdc8 user: andybradford tags: trunk)
2023-11-28
22:05
Tiny documentation fix: an extra space before argument to the '--base-rcvid' hook test option made the argument appear on the line describing the option. ... (check-in: cb283ca5 user: km tags: trunk)

Changes to src/terminal.c.

20
21
22
23
24
25
26



27
28
29
30
31
32
33

#include "config.h"
#include "terminal.h"
#include <assert.h>
#ifdef _WIN32
# include <windows.h>
#else



#include <sys/ioctl.h>
#include <stdio.h>
#include <unistd.h>
#endif










>
>
>







20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36

#include "config.h"
#include "terminal.h"
#include <assert.h>
#ifdef _WIN32
# include <windows.h>
#else
#ifdef __EXTENSIONS__
#include <termio.h>
#endif
#include <sys/ioctl.h>
#include <stdio.h>
#include <unistd.h>
#endif