curses(n)		     Ck Built-In Commands		     curses(n)



______________________________________________________________________________

NAME
       curses - Retrieve/modify curses based information

SYNOPSIS
       curses option ?arg arg ...?
_________________________________________________________________


DESCRIPTION
       The  curses  command is used to retrieve or modify information which is
       related to the curses(3) library providing the input/output  mechanisms
       used  by Ck.  It can take any of a number of different forms, depending
       on the option argument.	The legal forms are:

       curses barcode startChar endChar ?timeout?
	      Enables or modifies barcode reader support with delivery of Bar-
	      Code events. StartChar and endChar are the start and end charac-
	      ters which delimit the barcode data packet without being	deliv-
	      ered  to the application. They must be specified as decimal num-
	      bers.  The optional timeout argument is the maximum time between
	      reception of start and end characters in millisecond for receiv-
	      ing the data packet; the default value is 1000.

       curses barcode ?off?
	      If off is present, barcode reader support	 is  disabled.	Other-
	      wise,  the  current start/end characters and the timeout are re-
	      turned as a list of three decimal numbers.

       curses baudrate
	      Returns the baud rate of the terminal as decimal string.

       curses encoding ?ISO8859|IBM437?
	      Sets or returns the character encoding being or to be  used  for
	      displaying text. This affects for example the output of the text
	      widget for the character values 0x80..0x9f.

       curses gchar ?charName? ?value?
	      Sets or returns the  mappings  of	 ``Alternate  Character	 Set''
	      characters used to display the arrows of scrollbars, the indica-
	      tors for checkbuttons and radiobuttons etc. CharName must	 be  a
	      valid  name of an ACS character (see list below), and value must
	      be an integer, i.e.  the value of the curses(3) character	 which
	      shall  be	 output	 for  the  ACS	character. By default the ter-
	      minfo(5) entry for the  terminal	provides  these	 mappings  and
	      there's rarely a need to modify them.

	      Ck name	  description
	      ulcorner	  upper left corner
	      urcorner	  upper right corner
	      llcorner	  lower left corner
	      lrcorner	  lower right corner
	      rtee	  tee pointing right
	      ltee	  tee pointing left
	      btee	  tee pointing up
	      ttee	  tee pointing down
	      hline	  horizontal line
	      vline	  vertical line
	      plus	  large plus or crossover
	      s1	  scan line #1
	      s9	  scan line #9
	      diamond	  diamond
	      ckboard	  checker board (stipple)
	      degree	  degree symbol
	      plminus	  plus/minus
	      bullet	  bullet
	      larrow	  arrow pointing left
	      rarrow	  arrow pointing right
	      uarrow	  arrow pointing up
	      darrow	  arrow pointing down
	      board	  board of squares
	      lantern	  lantern symbol
	      block	  solid square block

       curses haskey ?keyName?
	      If  keyName  is omitted this command returns a list of all valid
	      symbolic names of keyboard keys.	If keyName is given, a boolean
	      is returned indicating if the terminal can generate that key.

       curses purgeinput
	      Removes  all  characters	typed  so  far from the keyboard input
	      queue. This command should be used  with	great  caution,	 since
	      xterm(1)	mouse  events  and barcode events are reported through
	      the keyboard input queue as a character stream which can be  in-
	      terrupted by this command.

       curses refreshdelay ?milliseconds?
	      Sets  or	returns a time value which is used to limit the number
	      of curses(3) screen updates. By default the delay is zero, which
	      does not impose any limits. Setting the refresh delay to a posi-
	      tive number can be useful in environments where the terminal  is
	      connected via terminal servers or rlogin(1) sessions.

       curses reversekludge ?boolean?
	      Queries  or  modifies  special code for treatment of the reverse
	      video attribute in conjunction with colors.  On  some  terminals
	      (e.g.  the  infamous AT386 Interactive console), the reverse at-
	      tribute overrides the colors in effect. If the special  code  is
	      enabled, the reverse attribute is emulated by swapping the fore-
	      ground and background colors.

       curses screendump fileName
	      Dumps the current screen contents to the file  fileName  if  the
	      curses  library  supports	 the scr_dmp(3) function. Otherwise an
	      error is reported. The screen dump file is per  se  not  useful,
	      since it contains some binary representation internal to curses.
	      However, there may  exist	 an  external  utility	program	 which
	      transforms the screen dump file to ASCII in order to print it on
	      paper.

       curses suspend
	      Takes appropriate	 actions  for  job  control,  such  as	saving
	      curses(3) terminal state, sending the stop signal to the process
	      and restoring the terminal state when the process is continued.


SEE ALSO
       curses(3)


KEYWORDS
       screen, terminal, curses




Ck				      8.0			     curses(n)
