Re: aterm, rxvt -- memory usage
On Wed, Apr 23, 2008 at 12:28 AM, Jim Razmus <[EMAIL PROTECTED]> wrote: > man 1 uxterm > > I don't know about the background manipulation, but you can get at > unicode with it. Yeah I know about uxterm. I was planing to ditch xterm and use something lighter on memory (though am not quiter sure if urxvt is lighter). Am using rxvt now. -Arun
Re: aterm, rxvt -- memory usage
On Mon, Apr 21, 2008 at 11:44 PM, Claer <[EMAIL PROTECTED]> wrote: > I personnaly use unicode rxvt. It's a clone of rxvt that comes with > unicode (oh surprising) and with client/server mode to reduce memory > usage when you have serveral terms like I used to have. > > urxvt is also one of the rare terms out there with transparency and > whitening the background and not darkening it. Hi, I where can I find urxvt for openbsd ? I can't seem to find it in ports. Am using 4.2. -Arun -- ...Keep Smiling...
unable to play VCD's with mplayer
Hi, Am unable to play VCD's with mplayer. Am running a recent snapshot on my laptop. I had the same problem with 4.0 . $ sudo mplayer vcd://1//dev/rcd0c Password: MPlayer 1.0pre8-3.3.5 (C) 2000-2006 MPlayer Team CPU: Intel(R) Pentium(R) M processor 1.70GHz (Family: 6, Model: 13, Stepping: 6) CPUflags: MMX: 1 MMX2: 1 3DNow: 0 3DNow2: 0 SSE: 1 SSE2: 1 Compiled with runtime CPU detection. Playing vcd://1//dev/rcd0c. track 01: adr=1 ctrl=4 format=2 00:02:00 track 02: adr=1 ctrl=4 format=2 00:20:00 scsi command failed: status 3 error 0 scsi command failed: status 3 error 0 scsi command failed: status 3 error 0 scsi command failed: status 3 error 0 scsi command failed: status 3 error 0 [snip] Exiting... (End of file) $ sudo mplayer vcd://1 MPlayer 1.0pre8-3.3.5 (C) 2000-2006 MPlayer Team CPU: Intel(R) Pentium(R) M processor 1.70GHz (Family: 6, Model: 13, Stepping: 6) CPUflags: MMX: 1 MMX2: 1 3DNow: 0 3DNow2: 0 SSE: 1 SSE2: 1 Compiled with runtime CPU detection. Playing vcd://1. track 01: adr=1 ctrl=4 format=2 00:02:00 track 02: adr=1 ctrl=4 format=2 00:20:00 SCIOCCOMMAND: Inappropriate ioctl for device SCIOCCOMMAND: Inappropriate ioctl for device SCIOCCOMMAND: Inappropriate ioctl for device [snip] Exiting... (End of file) Tried playing the files after mounting the VCD. $ cd /mnt/cdrom/ $ ls cd AUTORUN.INF*MPEGAV/ VCD/ EXT/SEGMENT/VCD_PLAY.EXE* $ cd MPEGAV/ $ ls AVSEQ01.DAT* $ mplayer AVSEQ01.DAT MPlayer 1.0pre8-3.3.5 (C) 2000-2006 MPlayer Team CPU: Intel(R) Pentium(R) M processor 1.70GHz (Family: 6, Model: 13, Stepping: 6) CPUflags: MMX: 1 MMX2: 1 3DNow: 0 3DNow2: 0 SSE: 1 SSE2: 1 Compiled with runtime CPU detection. Playing AVSEQ01.DAT. Seek failed Exiting... (End of file) Any ideas, what the problem might be ? TIA -Arun
Re: weird C program output
Thanx for the replies. Yeah, its pointing to itself. x=2, *ptr=2, ptr=0xbfbfece0, &x=0xbfbfece0, &ptr=0xbfbfece4 x=2, *ptr=-1077941020, ptr=0xbfbfece4, &x=0xbfbfece0, &ptr=0xbfbfece4 x=2, *ptr=750764012, ptr=0xbfbfece5, &x=0xbfbfece0, &ptr=0xbfbfece4 Thanx once again. -Arun On 12/24/06, Otto Moerbeek <[EMAIL PROTECTED]> wrote: > > > On Sun, 24 Dec 2006, Arun G Nair wrote: > > > Hi, > > > > Am a bit confused by the output of the this C program: > > > > -ptr.c--- > > #include > > > > int > > main() > > { > > int *ptr, x; > > > > x = 2; > > ptr = &x; > > > > printf("x=%d, *ptr=%d, ptr=%p, &x=%p\n", x, *ptr, ptr, &x); > > > > *ptr++; > > printf("x=%d, *ptr=%d, ptr=%p, &x=%p\n", x, *ptr, ptr, &x); > > > > ++(*ptr); > > printf("x=%d, *ptr=%d, ptr=%p, &x=%p\n", x, *ptr, ptr, &x); > > > > return 0; > > } > > > > > -- > > > > The output I get is this: > > > > $ ./a.out > > x=2, *ptr=2, ptr=0xbfbfece0, &x=0xbfbfece0 > > x=2, *ptr=-1077941020, ptr=0xbfbfece4, &x=0xbfbfece0 > > x=2, *ptr=750764012, ptr=0xbfbfece5, &x=0xbfbfece0 > > > --- > > > > If ++(*ptr) is supposed to increment the value *ptr, then why is there a > > change in memory address (0xbfbfece5) ? > > > > > > Any ideas ? I know that am referring someone else's memory, but still.. > > Likely ptr is pointing at itself after the *ptr++; > > -Otto > -- ...Keep Smiling...
weird C program output
Hi, Am a bit confused by the output of the this C program: -ptr.c--- #include int main() { int *ptr, x; x = 2; ptr = &x; printf("x=%d, *ptr=%d, ptr=%p, &x=%p\n", x, *ptr, ptr, &x); *ptr++; printf("x=%d, *ptr=%d, ptr=%p, &x=%p\n", x, *ptr, ptr, &x); ++(*ptr); printf("x=%d, *ptr=%d, ptr=%p, &x=%p\n", x, *ptr, ptr, &x); return 0; } -- The output I get is this: $ ./a.out x=2, *ptr=2, ptr=0xbfbfece0, &x=0xbfbfece0 x=2, *ptr=-1077941020, ptr=0xbfbfece4, &x=0xbfbfece0 x=2, *ptr=750764012, ptr=0xbfbfece5, &x=0xbfbfece0 --- If ++(*ptr) is supposed to increment the value *ptr, then why is there a change in memory address (0xbfbfece5) ? Any ideas ? I know that am referring someone else's memory, but still.. -Arun