File: bold.esh

package info (click to toggle)
esh 0.8-7
  • links: PTS
  • area: main
  • in suites: sarge, woody
  • size: 508 kB
  • ctags: 542
  • sloc: ansic: 3,608; lisp: 166; makefile: 72
file content (17 lines) | stat: -rw-r--r-- 406 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17

#
# This file demonstrates what the point of bold.c is, and some very
# handy tricks with files.
#
# Namely, this will cause the standard error to be printed in bold red
# on the terminal.
#
# The only problem with this is that it causes `less' to behave very
# strangely, but this seems to be a bug in `less'. 
#

(push (file-open string ''))
(run (true) (top) (stderr) ~(bold))
(stderr-handler (pop))