Re: [Ilugc] [Tip] Fun with Terminal-1
I am using Ubuntu 10.4. Lucid Linux. When i update ubuntu in update manager, it asked to install some grub installation, i gave yes, after updation i restarted the pc, i wont get ubuntu, it comes command prompt mode and it says - error no such device Grub rescue I am not able to enter any operating system. I am using two OS. Please reply soon ___ ILUGC Mailing List: http://www.ae.iitm.ac.in/mailman/listinfo/ilugc
Re: [Ilugc] [Tip] Fun with Terminal-1
On Tue, Nov 23, 2010 at 1:39 PM, Elango Rangan elangoran...@ymail.comwrote: I am using Ubuntu 10.4. Lucid Linux. When i update ubuntu in update manager, it asked to install some grub installation, i gave yes, after updation i restarted the pc, i wont get ubuntu, it comes command prompt mode and it says - error no such device Grub rescue I am not able to enter any operating system. I am using two OS. Please reply soon Can't you learn something when you are told so politely? Will you stop all these non-sense only when somebody shouts at you? AFAIK you have received 3 mails from co-ordinator asking you to read the rules. Did you read it? When you have no time to read and follow few simple rules, how do you expect everybody else to reply soon? Go and read the rules now! And stop doing stupid stuff. -- *அகிலன்* (Akilan R) (http://www.coding-aviator.blogspot.com) *I should have no use for a paradise in which I should be deprived of the right to prefer hell.* --Jean Rostand ___ ILUGC Mailing List: http://www.ae.iitm.ac.in/mailman/listinfo/ilugc
[Ilugc] UTF-8 issues with mingw
Hi, I am having a strange problem with a program compiled with mingw/gcc under windows environment. Please look at the following C code snippet... wordlist.txt contains UTF-8 Tamil text. if ((fileHandle = _wfopen( Lwordlist.txt,Lrt,ccs=UTF-8)) != NULL) { wchar_t c; for(a=0;a5;a++) { c = fgetwc(fileHandle); printf(%04X %d\n,c,sizeof(wchar_t)); } } It is working perfectly in Windows Vista. That is, it produces an output like 0B85 2 0B83 2 0BB1 2 0BBF 2 0BA3 2 But in Windows XP, it produces an unexpected output like 00EF 2 00BB 2 00BF 2 00E0 2 00AE 2 What could be the problem? The first three values listed (in xp) are actually UTF-8 markers. Regards, Arun Venkataswamy ___ ILUGC Mailing List: http://www.ae.iitm.ac.in/mailman/listinfo/ilugc
[Ilugc] find solution and got it back - grub rescue problem
Its a master boot record(mbr) problem! I have dual operating system. I boot system as cd rom as a first boot device and enter into windows and repair it . I changed in the command prompt as fixmbr and later i restarted it's working fine. ___ ILUGC Mailing List: http://www.ae.iitm.ac.in/mailman/listinfo/ilugc
[Ilugc] runtime linking without LD_LIBRARY_PATH
Hi, here is my problem, downloaded latest glib-2.0 (2.26) tarball and did './configure --prefix=/home/localuser/localbuilds/; make; make install'. At runtime, I need to use the latest libgio-2.0.so (because of GDBusProxy) which is inside my '/home/localuser/loacalbuilds/lib'. Is there any way to link to this latest library without using LD_LIBRARY_PATH? One proper way is to create /etc/ld.so.conf.d/glib-2.26.conf file and add /home/localuser/localbuilds/lib to it, then executing 'sudo /sbin/ldconfig -v' will rebuild system wide /etc/ld.so.cache, but I don't have root permission to follow this method. Also, there is no hint of a local ld.so.cache in ld-linux.so(8), ldconfig(8),ld(8) and ld.so.conf(5) man pages. Is there any way to solve this? basically I'm not a root user and I don't want to mess my environment with LD_LIBRARY_PATH. Cheers, Mohan R ___ ILUGC Mailing List: http://www.ae.iitm.ac.in/mailman/listinfo/ilugc
[Ilugc] counting tamil characters with python
hi, in context of the discussion on counting tamil characters, here is one solution: #!/usr/bin/env python # -*- coding: utf-8 -*- import codecs def countsyll(instring): s = codecs.utf_8_encode(instring) x = codecs.utf_8_decode(s[0])[0] syllen = 0 vowels = [u'\u0bbe',u'\u0bbf',u'\u0bc0', u'\u0bc1',u'\u0bc2',u'\u0bc6', u'\u0bc7',u'\u0bc8',u'\u0bca', u'\u0bcb',u'\u0bcc',u'\u0bcd',] for y in x: if y not in vowels: syllen += 1 return syllen if __name__=='__main__': print countsyll(u'ஆண்டவரின் துணைவன்') -- regards KG http://lawgon.livejournal.com ___ ILUGC Mailing List: http://www.ae.iitm.ac.in/mailman/listinfo/ilugc
[Ilugc] [Tip] Fun with terminal-3 (Terminal Clock)
If you want see the clock time on your terminal, $ export PS1=${PS1%\\\$*}' \t \$ ' :-) Ex: shriniva...@shrinivasan-laptop:~$ export PS1=${PS1%\\\$*}' \t \$ ' shriniva...@shrinivasan-laptop:~ 09:50:27 $ echo Have a nice day Have a nice day shriniva...@shrinivasan-laptop:~ 09:50:52 $ -- Regards, Tha.Suresh http://thasulinux.wordpress.com ___ ILUGC Mailing List: http://www.ae.iitm.ac.in/mailman/listinfo/ilugc
[Ilugc] Unable to get wifi up with knetworkmanager
Hardware: Acer 5542 ( Atheros WiFi, ) OS: Debian Squeeze kernel 2.6.32-5-amd64. Desktop: KDE 4.4.5 WiFi and Ethernet drivers are loaded, /sbin/ifconfig shows all the network devices properly. knetworkmanager is visible in the systray. The problem: When I login in to the desktop; the knetworkmanager icon shows the RJ45 connector instead of the WiFi indicator. When I click on the icon, I can see the WiFi AP and respective signal strengths. My AP is configured as WPA2 Personal and I have also added the WiFi MAC address of my laptop to it's filter list. When I select the AP, I get the WPA2 Personal dialog box; I enter the passphrase. I also select Show password to see that the passphrase that I am typing in is correct. It is accepted but then nothing happens - no connection. The systray icon continues to show the RJ45 image. This is forcing me to use the wired ethernet connection and limiting my ability to move around in the office. Any idea what could be the problem? TIA -- Arun Khan ___ ILUGC Mailing List: http://www.ae.iitm.ac.in/mailman/listinfo/ilugc
Re: [Ilugc] counting tamil characters with python
On Wed, 2010-11-24 at 10:28 +0530, Arun Venkataswamy wrote: hi, in context of the discussion on counting tamil characters, here is one solution: Hi Kenneth, I am not good in Python, but does your code handle vowels coming in the front? That is, vowels used in the beginning of the words? actually there are two types of vowel - one that is a character in it's own right and the other that is just an addition to a character. My code counts the first type of vowel (which is at the beginning of a word), but not the second type. -- regards KG http://lawgon.livejournal.com ___ ILUGC Mailing List: http://www.ae.iitm.ac.in/mailman/listinfo/ilugc
Re: [Ilugc] counting tamil characters with python
On Tue, 2010-11-23 at 20:03 -0800, Santhosh Thottingal wrote: if this is not readable in your mail client, the code is here: http://bitbucket.org/lawgon/tamtrans/src/21197e0f1388/syllcount.py Number of syllables is is not the number of characters excluding vowels. For example மக்கள் has only 3 syllables not 4. ம, க்க , ள் ஆண்டவரின் has ஆ,ண்ட,வ,ரி,ன் and Syllable is a pronunciation unit. http://en.wikipedia.org/wiki/Syllable I am not counting syllables, I am counting characters in the conventional sense of the word. see syllabalize_ta method in https://github.com/santhoshtr/silpa/blob/master/src/silpa/modules/syllabalizer/syllabalizer.py Or see online tool for this at http://silpa.smc.org.in/Syllabalize that is GPLed, if I look at it and use some of it in my code you will sue me ;-) -- regards KG http://lawgon.livejournal.com ___ ILUGC Mailing List: http://www.ae.iitm.ac.in/mailman/listinfo/ilugc
[Ilugc] FOSS alternative required for Microwind DSCH3.1, verilog compiler
Dear all, A engg. college in coimbatore is urgently looking for open source alternative for MicroWind DSCH3.1 verilog compiler. PIC16F modeller (it costs about 4L+ for 5 user license). If anybody knows foss equivalent for the above, pl. let me know. The college has decided to migrate with open source alternatives in all the departments. Regards S. Baskar CEO/LinuXpert Systems ___ ILUGC Mailing List: http://www.ae.iitm.ac.in/mailman/listinfo/ilugc
[Ilugc] error 2002 mysql error
hi to all i successfully installed lampp stack in my fedora i got mysql error what is the solution for the below error ? ERROR 2002 (HY000): Can't connect to local MySQL server through socket '/opt/lampp/var/mysql/mysql.sock' (2) please suggest me thank u bye take care ___ ILUGC Mailing List: http://www.ae.iitm.ac.in/mailman/listinfo/ilugc
Re: [Ilugc] error 2002 mysql error
Hi, On Wed, Nov 24, 2010 at 11:45 AM, jaya kumar jayakumargen...@gmail.com wrote: hi to all ERROR 2002 (HY000): Can't connect to local MySQL server through socket '/opt/lampp/var/mysql/mysql.sock' (2) Is MySQL server running? Thanks Regards, Guruprasad ___ ILUGC Mailing List: http://www.ae.iitm.ac.in/mailman/listinfo/ilugc
Re: [Ilugc] runtime linking without LD_LIBRARY_PATH
On Tue, Nov 23, 2010 at 9:49 PM, Mohan R mohan...@gmail.com wrote: here is my problem, downloaded latest glib-2.0 (2.26) tarball and did './configure --prefix=/home/localuser/localbuilds/; make; make install'. At runtime, I need to use the latest libgio-2.0.so (because of GDBusProxy) which is inside my '/home/localuser/loacalbuilds/lib'. Is there any way to link to this latest library without using LD_LIBRARY_PATH? Have you tried running ./configure --help, you should find options where you can specify different include and library paths. ELF format spec permits you to hard code library path in the binary itself. Should warn you that this practice is discouraged in favor of runtime linking using ld, LD_PRELOAD and LD_LIBRARY_PATH are easier to manage. - Raja ___ ILUGC Mailing List: http://www.ae.iitm.ac.in/mailman/listinfo/ilugc
[Ilugc] Re: [ilugcbe] FOSS alternative required for Microwind DSCH3.1, verilog compiler
On Wed, Nov 24, 2010 at 11:41 AM, Baskar Selvaraj bas...@linuxpert.inwrote: Dear all, A engg. college in coimbatore is urgently looking for open source alternative for MicroWind DSCH3.1 verilog compiler. PIC16F modeller (it costs about 4L+ for 5 user license). If anybody knows foss equivalent for the above, pl. let me know. The college has decided to migrate with open source alternatives in all the departments. I think you can use Fedora Electronics lab for the same . See the details http://spins.fedoraproject.org/fel/ -- ** JAGANADH G http://jaganadhg.freeflux.net/blog ___ ILUGC Mailing List: http://www.ae.iitm.ac.in/mailman/listinfo/ilugc
[Ilugc] Re: [Tip] Fun with terminal-3 (Terminal Clock)
If you want set this clock as default in your terminal, Include this command in your .bashrc file Ex: [stud...@mercury ~] $ vim .bashrc # User specific aliases and functions #Terminal clock export PS1=${PS1%\\\$*}' \t \$ ' Save this using Press Esc and type :wq! Now, you can see the Clock every time when, you open your terminal [stud...@mercury ~] 12:43:34 $ echo Default Clock Was Set Default Clock Was Set [stud...@mercury ~] 12:44:15 $ ___ ILUGC Mailing List: http://www.ae.iitm.ac.in/mailman/listinfo/ilugc
Re: [Ilugc] FOSS alternative required for Microwind DSCH3.1, verilog compiler
Hi, --- On Wed, Nov 24, 2010 at 11:41 AM, Baskar Selvaraj bas...@linuxpert.in wrote: | A engg. college in coimbatore is urgently looking for open source | alternative for MicroWind DSCH3.1 verilog compiler. \-- You can try to use Icarus verilog (iverilog). http://www.icarus.com/eda/verilog/ --- | PIC16F modeller (it | costs about 4L+ for 5 user license). \-- You can try using sdcc: http://sdcc.sourceforge.net/ SK -- Shakthi Kannan http://www.shakthimaan.com ___ ILUGC Mailing List: http://www.ae.iitm.ac.in/mailman/listinfo/ilugc