Журнал лабораторных работ

Содержание

Журнал

Понедельник (09/07/09)

/dev/ttyp2
09:27:11
$screen -x
09:27:25
$screen
09:27:25
$screen -x
/dev/ttyp6
09:27:32
$screen -x
/dev/ttyp2
09:27:45
$screen -x
/dev/ttyp8
09:27:47
$screen -x
/dev/ttyp1
09:28:01
$screen
/dev/ttyp5
09:28:33
$privet
[user@debian1:~]$ privet
bash: privet: command not found
bash: privet: command not found
09:29:20
$privet
bash: privet: command not found
/dev/ttyp6
09:33:01
$screen -x
/dev/ttyp8
09:33:07
$screen -x
/dev/ttyp5
09:37:11
$whatis intro
intro (7)            - Introduction to overview, conventions, and miscellany section
intro (4)            - Introduction to special files
intro (1)            - Introduction to user commands
intro (8)            - Introduction to administration and privileged commands
intro (2)            - Introduction to system calls
intro (6)            - Introduction to games
intro (5)            - Introduction to file formats
intro (3)            - Introduction to library functions
прошло 13 минут
09:50:56
$man passwd
09:52:27
$LANG=C

/dev/ttyp2
09:52:31
$man passwd
09:52:31
$man passwd
09:52:31
$man passwd
/dev/ttyp3
09:52:31
$man passwd
09:52:31
$man passwd
09:52:31
$man passwd
/dev/ttyp0
09:52:31
$man passwd
09:52:31
$man passwd
09:52:31
$man passwd
/dev/ttyp6
09:52:31
$man passwd
09:52:31
$man passwd
09:52:31
$man passwd
/dev/ttyp5
09:53:31
$whatis intro
PASSWD(1)                        User Commands                       PASSWD(1)
intro (7)            - Introduction to overview, conventions, and miscellany section
       passwd - change user password
intro (4)            - Introduction to special files
SYNOPSIS
intro (1)            - Introduction to user commands
intro (8)            - Introduction to administration and privileged commands
       passwd changes passwords for user accounts. A normal user may only
intro (2)            - Introduction to system calls while the super user may
       change the password for any account.  passwd also changes account
...
          authentication tokens (passwords). The user wishes to keep theirall
          non-expired tokens as before.arating each with a special character
       or digit. For example, Pass%word.
       -l, --locktefirst prompted for his/her old password, if one is present.
          Lock the named account. This option disables an account by changing
          the password to a value which matches no possible encrypted value.ch
          passwordless. of this is:to bypass this step so that forgotten
       -m, --mindays MIN_DAYSed.
          Set the minimum number of days between password changes to MIN_DAYS.
          A value of zero for this field indicates that the user may changee a
09:54:43
$whatis intro
[user@debian1:~]$ ls -l /usr/share/man/
total 37
drwxr-xr-x 5 root root   120 Feb 27  2007 cs
drwxr-xr-x 5 root root   120 Feb 27  2007 de
drwxr-xr-x 5 root root   120 Jan 31  2007 es
drwxr-xr-x 4 root root    96 Dec 23  2007 fi
drwxr-xr-x 6 root root   144 Dec 23  2007 fr
drwxr-xr-x 3 root root    72 Dec 23  2007 fr.ISO8859-1
drwxr-xr-x 3 root root    72 Dec 23  2007 fr.UTF-8
drwxr-xr-x 3 root root    72 Dec 23  2007 gl
...
drwxr-xr-x 5 root root   120 Feb 27  2007 zh_CN
drwxr-xr-x 5 root root   120 Feb 27  2007 zh_TW
intro (7)            - Introduction to overview, conventions, and miscellany section
intro (4)            - Introduction to special files
intro (1)            - Introduction to user commands
intro (8)            - Introduction to administration and privileged commands
intro (2)            - Introduction to system calls
intro (6)            - Introduction to games
intro (5)            - Introduction to file formats
intro (3)            - Introduction to library functions
09:56:33
$man -a passwd
10:01:51
$echo $PAGER

10:02:26
$PAGER=less man 5 passwd
PASSWD(5)                File Formats and Conversions                PASSWD(5)
[user@debian1:~]$ PAGER=cat man 5 passwd
Reformatting passwd(5), please wait...
PASSWD(5)                File Formats and Conversions                PASSWD(5)
NAME
       passwd - the password file
DESCRIPTION
 ESCOA
 ESCOA
 ESCOA
...
FILES
       /etc/passwd
          User account information.
       /etc/shadow
          optional encrypted password file
SEE ALSO
       getent(1), login(1), passwd(1), su(1), crypt(3), getpwnam(3),
       shadow(5), pwconv(8), pwunconv(8), sulogin(8).
File Formats and Conversions      02/25/2007                         PASSWD(5)
Reformatting passwd(5), please wait...
10:03:13
$less /usr/share/man/man5/passwd.5.gz
10:04:08
$zless /usr/share/man/man5/passwd.5.gz
10:04:38
$man
10:05:58
$whatis intro
[user@debian1:~]$ sudo mandb
Password:
Purging old database entries in /usr/share/man...
Processing manual pages under /usr/share/man...
Updating index cache for path `/usr/share/man/man1'. Wait...mandb: warning: /usr/share/man/man1/Xvnc: ignoring bogus filename
Updating index cache for path `/usr/share/man/man8'. Wait...done.
Checking for stray cats under /usr/share/man...
Checking for stray cats under /var/cache/man...
Purging old database entries in /usr/local/man...
Processing manual pages under /usr/local/man...
...
0 stray cats were added.
0 old database entries were purged.
intro (7)            - Introduction to overview, conventions, and miscellany section
intro (4)            - Introduction to special files
intro (1)            - Introduction to user commands
intro (8)            - Introduction to administration and privileged commands
intro (2)            - Introduction to system calls
intro (6)            - Introduction to games
intro (5)            - Introduction to file formats
intro (3)            - Introduction to library functions
10:08:44
$apropos passwd
[user@debian1:~]$ whatis passwd
passwd (1)           - change user password
passwd (5)           - the password file
chgpasswd (8)        - update group passwords in batch mode
chpasswd (8)         - update passwords in batch mode
gpasswd (1)          - administer the /etc/group file
passwd (1)           - change user password
passwd (5)           - the password file
realvncpasswd (1)    - creating and changing password files to be used with VNC
realvncpasswd.real (1) - creating and changing password files to be used with VNC
update-passwd (8)    - safely update /etc/passwd, /etc/shadow and /etc/group
vncpasswd (1)        - creating and changing password files to be used with VNC
10:09:47
$apropos user | cat -n
[user@debian1:~]$ apropos user
/etc/adduser.conf (5) [adduser.conf] - configuration file for adduser(8) and addgroup(8) .
/etc/deluser.conf (5) [deluser.conf] - configuration file for deluser(8) and delgroup(8) .
addgroup (8)         - add a user or group to the system
adduser (8)          - add a user or group to the system
adduser.conf (5)     - configuration file for adduser(8) and addgroup(8) .
bsd-write (1)        - send a message to another user
chage (1)            - change user password expiry information
check_driver (1)     - Linux 2.6(.16+) userspace device rebinding helper.
chfn (1)             - change real user name and information
...
    43  udp (7)              - User Datagram Protocol for IPv4
    44  unix_chkpwd (8)      - check the password of the invoking user
    45  useradd (8)          - create a new user or update default new user information
    46  userdel (8)          - delete a user account and related files
    47  usermod (8)          - modify a user account
    48  users (1)            - print the user names of users currently logged in to the current host
    49  wall (1)             - write a message to users
    50  whoami (1)           - print effective userid
    51  write (1)            - send a message to another user
    52  xset (1)             - user preference utility for X
10:12:29
$whatis passwd
[user@debian1:~]$ apropos user | egrep -i " Add|Delete|Remove|Modify"
/etc/adduser.conf (5) [adduser.conf] - configuration file for adduser(8) and addgroup(8) .
addgroup (8)         - add a user or group to the system
adduser (8)          - add a user or group to the system
adduser.conf (5)     - configuration file for adduser(8) and addgroup(8) .
delgroup (8)         - remove a user or group from the system
deluser (8)          - remove a user or group from the system
userdel (8)          - delete a user account and related files
usermod (8)          - modify a user account
passwd (1)           - change user password
passwd (5)           - the password file
10:13:02
$man -Tps bash | lpr
[user@debian1:~]$ man -f passwd
passwd (1)           - change user password
passwd (5)           - the password file
10:19:55
$info find
10:20:34
$info find
10:22:03
#[user@fbsd5:~]$
[user@debian1:~]$ ssh 192.168.16.25
The authenticity of host '192.168.16.25 (192.168.16.25)' can't be established.
DSA key fingerprint is 13:3f:fb:2a:53:62:8e:f8:0e:c7:3a:c9:10:99:b6:25.
Are you sure you want to continue connecting (yes/no)? yes
Warning: Permanently added '192.168.16.25' (DSA) to the list of known hosts.
Password:
Password:
Last login: Mon Sep  7 10:19:34 2009
Copyright (c) 1980, 1983, 1986, 1988, 1990, 1991, 1993, 1994
        The Regents of the University of California.  All rights reserved.
...
   http://www.FreeBSD.org/search/.  If the doc distribution has
   been installed, they're also available formatted in /usr/share/doc.
If you still have a question or problem, please take the output of
`uname -a', along with any relevant error messages, and email it
as a question to the questions@FreeBSD.org mailing list.  If you are
unfamiliar with FreeBSD's directory layout, please refer to the hier(7)
manual page.  If you are not familiar with manual pages, type `man man'.
You may also use sysinstall(8) to re-enter the installation and
configuration utility.  Edit /etc/motd to change this login announcement.
Removing stale pidfile
10:22:05
#[user@fbsd5:~]$
w
10:22:05
#[user@fbsd5:~]$

10:22:11
#[user@fbsd5:~]$
[user@fbsd5:~]$ w
11:22  up  2:50, 3 users, load averages: 0,52 0,19 0,06
USER             TTY      FROM              LOGIN@  IDLE WHAT
root             p1       debian           10:18    1:03 script -t 0 -q /root/.
user             p3       :2.0             10:19      23 script -t 0 -q /home/u
user             p5       192.168.16.1     11:21       - script -t 0 -q /home/u
10:22:11
#[user@fbsd5:~]$

10:23:04
#[user@fbsd5:~]$
[user@fbsd5:~]$ find /usr -name handbook
find: /usr/local/lib/X11/xdm/authdir: Permission denied
/usr/share/doc/en_US.ISO8859-1/books/handbook
/usr/share/doc/handbook
/usr/share/doc/de_DE.ISO8859-1/books/handbook
/usr/share/doc/el_GR.ISO8859-7/books/handbook
/usr/share/doc/es_ES.ISO8859-1/books/handbook
/usr/share/doc/fr_FR.ISO8859-1/books/handbook
/usr/share/doc/it_IT.ISO8859-15/books/handbook
/usr/share/doc/ja_JP.eucJP/books/handbook
/usr/share/doc/mn_MN.UTF-8/books/handbook
/usr/share/doc/nl_NL.ISO8859-1/books/handbook
/usr/share/doc/pl_PL.ISO8859-2/books/handbook
/usr/share/doc/ru_RU.KOI8-R/books/handbook
/usr/share/doc/zh_CN.GB2312/books/handbook
/usr/share/doc/zh_TW.Big5/books/handbook
^C
10:23:22
#[user@fbsd5:~]$

10:23:23
#[user@fbsd5:~]$

10:24:37
#[user@fbsd5:~]$ sudo pkg_add -r lynx
d-releases/i386/6.3-RELEASE/packages/All/ pkg_addebsd.org/pub/FreeBSD-Archive/ol
Password:
Error: FTP Unable to get ftp://ftp.freebsd.org/pub/FreeBSD/ports/i386/packages-6.3-release/Latest/lynx.tbz: File unavailable (e.g., file not found, no access)
pkg_add: unable to fetch 'ftp://ftp.freebsd.org/pub/FreeBSD/ports/i386/packages-6.3-release/Latest/lynx.tbz' by URL
10:25:41
#[user@fbsd5:~]$
d-releases/i386/6.3-RELEASE/packages/All/ pkg_add -r lynx/pub/FreeBSD-Archive/ol
Error: FTP Unable to get ftp://ftp-archive.freebsd.org/pub/FreeBSD-Archive/old-releases/i386/6.3-RELEASE/packages/All/lynx.tbz: File unavailable (e.g., file not found, no access)
pkg_add: unable to fetch 'ftp://ftp-archive.freebsd.org/pub/FreeBSD-Archive/old-releases/i386/6.3-RELEASE/packages/All/lynx.tbz' by URL
10:26:43
#[user@fbsd5:~]$

10:26:43
#[user@fbsd5:~]$

10:26:44
#[user@fbsd5:~]$

10:26:44
#[user@fbsd5:~]$ ssh 192.168.16.254 '
The authenticity of host '192.168.16.254 (192.168.16.254)' can't be established.
DSA key fingerprint is 83:c6:70:6f:8a:7e:8b:e9:e4:53:26:31:28:d6:dc:f0.
Are you sure you want to continue connecting (yes/no)? yes
Warning: Permanently added '192.168.16.254' (DSA) to the list of known hosts.
user@192.168.16.254's password:
Dec  1  2007  text/plain       [4923]ja-lynx-2.8.5.dev7.tbz  789Kb
Dec  1  2007  text/plain       [6597]lynx-2.8.6.5_1,1.tbz  1527Kb
Dec  1  2007  text/plain       [6598]lynx-2.8.7d7.tbz  1674Kb
4923. ftp://ftp-archive.freebsd.org/pub/FreeBSD-Archive/old-releases/i386/6.3-RELEASE/packages/All/ja-lynx-2.8.5.dev7.tbz
6597. ftp://ftp-archive.freebsd.org/pub/FreeBSD-Archive/old-releases/i386/6.3-RELEASE/packages/All/lynx-2.8.6.5_1%2C1.tbz
6598. ftp://ftp-archive.freebsd.org/pub/FreeBSD-Archive/old-releases/i386/6.3-RELEASE/packages/All/lynx-2.8.7d7.tbz
10:29:01
#[user@fbsd5:~]$ sudo
Error: FTP Unable to get ftp://ftp-archive.freebsd.org/pub/FreeBSD-Archive/old-releases/i386/6.3-RELEASE/packages/All/lynx-2.8.7d7.tbz: Syntax error, command unrecognized
pkg_add: unable to fetch 'ftp://ftp-archive.freebsd.org/pub/FreeBSD-Archive/old-releases/i386/6.3-RELEASE/packages/All/lynx-2.8.7d7.tbz' by URL
10:29:20
#[user@fbsd5:~]$ sudo sh -c 'PACKAGESITE=ftp://ftp-archive.freebsd.org/pub/Free
SD-Archive/old-releases/i386/6.3-RELEASE/packages/All/ pkg_add -r lynx-2.8.7d7.
bz'
Error: FTP Unable to get ftp://ftp-archive.freebsd.org/pub/FreeBSD-Archive/old-releases/i386/6.3-RELEASE/packages/All/lynx-2.8.7d7.tbz: Syntax error, command unrecognized
pkg_add: unable to fetch 'ftp://ftp-archive.freebsd.org/pub/FreeBSD-Archive/old-releases/i386/6.3-RELEASE/packages/All/lynx-2.8.7d7.tbz' by URL
10:29:43
#[user@fbsd5:~]$

10:29:46
#[user@fbsd5:~]$

10:29:46
#[user@fbsd5:~]$

10:29:52
#[root@fbsd5:~]# PACKAGESITE=ftp://ftp-archive.freebsd.org/pub/FreeBSD-Archive/old
[user@fbsd5:~]$ su -
Password:
Removing stale pidfile
d-releases/i386/6.3-RELEASE/packages/All pkg_add -r PACKAGESITE=ftp://ftp-archi
d-releases/i386/6.3-RELEASE/packages/All pkg_add -r lynx-2.8.7d7.tbz
Error: FTP Unable to get ftp://ftp-archive.freebsd.org/pub/FreeBSD-Archive/old-releases/i386/6.3-RELEASE/packages/Alllynx-2.8.7d7.tbz: File unavailable (e.g., file not found, no access)
pkg_add: unable to fetch 'ftp://ftp-archive.freebsd.org/pub/FreeBSD-Archive/old-releases/i386/6.3-RELEASE/packages/Alllynx-2.8.7d7.tbz' by URL
10:30:54
#[user@fbsd5:~]$ exit
[root@fbsd5:~]# exit
exit
exit
Connection to 192.168.16.25 closed.
10:35:58
$ssh 192.168.16.25
BZh91AY&SY!v[C1]=^B^AO[FF][FF][FF][FF][FF][FF][FF][FF][FF][FF][FF][FF][FF][FF]
^@^@^Aniƴ{[9E][CE][F7]ù[F3]Y*[83]a^Z[B7]^^[EF][B3]<{[ED][F7][D8]^@^@^@^R^Acz}
lv-aspell-0.33_1.tbz. . . . . . . . . . . . . . . . . . . . Dec  4  2007   370K
^XH6[EE][AE][DA]pq*[BB]j[F7]s,)[BC][C3][D3]f[9E]N[80][D0]
*[94]([A0]^AE^@P[A2][A2][82][A0]^R^T[A5]{[EC][DE]}[C9]E^Z^A[F4]^Fw[DA]^B[9F]<
-[A8]44^A0[A9]ZV[A8]^A[A0]>[8E]Z#[EB]+[A0]^OJ[C0]z[E0]^@^Z^_CcD
lwp-2.3.tbz . . . . . . . . . . . . . . . . . . . . . . . . Dec  1  2007  47,5K
[DB][D0]
lxdvdrip-1.62_2.tbz . . . . . . . . . . . . . . . . . . . . Dec  1  2007  13,0K
5y^K[9D][EF];[AE][CD]^Tç¢AD][BD][DB]w[DD][F7][B5]^[AF][97]vWRlh<S[DD][C0].J[E7]E
...
   http://www.FreeBSD.org/search/.  If the doc distribution has
   been installed, they're also available formatted in /usr/share/doc.
If you still have a question or problem, please take the output of
`uname -a', along with any relevant error messages, and email it
as a question to the questions@FreeBSD.org mailing list.  If you are
unfamiliar with FreeBSD's directory layout, please refer to the hier(7)
manual page.  If you are not familiar with manual pages, type `man man'.
You may also use sysinstall(8) to re-enter the installation and
configuration utility.  Edit /etc/motd to change this login announcement.
Removing stale pidfile
10:36:54
#[user@fbsd5:~]$ ls /root/
Desktop                 lynx-2.8.7d7.tbz        nautilus-debug-log.txt
install                 mbox                    prepare-freebsd.sh
10:37:20
#[user@fbsd5:~]$ cd /usr/ports/www/
[user@fbsd5:~]$ sudo pkg_add /root/lynx-2.8.7d7.tbz
Password:
pkg_add: could not find package mime-support-3.39.1 !
Display all 1413 possibilities? (y or n)
10:37:20
#[user@fbsd5:~]$ cd /usr/ports/www/w3
w3-4/         w3m-img/      w3m-m17n-img/
w3m/          w3m-m17n/     w3mir/
10:37:20
#[user@fbsd5:~]$ cd /usr/ports/www/w3m/

прошло 19 минут
/dev/ttypb
10:56:56
#[user@fbsd5:~]$ cd /usr/ports/www/w3m/
[user@debian1:~]$ ssh 192.168.16.25
Password:
Last login: Mon Sep  7 11:36:40 2009 from 192.168.16.1
Copyright (c) 1980, 1983, 1986, 1988, 1990, 1991, 1993, 1994
        The Regents of the University of California.  All rights reserved.
FreeBSD 6.3-RELEASE (SMP) #0: Wed Jan 16 04:45:45 UTC 2008
Welcome to FreeBSD!
Before seeking technical support, please use the following resources:
o  Security advisories and updated errata information for all releases are
   at http://www.FreeBSD.org/releases/ - always consult the ERRATA section
...
   http://www.FreeBSD.org/search/.  If the doc distribution has
   been installed, they're also available formatted in /usr/share/doc.
If you still have a question or problem, please take the output of
`uname -a', along with any relevant error messages, and email it
as a question to the questions@FreeBSD.org mailing list.  If you are
unfamiliar with FreeBSD's directory layout, please refer to the hier(7)
manual page.  If you are not familiar with manual pages, type `man man'.
You may also use sysinstall(8) to re-enter the installation and
configuration utility.  Edit /etc/motd to change this login announcement.
Removing stale pidfile
/dev/ttyp5
10:58:07
#[user@fbsd5:w3m]$ cd ../lynx
 cc -DPACKAGE_NAME=\"gc\" -DPACKAGE_TARNAME=\"gc\" -DPACKAGE_VERSION=\"6.8\" "-DPACKAGE_STRING=\"gc 6.8\"" -DPACKAGE_BUGREPORT=\"Hans.Boehm@hp.com\" -DGC_VERSION_MAJOR=6 -DGC_VERSION_MINOR=8 -DPACKAGE=\"gc\" -DVERSION=\"6.8\" -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAV
 cc -DPACKAGE_NAME=\"gc\" -DPACKAGE_TARNAME=\"gc\" -DPACKAGE_VERSION=\"6.8\" "-DPACKAGE_STRING=\"gc 6.8\"" -DPACKAGE_BUGREPORT=\"Hans.Boehm@hp.com\" -DGC_VERSION_MAJOR=6 -DGC_VERSION_MINOR=8 -DPACKAGE=\"gc\" -DVERSION=\"6.8\" -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAV
if /bin/sh /usr/local/bin/libtool --mode=compile cc -DPACKAGE_NAME=\"gc\" -DPACKAGE_TARNAME=\"gc\" -DPACKAGE_VERSION=\"6.8\" -DPACKAGE_STRING=\"gc\ 6.8\" -DPACKAGE_BUGREPORT=\"Hans.Boehm@hp.com\" -DGC_VERSION_MAJOR=6 -DGC_VERSION_MINOR=8 -DPACKAGE=\"gc\" -DVERSION=\"6.8\" -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_
 cc -DPACKAGE_NAME=\"gc\" -DPACKAGE_TARNAME=\"gc\" -DPACKAGE_VERSION=\"6.8\" "-DPACKAGE_STRING=\"gc 6.8\"" -DPACKAGE_BUGREPORT=\"Hans.Boehm@hp.com\" -DGC_VERSION_MAJOR=6 -DGC_VERSION_MINOR=8 -DPACKAGE=\"gc\" -DVERSION=\"6.8\" -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAV
 cc -DPACKAGE_NAME=\"gc\" -DPACKAGE_TARNAME=\"gc\" -DPACKAGE_VERSION=\"6.8\" "-DPACKAGE_STRING=\"gc 6.8\"" -DPACKAGE_BUGREPORT=\"Hans.Boehm@hp.com\" -DGC_VERSION_MAJOR=6 -DGC_VERSION_MINOR=8 -DPACKAGE=\"gc\" -DVERSION=\"6.8\" -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAV
if /bin/sh /usr/local/bin/libtool --mode=compile cc -DPACKAGE_NAME=\"gc\" -DPACKAGE_TARNAME=\"gc\" -DPACKAGE_VERSION=\"6.8\" -DPACKAGE_STRING=\"gc\ 6.8\" -DPACKAGE_BUGREPORT=\"Hans.Boehm@hp.com\" -DGC_VERSION_MAJOR=6 -DGC_VERSION_MINOR=8 -DPACKAGE=\"gc\" -DVERSION=\"6.8\" -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_
 cc -DPACKAGE_NAME=\"gc\" -DPACKAGE_TARNAME=\"gc\" -DPACKAGE_VERSION=\"6.8\" "-DPACKAGE_STRING=\"gc 6.8\"" -DPACKAGE_BUGREPORT=\"Hans.Boehm@hp.com\" -DGC_VERSION_MAJOR=6 -DGC_VERSION_MINOR=8 -DPACKAGE=\"gc\" -DVERSION=\"6.8\" -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAV
mark_rts.c: In function `GC_approx_sp':
mark_rts.c:379: warning: function returns address of local variable
 cc -DPACKAGE_NAME=\"gc\" -DPACKAGE_TARNAME=\"gc\" -DPACKAGE_VERSION=\"6.8\" "-DPACKAGE_STRING=\"gc 6.8\"" -DPACKAGE_BUGREPORT=\"Hans.Boehm@hp.com\" -DGC_VERSION_MAJOR=6 -DGC_VERSION_MINOR=8 -DPACKAGE=\"gc\" -DVERSION=\"6.8\" -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAV
...
=> MD5 Checksum OK for w3m-0.5.2.tar.gz.
=> SHA256 Checksum OK for w3m-0.5.2.tar.gz.
=> MD5 Checksum OK for w3m-0.5-version-xhtml.patch.
=> SHA256 Checksum OK for w3m-0.5-version-xhtml.patch.
===>  Patching for w3m-0.5.2
===>  Applying distribution patches for w3m-0.5.2
===>  Applying FreeBSD patches for w3m-0.5.2
===>   w3m-0.5.2 depends on shared library: gc.1 - not found
===>    Verifying install for gc.1 in /usr/ports/devel/boehm-gc
cd /usr/ports/devel/boehm-gc && make config;
/dev/ttypb
10:58:38
#[user@fbsd5:w3m]$ cd ../lynx
[user@fbsd5:w3m]$ sudo make install
Password:
===>   w3m-0.5.2 depends on shared library: gc.1 - not found
===>    Verifying install for gc.1 in /usr/ports/devel/boehm-gc
===>  Building for boehm-gc+redirect-6.8
Making all in doc
Making all in include
if /bin/sh /usr/local/bin/libtool --mode=compile cc -DPACKAGE_NAME=\"gc\" -DPACKAGE_TARNAME=\"gc\" -DPACKAGE_VERSION=\"6.8\" -DPACKAGE_STRING=\"gc\ 6.8\" -DPACKAGE_BUGREPORT=\"Hans.Boehm@hp.com\" -DGC_VERSION_MAJOR=6 -DGC_VERSION_MINOR=8 -DPACKAGE=\"gc\" -DVERSION=\"6.8\" -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_
 cc -DPACKAGE_NAME=\"gc\" -DPACKAGE_TARNAME=\"gc\" -DPACKAGE_VERSION=\"6.8\" "-DPACKAGE_STRING=\"gc 6.8\"" -DPACKAGE_BUGREPORT=\"Hans.Boehm@hp.com\" -DGC_VERSION_MAJOR=6 -DGC_VERSION_MINOR=8 -DPACKAGE=\"gc\" -DVERSION=\"6.8\" -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAV
 cc -DPACKAGE_NAME=\"gc\" -DPACKAGE_TARNAME=\"gc\" -DPACKAGE_VERSION=\"6.8\" "-DPACKAGE_STRING=\"gc 6.8\"" -DPACKAGE_BUGREPORT=\"Hans.Boehm@hp.com\" -DGC_VERSION_MAJOR=6 -DGC_VERSION_MINOR=8 -DPACKAGE=\"gc\" -DVERSION=\"6.8\" -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAV
...
 cc -DPACKAGE_NAME=\"gc\" -DPACKAGE_TARNAME=\"gc\" -DPACKAGE_VERSION=\"6.8\" "-DPACKAGE_STRING=\"gc 6.8\"" -DPACKAGE_BUGREPORT=\"Hans.Boehm@hp.com\" -DGC_VERSION_MAJOR=6 -DGC_VERSION_MINOR=8 -DPACKAGE=\"gc\" -DVERSION=\"6.8\" -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAV
if /bin/sh /usr/local/bin/libtool --mode=compile cc -DPACKAGE_NAME=\"gc\" -DPACKAGE_TARNAME=\"gc\" -DPACKAGE_VERSION=\"6.8\" -DPACKAGE_STRING=\"gc\ 6.8\" -DPACKAGE_BUGREPORT=\"Hans.Boehm@hp.com\" -DGC_VERSION_MAJOR=6 -DGC_VERSION_MINOR=8 -DPACKAGE=\"gc\" -DVERSION=\"6.8\" -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_
 cc -DPACKAGE_NAME=\"gc\" -DPACKAGE_TARNAME=\"gc\" -DPACKAGE_VERSION=\"6.8\" "-DPACKAGE_STRING=\"gc 6.8\"" -DPACKAGE_BUGREPORT=\"Hans.Boehm@hp.com\" -DGC_VERSION_MAJOR=6 -DGC_VERSION_MINOR=8 -DPACKAGE=\"gc\" -DVERSION=\"6.8\" -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAV
 cc -DPACKAGE_NAME=\"gc\" -DPACKAGE_TARNAME=\"gc\" -DPACKAGE_VERSION=\"6.8\" "-DPACKAGE_STRING=\"gc 6.8\"" -DPACKAGE_BUGREPORT=\"Hans.Boehm@hp.com\" -DGC_VERSION_MAJOR=6 -DGC_VERSION_MINOR=8 -DPACKAGE=\"gc\" -DVERSION=\"6.8\" -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAV
if /bin/sh /usr/local/bin/libtool --mode=compile cc -DPACKAGE_NAME=\"gc\" -DPACKAGE_TARNAME=\"gc\" -DPACKAGE_VERSION=\"6.8\" -DPACKAGE_STRING=\"gc\ 6.8\" -DPACKAGE_BUGREPORT=\"Hans.Boehm@hp.com\" -DGC_VERSION_MAJOR=6 -DGC_VERSION_MINOR=8 -DPACKAGE=\"gc\" -DVERSION=\"6.8\" -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_
 cc -DPACKAGE_NAME=\"gc\" -DPACKAGE_TARNAME=\"gc\" -DPACKAGE_VERSION=\"6.8\" "-DPACKAGE_STRING=\"gc 6.8\"" -DPACKAGE_BUGREPORT=\"Hans.Boehm@hp.com\" -DGC_VERSION_MAJOR=6 -DGC_VERSION_MINOR=8 -DPACKAGE=\"gc\" -DVERSION=\"6.8\" -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAV
 cc -DPACKAGE_NAME=\"gc\" -DPACKAGE_TARNAME=\"gc\" -DPACKAGE_VERSION=\"6.8\" "-DPACKAGE_STRING=\"gc 6.8\"" -DPACKAGE_BUGREPORT=\"Hans.Boehm@hp.com\" -DGC_VERSION_MAJOR=6 -DGC_VERSION_MINOR=8 -DPACKAGE=\"gc\" -DVERSION=\"6.8\" -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAV
if /bin/sh /usr/local/bin/libtool --mode=compile cc -DPACKAGE_NAME=\"gc\" -DPACKAGE_TARNAME=\"gc\" -DPACKAGE_VERSION=\"6.8\" -DPACKAGE_STRING=\"gc\ 6.8\" -DPACKAGE_BUGREPORT=\"Hans.Boehm@hp.com\" -DGC_VERSION_MAJOR=6 -DGC_VERSION_MINOR=8 -DPACKAGE=\"gc\" -DVERSION=\"6.8\" -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_
 cc -DPACKAGE_NAME=\"gc\" -DPACKAGE_TARNAME=\"gc\" -DPACKAGE_VERSION=\"6.8\" "-DPACKAGE_STRING=\"gc 6.8\"" -DPACKAGE_BUGREPORT=\"Hans.Boehm@hp.com\" -DGC_VERSION_MAJOR=6 -DGC_VERSION_MINOR=8 -DPACKAGE=\"gc\" -DVERSION=\"6.8\" -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAV
 cc -DPACKAGE_NAME=\"gc\" -DPACKAGE_TARNAME=\"gc\" -DPACKAGE_VERSION=\"6.8\" "-DPACKAGE_STRING=\"gc 6.8\"" -DPACKAGE_BUGREPORT=\"Hans.Boehm@hp.com\" -DGC_VERSION_MAJOR=6 -DGC_VERSION_MINOR=8 -DPACKAGE=\"gc\" -DVERSION=\"6.8\" -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAV
/dev/ttyp5
10:58:40
#[user@fbsd5:lynx]$ make install
===>  Vulnerability check disabled, database not found
=> lynx2.8.6rel.5.tar.bz2 doesn't seem to exist in /usr/ports/distfiles/.
=> /usr/ports/distfiles is not writable by you; cannot fetch.
*** Error code 1
Stop in /usr/ports/www/lynx.
11:00:38
#[user@fbsd5:lynx]$
no
checking whether we are using the GNU C Library 2.1 or newer... ./configure: cannot create conftest.c: No such file or directory
no
checking for argz.h... ./configure: cannot create conftest.c: No such file or directory
./configure: cannot create conftest.er1: No such file or directory
./configure: cannot create conftest.err: No such file or directory
cat: conftest.err: No such file or directory
cat: conftest.c: No such file or directory
no
checking for limits.h... ./configure: cannot create conftest.c: No such file or directory
...
configure: error: no NLS library is packaged with this application
exit: cannot create conftest.log: No such file or directory
===>  Script "configure" failed unexpectedly.
Please report the problem to jharris@widomaker.com [maintainer] and attach
the "/usr/ports/www/lynx/work/lynx2-8-6/config.log" including the output of
the failure of your make command. Also, it might be a good idea to provide
an overview of all packages installed on your system (e.g. an `ls
/var/db/pkg`).
*** Error code 1
Stop in /usr/ports/www/lynx.
11:00:38
#[user@fbsd5:lynx]$

11:00:38
#[user@fbsd5:lynx]$

11:01:05
#[user@fbsd5:lynx]$ ps uax | grep l3
[user@fbsd5:lynx]$ sudo make clean
^C
user    6964 16,1  1,7  9692  8444  ??  Ss   11:56     0:40,55 l3-agent (perl5.
user    2058 15,9  1,7  9836  8492  ??  Ss   10:22     5:39,86 l3-agent (perl5.
user    2255 15,9  1,7  9856  8508  ??  Ss   11:22     3:15,69 l3-agent (perl5.
user    2662 15,8  1,6  9704  8408  ??  Ss   11:36     1:14,34 l3-agent (perl5.
root    2532  0,0  1,4  8324  7100  ??  Ss   11:29     0:00,49 l3-agent (perl5.
11:01:24
#[user@fbsd5:lynx]$ sudo kill -9 `ps uax | grep l3 | awk '{print $2}'`
[user@fbsd5:lynx]$ ps uax | grep l3 | awk '{print $2}'
6964
2255
2058
2662
2532
20140
11:01:35
#[user@fbsd5:lynx]$ l3-agent
Removing stale pidfile
11:01:38
#[user@fbsd5:lynx]$

11:01:39
#[user@fbsd5:lynx]$

11:01:39
#[user@fbsd5:lynx]$

/dev/ttypb
11:01:44
#[user@fbsd5:lynx]$ ps aux | grep l3
checking for gzopen... no
checking for gzopen in -lz... yes
checking if you want to exclude FINGER code... no
checking if you want to exclude GOPHER code... no
checking if you want to exclude NEWS code... no
checking if you want to exclude FTP code... no
checking if directory-editor code should be used... yes
checking if you wish to allow extracting from archives via DirEd... yes
checking if DirEd mode should override keys... yes
checking if you wish to allow permissions commands via DirEd... yes
...
cc -DHAVE_CONFIG_H  -I/usr/include -I/usr/include/ncurses  -I/usr/local/include -D_BSD_TYPES -D__BSD_VISIBLE -D_POSIX_C_SOURCE=200112L -D_XOPEN_SOURCE=600   -I../../..  -I../../../src  -I../../..  -I../../../src   -I../../../WWW/Library/Implementation -O2 -fno-strict-aliasing -pipe   -I../../../WWW/Library/Implementation/ -DACCESS_AUTH -c -DVC=\"2.14\" ../../../WWW/Library/Implementation/HTRules.c
cc -DHAVE_CONFIG_H  -I/usr/include -I/usr/include/ncurses  -I/usr/local/include -D_BSD_TYPES -D__BSD_VISIBLE -D_POSIX_C_SOURCE=200112L -D_XOPEN_SOURCE=600   -I../../..  -I../../../src  -I../../..  -I../../../src   -I../../../WWW/Library/Implementation -O2 -fno-strict-aliasing -pipe   -I../../../WWW/Library/Implementation/ -DACCESS_AUTH -c ../../../WWW/Library/Implementation/HTFormat.c
cc -DHAVE_CONFIG_H  -I/usr/include -I/usr/include/ncurses  -I/usr/local/include -D_BSD_TYPES -D__BSD_VISIBLE -D_POSIX_C_SOURCE=200112L -D_XOPEN_SOURCE=600   -I../../..  -I../../../src  -I../../..  -I../../../src   -I../../../WWW/Library/Implementation -O2 -fno-strict-aliasing -pipe   -I../../../WWW/Library/Implementation/ -DACCESS_AUTH -c ../../../WWW/Library/Implementation/HTMIME.c
cc -DHAVE_CONFIG_H  -I/usr/include -I/usr/include/ncurses  -I/usr/local/include -D_BSD_TYPES -D__BSD_VISIBLE -D_POSIX_C_SOURCE=200112L -D_XOPEN_SOURCE=600   -I../../..  -I../../../src  -I../../..  -I../../../src   -I../../../WWW/Library/Implementation -O2 -fno-strict-aliasing -pipe   -I../../../WWW/Library/Implementation/ -DACCESS_AUTH -c ../../../WWW/Library/Implementation/HTNews.c
make: don't know how to make ../../../WWW/Library/Implementation/HTGopher.c. Stop
*** Error code 2
Stop in /usr/ports/www/lynx/work/lynx2-8-6.
*** Error code 1
Stop in /usr/ports/www/lynx.
user   20393 29,1  1,6  9492  8348  ??  Ss   12:01     0:06,03 l3-agent (perl5.8.8)
/dev/ttyp5
11:01:44
#[user@fbsd5:lynx]$ sudo make install
[user@fbsd5:lynx]$ sudo make clean
===>  Cleaning for lynx-2.8.6.5_1,1
===>   lynx-2.8.6.5_1,1 depends on shared library: iconv.3 - found
===>   lynx-2.8.6.5_1,1 depends on shared library: intl - found
===>  Configuring for lynx-2.8.6.5_1,1
configure: WARNING: you should use --build, --host, --target
checking build system type... i386-portbld-freebsd6.3
checking host system type... i386-portbld-freebsd6.3
checking target system type... i386-portbld-freebsd6.3
Configuring for freebsd6.3
checking for i386-portbld-freebsd6.3-gcc... cc
checking for C compiler default output... cat: conftest.c: No such file or directory
configure: error: C compiler cannot create executables
===>  Script "configure" failed unexpectedly.
Please report the problem to jharris@widomaker.com [maintainer] and attach
the "/usr/ports/www/lynx/work/lynx2-8-6/config.log" including the output of
the failure of your make command. Also, it might be a good idea to provide
an overview of all packages installed on your system (e.g. an `ls
/var/db/pkg`).
*** Error code 1
Stop in /usr/ports/www/lynx.
/dev/ttypb
11:01:57
#[user@fbsd5:lynx]$

11:01:59
#[user@fbsd5:lynx]$

11:01:59
#[user@fbsd5:lynx]$

11:02:06
#[user@fbsd5:lynx]$ sudo make install
a - ./HTAtom.o
a - ./HTAnchor.o
a - ./HTStyle.o
a - ./HTList.o
a - ./HTString.o
a - ./HTRules.o
a - ./HTFormat.o
a - ./HTMIME.o
a - ./HTNews.o
a - ./HTGopher.o
...
cc  -I/usr/include -I/usr/include/ncurses  -I/usr/local/include -D_BSD_TYPES -D__BSD_VISIBLE -D_POSIX_C_SOURCE=200112L -D_XOPEN_SOURCE=600 -DHAVE_CONFIG_H   -DLOCALEDIR=\"/usr/local/share/locale\"  -I.  -I..  -Ichrtrans  -I./chrtrans  -I..  -I../src  -I../WWW/Library/Implementation    -O2 -fno-strict-aliasing -pipe -c ./HTFWriter.c
cc  -I/usr/include -I/usr/include/ncurses  -I/usr/local/include -D_BSD_TYPES -D__BSD_VISIBLE -D_POSIX_C_SOURCE=200112L -D_XOPEN_SOURCE=600 -DHAVE_CONFIG_H   -DLOCALEDIR=\"/usr/local/share/locale\"  -I.  -I..  -Ichrtrans  -I./chrtrans  -I..  -I../src  -I../WWW/Library/Implementation    -O2 -fno-strict-aliasing -pipe -c ./HTInit.c
cc  -I/usr/include -I/usr/include/ncurses  -I/usr/local/include -D_BSD_TYPES -D__BSD_VISIBLE -D_POSIX_C_SOURCE=200112L -D_XOPEN_SOURCE=600 -DHAVE_CONFIG_H   -DLOCALEDIR=\"/usr/local/share/locale\"  -I.  -I..  -Ichrtrans  -I./chrtrans  -I..  -I../src  -I../WWW/Library/Implementation    -O2 -fno-strict-aliasing -pipe -c ./DefaultStyle.c
cc  -I/usr/include -I/usr/include/ncurses  -I/usr/local/include -D_BSD_TYPES -D__BSD_VISIBLE -D_POSIX_C_SOURCE=200112L -D_XOPEN_SOURCE=600 -DHAVE_CONFIG_H   -DLOCALEDIR=\"/usr/local/share/locale\"  -I.  -I..  -Ichrtrans  -I./chrtrans  -I..  -I../src  -I../WWW/Library/Implementation    -O2 -fno-strict-aliasing -pipe -c ./LYUpload.c
cc  -I/usr/include -I/usr/include/ncurses  -I/usr/local/include -D_BSD_TYPES -D__BSD_VISIBLE -D_POSIX_C_SOURCE=200112L -D_XOPEN_SOURCE=600 -DHAVE_CONFIG_H   -DLOCALEDIR=\"/usr/local/share/locale\"  -I.  -I..  -Ichrtrans  -I./chrtrans  -I..  -I../src  -I../WWW/Library/Implementation    -O2 -fno-strict-aliasing -pipe -c ./LYLeaks.c
cc  -I/usr/include -I/usr/include/ncurses  -I/usr/local/include -D_BSD_TYPES -D__BSD_VISIBLE -D_POSIX_C_SOURCE=200112L -D_XOPEN_SOURCE=600 -DHAVE_CONFIG_H   -DLOCALEDIR=\"/usr/local/share/locale\"  -I.  -I..  -Ichrtrans  -I./chrtrans  -I..  -I../src  -I../WWW/Library/Implementation    -O2 -fno-strict-aliasing -pipe -c ./LYexit.c
cc  -I/usr/include -I/usr/include/ncurses  -I/usr/local/include -D_BSD_TYPES -D__BSD_VISIBLE -D_POSIX_C_SOURCE=200112L -D_XOPEN_SOURCE=600 -DHAVE_CONFIG_H   -DLOCALEDIR=\"/usr/local/share/locale\"  -I.  -I..  -Ichrtrans  -I./chrtrans  -I..  -I../src  -I../WWW/Library/Implementation    -O2 -fno-strict-aliasing -pipe -c ./LYJump.c
cc  -I/usr/include -I/usr/include/ncurses  -I/usr/local/include -D_BSD_TYPES -D__BSD_VISIBLE -D_POSIX_C_SOURCE=200112L -D_XOPEN_SOURCE=600 -DHAVE_CONFIG_H   -DLOCALEDIR=\"/usr/local/share/locale\"  -I.  -I..  -Ichrtrans  -I./chrtrans  -I..  -I../src  -I../WWW/Library/Implementation    -O2 -fno-strict-aliasing -pipe -c ./LYList.c
cc  -I/usr/include -I/usr/include/ncurses  -I/usr/local/include -D_BSD_TYPES -D__BSD_VISIBLE -D_POSIX_C_SOURCE=200112L -D_XOPEN_SOURCE=600 -DHAVE_CONFIG_H   -DLOCALEDIR=\"/usr/local/share/locale\"  -I.  -I..  -Ichrtrans  -I./chrtrans  -I..  -I../src  -I../WWW/Library/Implementation    -O2 -fno-strict-aliasing -pipe -c ./LYCgi.c
cc  -I/usr/include -I/usr/include/ncurses  -I/usr/local/include -D_BSD_TYPES -D__BSD_VISIBLE -D_POSIX_C_SOURCE=200112L -D_XOPEN_SOURCE=600 -DHAVE_CONFIG_H   -DLOCALEDIR=\"/usr/local/share/locale\"  -I.  -I..  -Ichrtrans  -I./chrtrans  -I..  -I../src  -I../WWW/Library/Implementation    -O2 -fno-strict-aliasing -pipe -c ./LYTraversal.c
/dev/ttyp5
11:03:02
#[user@fbsd5:lynx]$
   x x   Fixit        Repair mode with CDROM/DVD/floppy or start shell   x x
  x lq    Custom      Begin a custom installation (for experts)          qk x
   x x   Upgrade        The disk Label editor                             x x
  x x X Exit   ure      Exit this menu (returning to previous)    qqqqqqq x x
  x x  User Management  Add user and group informationon                  x x
  x x  Distributions    Install additional distribution sets              x x
  x x  Console          Customize system console behavior                 x x
  x x  Packages         Install pre-packaged software for FreeBSD         x x
  x x  Time Zone        Set which time zone you're in                     x x
  x x  Root Password    Set the system manager's password                 x x
  x x  Media            Change the installation media type                x x
  x x  Fdisk            The disk Slice (PC-style partition) Editor        x x
  x x  Mouse            Configure your mouse                              x x
  x x  Label
  x x  Networking       Configure additional network services             x x
  x mq.(+)                                                               qj x
  tq                        [  OK  ]       Cancel                           x
              [ Press F1 for more information on these options ]           qj
  mq
11:03:02
#[user@fbsd5:lynx]$

11:03:02
#[user@fbsd5:lynx]$

прошло 14 минут
11:17:54
#[user@fbsd5:lynx]$ lang=C
[user@fbsd5:lynx]$ ls -l
total 16
-rw-r--r--  1 root  wheel  1715 13 Á×Ç  2007 Makefile
-rw-r--r--  1 root  wheel   203  5 ÉÀÌ  2007 distinfo
drwxr-xr-x  2 root  wheel   512 15 ÍÁÒ  2008 files
-rw-r--r--  1 root  wheel   235 21 ÁÐÒ  2000 pkg-descr
-rw-r--r--  1 root  wheel  4814 13 Á×Ç  2007 pkg-plist
drwxr-xr-x  3 root  wheel   512  7 ÓÅÎ 12:04 work
11:18:27
#[user@fbsd5:lynx]$ lang=C
[user@fbsd5:lynx]$ LANG=C
/dev/ttyp2
11:18:27
#[user@fbsd5:lynx]$ lang=C

/dev/ttyp3
11:18:27
#[user@fbsd5:lynx]$ lang=C

/dev/ttyp0
11:18:27
#[user@fbsd5:lynx]$ lang=C
/homq ...
    ftp.kaist.ac.kr/vim/runtime/spell/ru/main.aap - Cached - Similar
[user@debian1:spell]$ w3m http://ftp.vim.org/
/home/user/.lilalo/25984240513059826809-1252308484.script:/home/user/.lilalo/259
84240513059826809-1252308484.script:/home/user/.lilalo/25984240513059826809-1252
[user@debian1:spell]$ echo $LANG
/home/user/.lilalo/25984240513059826809-1252308484.script:/home/user/.lilalo/259
84240513059826809-1252308484.script:/home/user/.lilalo/25984240513059826809-1252
[user@debian1:spell]$ grep -r LANG ~
/home/user/.lilalo/25984240513059826809-1252308484.script:/home/user/.lilalo/259
...
                                [user@debian1:~]$ man passwd
/home/user/.lilalo/25984240513059826809-1252308484.script:/home/user/.lilalo/259
84240513059826809-1252308484.script:/home/user/.lilalo/25984240513059826809-1252
[user@debian1:~]$ whatis intro
/home/user/.lilalo/25984240513059826809-1252308484.script:/home/user/.lilalo/259
84240513059826809-1252308484.script:/home/user/.lilalo/25984240513059826809-1252
                 [user@fbsd5:lynx]$ lang=C
/home/user/.lilalo/25984240513059826809-1252308484.script:/home/user/.lilalo/259
84240513059826809-1252308484.script:/home/user/.lilalo/25984240513059826809-1252
84240513059826809-1252308484.script:/home/user/.lilalo/25984240513059826809-1252
/dev/ttyp6
11:18:27
#[user@fbsd5:lynx]$ lang=C

/dev/ttyp5
11:18:29
#[user@fbsd5:lynx]$ LANG=C

/dev/ttyp2
11:18:29
#[user@fbsd5:lynx]$ LANG=C

/dev/ttyp3
11:18:29
#[user@fbsd5:lynx]$ LANG=C

/dev/ttyp0
11:18:29
#[user@fbsd5:lynx]$ LANG=C
/home/user/.lilalo/25984240513059826809-1252308484.script:/home/user/.lilalo/259
84240513059826809-1252308484.script:/home/user/.lilalo/25984240513059826809-1252
[user@debian1:spell]$ echo $LANG
/home/user/.lilalo/25984240513059826809-1252308484.script:/home/user/.lilalo/259
84240513059826809-1252308484.script:/home/user/.lilalo/25984240513059826809-1252
[user@debian1:spell]$ grep -r LANG ~
/home/user/.lilalo/25984240513059826809-1252308484.script:/home/user/.lilalo/259
84240513059826809-1252308484.script:/home/user/.lilalo/25984240513059826809-1252
[user@debian1:~]$ LANG=C
/home/user/.lilalo/25984240513059826809-1252308484.script:/home/user/.lilalo/259
...
[user@debian1:~]$ whatis intro
/home/user/.lilalo/25984240513059826809-1252308484.script:/home/user/.lilalo/259
84240513059826809-1252308484.script:/home/user/.lilalo/25984240513059826809-1252
                 [user@fbsd5:lynx]$ lang=C
/home/user/.lilalo/25984240513059826809-1252308484.script:/home/user/.lilalo/259
84240513059826809-1252308484.script:/home/user/.lilalo/25984240513059826809-1252
                 [user@fbsd5:lynx]$ LANG=C
/home/user/.lilalo/25984240513059826809-1252308484.script:/home/user/.lilalo/259
84240513059826809-1252308484.script:/home/user/.lilalo/25984240513059826809-1252
84240513059826809-1252308484.script:/home/user/.lilalo/25984240513059826809-1252
/dev/ttyp6
11:18:29
#[user@fbsd5:lynx]$ LANG=C

Файлы

  • -n
  • -n
    >
    [user@debian1:~]$ apropos user
    /etc/adduser.conf (5) [adduser.conf] - configuration file for adduser(8) and addgroup(8) .
    /etc/deluser.conf (5) [deluser.conf] - configuration file for deluser(8) and delgroup(8) .
    addgroup (8)         - add a user or group to the system
    adduser (8)          - add a user or group to the system
    adduser.conf (5)     - configuration file for adduser(8) and addgroup(8) .
    bsd-write (1)        - send a message to another user
    chage (1)            - change user password expiry information
    check_driver (1)     - Linux 2.6(.16+) userspace device rebinding helper.
    chfn (1)             - change real user name and information
    crontab (1)          - maintain crontab files for individual users (V3)
    defoma-user (1)      - Debian Font Manager for users
    delgroup (8)         - remove a user or group from the system
    deluser (8)          - remove a user or group from the system
    deluser.conf (5)     - configuration file for deluser(8) and delgroup(8) .
    environ (7)          - user environment
    fuser (1)            - identify processes using files or sockets
    futex (4)            - Fast Userspace Locking
    futex (7)            - Fast Userspace Locking
    group (5)            - user group file
    groups (1)           - print the groups a user is in
    hosts.equiv (5)      - list of hosts and users that are granted "trusted"r command access to your system
    id (1)               - print user identity
    intro (1)            - Introduction to user commands
    last (1)             - show listing of last logged in users
    lastb (1)            - show listing of last logged in users
    lastlog (8)          - reports the most recent login of all users or of a given user
    logname (1)          - print user's login name
    netlink (7)          - Communication between kernel and userspace (PF_NETLINK)
    newusers (8)         - update and create new users in batch
    nologin (5)          - prevent non-root users from logging into the system
    passwd (1)           - change user password
    PF_NETLINK (7)       - Communication between kernel and userspace (PF_NETLINK)
    readline (3readline) - get a line from a user with editing
    su (1)               - change user ID or become super-user
    sudo (8)             - execute a command as another user
    sudoedit (8)         - execute a command as another user
    sudoers (5)          - list of which users may execute what
    sulogin (8)          - Single-user login
    tasksel (8)          - a user interface for installing tasks
    telnet (1)           - user interface to the TELNET protocol
    telnet.netkit (1)    - user interface to the TELNET protocol
    ucf (1)              - Update Configuration File: preserve user changes in configuration files
    udp (7)              - User Datagram Protocol for IPv4
    unix_chkpwd (8)      - check the password of the invoking user
    useradd (8)          - create a new user or update default new user information
    userdel (8)          - delete a user account and related files
    usermod (8)          - modify a user account
    users (1)            - print the user names of users currently logged in to the current host
    wall (1)             - write a message to users
    whoami (1)           - print effective userid
    write (1)            - send a message to another user
    xset (1)             - user preference utility for X
         1  /etc/adduser.conf (5) [adduser.conf] - configuration file for adduser(8) and addgroup(8) .
         2  /etc/deluser.conf (5) [deluser.conf] - configuration file for deluser(8) and delgroup(8) .
         3  addgroup (8)         - add a user or group to the system
         4  adduser (8)          - add a user or group to the system
         5  adduser.conf (5)     - configuration file for adduser(8) and addgroup(8) .
         6  bsd-write (1)        - send a message to another user
         7  chage (1)            - change user password expiry information
         8  check_driver (1)     - Linux 2.6(.16+) userspace device rebinding helper.
         9  chfn (1)             - change real user name and information
        10  crontab (1)          - maintain crontab files for individual users (V3)
        11  defoma-user (1)      - Debian Font Manager for users
        12  delgroup (8)         - remove a user or group from the system
        13  deluser (8)          - remove a user or group from the system
        14  deluser.conf (5)     - configuration file for deluser(8) and delgroup(8) .
        15  environ (7)          - user environment
        16  fuser (1)            - identify processes using files or sockets
        17  futex (4)            - Fast Userspace Locking
        18  futex (7)            - Fast Userspace Locking
        19  group (5)            - user group file
        20  groups (1)           - print the groups a user is in
        21  hosts.equiv (5)      - list of hosts and users that are granted "trusted"r command access to your system
        22  id (1)               - print user identity
        23  intro (1)            - Introduction to user commands
        24  last (1)             - show listing of last logged in users
        25  lastb (1)            - show listing of last logged in users
        26  lastlog (8)          - reports the most recent login of all users or of a given user
        27  logname (1)          - print user's login name
        28  netlink (7)          - Communication between kernel and userspace (PF_NETLINK)
        29  newusers (8)         - update and create new users in batch
        30  nologin (5)          - prevent non-root users from logging into the system
        31  passwd (1)           - change user password
        32  PF_NETLINK (7)       - Communication between kernel and userspace (PF_NETLINK)
        33  readline (3readline) - get a line from a user with editing
        34  su (1)               - change user ID or become super-user
        35  sudo (8)             - execute a command as another user
        36  sudoedit (8)         - execute a command as another user
        37  sudoers (5)          - list of which users may execute what
        38  sulogin (8)          - Single-user login
        39  tasksel (8)          - a user interface for installing tasks
        40  telnet (1)           - user interface to the TELNET protocol
        41  telnet.netkit (1)    - user interface to the TELNET protocol
        42  ucf (1)              - Update Configuration File: preserve user changes in configuration files
        43  udp (7)              - User Datagram Protocol for IPv4
        44  unix_chkpwd (8)      - check the password of the invoking user
        45  useradd (8)          - create a new user or update default new user information
        46  userdel (8)          - delete a user account and related files
        47  usermod (8)          - modify a user account
        48  users (1)            - print the user names of users currently logged in to the current host
        49  wall (1)             - write a message to users
        50  whoami (1)           - print effective userid
        51  write (1)            - send a message to another user
        52  xset (1)             - user preference utility for X
    

    Статистика

    Время первой команды журнала09:27:11 2009- 9- 7
    Время последней команды журнала11:18:29 2009- 9- 7
    Количество командных строк в журнале100
    Процент команд с ненулевым кодом завершения, %23.00
    Процент синтаксически неверно набранных команд, % 2.00
    Суммарное время работы с терминалом *, час 1.85
    Количество командных строк в единицу времени, команда/мин 0.90
    Частота использования команд
    [user@fbsd5:lynx]$30|============================| 28.30%
    [user@fbsd5:~]$25|=======================| 23.58%
    man16|===============| 15.09%
    screen9|========| 8.49%
    whatis5|====| 4.72%
    grep3|==| 2.83%
    [user@fbsd5:w3m]$2|=| 1.89%
    info2|=| 1.89%
    apropos2|=| 1.89%
    privet2|=| 1.89%
    zless1|| 0.94%
    awk1|| 0.94%
    lpr1|| 0.94%
    [root@fbsd5:~]#1|| 0.94%
    echo1|| 0.94%
    less1|| 0.94%
    PAGER=less1|| 0.94%
    cat1|| 0.94%
    ssh1|| 0.94%
    LANG=C1|| 0.94%
    ____
    *) Интервалы неактивности длительностью 30 минут и более не учитываются

    Справка

    Для того чтобы использовать LiLaLo, не нужно знать ничего особенного: всё происходит само собой. Однако, чтобы ведение и последующее использование журналов было как можно более эффективным, желательно иметь в виду следующее:
    1. В журнал автоматически попадают все команды, данные в любом терминале системы.

    2. Для того чтобы убедиться, что журнал на текущем терминале ведётся, и команды записываются, дайте команду w. В поле WHAT, соответствующем текущему терминалу, должна быть указана программа script.

    3. Команды, при наборе которых были допущены синтаксические ошибки, выводятся перечёркнутым текстом:
      $ l s-l
      bash: l: command not found
      

    4. Если код завершения команды равен нулю, команда была выполнена без ошибок. Команды, код завершения которых отличен от нуля, выделяются цветом.
      $ test 5 -lt 4
      Обратите внимание на то, что код завершения команды может быть отличен от нуля не только в тех случаях, когда команда была выполнена с ошибкой. Многие команды используют код завершения, например, для того чтобы показать результаты проверки

    5. Команды, ход выполнения которых был прерван пользователем, выделяются цветом.
      $ find / -name abc
      find: /home/devi-orig/.gnome2: Keine Berechtigung
      find: /home/devi-orig/.gnome2_private: Keine Berechtigung
      find: /home/devi-orig/.nautilus/metafiles: Keine Berechtigung
      find: /home/devi-orig/.metacity: Keine Berechtigung
      find: /home/devi-orig/.inkscape: Keine Berechtigung
      ^C
      

    6. Команды, выполненные с привилегиями суперпользователя, выделяются слева красной чертой.
      # id
      uid=0(root) gid=0(root) Gruppen=0(root)
      

    7. Изменения, внесённые в текстовый файл с помощью редактора, запоминаются и показываются в журнале в формате ed. Строки, начинающиеся символом "<", удалены, а строки, начинающиеся символом ">" -- добавлены.
      $ vi ~/.bashrc
      2a3,5
      >    if [ -f /usr/local/etc/bash_completion ]; then
      >         . /usr/local/etc/bash_completion
      >        fi
      

    8. Для того чтобы изменить файл в соответствии с показанными в диффшоте изменениями, можно воспользоваться командой patch. Нужно скопировать изменения, запустить программу patch, указав в качестве её аргумента файл, к которому применяются изменения, и всавить скопированный текст:
      $ patch ~/.bashrc
      В данном случае изменения применяются к файлу ~/.bashrc

    9. Для того чтобы получить краткую справочную информацию о команде, нужно подвести к ней мышь. Во всплывающей подсказке появится краткое описание команды.

      Если справочная информация о команде есть, команда выделяется голубым фоном, например: vi. Если справочная информация отсутствует, команда выделяется розовым фоном, например: notepad.exe. Справочная информация может отсутствовать в том случае, если (1) команда введена неверно; (2) если распознавание команды LiLaLo выполнено неверно; (3) если информация о команде неизвестна LiLaLo. Последнее возможно для редких команд.

    10. Большие, в особенности многострочные, всплывающие подсказки лучше всего показываются браузерами KDE Konqueror, Apple Safari и Microsoft Internet Explorer. В браузерах Mozilla и Firefox они отображаются не полностью, а вместо перевода строки выводится специальный символ.

    11. Время ввода команды, показанное в журнале, соответствует времени начала ввода командной строки, которое равно тому моменту, когда на терминале появилось приглашение интерпретатора

    12. Имя терминала, на котором была введена команда, показано в специальном блоке. Этот блок показывается только в том случае, если терминал текущей команды отличается от терминала предыдущей.

    13. Вывод не интересующих вас в настоящий момент элементов журнала, таких как время, имя терминала и других, можно отключить. Для этого нужно воспользоваться формой управления журналом вверху страницы.

    14. Небольшие комментарии к командам можно вставлять прямо из командной строки. Комментарий вводится прямо в командную строку, после символов #^ или #v. Символы ^ и v показывают направление выбора команды, к которой относится комментарий: ^ - к предыдущей, v - к следующей. Например, если в командной строке было введено:

      $ whoami
      
      user
      
      $ #^ Интересно, кто я?
      
      в журнале это будет выглядеть так:
      $ whoami
      
      user
      
      Интересно, кто я?

    15. Если комментарий содержит несколько строк, его можно вставить в журнал следующим образом:

      $ whoami
      
      user
      
      $ cat > /dev/null #^ Интересно, кто я?
      
      Программа whoami выводит имя пользователя, под которым 
      мы зарегистрировались в системе.
      -
      Она не может ответить на вопрос о нашем назначении 
      в этом мире.
      
      В журнале это будет выглядеть так:
      $ whoami
      user
      
      Интересно, кто я?
      Программа whoami выводит имя пользователя, под которым
      мы зарегистрировались в системе.

      Она не может ответить на вопрос о нашем назначении
      в этом мире.
      Для разделения нескольких абзацев между собой используйте символ "-", один в строке.

    16. Комментарии, не относящиеся непосредственно ни к какой из команд, добавляются точно таким же способом, только вместо симолов #^ или #v нужно использовать символы #=

    17. Содержимое файла может быть показано в журнале. Для этого его нужно вывести с помощью программы cat. Если вывод команды отметить симоволами #!, содержимое файла будет показано в журнале в специально отведённой для этого секции.
    18. Для того чтобы вставить скриншот интересующего вас окна в журнал, нужно воспользоваться командой l3shot. После того как команда вызвана, нужно с помощью мыши выбрать окно, которое должно быть в журнале.
    19. Команды в журнале расположены в хронологическом порядке. Если две команды давались одна за другой, но на разных терминалах, в журнале они будут рядом, даже если они не имеют друг к другу никакого отношения.
      1
          2
      3   
          4
      
      Группы команд, выполненных на разных терминалах, разделяются специальной линией. Под этой линией в правом углу показано имя терминала, на котором выполнялись команды. Для того чтобы посмотреть команды только одного сенса, нужно щёкнуть по этому названию.

    О программе

    LiLaLo (L3) расшифровывается как Live Lab Log.
    Программа разработана для повышения эффективности обучения Unix/Linux-системам.
    (c) Игорь Чубин, 2004-2008

    $Id$