Welcome to Linux Knowledge Base and Tutorial
"The place where you learn linux"
International Medical Corps

 Create an AccountHome | Submit News | Your Account  

Tutorial Menu
Linux Tutorial Home
Table of Contents

· Introduction to Operating Systems
· Linux Basics
· Working with the System
· Shells and Utilities
· Editing Files
· Basic Administration
· The Operating System
· The X Windowing System
· The Computer Itself
· Networking
· System Monitoring
· Solving Problems
· Security
· Installing and Upgrading
· Linux and Windows

Man Pages
Linux Topics
Test Your Knowledge

Site Menu
Site Map
Copyright Info
Terms of Use
Privacy Info
Masthead / Impressum
Your Account

Private Messages

News Archive
Submit News
User Articles
Web Links


The Web

Who's Online
There are currently, 55 guest(s) and 0 member(s) that are online.

You are an Anonymous user. You can register for free by clicking here




       kibitz [ kibitz-args ] user [ program program-args...  ]
       kibitz [ kibitz-args ] user@host [ program program-args...


       kibitz allows two (or more) people to  interact  with  one
       shell (or any arbitrary program).  Uses include:

              ·   A  novice user can ask an expert user for help.
                  Using kibitz, the expert can see what the  user
                  is doing, and offer advice or show how to do it

              ·   By running kibitz and  then  starting  a  full-
                  screen editor, people may carry out a conversa­
                  tion, retaining the  ability  to  scroll  back­
                  wards,  save  the  entire conversation, or even
                  edit it while in progress.

              ·   People can team up on games, document  editing,
                  or  other  cooperative  tasks where each person
                  has strengths and  weaknesses  that  complement
                  one another.


       To  start  kibitz,  user1 runs kibitz with the argument of
       the user to kibitz.  For example:

            kibitz user2

       kibitz starts a new shell (or another program, if given on
       the  command  line),  while prompting user2 to run kibitz.
       If user2 runs kibitz as directed, the keystrokes  of  both
       users  become  the  input  of  the shell.  Similarly, both
       users receive the output from the shell.

       To terminate kibitz it suffices  to  terminate  the  shell
       itself.   For  example,  if  either user types ^D (and the
       shell accepts this to be EOF), the shell  terminates  fol­
       lowed by kibitz.

       Normally,  all  characters are passed uninterpreted.  How­
       ever, if  the  escape  character  (described  when  kibitz
       starts)  is issued, the user may talk directly to the kib­
       itz interpreter.  Any Expect(1) or Tcl(3) commands may  be
       given.   Also, job control may be used while in the inter­
       preter, to, for example, suspend or restart kibitz.

       Various processes can provide various effects.  For  exam­
       ple,  you  can emulate a two-way write(1) session with the

       -escape  char  sets  the  escape  character.   The default
       escape character is ^].

       -silent turns off informational messages  describing  what
       kibitz is doing to initiate a connection.

       -tty  ttyname  defines  the  tty  to  which the invitation
       should be sent.

       If you start kibitz to user2 on a remote computer,  kibitz
       performs a rlogin to the remote computer with your current
       username. The flag -proxy username causes  rlogin  to  use
       username for the remote login (e.g. if your account on the
       remote computer has a different username). If  the  -proxy
       flag  is not given, kibitz tries to determine your current
       username by (in that  order)  inspecting  the  environment
       variables  USER  and  LOGNAME,  then by using the commands
       whoami and logname.

       The arguments -noescape and -escape can also be  given  by
       user2 when prompted to run kibitz.


       The  current  implementation  of  kibitz explicitly under­
       stands only two users, however, it is nonetheless possible
       to  have  a  three  (or  more)  -way  kibitz, by kibitzing
       another kibitz.  For example, the following  command  runs
       kibitz with the current user, user2, and user3:

            % kibitz user2 kibitz user3

       Additional  users  may  be  added by simply appending more
       "kibitz user" commands.

       The xkibitz script is similar to kibitz but  supports  the
       ability  to  add  additional users (and drop them) dynami­


       kibitz assumes the 2nd user has the same terminal type and
       size  as  the  1st user.  If this assumption is incorrect,
       graphical programs may display oddly.

       kibitz  handles  character  graphics,  but  cannot  handle
       bitmapped graphics.  Thus,

            % xterm -e kibitz    will work
            % kibitz xterm       will not work

       However,  you  can get the effect of the latter command by
       "($|%|#) ".

       kibitz requires the kibitz program on both hosts.   kibitz
       requires expect(1).

       By comparison, the xkibitz script uses the X authorization
       mechanism for inter-host communication so it does not need
       to  login, recognize your prompt, or require kibitz on the
       remote host.  It does however need  permission  to  access
       the other X servers.


       An  early  version  of  Sun's  tmpfs  had a bug in it that
       causes kibitz to blow up.  If kibitz reports "error flush­
       ing ...: Is a directory" ask Sun for patch #100174.

       If  your Expect is not compiled with multiple-process sup­
       port (i.e., you do not have a working select or poll), you
       will not be able to run kibitz.


       The  environment  variable  SHELL is used to determine the
       shell to start, if no other program is given on  the  com­
       mand line.

       If  the  environment  variable EXPECT_PROMPT exists, it is
       taken as a regular expression which  matches  the  end  of
       your login prompt (but does not otherwise occur while log­
       ging in). See also CAVEATS above.

       If the environment variables USER or LOGNAME are  defined,
       they  are  used  to  determine the current user name for a
       kibitz to a remote computer. See description of the -proxy
       option in ARGUMENTS above.


       Tcl(3), libexpect(3), xkibitz(1)
       "Exploring  Expect:  A  Tcl-Based  Toolkit  for Automating
       Interactive Programs" by Don Libes, O'Reilly  and  Associ­
       ates, January 1995.
       "Kibitz   -   Connecting   Multiple  Interactive  Programs
       Together", by Don Libes, Software - Practice & Experience,
       John  Wiley  & Sons, West Sussex, England, Vol. 23, No. 5,
       May, 1993.


       Don Libes, National Institute of Standards and Technology

       kibitz is in the public domain.  NIST and I would appreci­
       ate credit if this program or parts of it are used.


The Linux Tutorial is always looking for new contributors.



Security Code
Security Code
Type Security Code

Don't have an account yet? You can create one. As a registered user you have some advantages like theme manager, comments configuration and post comments with your name.

Help if you can!

Amazon Wish List

Did You Know?
The Linux Tutorial can use your help.


Tell a Friend About Us

Bookmark and Share

Web site powered by PHP-Nuke

Is this information useful? At the very least you can help by spreading the word to your favorite newsgroups, mailing lists and forums.
All logos and trademarks in this site are property of their respective owner. The comments are property of their posters. Articles are the property of their respective owners. Unless otherwise stated in the body of the article, article content (C) 1994-2013 by James Mohr. All rights reserved. The stylized page/paper, as well as the terms "The Linux Tutorial", "The Linux Server Tutorial", "The Linux Knowledge Base and Tutorial" and "The place where you learn Linux" are service marks of James Mohr. All rights reserved.
The Linux Knowledge Base and Tutorial may contain links to sites on the Internet, which are owned and operated by third parties. The Linux Tutorial is not responsible for the content of any such third-party site. By viewing/utilizing this web site, you have agreed to our disclaimer, terms of use and privacy policy. Use of automated download software ("harvesters") such as wget, httrack, etc. causes the site to quickly exceed its bandwidth limitation and are therefore expressly prohibited. For more details on this, take a look here

PHP-Nuke Copyright © 2004 by Francisco Burzi. This is free software, and you may redistribute it under the GPL. PHP-Nuke comes with absolutely no warranty, for details, see the license.
Page Generation: 0.10 Seconds