Jon Trulson
b5a3c00671
DtTerm/util: remove register keyword
2018-06-27 21:58:04 -06:00
Peter Howkins
6b09b19351
libDtTerm: Change to ANSI function definition
2018-06-28 04:01:19 +01:00
Jon Trulson
c1bef9e8d6
libDtTerm: Fix for a coredump seen on OpenBSD
2018-06-13 13:27:46 -06:00
chase
809c3d8bb6
Spelling fixes
2018-05-31 22:23:19 -06:00
Ulrich Wilkens
297b6bd845
Fix warnings on FreeBSD
2018-05-31 22:04:08 -06:00
Ulrich Wilkens
16fbb15ecc
Fix BSD and Sun problems after coverity fixes
2018-05-31 17:46:03 -06:00
Jon Trulson
77cdabb8f6
TermPrimSetUtmp: fix lost define broken by last patch
2018-05-24 18:52:53 -06:00
chase
4f5e7fe5e3
Use POSIX macros for linux
2018-05-24 18:22:55 -06:00
chase
164e695cd0
remove OSF1 support
2018-05-24 14:25:26 -06:00
chase
07900bd93b
Remove Unixware and openserver support
2018-05-20 12:13:07 -06:00
chase
8a4f389634
Remove UXPDS support
2018-05-15 20:27:22 -06:00
chase
33d2749ea3
Last of the spelling fixed
2018-04-28 12:36:44 -06:00
chase
1fe5a550b2
Fix typo in license headers
2018-04-28 12:30:20 -06:00
chase
0aa8780fa1
Small spelling fixes
2018-04-25 19:40:19 -06:00
Peter Howkins
ccab0597ed
libdtterm: Resolve coverity issues
2018-04-04 19:48:23 +01:00
Douglas Carmichael
ecdf9eba10
Changed memcpy() to memmove() to stop coredumping on OpenBSD 5.7.
2015-06-21 17:07:41 -06:00
Stuart Brady
0306c7c6f2
DtTerm: fix formatted text in history buffer
...
Formatted text currently gets corrupted by DtTerm when copied into its
history buffer.
As soon as a line of text is copied into the history, the text of each
segment of formatted text is altered so that it contains the text from
the start of the line. For example:
echo -e '\e[1mbold\e[m \e[4munderlined\e[m'
When the text has scrolled off the screen, scrolling back to it reveals:
boldbbold under
This is fixed by adding the calls to _DtTermPrimBufferGetCharacterPointer
that were missing which would update the buffer pointer when inserting
text into the history buffer.
2015-05-05 16:47:05 -06:00
Jon Trulson
50de34a933
DtTerm: Coverity (memory corruption, moderate)
2014-12-26 15:59:52 -07:00
Jon Trulson
cedb47114f
DtTerm: Coverity (memory corruption, moderate)
2014-12-26 15:58:50 -07:00
Jon Trulson
b0548ce111
DtTerm: Coverity (memory corruption)
2014-12-26 14:08:24 -07:00
Ulrich Wilkens
29294e0373
Fix FreeBSD 10.1 build
2014-11-20 17:48:57 -07:00
Ulrich Wilkens
01d6c363fa
OpenIndiana and Solaris port
2014-10-28 13:40:11 -06:00
Ulrich Wilkens
42e891d9e7
Resolve many build warnings
...
This patch fixes many warnings from the beginning of the build up to
and including the depend stage. Nearly all warnings should be gone
even with -Wall.
2014-09-23 17:57:50 -06:00
Ulrich Wilkens
c3f74eec17
FreeBSD 10 clang port
2014-07-27 12:32:35 -06:00
Eugene Doudine
4e2adc1f8e
Fixes the bug, which caused dtterm to show stripes of wrong color between text lines when using fontsets that include fonts of slightly different heights.
...
The cause of the bug was that X*DrawImageString draws background
according to the extents of the given string, not to extents of the font set,
which determine terminal line height.
Now, when such a situation is detected, the background is cleared before
drawing the characters.
2014-05-03 22:11:41 -06:00
Ulrich Wilkens
d24fd29b52
Fix dtfile and dtterm on NetBSD
2014-03-11 13:06:55 -06:00
Jon Trulson
b147e0ce12
libDtTerm: add include <stdio.h> so FILE is properly defined.
...
TermPrim/TermPrimDebug.h references FILE without including the
required header file. I am not sure why this hasn't shown up before.
2014-03-09 00:21:40 -07:00
Ulrich Wilkens
6b0da8f335
Introduction of BSDArchitecture
2013-10-20 16:23:40 -06:00
Ulrich Wilkens
4ec9658299
dtinfo other files
2013-08-29 19:47:51 -06:00
Pascal Stumpf
dc0e8ea74d
Kill most warnings in lib/DtTerm.
...
Mostly missing headers, explicit parentheses and new prototypes.
Some Caveats:
* I haven't compile-tested the SVR4 getpty file, it might need another tweak
* There were operator precedence bugs in TermPrimCursor.c and TermPrimRender.c
(^ vs. !=). This might change behaviour, but at least I haven't experienced
any crashes ...
* This adds a little more dependencies for include ordering, but unless we
want to play the "headers that include headers that include headers..." game,
this is unavoidable.
2013-07-22 17:12:07 -06:00
Karsten Pedersen
69997241c5
Fixed building on FreeBSD 8.x
2013-02-26 17:28:17 -07:00
Pascal Stumpf
0ec1d6b692
Avoid negative array subscript; break out of the loop if that happens.
2012-11-27 23:46:12 -07:00
Peter Howkins
31c2131935
libDtTerm: Resolve all -Wformat-security warnings.
2012-08-27 20:36:59 +01:00
Marcin Cieslak
31aaa48344
FreeBSD port: dtsearch, dtterm, dtwidget, dthelp
...
FreeBSD portability of dtsearch, dtterm, dtwidget, dthelp
Work in progress for dtlogin and dtmail
2012-08-13 19:53:10 -06:00
Pascal Stumpf
131c7a9e04
Imakefile diffs for OpenBSD.
2012-08-11 19:23:43 -06:00
Pascal Stumpf
8bbf5a7a1b
Allow dtterm to at least allocate a pty on OpenBSD. Display is still mangled, however, and it frequently crashes (64bit issue).
2012-08-10 14:08:48 -06:00
Pascal Stumpf
19647809e4
OpenBSD fixes for lib/DtTerm: values.h, #ifdef's and some constants that are not defined on BSD. Also, leave out utmp stuff that does not work on BSD. Note that this terminal allocation does not work properly yet, but this will be fixed later.
2012-08-10 14:07:36 -06:00
Jon Trulson
91f7988cf3
dtterm: fixes so job control will work.
2012-06-18 16:01:17 -06:00
Jon Trulson
62b669a6af
dtterm: disable svr4 streams semantics on linux
2012-06-18 15:32:02 -06:00
Peter Howkins
43a91fa718
Don't include a couple of non-existant svr4 files on linux.
2012-03-20 20:50:16 +00:00
Peter Howkins
1476da61f7
Change over Linux to using the System V style pty code, it seems at some
...
point Linuxes pty code is no longer the BSD legacy one by default anymore.
2012-03-20 20:43:06 +00:00
Peter Howkins
42b737ba2a
On linux it seems that _XTyname() only takes one argument, no buffer required.
2012-03-11 19:12:51 +00:00
Peter Howkins
546683e176
GCC no longer supports <varargs.h>, change to <stdarg.h>
2012-03-11 14:21:26 +00:00
Peter Howkins
c884521619
Add GNU LGPL headers to all .c .C and .h files
2012-03-10 18:58:32 +00:00
Peter Howkins
83b6996daa
Initial import of the CDE 2.1.30 sources from the Open Group.
2012-03-10 18:21:40 +00:00