Colouring MOTD

1 Comment »

Terminal should be ANSI compliant and support colour escape sequences. Modern terminal should do the job.

The following is a list of escape sequences

The ^[ is produced by pressing Ctrl-V then ESC

I’m using vi as text editor and there’s no problem with ctrl-V ESC, i’m not test it on other text editor.

^[[0m    - Reset the terminal characteristics
^[[1m    - emphasis (bold)

^[[30m    - Foreground black
^[[31m    - Foreground red
^[[32m    - Foreground green
^[[33m    - Foreground yellow
^[[34m    - Foreground blue
^[[35m    - Foreground magenta
^[[36m    - Foreground cyan
^[[37m    - Foreground white

Read the rest of this entry »

Share

Naked Woman On IPv6

No Comments »

I found interesting stuff today. While i was submiting daily tests for hurricane electric.certification, i got this whois result:

[Querying whois.ripe.net]
[whois.ripe.net]
% This is the RIPE Database query service.
% The objects are in RPSL format.
%
% The RIPE Database is subject to Terms and Conditions.
% See http://www.ripe.net/db/support/db-terms-conditions.pdf

% Note: This output has been filtered.
%       To receive output for a database update, use the "-B" flag.

% Information related to '2001:820::/32'

inet6num:       2001:820::/32
netname:        NO-WEBONLINE-20020712
descr:          WebOnline A/S
country:        NO
org:            ORG-WAon1-RIPE
admin-c:        JH914-RIPE
tech-c:         WO1095-RIPE
mnt-by:         RIPE-NCC-HM-MNT
mnt-lower:      WEBONLINE
mnt-routes:     WEBONLINE
status:         ALLOCATED-BY-RIR
source:         RIPE # Filtered

Read the rest of this entry »

Share