The NetBSD Project

CVS log for src/sys/dev/wscons/wsemul_vt100_subr.c

[BACK] Up to [cvs.NetBSD.org] / src / sys / dev / wscons

Request diff between arbitrary revisions


Default branch: MAIN


Revision 1.34 / (download) - annotate - [select for diffs], Thu Aug 3 22:11:41 2023 UTC (6 months, 3 weeks ago) by uwe
Branch: MAIN
CVS Tags: thorpej-ifq-base, thorpej-ifq, thorpej-altq-separation-base, thorpej-altq-separation, HEAD
Changes since 1.33: +3 -3 lines
Diff to previous 1.33 (colored)

wsemul_vt100_subr: fix comment - CPR is not DSR

DSRs (device status report) are 'n', but cursor position report is 'R'

Revision 1.33 / (download) - annotate - [select for diffs], Thu Aug 3 02:25:09 2023 UTC (6 months, 3 weeks ago) by uwe
Branch: MAIN
Changes since 1.32: +7 -2 lines
Diff to previous 1.32 (colored)

wsemul_vt100_subr: fix IL/DL to match specified behavior

Acoording to DEC manuals: "The cursor is reset to the first column.
This sequence is ignored when the cursor is outside the scrolling
region."

Revision 1.32 / (download) - annotate - [select for diffs], Thu Aug 3 02:04:17 2023 UTC (6 months, 3 weeks ago) by uwe
Branch: MAIN
Changes since 1.31: +14 -4 lines
Diff to previous 1.31 (colored)

wsemul_vt100_subr: properly clamp CUU/CUD parameter

If the cursor is outside of the scrolling region the movement should
stop at the screen border.  Reported by David Leadbeater.

Revision 1.24.30.1 / (download) - annotate - [select for diffs], Sun Jul 30 11:47:08 2023 UTC (6 months, 4 weeks ago) by martin
Branch: netbsd-10
CVS Tags: netbsd-10-0-RC4, netbsd-10-0-RC3, netbsd-10-0-RC2, netbsd-10-0-RC1
Changes since 1.24: +273 -232 lines
Diff to previous 1.24 (colored) next main 1.25 (colored)

Pull up following revision(s) (requested by uwe in ticket #257):
	sys/dev/wscons/wsemul_vt100_subr.c: revision 1.25
	sys/dev/wscons/wsemul_vt100_subr.c: revision 1.26
	sys/dev/wscons/wsemul_vt100_subr.c: revision 1.27
	sys/dev/wscons/wsemul_vt100_subr.c: revision 1.28
	sys/dev/wscons/wsemul_vt100_subr.c: revision 1.29
	sys/dev/wscons/wsemul_vt100.c: revision 1.50
	sys/dev/wscons/wsemul_vt100.c: revision 1.51
	sys/dev/wscons/wsemul_vt100_subr.c: revision 1.30
	sys/dev/wscons/wsemul_vt100_subr.c: revision 1.31

Fix off by one (Crystal Kolipe in tech-kern@)

Add rin, indn, vpa, hpa, and cbt terminfo capabilities (Crystal Kolipe)

wscons(4): Ignore nonsense tab stops in vt100 emulation.

wscons(4): Paranoia: Clamp numbers of rows and columns.

wsemul_vt100_subr: don't assert unsigned ncols >= 0

wsemul_vt100_subr: spell edp->tabs assertion with NULL

Avoid overflow with too many ';' (David Leadbeater)

Prefix all messages with the method name

wsemul_vt100_subr: complete the refactoring from 2010
In 1.20 refactoring, functions in this file were changed to accept a
pointer to the new base class instead of the full emuldata:
  -wsemul_vt100_foo(struct wsemul_vt100_emuldata *edp, ...)
  +wsemul_vt100_foo(struct vt100base_data *edp, ...)
but the argument name was not changed.  While this saved on the diff
churn back then, it created a rather unfortunate situation where the
same emulation state variables are referred to differently in this
file and other vt100 emulation files.  Complete that old change by
renaming the base class arguments to match the variable name used for
it in other files.

Same object code is generated.

Revision 1.31 / (download) - annotate - [select for diffs], Wed Jul 26 10:46:01 2023 UTC (7 months ago) by uwe
Branch: MAIN
Changes since 1.30: +239 -239 lines
Diff to previous 1.30 (colored)

wsemul_vt100_subr: complete the refactoring from 2010

In 1.20 refactoring, functions in this file were changed to accept a
pointer to the new base class instead of the full emuldata:

  -wsemul_vt100_foo(struct wsemul_vt100_emuldata *edp, ...)
  +wsemul_vt100_foo(struct vt100base_data *edp, ...)

but the argument name was not changed.  While this saved on the diff
churn back then, it created a rather unfortunate situation where the
same emulation state variables are referred to differently in this
file and other vt100 emulation files.  Complete that old change by
renaming the base class arguments to match the variable name used for
it in other files.

Same object code is generated.

Revision 1.30 / (download) - annotate - [select for diffs], Sun Feb 26 14:00:42 2023 UTC (12 months ago) by uwe
Branch: MAIN
Changes since 1.29: +5 -5 lines
Diff to previous 1.29 (colored)

wsemul_vt100_subr: spell edp->tabs assertion with NULL

Revision 1.29 / (download) - annotate - [select for diffs], Sun Feb 26 13:57:56 2023 UTC (12 months ago) by uwe
Branch: MAIN
Changes since 1.28: +2 -3 lines
Diff to previous 1.28 (colored)

wsemul_vt100_subr: don't assert unsigned ncols >= 0

Revision 1.28 / (download) - annotate - [select for diffs], Thu Feb 23 02:48:06 2023 UTC (12 months ago) by riastradh
Branch: MAIN
Changes since 1.27: +4 -2 lines
Diff to previous 1.27 (colored)

wscons(4): Paranoia: Clamp numbers of rows and columns.

Revision 1.27 / (download) - annotate - [select for diffs], Thu Feb 23 02:47:52 2023 UTC (12 months ago) by riastradh
Branch: MAIN
Changes since 1.26: +18 -6 lines
Diff to previous 1.26 (colored)

wscons(4): Ignore nonsense tab stops in vt100 emulation.

XXX pullup-8
XXX pullup-9
XXX pullup-10

Revision 1.26 / (download) - annotate - [select for diffs], Wed Jan 18 17:02:17 2023 UTC (13 months, 1 week ago) by christos
Branch: MAIN
Changes since 1.25: +31 -3 lines
Diff to previous 1.25 (colored)

Add rin, indn, vpa, hpa, and cbt terminfo capabilities (Crystal Kolipe)

Revision 1.25 / (download) - annotate - [select for diffs], Mon Jan 9 21:53:44 2023 UTC (13 months, 2 weeks ago) by christos
Branch: MAIN
Changes since 1.24: +4 -4 lines
Diff to previous 1.24 (colored)

Fix off by one (Crystal Kolipe in tech-kern@)

Revision 1.22.2.1 / (download) - annotate - [select for diffs], Mon Jun 10 22:07:36 2019 UTC (4 years, 8 months ago) by christos
Branch: phil-wifi
Changes since 1.22: +17 -15 lines
Diff to previous 1.22 (colored) next main 1.23 (colored)

Sync with HEAD

Revision 1.21.8.3 / (download) - annotate - [select for diffs], Wed Dec 26 14:02:02 2018 UTC (5 years, 2 months ago) by pgoyette
Branch: pgoyette-compat
CVS Tags: pgoyette-compat-merge-20190127
Changes since 1.21.8.2: +4 -2 lines
Diff to previous 1.21.8.2 (colored) to branchpoint 1.21 (colored) next main 1.22 (colored)

Sync with HEAD, resolve a few conflicts

Revision 1.24 / (download) - annotate - [select for diffs], Thu Dec 6 01:42:20 2018 UTC (5 years, 2 months ago) by uwe
Branch: MAIN
CVS Tags: thorpej-i2c-spi-conf2-base, thorpej-i2c-spi-conf2, thorpej-i2c-spi-conf-base, thorpej-i2c-spi-conf, thorpej-futex2-base, thorpej-futex2, thorpej-futex-base, thorpej-futex, thorpej-cfargs2-base, thorpej-cfargs2, thorpej-cfargs-base, thorpej-cfargs, phil-wifi-20200421, phil-wifi-20200411, phil-wifi-20200406, phil-wifi-20191119, phil-wifi-20190609, pgoyette-compat-20190127, pgoyette-compat-20190118, pgoyette-compat-1226, netbsd-9-base, netbsd-9-3-RELEASE, netbsd-9-2-RELEASE, netbsd-9-1-RELEASE, netbsd-9-0-RELEASE, netbsd-9-0-RC2, netbsd-9-0-RC1, netbsd-9, netbsd-10-base, isaki-audio2-base, isaki-audio2, is-mlppp-base, is-mlppp, cjep_sun2x-base1, cjep_sun2x-base, cjep_sun2x, cjep_staticlib_x-base1, cjep_staticlib_x-base, cjep_staticlib_x, bouyer-xenpvh-base2, bouyer-xenpvh-base1, bouyer-xenpvh-base, bouyer-xenpvh, bouyer-sunxi-drm-base, bouyer-sunxi-drm, ad-namecache-base3, ad-namecache-base2, ad-namecache-base1, ad-namecache-base, ad-namecache
Branch point for: netbsd-10
Changes since 1.23: +4 -2 lines
Diff to previous 1.23 (colored)

#ifdef _KERNEL_OPT

Revision 1.21.8.2 / (download) - annotate - [select for diffs], Thu Sep 6 06:56:06 2018 UTC (5 years, 5 months ago) by pgoyette
Branch: pgoyette-compat
Changes since 1.21.8.1: +15 -15 lines
Diff to previous 1.21.8.1 (colored) to branchpoint 1.21 (colored)

Sync with HEAD

Resolve a couple of conflicts (result of the uimin/uimax changes)

Revision 1.23 / (download) - annotate - [select for diffs], Mon Sep 3 16:29:34 2018 UTC (5 years, 5 months ago) by riastradh
Branch: MAIN
CVS Tags: pgoyette-compat-1126, pgoyette-compat-1020, pgoyette-compat-0930, pgoyette-compat-0906
Changes since 1.22: +15 -15 lines
Diff to previous 1.22 (colored)

Rename min/max -> uimin/uimax for better honesty.

These functions are defined on unsigned int.  The generic name
min/max should not silently truncate to 32 bits on 64-bit systems.
This is purely a name change -- no functional change intended.

HOWEVER!  Some subsystems have

	#define min(a, b)	((a) < (b) ? (a) : (b))
	#define max(a, b)	((a) > (b) ? (a) : (b))

even though our standard name for that is MIN/MAX.  Although these
may invite multiple evaluation bugs, these do _not_ cause integer
truncation.

To avoid `fixing' these cases, I first changed the name in libkern,
and then compile-tested every file where min/max occurred in order to
confirm that it failed -- and thus confirm that nothing shadowed
min/max -- before changing it.

I have left a handful of bootloaders that are too annoying to
compile-test, and some dead code:

cobalt ews4800mips hp300 hppa ia64 luna68k vax
acorn32/if_ie.c (not included in any kernels)
macppc/if_gm.c (superseded by gem(4))

It should be easy to fix the fallout once identified -- this way of
doing things fails safe, and the goal here, after all, is to _avoid_
silent integer truncations, not introduce them.

Maybe one day we can reintroduce min/max as type-generic things that
never silently truncate.  But we should avoid doing that for a while,
so that existing code has a chance to be detected by the compiler for
conversion to uimin/uimax without changing the semantics until we can
properly audit it all.  (Who knows, maybe in some cases integer
truncation is actually intended!)

Revision 1.21.8.1 / (download) - annotate - [select for diffs], Mon Jun 25 07:26:03 2018 UTC (5 years, 8 months ago) by pgoyette
Branch: pgoyette-compat
Changes since 1.21: +8 -2 lines
Diff to previous 1.21 (colored)

Sync with HEAD

Revision 1.22 / (download) - annotate - [select for diffs], Tue Jun 5 21:11:50 2018 UTC (5 years, 8 months ago) by uwe
Branch: MAIN
CVS Tags: phil-wifi-base, pgoyette-compat-0728, pgoyette-compat-0625, jdolecek-ncqfixes-base, jdolecek-ncqfixes
Branch point for: phil-wifi
Changes since 1.21: +8 -2 lines
Diff to previous 1.21 (colored)

PR kern/53245 - support SGR 39 (default foreground) and 49 (background).

Revision 1.20.20.1 / (download) - annotate - [select for diffs], Sun Dec 3 11:37:37 2017 UTC (6 years, 2 months ago) by jdolecek
Branch: tls-maxphys
Changes since 1.20: +14 -2 lines
Diff to previous 1.20 (colored) next main 1.21 (colored)

update from HEAD

Revision 1.20.38.1 / (download) - annotate - [select for diffs], Mon Aug 28 17:52:31 2017 UTC (6 years, 6 months ago) by skrll
Branch: nick-nhusb
Changes since 1.20: +14 -2 lines
Diff to previous 1.20 (colored) next main 1.21 (colored)

Sync with HEAD

Revision 1.21 / (download) - annotate - [select for diffs], Fri May 19 19:22:33 2017 UTC (6 years, 9 months ago) by macallan
Branch: MAIN
CVS Tags: tls-maxphys-base-20171202, pgoyette-compat-base, pgoyette-compat-0521, pgoyette-compat-0502, pgoyette-compat-0422, pgoyette-compat-0415, pgoyette-compat-0407, pgoyette-compat-0330, pgoyette-compat-0322, pgoyette-compat-0315, perseant-stdc-iso10646-base, perseant-stdc-iso10646, nick-nhusb-base-20170825, netbsd-8-base, netbsd-8-2-RELEASE, netbsd-8-1-RELEASE, netbsd-8-1-RC1, netbsd-8-0-RELEASE, netbsd-8-0-RC2, netbsd-8-0-RC1, netbsd-8, matt-nb8-mediatek-base, matt-nb8-mediatek
Branch point for: pgoyette-compat
Changes since 1.20: +14 -2 lines
Diff to previous 1.20 (colored)

add support for loading fonts in vcons and subsequently resizing screens
- drivers can use this by setting VCONS_LOADFONT and WSSCREEN_RESIZE
- each vcons screen can now have its own font and geometry
- while there, add support for xterm's ESC[18t to report the text buffer's
  size

With this tou can:
wsfontload -N foo  /usr/share/wscons/fonts/flori.816
wsconsctl -dw font=foo
currently this is limited to drivers that don't use the glyph cache, like genfb

Revision 1.19.96.1 / (download) - annotate - [select for diffs], Fri Apr 30 14:43:55 2010 UTC (13 years, 10 months ago) by uebayasi
Branch: uebayasi-xip
Changes since 1.19: +89 -87 lines
Diff to previous 1.19 (colored) next main 1.20 (colored)

Sync with HEAD.

Revision 1.19.74.1 / (download) - annotate - [select for diffs], Thu Mar 11 15:04:09 2010 UTC (13 years, 11 months ago) by yamt
Branch: yamt-nfs-mp
Changes since 1.19: +89 -87 lines
Diff to previous 1.19 (colored) next main 1.20 (colored)

sync with head

Revision 1.20 / (download) - annotate - [select for diffs], Wed Feb 10 19:39:39 2010 UTC (14 years ago) by drochner
Branch: MAIN
CVS Tags: yamt-pagecache-tag8, yamt-pagecache-base9, yamt-pagecache-base8, yamt-pagecache-base7, yamt-pagecache-base6, yamt-pagecache-base5, yamt-pagecache-base4, yamt-pagecache-base3, yamt-pagecache-base2, yamt-pagecache-base, yamt-pagecache, yamt-nfs-mp-base9, yamt-nfs-mp-base11, yamt-nfs-mp-base10, uebayasi-xip-base4, uebayasi-xip-base3, uebayasi-xip-base2, uebayasi-xip-base1, tls-maxphys-base, tls-earlyentropy-base, tls-earlyentropy, rmind-uvmplock-nbase, rmind-uvmplock-base, rmind-uvmplock, rmind-smpnet-nbase, rmind-smpnet-base, rmind-smpnet, riastradh-xf86-video-intel-2-7-1-pre-2-21-15, riastradh-drm2-base3, riastradh-drm2-base2, riastradh-drm2-base1, riastradh-drm2-base, riastradh-drm2, prg-localcount2-base3, prg-localcount2-base2, prg-localcount2-base1, prg-localcount2-base, prg-localcount2, pgoyette-localcount-base, pgoyette-localcount-20170426, pgoyette-localcount-20170320, pgoyette-localcount-20170107, pgoyette-localcount-20161104, pgoyette-localcount-20160806, pgoyette-localcount-20160726, pgoyette-localcount, nick-nhusb-base-20170204, nick-nhusb-base-20161204, nick-nhusb-base-20161004, nick-nhusb-base-20160907, nick-nhusb-base-20160529, nick-nhusb-base-20160422, nick-nhusb-base-20160319, nick-nhusb-base-20151226, nick-nhusb-base-20150921, nick-nhusb-base-20150606, nick-nhusb-base-20150406, nick-nhusb-base, netbsd-7-nhusb-base-20170116, netbsd-7-nhusb-base, netbsd-7-nhusb, netbsd-7-base, netbsd-7-2-RELEASE, netbsd-7-1-RELEASE, netbsd-7-1-RC2, netbsd-7-1-RC1, netbsd-7-1-2-RELEASE, netbsd-7-1-1-RELEASE, netbsd-7-1, netbsd-7-0-RELEASE, netbsd-7-0-RC3, netbsd-7-0-RC2, netbsd-7-0-RC1, netbsd-7-0-2-RELEASE, netbsd-7-0-1-RELEASE, netbsd-7-0, netbsd-7, netbsd-6-base, netbsd-6-1-RELEASE, netbsd-6-1-RC4, netbsd-6-1-RC3, netbsd-6-1-RC2, netbsd-6-1-RC1, netbsd-6-1-5-RELEASE, netbsd-6-1-4-RELEASE, netbsd-6-1-3-RELEASE, netbsd-6-1-2-RELEASE, netbsd-6-1-1-RELEASE, netbsd-6-1, netbsd-6-0-RELEASE, netbsd-6-0-RC2, netbsd-6-0-RC1, netbsd-6-0-6-RELEASE, netbsd-6-0-5-RELEASE, netbsd-6-0-4-RELEASE, netbsd-6-0-3-RELEASE, netbsd-6-0-2-RELEASE, netbsd-6-0-1-RELEASE, netbsd-6-0, netbsd-6, matt-nb6-plus-nbase, matt-nb6-plus-base, matt-nb6-plus, matt-mips64-premerge-20101231, localcount-20160914, khorben-n900, jruoho-x86intr-base, jruoho-x86intr, jmcneill-usbmp-pre-base2, jmcneill-usbmp-base9, jmcneill-usbmp-base8, jmcneill-usbmp-base7, jmcneill-usbmp-base6, jmcneill-usbmp-base5, jmcneill-usbmp-base4, jmcneill-usbmp-base3, jmcneill-usbmp-base2, jmcneill-usbmp-base10, jmcneill-usbmp-base, jmcneill-usbmp, jmcneill-audiomp3-base, jmcneill-audiomp3, jdolecek-ncq-base, jdolecek-ncq, cherry-xenmp-base, cherry-xenmp, bouyer-socketcan-base1, bouyer-socketcan-base, bouyer-socketcan, bouyer-quota2-nbase, bouyer-quota2-base, bouyer-quota2, agc-symver-base, agc-symver
Branch point for: tls-maxphys, nick-nhusb
Changes since 1.19: +89 -87 lines
Diff to previous 1.19 (colored)

Allow big parts of the vt100 emulation code (what is in
wsemul_vt100_subr.c) to be used by alternative terminal emulators
(which are not in-tree yet but can be loaded as LKMs).
For this, split out that part of the state structure which is used
by the sharable code and include that in the original vt100 state.
This is only a query-replace and sed(1) job for now, it makes sense
to rearrange things a bit so that even more code can be changed --
will do so later.

Revision 1.19 / (download) - annotate - [select for diffs], Sun Dec 11 12:24:12 2005 UTC (18 years, 2 months ago) by christos
Branch: MAIN
CVS Tags: yamt-x86pmap-base4, yamt-x86pmap-base3, yamt-x86pmap-base2, yamt-x86pmap-base, yamt-x86pmap, yamt-uio_vmspace-base5, yamt-uio_vmspace, yamt-splraiseipl-base5, yamt-splraiseipl-base4, yamt-splraiseipl-base3, yamt-splraiseipl-base2, yamt-splraiseipl-base, yamt-splraiseipl, yamt-pf42-baseX, yamt-pf42-base4, yamt-pf42-base3, yamt-pf42-base2, yamt-pf42-base, yamt-pf42, yamt-pdpolicy-base9, yamt-pdpolicy-base8, yamt-pdpolicy-base7, yamt-pdpolicy-base6, yamt-pdpolicy-base5, yamt-pdpolicy-base4, yamt-pdpolicy-base3, yamt-pdpolicy-base2, yamt-pdpolicy-base, yamt-pdpolicy, yamt-nfs-mp-base8, yamt-nfs-mp-base7, yamt-nfs-mp-base6, yamt-nfs-mp-base5, yamt-nfs-mp-base4, yamt-nfs-mp-base3, yamt-nfs-mp-base2, yamt-nfs-mp-base, yamt-lazymbuf-base15, yamt-lazymbuf-base14, yamt-kmem-base3, yamt-kmem-base2, yamt-kmem-base, yamt-kmem, yamt-idlelwp-base8, yamt-idlelwp, wrstuden-revivesa-base-4, wrstuden-revivesa-base-3, wrstuden-revivesa-base-2, wrstuden-revivesa-base-1, wrstuden-revivesa-base, wrstuden-revivesa, wrstuden-fixsa-newbase, wrstuden-fixsa-base-1, wrstuden-fixsa-base, wrstuden-fixsa, vmlocking2-base3, vmlocking2-base2, vmlocking2-base1, vmlocking2, vmlocking-nbase, vmlocking-base, vmlocking, uebayasi-xip-base, thorpej-atomic-base, thorpej-atomic, simonb-wapbl-nbase, simonb-wapbl-base, simonb-wapbl, simonb-timecounters-base, simonb-timecounters, simonb-timcounters-final, rpaulo-netinet-merge-pcb-base, rpaulo-netinet-merge-pcb, reinoud-bufcleanup-nbase, reinoud-bufcleanup-base, reinoud-bufcleanup, post-newlock2-merge, peter-altq-base, peter-altq, nick-net80211-sync-base, nick-net80211-sync, nick-hppapmap-base4, nick-hppapmap-base3, nick-hppapmap-base2, nick-hppapmap-base, nick-hppapmap, nick-csl-alignment-base5, nick-csl-alignment-base, nick-csl-alignment, newlock2-nbase, newlock2-base, newlock2, netbsd-5-base, netbsd-5-2-RELEASE, netbsd-5-2-RC1, netbsd-5-2-3-RELEASE, netbsd-5-2-2-RELEASE, netbsd-5-2-1-RELEASE, netbsd-5-2, netbsd-5-1-RELEASE, netbsd-5-1-RC4, netbsd-5-1-RC3, netbsd-5-1-RC2, netbsd-5-1-RC1, netbsd-5-1-5-RELEASE, netbsd-5-1-4-RELEASE, netbsd-5-1-3-RELEASE, netbsd-5-1-2-RELEASE, netbsd-5-1-1-RELEASE, netbsd-5-1, netbsd-5-0-RELEASE, netbsd-5-0-RC4, netbsd-5-0-RC3, netbsd-5-0-RC2, netbsd-5-0-RC1, netbsd-5-0-2-RELEASE, netbsd-5-0-1-RELEASE, netbsd-5-0, netbsd-5, netbsd-4-base, netbsd-4-0-RELEASE, netbsd-4-0-RC5, netbsd-4-0-RC4, netbsd-4-0-RC3, netbsd-4-0-RC2, netbsd-4-0-RC1, netbsd-4-0-1-RELEASE, netbsd-4-0, netbsd-4, mjf-ufs-trans-base, mjf-ufs-trans, mjf-devfs2-base, mjf-devfs2, mjf-devfs-base, mjf-devfs, matt-premerge-20091211, matt-nb5-pq3-base, matt-nb5-pq3, matt-nb5-mips64-u2-k2-k4-k7-k8-k9, matt-nb5-mips64-u1-k1-k5, matt-nb5-mips64-premerge-20101231, matt-nb5-mips64-premerge-20091211, matt-nb5-mips64-k15, matt-nb5-mips64, matt-nb4-mips64-k7-u2a-k9b, matt-nb4-arm-base, matt-nb4-arm, matt-mips64-base2, matt-mips64-base, matt-mips64, matt-armv6-prevmlocking, matt-armv6-nbase, matt-armv6-base, matt-armv6, keiichi-mipv6-nbase, keiichi-mipv6-base, keiichi-mipv6, jymxensuspend-base, jym-xensuspend-nbase, jym-xensuspend-base, jym-xensuspend, jmcneill-pm-base, jmcneill-pm, jmcneill-base, hpcarm-cleanup-nbase, hpcarm-cleanup-base, hpcarm-cleanup, haad-nbase2, haad-dm-base2, haad-dm-base1, haad-dm-base, haad-dm, gdamore-uart-base, gdamore-uart, elad-kernelauth-base, elad-kernelauth, cube-autoconf-base, cube-autoconf, chap-midi-nbase, chap-midi-base, chap-midi, bouyer-xeni386-nbase, bouyer-xeni386-merge1, bouyer-xeni386-base, bouyer-xeni386, bouyer-xenamd64-base2, bouyer-xenamd64-base, bouyer-xenamd64, ad-socklock-base1, ad-audiomp2-base, ad-audiomp2, ad-audiomp-base, ad-audiomp, abandoned-netbsd-4-base, abandoned-netbsd-4
Branch point for: yamt-nfs-mp, uebayasi-xip
Changes since 1.18: +2 -2 lines
Diff to previous 1.18 (colored)

merge ktrace-lwp.

Revision 1.14.2.4 / (download) - annotate - [select for diffs], Thu Nov 10 14:08:43 2005 UTC (18 years, 3 months ago) by skrll
Branch: ktrace-lwp
Changes since 1.14.2.3: +5 -5 lines
Diff to previous 1.14.2.3 (colored) next main 1.15 (colored)

Sync with HEAD. Here we go again...

Revision 1.18 / (download) - annotate - [select for diffs], Sun May 29 21:56:35 2005 UTC (18 years, 9 months ago) by christos
Branch: MAIN
CVS Tags: yamt-vop-base3, yamt-vop-base2, yamt-vop-base, yamt-vop, yamt-readahead-pervnode, yamt-readahead-perfile, yamt-readahead-base3, yamt-readahead-base2, yamt-readahead-base, yamt-readahead, yamt-lazymbuf, thorpej-vnode-attr-base, thorpej-vnode-attr, ktrace-lwp-base
Changes since 1.17: +5 -5 lines
Diff to previous 1.17 (colored)

- sprinkle const.
- avoid variable shadowing.

Revision 1.14.2.3 / (download) - annotate - [select for diffs], Tue Sep 21 13:34:29 2004 UTC (19 years, 5 months ago) by skrll
Branch: ktrace-lwp
Changes since 1.14.2.2: +2 -2 lines
Diff to previous 1.14.2.2 (colored)

Fix the sync with head I botched.

Revision 1.14.2.2 / (download) - annotate - [select for diffs], Sat Sep 18 14:52:24 2004 UTC (19 years, 5 months ago) by skrll
Branch: ktrace-lwp
Changes since 1.14.2.1: +2 -2 lines
Diff to previous 1.14.2.1 (colored)

Sync with HEAD.

Revision 1.14.2.1 / (download) - annotate - [select for diffs], Tue Aug 3 10:52:12 2004 UTC (19 years, 6 months ago) by skrll
Branch: ktrace-lwp
Changes since 1.14: +16 -21 lines
Diff to previous 1.14 (colored)

Sync with HEAD

Revision 1.17 / (download) - annotate - [select for diffs], Wed Jul 28 12:34:05 2004 UTC (19 years, 7 months ago) by jmmv
Branch: MAIN
CVS Tags: yamt-km-base4, yamt-km-base3, yamt-km-base2, yamt-km-base, yamt-km, netbsd-3-base, netbsd-3-1-RELEASE, netbsd-3-1-RC4, netbsd-3-1-RC3, netbsd-3-1-RC2, netbsd-3-1-RC1, netbsd-3-1-1-RELEASE, netbsd-3-1, netbsd-3-0-RELEASE, netbsd-3-0-RC6, netbsd-3-0-RC5, netbsd-3-0-RC4, netbsd-3-0-RC3, netbsd-3-0-RC2, netbsd-3-0-RC1, netbsd-3-0-3-RELEASE, netbsd-3-0-2-RELEASE, netbsd-3-0-1-RELEASE, netbsd-3-0, netbsd-3, kent-audio2-base, kent-audio2, kent-audio1-beforemerge, kent-audio1-base, kent-audio1
Changes since 1.16: +12 -11 lines
Diff to previous 1.16 (colored)

Implement support to dynamically change wscons console and kernel colors.

Two new ioctls are added to the wsdisplay device, named WSDISPLAY_GMSGATTRS
and WSDISPLAY_SMSGATTRS, used to retrieve the actual values and set them,
respectively (the name, if you are wondering, comes from "message attributes").

A new emulop is added to the underlying display driver (only vga, for now)
which sets the new attribute for the whole screen, without having to clear
it.  This is optional, which means that this also works with other drivers
that don't have this new operation.

Five new kernel options have been added, although only documented in
i386 kernels (for now):
- WSDISPLAY_CUSTOM_OUTPUT, which enables the ioctls described above to
  change the colors dynamically from userland.  This is enabled by default
  in the GENERIC kernel (as well as others) but disabled on all INSTALL*
  kernels (as this feature is useless there).
- WS_DEFAULT_COLATTR, WS_DEFAULT_MONOATTR, WS_DEFAULT_BG and WS_DEFAULT_FG,
  which specify the default colors for the console at boot time.  These have
  the same meaning as the (already existing) WS_KERNEL_* variables.

wsconsctl is modified to add msg.default.{attrs,bg,fg} and
msg.kernel.{attrs,bg,fg} to the display part, so that colors can be changed
after boot.

Tested on NetBSD/i386 with vga (and vga in mono mode), and on NetBSD/mac68k.
No objections in tech-kern@.

Revision 1.16 / (download) - annotate - [select for diffs], Fri Apr 23 21:29:16 2004 UTC (19 years, 10 months ago) by itojun
Branch: MAIN
Changes since 1.15: +6 -6 lines
Diff to previous 1.15 (colored)

use bounded string ops

Revision 1.15 / (download) - annotate - [select for diffs], Wed Mar 24 17:26:53 2004 UTC (19 years, 11 months ago) by drochner
Branch: MAIN
CVS Tags: netbsd-2-base, netbsd-2-1-RELEASE, netbsd-2-1-RC6, netbsd-2-1-RC5, netbsd-2-1-RC4, netbsd-2-1-RC3, netbsd-2-1-RC2, netbsd-2-1-RC1, netbsd-2-1, netbsd-2-0-base, netbsd-2-0-RELEASE, netbsd-2-0-RC5, netbsd-2-0-RC4, netbsd-2-0-RC3, netbsd-2-0-RC2, netbsd-2-0-RC1, netbsd-2-0-3-RELEASE, netbsd-2-0-2-RELEASE, netbsd-2-0-1-RELEASE, netbsd-2-0, netbsd-2
Changes since 1.14: +2 -8 lines
Diff to previous 1.14 (colored)

remove license clauses 3 and 4 from my cpoyright notices

Revision 1.10.10.1 / (download) - annotate - [select for diffs], Wed Jun 25 22:15:04 2003 UTC (20 years, 8 months ago) by grant
Branch: netbsd-1-6
CVS Tags: netbsd-1-6-PATCH002-RELEASE, netbsd-1-6-PATCH002-RC4, netbsd-1-6-PATCH002-RC3, netbsd-1-6-PATCH002-RC2, netbsd-1-6-PATCH002-RC1, netbsd-1-6-PATCH002
Changes since 1.10: +3 -3 lines
Diff to previous 1.10 (colored) next main 1.11 (colored)

Pull up revision 1.13 (requested by tron in ticket #1277):

fix crash due to wrong argument in the (almost useless)
DECRQUPSS escape sequence

Revision 1.7.4.1 / (download) - annotate - [select for diffs], Tue May 27 04:17:09 2003 UTC (20 years, 9 months ago) by msaitoh
Branch: netbsd-1-5
Changes since 1.7: +2 -2 lines
Diff to previous 1.7 (colored) next main 1.8 (colored)

Pullup rev. 1.13 (requested by drochner in ticket #43)

fix crash due to wrong argument in the (almost useless)
DECRQUPSS escape sequence

Revision 1.14 / (download) - annotate - [select for diffs], Wed Apr 2 18:22:56 2003 UTC (20 years, 11 months ago) by drochner
Branch: MAIN
Branch point for: ktrace-lwp
Changes since 1.13: +18 -3 lines
Diff to previous 1.13 (colored)

allow to customize how highlighting and underlining text is substituted
if the display doesn't provide this
submitted by xs@kittenz.org per PR kern/18004

Revision 1.13 / (download) - annotate - [select for diffs], Wed Apr 2 17:48:59 2003 UTC (20 years, 11 months ago) by drochner
Branch: MAIN
Changes since 1.12: +3 -3 lines
Diff to previous 1.12 (colored)

fix crash due to wrong argument in the (almost useless)
DECRQUPSS escape sequence

Revision 1.12 / (download) - annotate - [select for diffs], Mon Jan 20 05:30:10 2003 UTC (21 years, 1 month ago) by simonb
Branch: MAIN
Changes since 1.11: +4 -4 lines
Diff to previous 1.11 (colored)

The Double-Semi-Colon Police.

Revision 1.8.4.2 / (download) - annotate - [select for diffs], Fri Sep 6 08:47:32 2002 UTC (21 years, 5 months ago) by jdolecek
Branch: kqueue
Changes since 1.8.4.1: +6 -6 lines
Diff to previous 1.8.4.1 (colored) to branchpoint 1.8 (colored) next main 1.9 (colored)

sync kqueue branch with HEAD

Revision 1.8.2.3 / (download) - annotate - [select for diffs], Thu Aug 1 02:46:16 2002 UTC (21 years, 7 months ago) by nathanw
Branch: nathanw_sa
CVS Tags: nathanw_sa_end
Changes since 1.8.2.2: +4 -4 lines
Diff to previous 1.8.2.2 (colored) to branchpoint 1.8 (colored) next main 1.9 (colored)

Catch up to -current.

Revision 1.10.8.1 / (download) - annotate - [select for diffs], Mon Jul 15 10:36:27 2002 UTC (21 years, 7 months ago) by gehenna
Branch: gehenna-devsw
Changes since 1.10: +6 -6 lines
Diff to previous 1.10 (colored) next main 1.11 (colored)

catch up with -current.

Revision 1.11 / (download) - annotate - [select for diffs], Thu Jul 4 14:37:15 2002 UTC (21 years, 7 months ago) by junyoung
Branch: MAIN
CVS Tags: nathanw_sa_before_merge, nathanw_sa_base, kqueue-beforemerge, kqueue-base, kqueue-aftermerge, gmcgarry_ucred_base, gmcgarry_ucred, gmcgarry_ctxsw_base, gmcgarry_ctxsw, gehenna-devsw-base, fvdl_fs64_base
Changes since 1.10: +6 -6 lines
Diff to previous 1.10 (colored)

alloc_attr -> allocattr

Approved by Matthias Drochner.

Revision 1.8.4.1 / (download) - annotate - [select for diffs], Thu Jan 10 19:59:17 2002 UTC (22 years, 1 month ago) by thorpej
Branch: kqueue
Changes since 1.8: +18 -32 lines
Diff to previous 1.8 (colored)

Sync kqueue branch with -current.

Revision 1.8.2.2 / (download) - annotate - [select for diffs], Wed Nov 14 19:16:26 2001 UTC (22 years, 3 months ago) by nathanw
Branch: nathanw_sa
Changes since 1.8.2.1: +4 -1 lines
Diff to previous 1.8.2.1 (colored) to branchpoint 1.8 (colored)

Catch up to -current.

Revision 1.10 / (download) - annotate - [select for diffs], Tue Nov 13 06:17:47 2001 UTC (22 years, 3 months ago) by lukem
Branch: MAIN
CVS Tags: newlock-base, newlock, netbsd-1-6-base, netbsd-1-6-RELEASE, netbsd-1-6-RC3, netbsd-1-6-RC2, netbsd-1-6-RC1, netbsd-1-6-PATCH001-RELEASE, netbsd-1-6-PATCH001-RC3, netbsd-1-6-PATCH001-RC2, netbsd-1-6-PATCH001-RC1, netbsd-1-6-PATCH001, ifpoll-base, eeh-devprop-base, eeh-devprop
Branch point for: netbsd-1-6, gehenna-devsw
Changes since 1.9: +4 -1 lines
Diff to previous 1.9 (colored)

add/cleanup RCSIDs

Revision 1.8.2.1 / (download) - annotate - [select for diffs], Mon Oct 22 20:41:48 2001 UTC (22 years, 4 months ago) by nathanw
Branch: nathanw_sa
Changes since 1.8: +15 -32 lines
Diff to previous 1.8 (colored)

Catch up to -current.

Revision 1.9 / (download) - annotate - [select for diffs], Sat Oct 13 15:56:16 2001 UTC (22 years, 4 months ago) by augustss
Branch: MAIN
CVS Tags: thorpej-mips-cache-base, thorpej-mips-cache
Changes since 1.8: +15 -32 lines
Diff to previous 1.8 (colored)

ANSIfy.

Revision 1.5.8.2 / (download) - annotate - [select for diffs], Mon Mar 12 13:31:33 2001 UTC (22 years, 11 months ago) by bouyer
Branch: thorpej_scsipi
Changes since 1.5.8.1: +5 -1 lines
Diff to previous 1.5.8.1 (colored) to branchpoint 1.5 (colored) next main 1.6 (colored)

Sync with HEAD.

Revision 1.8 / (download) - annotate - [select for diffs], Sat Feb 24 00:01:24 2001 UTC (23 years ago) by cgd
Branch: MAIN
CVS Tags: thorpej_scsipi_nbase, thorpej_scsipi_beforemerge, thorpej_scsipi_base, thorpej-devvp-base3, thorpej-devvp-base2, thorpej-devvp-base, thorpej-devvp, pre-chs-ubcperf, post-chs-ubcperf
Branch point for: nathanw_sa, kqueue
Changes since 1.7: +5 -1 lines
Diff to previous 1.7 (colored)

C requires that labels be followed by statements.

Revision 1.5.8.1 / (download) - annotate - [select for diffs], Mon Nov 20 11:43:37 2000 UTC (23 years, 3 months ago) by bouyer
Branch: thorpej_scsipi
Changes since 1.5: +71 -55 lines
Diff to previous 1.5 (colored)

Update thorpej_scsipi to -current as of a month ago
A i386 GENERIC kernel compiles without the siop, ahc and bha drivers
(will be updated later). i386 IDE/ATAPI and ncr work, as well as
sparc/esp_sbus. alpha should work as well (untested yet).
siop, ahc and bha will be updated once I've updated the branch to current
-current, as well as machine-dependant code.

Revision 1.7 / (download) - annotate - [select for diffs], Fri Apr 28 21:56:16 2000 UTC (23 years, 10 months ago) by mycroft
Branch: MAIN
CVS Tags: netbsd-1-5-base, netbsd-1-5-RELEASE, netbsd-1-5-PATCH003, netbsd-1-5-PATCH002, netbsd-1-5-PATCH001, netbsd-1-5-BETA2, netbsd-1-5-BETA, netbsd-1-5-ALPHA2, minoura-xpg4dl-base, minoura-xpg4dl
Branch point for: netbsd-1-5
Changes since 1.6: +48 -37 lines
Diff to previous 1.6 (colored)

Add a concept of the `background attribute'.  This is the same as the
current attribute, but has all non-color flags turned off.  Use this when
doing erasure, as this allows us to optimize repainting in curses.

XXX The way the default attribute is handled is totally bogus and needs to
be fixed.

Revision 1.6 / (download) - annotate - [select for diffs], Fri Feb 25 17:42:51 2000 UTC (24 years ago) by mycroft
Branch: MAIN
Changes since 1.5: +24 -19 lines
Diff to previous 1.5 (colored)

Only call the cursor method when the cursor state is actually changing.
This avoid corrupting VGA displays in text mode (e.g. the first character
of the prompt when you exit vi).

Revision 1.5 / (download) - annotate - [select for diffs], Sun Jan 10 00:28:21 1999 UTC (25 years, 1 month ago) by augustss
Branch: MAIN
CVS Tags: wrstuden-devbsize-base, wrstuden-devbsize-19991221, wrstuden-devbsize, netbsd-1-4-base, netbsd-1-4-RELEASE, netbsd-1-4-PATCH003, netbsd-1-4-PATCH002, netbsd-1-4-PATCH001, netbsd-1-4, kame_14_19990705, kame_14_19990628, kame_141_19991130, kame, fvdl-softdep-base, fvdl-softdep, comdex-fall-1999-base, comdex-fall-1999, chs-ubc2-newbase, chs-ubc2-base, chs-ubc2
Branch point for: thorpej_scsipi
Changes since 1.4: +14 -14 lines
Diff to previous 1.4 (colored)

Change from bcopy/bzero to memxxx.  From PR 6778 by
Erik Bertelsen <erik@q610.ebe.uni-c.dk>.

Revision 1.4 / (download) - annotate - [select for diffs], Wed Aug 12 20:04:13 1998 UTC (25 years, 6 months ago) by drochner
Branch: MAIN
CVS Tags: kenh-if-detach-base, kenh-if-detach, chs-ubc-base, chs-ubc
Changes since 1.3: +8 -8 lines
Diff to previous 1.3 (colored)

stricter parameter check for scrolling regions
(PR kern/5954 by Dave Huang <khym@bga.com>)

Revision 1.3 / (download) - annotate - [select for diffs], Mon Jun 29 21:14:40 1998 UTC (25 years, 8 months ago) by drochner
Branch: MAIN
CVS Tags: eeh-paddr_t-base, eeh-paddr_t
Changes since 1.2: +4 -3 lines
Diff to previous 1.2 (colored)

fix VT300 tab stop report format

Revision 1.2 / (download) - annotate - [select for diffs], Fri Jun 26 21:20:34 1998 UTC (25 years, 8 months ago) by drochner
Branch: MAIN
Changes since 1.1: +279 -177 lines
Diff to previous 1.1 (colored)

Improvements to the VT100 emulation:
-display DEC special graphics and DEC technical characters as far as
  possible
-implement the font switching controls (need documentation!)
-behave well if double-width characters are requested
-simplify the state machine: store CSI command modifiers in variables
  instead of dedicating own states to each of them

Revision 1.1 / (download) - annotate - [select for diffs], Sat Jun 20 19:17:47 1998 UTC (25 years, 8 months ago) by drochner
Branch: MAIN

First cut on a VT100 emulation.
It should be able to parse escape sequences up to VT300, but not everything
is implemented. Most notably, there is no font handling - all displayable
characters are handed to the graphics driver. To solve this, a serious
interface change to the graphics driver is needed (Unicode?).

This form allows you to request diff's between any two revisions of a file. You may select a symbolic revision name using the selection box or you may type in a numeric name using the type-in text box.




CVSweb <webmaster@jp.NetBSD.org>