Posts

Showing posts from August, 2009

Howto: Install Skype (dynamic) on Fedora 10 64-bit

Found the solution at here : http://forums.fedoraforum.org/showthread.php?p=1185767

Howto: Install Skype (dynamic) on Fedora 10 64-bit
I downloaded and installed Skype on Fedora 10, 64-bit, and it came up just fine.

I recommend the dynamic version, since it makes use of the existing system libraries that are managed by Fedora. This will minimize any potential library conflicts.

All that is needed is to make sure you have all the 32-bit versions of the libraries Skype requires.

Using the "ldd" command, I analyzed the library requirements of the "skype" program. So that you don't also have to do this, I crunched the results into a giant yum command.

Become root (enter root's password when prompted):

Code:

su

Now that you are root, cut and paste this, all on one line:

Code:

yum install alsa-lib.i386 dbus-libs.i386 e2fsprogs-libs.i386 expat.i386 fontconfig.i386 freetype.i386 glib2.i386 glibc.i686 keyutils-libs.i386 krb5-libs.i386 libcap.i386 libgcc.i386 libICE.i386 libpng…

Bash and VIM issue with SFU

After BASH is running , I am facing issue with the key at BASH and VIM and facing delay when trying to launch VIM.

I found this http://www.suacommunity.com/forum/tm.aspx?m=7935.

1. Fix delete, home and end in bash

$HOME/.inputrc:
# Delete
"\e[3~":delete-char

# Home
"\e[1~": beginning-of-line

# End
"\e[4~":end-of-line


2. Fix home and end in vim

To get "^[[1~" you need to press , to get "^[[4~" you need to press .

$HOME/.exrc:
map ^[[1~0
map!^[[1~^[0i

map ^[[4~ $
map!^[[4~^[$a


3. Fix backspace and delete in vim

To get "^?" you need to press . The "I" at the end of shortmess disables the startup blurb.

$HOME/.vimrc:
:set t_kb=^?
:fixdel
:set shortmess=filnxtToOI


4. Alias vi and vim

The -X stops vim wasting 10 seconds trying to connect to a non-existant X server.

Appended to /etc/profile.lcl
alias vim="vim -X"
alias vi="vim -X"
Hope this will help to solve your problem.



---

Bash Crash in Windows Services for UNIX enviroment

After install Windows Services for UNIX and install BASH by using the package from http://www.suacommunity.com/Default.htm, whenever I launch BASH directly or launch it after entering C shell , I will received an error saying that segmentation fault (core dumped).

At first , I install KB942312 hotfix as suggested from this page http://www.interix.com/tools/printable.aspx?m=14618 . The error still occur. According to the page , this KB942312 hotfix will allow BASH to run even with DEP active. So I would say this hotfix is a must in order to resolve this issue.

Then I keep browsing until I come to this page : http://www.suacommunity.com/forum/tm.aspx?m=16510&mpage=1#16540 . They suggest to install KB929141 hotfix. After I did that, the BASH is running.

If you keep reading further, one of them say instead of installing KB929141, we should install KB953191 because KB953191 is the newer version of KB929141. But since my BASH is running now, I would rather keep it until I face another prob…

Retrieve Windows Hotfix without need to contact Support.

When you come across this:
If the hotfix is available for download, there is a "Hotfix download available" section at the top of this Knowledge Base article. If this section does not appear, submit a request to Microsoft Customer Service and Support to obtain the hotfix.You can request windows hotfix without need to contact windows support.

Copy the URL below, paste it into your browser URL , then replace XXXXXX with the kb number and hit enter to visit the page. Fill in you email and the requested hotfix will be sending to the mailbox no more than 5 mins if the connection is good.

http://support.microsoft.com/hotfix/KBHotfix.aspx?kbnum=XXXXXX.

For example:

This http://support.microsoft.com/kb/929141 will need us to contact Microsoft Customer service and Support in order to obtain the hotfix.

All I need to do is visit the following URL , fill in my email address and submit. After 5 mins , I will be able to receive a link to download the file and a password to extract the package.