not cutting newlines in less

2007-11-01 Thread Karthik Vishwanath
Hello, Selecting multiple lines while viewing text through 'less' selects a newline character for the folded lines. Can I disable this? I.e is there any way I can emulate the -cn switch of xterm while selecting text within 'less'? Thanks! -K - To unsubscribe from this list: send the line "

writing a script to simulate keyboard input

2007-07-19 Thread Karthik Vishwanath
Hello, I have to use an archaic, menu-driven C program that requires keyboard input to process commands (all of these commands are terminated by a newline) I was wondering if there was any way I could use the program within a script so that I could have the script "feed" in the sequence of

Re: files and directories with spaces in bash script

2007-03-26 Thread Karthik Vishwanath
On Mon, 26 Mar 2007, at 5:52pm, Robin Doer wrote to [EMAIL PROTECTED]: Karthik Vishwanath schrieb: #!/bin/bash # set_idv3_tags.sh IFS=\n # Not tested!!! Tried all variants: IFS=\n IFS="\n" IFS='\n' IFS=' ' They don't work. for directory in "

files and directories with spaces in bash script

2007-03-26 Thread Karthik Vishwanath
Hello, I am trying to write a script to organize/sort my music collection. All of my music is arranged as Artist/Album folders with tracks within them, and most of these names have spaces (if not other strange characters). The script I am trying to get working needs to get all filenames in a

customizing lpr on a cups-based printer

2007-01-30 Thread Karthik Vishwanath
Hello, I added a networked printer using the gnome-cups-manager but I need to customize the print command (specifically by adding a -U switch to lpr) sent to that device each time I print to it, via the application that is used to print. I was wondering if there was a way to tweak the config

Re: kernel log messages and disk space

2005-09-01 Thread Karthik Vishwanath
On Sun, 21 Aug 2005, at 09:52, Ray Olszewski wrote: > [cut] > Wel, device 03:01 is /dev/hda1, and this time (I mean in contrast to > James' recent posting) the reports do sound like an emerging hardware > failure, especially if you are getting this many of them. So you *may* > need a new hard

kernel log messages and disk space

2005-08-20 Thread Karthik Vishwanath
Hello, Observed today, that my machine had utilized ~ 7G of hard drive space (since the last time I saw it, ~ week ago)! The real killers were: # du -hcs /var/log/* | grep -E '^[0-9]*.[0-9]*G' 2.6G/var/log/kern.log.0 2.6G/var/log/messages.0 2.6G/var/log/syslog.0 On inspection each

Re: programs/daemons/PIDs using the network

2005-08-13 Thread Karthik Vishwanath
localhost, pretty cool) -- thanks, Ray! -K On Sat, 13 Aug 2005, at 09:37, Ray Olszewski wrote to [EMAIL PROTECTED]: > Richard Adams wrote: > > On Friday 12 August 2005 07:27, Karthik Vishwanath wrote: > > > >>Hello, > >> > >>I run icewm as a window manage

programs/daemons/PIDs using the network

2005-08-11 Thread Karthik Vishwanath
Hello, I run icewm as a window manager and have the network status displayed on the task-bar. Sometimes I notice quite some activity on the network, without really knowing which process is responsible for that. I would like to determine the progam-name(s)/daemon(s) and the PID(s) that are invol

mapping the "meta" key in terminals

2005-08-01 Thread Karthik Vishwanath
Hello, I am able to use the meta-key bindings in bash (for command line editing etc.) from an xterm while physically being at a machine (m1.umich.edu), but these meta-key translations do not seem to work if I ssh into m1.umich.edu from m2.umich.edu. However, the CTRL key bindings seem to work fine

overriding executable in path with an aliased entry

2005-07-06 Thread Karthik Vishwanath Adv03
Hello, I just realized that there exists an executable called /bin/dir, which gets executed in preference to an alias'd 'dir' in my .bashrc. How can I ascertain that the aliased entries get preference over executables in my $PATH? (I thought it was logical for the shell to use the alias'd entri

Re: .torrent

2005-04-12 Thread Karthik Vishwanath
try azureus -- http://azureus.sourceforge.net/howto_linux.php -K On Tue, 12 Apr 2005, Peter H. wrote: > Hi, > > When I wanted to download some programs I ended up with a .torrent file, like > > dlg-2.10.0.iso.torrent. > > What am I supposed to do with that? This is unfamiliar to me. > > T

detecting eth0 with fedora core 2

2005-02-15 Thread Karthik Vishwanath
Hello, We got a new machine at work with an intel [EMAIL PROTECTED] from Dell [model: Optiplex GX280] with an Intel broadcom(r) NIC. I installed fedora core 2 by replacing the windows partition, which installed painlessly. However, I am unable to "see" eth0 via a /sbin/ifconfig eth0 (I get a m

Re: accessing email via POP3

2004-12-01 Thread Karthik Vishwanath Adv03
Thanks for all responses -- Ray, I had removed a couple of comments from the pasted .fetchmailrc in the email composer. Hence the discrepancy about line number errors. :-? Following Amin's advice I tried to run fetchmail from the cmd-line and I could'nt authenticate myself (I am 100% sure about ke

accessing email via POP3

2004-11-30 Thread Karthik Vishwanath Adv03
Hello, I receive mail on this account that can be accessed via POP3. I used to use fetchmail as my mail-fetcher on an old machine to do this. I am trying to do the same from another machine that runs Redhat 9 (Linux 2.4.20-8) and seems like I cannot decipher how exactly to do this (perusing the fe

zero-sized /dev/dsp after forced shutdown

2004-10-19 Thread Karthik Vishwanath
Hello, Experimenting with xmms-plugins on a debian (sid) machine running 2.4.18 on an athlon 2100 chip caused the machine to hang within X while xmms was running. I had to resort to rebooting the machine after logging in remotely. After the machine rebooted, I am unable to hear audio. I am able to

debugging a Segmentation fault

2004-10-06 Thread Karthik Vishwanath
Hello, I develop a monte-carlo code written in standard C. I recently decided to "add features" to the previous stable version and now the code aborts with a Segmentation fault. I suspect the code is executing different parts of the code before crashing, on different runs (and therefore crashing a

Re: playing ogg files with xmms

2004-09-22 Thread Karthik Vishwanath
On Wed, 22 Sep 2004, at 5:13pm, Ray Olszewski wrote: > At 05:08 PM 9/22/2004 -0400, Karthik Vishwanath wrote: > >I am unable to play ogg-vorbis encoded files under xmms. mp3s are fine, > >however. What must I install to be able to listen to the ogg files? > > > >System

playing ogg files with xmms

2004-09-22 Thread Karthik Vishwanath
I am unable to play ogg-vorbis encoded files under xmms. mp3s are fine, however. What must I install to be able to listen to the ogg files? System details: Athlon xp1500+ cpu, debian woody linux, kernel-2.4.18-1-k7. Thanks, -K - To unsubscribe from this list: send the line "unsubscribe lin

Re: cannot find -lncurses? [Solved]

2004-09-21 Thread Karthik Vishwanath
On Wed, 22 Sep 2004, at 1:30am, simon wrote: > hello > > Karthik Vishwanath wrote: > > - > > > > Now, I tried to apt-get install all the ncurses packages that matched > > `apt-cache search ncurses | grep ncurses` and found that ncurses-ba

cannot find -lncurses?

2004-09-21 Thread Karthik Vishwanath
Hello, I re-installed debian-woody on my machine (AMD K7 xp1500+) using the network install from a minimal CD (http://www.debian.org/CD/netinst/). The full installation (using tasksel to get everything I thought needed), apparently, went fine - no glitches. I then updated the kernel by `apt-get i

Re: messages in /var/log/

2004-08-03 Thread Karthik Vishwanath
these are in /var/log/messages. sorry for the omission. -K On Tue, 3 Aug 2004, at 10:15pm, Karthik Vishwanath wrote: > I have a whole load of entries that look like: > > Aug 3 14:48:38 gandalf -- MARK -- > Aug 3 15:08:38 gandalf -- MARK -- > ... > > > The

messages in /var/log/

2004-08-03 Thread Karthik Vishwanath
I have a whole load of entries that look like: Aug 3 14:48:38 gandalf -- MARK -- Aug 3 15:08:38 gandalf -- MARK -- ... These are repeated every 20 minutes. How can I determine where are they coming from and what they mean? Thanks, -K - To unsubscribe from this list: send the line "unsubsc

documentation for perl modules

2004-08-02 Thread Karthik Vishwanath
Hello, Is there a way I can see all the perl modules installed and the related documentation for these modules? My problem is that I don't know what Module::Name to give perldoc. All help is appreciated and apologies if this is off-topic on this list. Thanks, -K - Biol

cron job for rsync

2004-07-29 Thread Karthik Vishwanath
Hello, I was considering adding an entry in crontab for automated synchronization of files across two machines that I work on most frequently. One machine is at work, while the other at home. I used ssh-keygen so that I am able to be auto-authenicated to the machine at work from home. I want to

task management with groups

2004-06-25 Thread Karthik Vishwanath
Hello, There is a project underway in my lab which involves multiple users accessing and working on my linux box. I wanted to have a common directory where the files related to the project lived, which could be accessed by all related users. I was thinking I could achieve this via creating a group

Re: mounting vfat partitions

2004-04-26 Thread Karthik Vishwanath
changing the /etc/fstab entries to the ones you listed below, Amin, mounts the devices at boot but does not allow a user to read them. The problem persists. -K On Mon, 26 Apr 2004, at 9:26am, Amin wrote: > Karthik Vishwanath wrote: > > > /dev/hdb1 /dosd vfatdefaults &

mounting vfat partitions

2004-04-25 Thread Karthik Vishwanath
The layout of partitions on my system here looks like the following: /dev/hda1 -> vfat /dev/hdb1 -> vfat /dev/hdb2 -> ext2 /dev/hdb3 -> ext2 /dev/hdb4 -> swap /dev/hdb2 corresponds to /, and /dev/hdb3 to /home. I want to be able to mount /dev/hda1 and /dev/hdb1 as /dosc and /dosd, respectively a

Re: fixing sound

2004-04-25 Thread Karthik Vishwanath
wski wrote: > At 05:20 PM 4/25/2004 -0400, Karthik Vishwanath wrote: > [...] > > > 8. Throughout my response, I've interpreted "unable to hear audio" as > > > meaning that the system fails silently ... that is, the "cat" process runs > > >

Re: fixing sound

2004-04-25 Thread Karthik Vishwanath
On Sun, 25 Apr 2004, at 8:36am, Ray Olszewski wrote: > 1. Check (and tell us, if need be) what "lspci" reports about the sound > hardware. It's hard to troubleshoot sound with no hardware information. Heres the "relevant" info. from lspci - :00:09.0 Multimedia audio controller: Creative Lab

fixing sound

2004-04-24 Thread Karthik Vishwanath
Hello, I seem unable to get any audio out of my debian installation. The relevant lines from lsmod shows me: emu10k160812 0 ac97_codec 13428 0 [emu10k1] sound 58440 0 [emu10k1] soundcore 3972 7 [emu10k1 sound] And, I am unabl

creating an ISO image of $HOME

2004-04-23 Thread Karthik Vishwanath
Hello, I need to back up my home directory (from an account that I do not use frequently any more). I was thinking of creating an ISO image of the same. How can I do that? While here I had another question relating to backups - whats a good way/tool to incremently back up my $HOME directory (on

Re: .prn to .txt conversion = ?

2004-03-28 Thread Karthik Vishwanath
I have been able to view .prn files as postscript (.ps) using gv. Now, I do not know if .prn files are really .ps files always, but you can give that a shot. If it is a postscript file, ps2ascii or pstotext should extract text from your file. -K On Sun, 28 Mar 2004, at 5:32pm, Frank Roberts -

Re: switching to debian (... and installing the NVIDIA GeForce4)

2004-03-25 Thread Karthik Vishwanath
make is (was) installed. sh NVIDIA-Linux-x86-1.0-5336-pkg1.run --kernel-name=2.4.18-k7, did not work. So, I obtained NVIDIA-Linux-x86-1.0-4363.run from nvidia.com, and ran as: sh NVIDIA-Linux-x86-1.0-4363.run --kernel-name=2.4.18-k7, and this worked (seemingly). I set my X driver to be nvi

Re: switching to debian (... and installing the NVIDIA GeForce4)

2004-03-25 Thread Karthik Vishwanath
I tried adding/removing spaces from the Makefile and I still cannot get 'sh NVIDIA-Linux-x86-1.0-5336-pkg1.run' to function alright. I did download NVIDIA-Linux-x86-1.0-5336-pkg1.run from nvidia's website and have not installed the Debian package nvidia-kernel-source. 'uname -r' gives 2.4.18-k7

Re: switching to debian (... and installing the NVIDIA GeForce4)

2004-03-25 Thread Karthik Vishwanath
I installed the 2.4.18 source by 'apt-get install kernel-source-2.4.18', extracted the source and made a symbolic /usr/src/linux -> /usr/src/kernel-source-2.4.18/, and followed all the instructions below as is. sh NVIDIA-Linux-x86-1.0-5336-pkg1.run quits with an error. # cat /var/log/nvidia-

running X programs as another user

2004-03-25 Thread Karthik Vishwanath
Sorry for the duplicate postings (if it does get duplicated) -- my first message was not posted even after ~10 hrs. -- Along the process of trying to recompile a personalized kernel for this machine (following my previous posts and responses), I seem to be unable to run any X-based pr

Re: switching to debian (... and installing the NVIDIA GeForce4)

2004-03-22 Thread Karthik Vishwanath
Which driver(s) must I get from nvidia? I can get to their download site (nvidia.com/object/linux.html), but am unsure what I need to download. I got the latest version which gives me a file: NVIDIA-Linux-x86-1.0-5336-pkg1.run. # sh NVIDIA-Linux-x86-1.0-5336-pkg1.run quits with a series of

switching to debian (... and installing the NVIDIA GeForce4)

2004-03-22 Thread Karthik Vishwanath
Hello, I recently installed the 3.0 debian linux (on an AMD 1500 pc) and am learning the ways of debian packaging. I obtained a netinst iso, burned the image and successfully rebooted back into debian. Next, I used tasksel get all the packages that seemed relevant. Somehow I missed choosing XFree8

Re: moving partion to newer drive

2004-02-24 Thread Karthik Vishwanath
Thanks for your response, Ray. I am still not particularly clear about the /boot partition -- what exactly is it used for? I did have an older BIOS on this hard-drive a while ago, and needed the /boot partition then to dual boot. Now, if my BIOS can "see" all of /dev/hdb then its not necessary for

moving partion to newer drive

2004-02-24 Thread Karthik Vishwanath
Hello, I have a dual-boot system (with windows-98 and redhat 7.3) setup on an old hard disk. I recently obtained a new hard drive and have their order configured such that the old drive is /dev/hda and the new one is /dev/hdb. The partitions on /dev/hda are as follows: /dev/hda1 * 1

failed scp with fortune

2004-02-11 Thread Karthik Vishwanath
Hello, scp fails to get files from a remote machine when the .bashrc in the remote machine runs /usr/games/fortune (or even just a plain echo). How can I fix this without removing the "offending" line from the .bashrc file? Thanks, -K - By the time you get to the point w

accessing USB memory stick

2004-02-04 Thread Karthik Vishwanath
Hello, How do I mount a usb memory stick? I do see something connected to usb on the output mount (I am running Redhat 9): $ mount | grep usb usbdevfs on /proc/bus/usb type usbdevfs (rw) On plugging the device into the machine and looking at dmesg, shows me stuff (which I think is connected to p

xset errors

2004-01-09 Thread Karthik Vishwanath
After I ssh -X into a remote machine and try to run mathematica, I get a bunch of errors: --- xset: bad font path element (#64), possible causes are: Directory does not exist or has wrong permissions Directory missing fonts.dir Incorrect font server address or syntax --- I assume t

sharing X displays

2003-12-11 Thread Karthik Vishwanath
Hello, On trying to run xcdroast (or any program that requires X display) after su'ing in as root, I get the following error: --- [root @gandalf karthik]$ xcdroast Xlib: connection to ":0.0" refused by server Xlib: Invalid MIT-MAGIC-COOKIE-1 key Gtk-WARNING **: cannot open display: :0.0 ---

multiple X sessions

2003-12-08 Thread Karthik Vishwanath
Hello, Could someone point out how I could setup my machine so that a second user may log in to the machine and run a 'startx' even though the first user is logged in and has an active X session running, without killing the first user's X session? Thanks, -K - To unsubscribe from this list: s

Re: ftp

2002-05-27 Thread Karthik Vishwanath
try gftp, has a gui and options for sub-directory tranfers. Alternatively, ncftp is another great non-gui ftp client. -K On Mon, 27 May 2002, Azie Jamilah wrote: > Hi, > > I just wanna know if I can download or upload a whole directory using > ftp. I know I can do it using some of Windows so