Thursday, July 21, 2005

 

commands to checkout rdesktop

setenv CVS_RSH ssh
cvs -z3 -d:pserver:anonymous@cvs.sourceforge.net:/cvsroot/rdesktop co -P rdesktop

The first one should've been added into my startup script.

--
Jeremy Meng


 

gpg verification

I don't really know why gpgv is not working.

However gpg --verify is fine.

first,

gpg --recv-key KEYID

Then,

gpg --verify sigfile signedfile

That's it!

--
Jeremy Meng


Saturday, June 25, 2005

 

My hometown from google map

http://maps.google.com/maps?q=duyun,+china&ll=25.410604,107.881107&spn=0.066605,0.093813&t=k&hl=en

--
Yu


____________________________________________________
Yahoo! Sports
Rekindle the Rivalries. Sign up for Fantasy Football
http://football.fantasysports.yahoo.com


Thursday, June 09, 2005

 

IRIX installation server disk layout

credit to cjones@nekochan's SSE and of course cjones
as well.

-----------------------------------------------------

Yup... I've had an IRIX distribution disk in use since
1999 and it's worked perfectly since then. The way I
have it setup was suggested by a former SGI support
person that used to be local for me (he's since moved
on).

I made a filesystem on a separate disk (I started out
with a 9Gb disk, but over the years moved up to a 73Gb
disk) and called it /sgi_os_software (I love directory
names that are obvious... ). Then underneath it looks
like this (and I'm just showing you a snipit):

lrwxr-xr-x 1 root daemon 15 Sep 20 2004
6.5.25_Installation_Tools_and_Overlays_1_of_3 ->
sw/812-0818-025/
lrwxr-xr-x 1 root daemon 15 Sep 20 2004
6.5.25_Overlays_2_of_3 -> sw/812-0819-025/
lrwxr-xr-x 1 root daemon 15 Sep 20 2004
6.5.25_Applications -> sw/812-0877-025/
lrwxr-xr-x 1 root daemon 15 Sep 20 2004
6.5.25_Complimentary_Applications -> sw/812-1180-025/
lrwxr-xr-x 1 root daemon 15 Sep 20 2004
6.5.25_Overlays_3_of_3 -> sw/812-0817-025/
lrwxr-xr-x 1 root daemon 15 Jan 11 14:49
6.5.26_Installation_Tools_and_Overlays_1_of_3 ->
sw/812-0818-026/
lrwxr-xr-x 1 root daemon 15 Jan 11 14:49
6.5.26_Overlays_2_of_3 -> sw/812-0819-026/
lrwxr-xr-x 1 root daemon 15 Jan 11 14:49
6.5.26_Overlays_3_of_3 -> sw/812-0817-026/
lrwxr-xr-x 1 root daemon 15 Jan 11 14:50
6.5.26_Complimentary_Applications -> sw/812-1180-026/
lrwxr-xr-x 1 root daemon 15 Jan 11 14:50
6.5.26_Applications -> sw/812-0877-026/

These are of course all soft links... and the 'sw'
directory is where all the data really lives. If you
didn't figure it out already, the numbers directories
are the serial numbers of the CDROM's. You may notice
a pattern with the serial numbers.... they're always
the same except for the 6.5.x distribution number.

I also setup a directory for patches:

lrwxr-xr-x 1 root daemon 23 Jun 30 2004 6.5.24_patches
-> sw/6.5.x-patches/6.5.24/
lrwxr-xr-x 1 root daemon 29 Jul 2 2004
7.4_compiler_patches -> sw/6.5.x-patches/7.4_compiler/

lrwxr-xr-x 1 root daemon 23 Sep 20 2004 6.5.25_patches
-> sw/6.5.x-patches/6.5.25/

But the *KEY* to all of this is the dot file
.related_dists. When you cd into /sgi_os_software and
run 'inst -f .', it will see the .related_dists file
and load up all your distributions for choosing.
First, here's a snipt of my file:

(what I use for the 'base' IRIX 6.5 cd's that I always
load up)
IRIX_6.5_Foundation-1/dist
IRIX_6.5_Foundation-2/dist
IRIX_6.5_Development_Foundation_1.3/dist
IRIX_6.5_Development_Libraries/dist
ONC3_NFS_Version3/dist
IRIX_6.5_Applications_June_1998/dist

(the SGI compilers... )
Compiler_Execution_Environment_7.4/dist
MIPSpro_Compilers_7.4/dist
MIPSpro_Auto_Parallelizing_Option_7.4/dist
7.4_compiler_patches

(patches.. )
6.5.25_patches
6.5.24_patches

(overlays... )
6.5.25_Installation_Tools_and_Overlays_1_of_3/dist
6.5.25_Overlays_2_of_3/dist
6.5.25_Overlays_3_of_3/dist
6.5.25_Complimentary_Applications/complementary_apps
6.5.25_Applications/apps
6.5.24_Installation_Tools_and_Overlays_1_of_3/dist
6.5.24_Overlays_2_of_3/dist
6.5.24_Overlays_3_of_3/dist
6.5.24_Complimentary_Applications/complementary_apps
6.5.24_Applications/apps

The comments in parenthesis of course aren't really in
the file. Then when you run inst like I mentioned,
you'll see something like this:

Inst> from .

. has the following sections.
Please choose one or more names or numbers, by
entering
them all on one line. For example: 1-3 4 <Enter>

1 ./IRIX_6.5_Foundation-1/dist
2 ./IRIX_6.5_Foundation-2/dist
3 ./IRIX_6.5_Development_Foundation_1.3/dist
4 ./IRIX_6.5_Development_Libraries/dist
5 ./ONC3_NFS_Version3/dist
6 ./IRIX_6.5_Applications_June_1998/dist
7 ./Compiler_Execution_Environment_7.4/dist
8 ./MIPSpro_Compilers_7.4/dist
9 ./MIPSpro_Auto_Parallelizing_Option_7.4/dist
10 ./7.4_compiler_patches
11 ./6.5.25_patches
12 ./6.5.24_patches
13
./6.5.25_Installation_Tools_and_Overlays_1_of_3/dist
14 ./6.5.25_Overlays_2_of_3/dist
15 ./6.5.25_Overlays_3_of_3/dist
16
./6.5.25_Complimentary_Applications/complementary_apps

17 ./6.5.25_Applications/apps
18
./6.5.24_Installation_Tools_and_Overlays_1_of_3/dist
19 ./6.5.24_Overlays_2_of_3/dist
20 ./6.5.24_Overlays_3_of_3/dist
21
./6.5.24_Complimentary_Applications/complementary_apps

22 ./6.5.24_Applications/apps
23 quit (no additional distributions, return to inst
prompt)

Install software from: [./IRIX_6.5_Foundation-1/dist]
1-6 11 13-17

So if I wanted to upgrade a system to 6.5.25, I'd just
load up the distributions like I've shown above...
choosing the IRIX base cd's, the patches, and the
6.5.25 overlays.

Then I always do a 'keep *' and 'install standard', so
it automatically unmarks all the packages it marks by
default, and then the standard part is perfect when
you're doing an upgrade, because it won't install
anything that you didn't already have (more or less...
just do 'help keywords' inside inst and read the
description of 'standard'). But there's lots of ways,
so you just choose what works best for you.

The beauty of this installing method is, if you just
load up everything you *may* need, you'll almost
always have few conflicts. The most I ever have is
from patches that already exist that the newer ones
don't like (like if I'm upgrading from 6.5.23 to
6.5.25, of course the patches that exist only for
6.5.23 won't work now... I wish inst would just figure
that out and not give it to me as a conflict) so I
just mark those for removal and I'm virtually always
conflict-free very quickly.

Hope this helps you and anybody else that reads
this...

-chris

--
Yu


__________________________________
Discover Yahoo!
Get on-the-go sports scores, stock quotes, news and more. Check it out!
http://discover.yahoo.com/mobile.html


Saturday, May 21, 2005

 

windows efs cd dump

http://forums.nekochan.net/viewtopic.php?t=5841

EXAMPLE
D:\irix> readcd dev=1,1,0 f=CD1.image

D:\irix> cdrecord -pad -dao -data -overburn -v
dev=1,0,0 CD1.image

--
Yu


__________________________________
Yahoo! Mail Mobile
Take Yahoo! Mail with you! Check email on your mobile phone.
http://mobile.yahoo.com/learn/mail


Wednesday, May 11, 2005

 

atoll strtoll SGI

/usr/include/stdlib.h: Add the following at line 13
------------------------------------------------------------------------
#if defined(__c99) || ((defined(_SGIAPI) ||
defined(_ABIAPI)) &&
defined(_NO_ANSIMODE))
__SGI_LIBC_USING_FROM_STD(strtoll)
__SGI_LIBC_USING_FROM_STD(strtoull)


Thursday, May 05, 2005

 

aspell mingw issue

http://lists.gnu.org/archive/html/aspell-user/2004-12/msg00015.html

adding a linker option solves the problem.

-Wl,--enable-runtime-pseudo-reloc

--
Yu


Yahoo! Mail
Stay connected, organized, and protected. Take the tour:
http://tour.mail.yahoo.com/mailtour.html


Wednesday, April 27, 2005

 

Dell Inspiron 600m IE high resolution

Windows Registry Editor Version 5.00

[HKEY_CURRENT_USER\Software\Microsoft\Internet
Explorer\Main]
"UseHR"=dword:00000000

--
Yu

__________________________________________________
Do You Yahoo!?
Tired of spam? Yahoo! Mail has the best spam protection around
http://mail.yahoo.com


This page is powered by Blogger. Isn't yours?