Re: Horrible atheros wifi performance

2011-07-31 Thread Rob Gom
On Fri, Jul 29, 2011 at 11:31 PM, Brian a...@cityscape.co.uk wrote:
 On Thu 28 Jul 2011 at 21:40:20 +0200, Rob Gom wrote:

 Hi all,
 could you help me analyzing my wifi issue? I have atheros card and
 internet access is very flaky, slow, unreliable, ping to wifi router
 drops, things like that. When I connect my PC by external access
 point, located in the same place and connected by ethernet to PC,
 performance improves significantly.

 [Details of problem solving snipped]

 I am not an wifi expert, so have no idea what to do next. I would
 appreciate any suggestions.

 Neither am I. Assuming it is a driver issue I'd revert to using a kernel
 earlier than 2.6.39 permanently. You indicate you did go back to 2.6.38,
 but for how long? And did it work?



Thank you for your answer.
I've tried 2.6.38, but tests were too quick and unreliable to judge
that. I would be much more eager to test that further, but on 2.6.38 I
have older nvidia plugin which doesn't work with current nvidia glx.
So without X I am not much into using that version ... I'm not good at
with nvidia version switching, so that must wait ...

Best regards,
Robert


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Archive: 
http://lists.debian.org/CANcH-hgnEdj5v5+QBWdW-ON=v4RM6fFF+S7psAxBMd_S=qt...@mail.gmail.com



Horrible atheros wifi performance

2011-07-28 Thread Rob Gom
Hi all,
could you help me analyzing my wifi issue? I have atheros card and
internet access is very flaky, slow, unreliable, ping to wifi router
drops, things like that. When I connect my PC by external access
point, located in the same place and connected by ethernet to PC,
performance improves significantly.

Details:
- problem started appearing about 2.6.39, persists on 3.0
- I've found network articles about wifi performance on atheros in
2.6.38, which is supposedly fixed now on 2.6.38+
- I've tries compat wireless, but to no avail (no difference)
- I've tried disabling wifi card power management, but to no avail
- I've tried to add nohwcrypt to ath9k kernel module, but to no avail
- I've tried to switch to 2.6.38 for a while, but right after switch
to 2.6.38 and reboot to 2.6.39 performance was ok. I mean -
performance was ok for some minutes after reboot, then degraded after
probably power off-on cycle. In effect I have no conclusions from that
experiment.
- my home router is Linksys WRT54GC, not the best one, but causing no
problems for access point or some other machines (with broadcom wifi
cards)

I am not an wifi expert, so have no idea what to do next. I would
appreciate any suggestions.

[carramba@~]$ uname -a
Linux dom 3.0.0-1-686-pae #1 SMP Sun Jul 24 14:27:32 UTC 2011 i686 GNU/Linux

[carramba@~]$ lspci | grep Network
04:00.0 Network controller: Atheros Communications Inc. AR928X
Wireless Network Adapter (PCI-Express) (rev 01)

[carramba@~]$ sudo iwconfig wlan1
[sudo] password for carramba:
wlan1 IEEE 802.11bgn  ESSID:off/any
  Mode:Managed  Frequency:2.422 GHz  Access Point: Not-Associated
  Tx-Power=17 dBm
  Retry  long limit:7   RTS thr:off   Fragment thr:off
  Encryption key:off
  Power Management:off
# currently using eth

[carramba@~]$ lsmod | grep ath
ath9k  67270  0
mac80211  165768  1 ath9k
ath9k_common   12610  1 ath9k
ath9k_hw  250420  2 ath9k,ath9k_common
ath17181  2 ath9k,ath9k_hw
cfg80211  112970  3 ath9k,mac80211,ath


I've found no Debian bugs on that, only similar RedHat bug:
https://bugzilla.redhat.com/show_bug.cgi?id=700973 (other bugs
referred to 2.6.38 regression, mentioned above).

Home network structure:
PC with atheros card --- Linksys WRT54GC router -- internet
or
PC ethernet --- TP Linkx WA500 or similar -- Linksys WRT54GC
router -- internet

Best regards,
Robert


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Archive: 
http://lists.debian.org/canch-hh_uf-bo441f5zsx303v_95ceq275wrcwondnbpgfn...@mail.gmail.com



Annoying sound speakers clicks on laptop

2011-04-12 Thread Rob Gom
Dear Lazyweb^wDebian users,
I have specific sound problem, which I don't know how to address. The
problem manifests itself by clicking sound from my laptop speakers,
looking (hearing) as turning on old amplifier or just (re-/dis-)
connecting the cables.
It started a few months ago. I don't know - was it KDE upgrade,
something with acpi, or something else.
It looks like that: I start kdm, first clicks appear as well. After
entering password they can be heard about 4 times. Then the most
reproducible way of hearing them is to view some sites with embedded
youtube clips.
Logs contain no useful information, but the problem is starting to be
more and more annoying.
Where should I look further? Is it something known? Do you have any
clues, or even better, solutions to that?

Best regards,
Robert


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Archive: 
http://lists.debian.org/banlktin0a1h76anh2wgeoevwck2lzrx...@mail.gmail.com



Re: Annoying sound speakers clicks on laptop

2011-04-12 Thread Rob Gom
On Tue, Apr 12, 2011 at 9:27 PM, Hans-J. Ullrich hans.ullr...@loop.de wrote:
 Am Dienstag, 12. April 2011 schrieb Rob Gom:
 Dear Lazyweb^wDebian users,
 I have specific sound problem, which I don't know how to address. The
 problem manifests itself by clicking sound from my laptop speakers,
 looking (hearing) as turning on old amplifier or just (re-/dis-)
 connecting the cables.
 It started a few months ago. I don't know - was it KDE upgrade,
 something with acpi, or something else.
 It looks like that: I start kdm, first clicks appear as well. After
 entering password they can be heard about 4 times. Then the most
 reproducible way of hearing them is to view some sites with embedded
 youtube clips.
 Logs contain no useful information, but the problem is starting to be
 more and more annoying.
 Where should I look further? Is it something known? Do you have any
 clues, or even better, solutions to that?

 Best regards,
 Robert

 Hi Robert,

 a workaround is, just to silence the speaker. You can use alsamixer for it in
 console and adjust the speaker - or just shut it off.

 Maybe there is a better solution, so this is just a workaround.

 Another idea might be, to blacklist the kernel module pcspkr.

 Good luck!

 Hans


Thank you for your reply, however:
1. I don't have pcspkr module loaded.
2. I'm quite sure that those clicks are audible even if I mute sound
in kde mixer :(

Thanks nevertheless,
Robert


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Archive: 
http://lists.debian.org/banlktinlcf8d6n28aadu+r4ta3eyu6m...@mail.gmail.com



Re: Graphical diff/patch viewer

2010-11-08 Thread Rob Gom
[cut]

 I'd be very interested in seeing a case where kompare displays a valid patch
 incorrectly.
 --
 Boyd Stephen Smith Jr.                   ,= ,-_-. =.

FYI,
https://bugs.kde.org/show_bug.cgi?id=256355

Regards,
Robert


--
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Archive: 
http://lists.debian.org/aanlktinpkmivndhgp0hka=iryoxbfh16+rzoqvres...@mail.gmail.com



Re: Graphical diff/patch viewer

2010-11-04 Thread Rob Gom
On Wed, Nov 3, 2010 at 11:00 AM, Javier Barroso javibarr...@gmail.com wrote:
[cut]
 Apply the patch in a tmp directory and then use meld, vimdiff, or what you 
 like


Why should I do such operation? Only to satisfy some tools? I don't
need/want to apply huge patches to huge source trees. I want to
preview them separately. It is possible with kompare, so is possible
in general.

 I don't see the point of viewing a patch side-by-side, understanding
 the format should be enough


It's a matter of personal preferences. I prefer viewing patches that
way, I find it more convenient.

Regards,
Robert


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Archive: 
http://lists.debian.org/aanlkti=u+okzojdznnxfrcko-nclz=kh6e4v4c-h7...@mail.gmail.com



Re: Graphical diff/patch viewer

2010-11-04 Thread Rob Gom
On Wed, Nov 3, 2010 at 7:27 PM, Boyd Stephen Smith Jr.
b...@iguanasuicide.net wrote:
 In aanlktiky2svhgrazz1w1r4thmclo6493r5e7mwgo+...@mail.gmail.com, Rob Gom
 wrote:
There is kompare for KDE, but it is unreliable - produces false
results for specific patches.

 Odd.  I use it all the time and haven't seen it be inconsistent.  It fails
 indicate files have changed when git uses Binary files a and b differ. as
 the patch text, but it shows all the other changes.  There are some Kompare
 options that you may want to set/clear though.

 I'd be very interested in seeing a case where kompare displays a valid patch
 incorrectly.

Thanks for the answer.
1. There's an open bug against kompare about saying this patch is
incorrect for perfectly fine patches (kde bugs).
2. My bug occurs for patches with several directories/files modified.
Some example. For patch containing modifications for the following
files:
a/b/c/d.txt
a/b/c/e.txt
a/b/c/f.txt
a/g/h/i.txt
a/g/h/j.txt
a/g/h/k.txt

Kompare would create the following directory graph:
a
  g
c
  d.txt
  e.txt
  f.txt
 h
   i.txt
   j.txt
   k.txt

instead of expected
a
  b
c
  d.txt
  e.txt
  f.txt
  g
 h
   i.txt
   j.txt
   k.txt

Some parts of directory tree are put in invalid places.

I will try to report a bug, but for that I must recreate working
example, which may take a while.

Regards,
Robert


--
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Archive: 
http://lists.debian.org/aanlktikccoaj63v1dl-qjcjÉ8_0qhg2kjjag4os...@mail.gmail.com



Re: Graphical diff/patch viewer

2010-11-04 Thread Rob Gom
On Wed, Nov 3, 2010 at 2:00 PM, Jochen Schulz m...@well-adjusted.de wrote:
 Rob Gom:

 do you know/is there any graphical patch/diff viewer in Debian (or for
 Linux in general)? Such a tool would produce side by side view of
 changes/deletions/inserts.

 Apart from vimdiff: have you tried Kdiff3?

[cut]
Can't preview a diff with kdiff3. Is there an option to do that?

Regards,
Robert


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Archive: 
http://lists.debian.org/aanlktimso5r_x+whdqdvx22nrdswoq29j0zhvirb=...@mail.gmail.com



Re: Graphical diff/patch viewer

2010-11-04 Thread Rob Gom
[cut]

 You have to be comfortable in vim, but you can use the following:

 gvim +vert diffpatch patchfile originalfile

 If you aren't comfortable with vim, you *might* be able to use the
 following, but no guarantees (I don't have a patch file handy to determine
 whether this will work):

 gvim -y +vert diffpatch patchfile originalfile

 Regards,
 Robert
 --Greg

Those are big patches, consisting of several files/directories. Would
gvim handle that? But still I need an original file, which I perceive
as downside.

Regards,
Robert


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Archive: 
http://lists.debian.org/aanlkti=s_zd_irrguqenp9wk4jrnl5mywrkxzxz8t...@mail.gmail.com



Re: Graphical diff/patch viewer

2010-11-04 Thread Rob Gom
On Thu, Nov 4, 2010 at 1:37 PM, Gregory Seidman
gsslist+deb...@anthropohedron.net wrote:
[cut]

 Also, of course you need an original file. If you don't have an original
 file there is nothing to look at other than the patch file itself. What
 is there to visualize without an original?

 Regards,
 Robert
 --Greg

The same story as when looking at patch/diff itself.
Sometimes you want to focus on differences, context is given by diff (-u).
That's enough for me to review a patch in most cases.

Regards,
Robert


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Archive: 
http://lists.debian.org/aanlktiknrogm+q_vyxt-cpurpdrdewyqkcb9zt2hq...@mail.gmail.com



Locales/sort bug

2010-11-04 Thread Rob Gom
Hi all,
do you think it's a bug in either libc or coreutils (sort)?

$ cat test.csv
aph3,APP,
aph3_devel,TXT,
aph3,MiB,

$ LC_ALL=C sort test.csv # expected
aph3,APP,
aph3,MiB,
aph3_devel,TXT,

$ LC_ALL=pl_PL sort test.csv  # why is that?
aph3,APP,
aph3_devel,TXT,
aph3,MiB,

$ LC_ALL=pl_PL.UTF-8 sort test.csv # another unexpected output
aph3,APP,
aph3_devel,TXT,
aph3,MiB,

Could anyone give me a hint? I know that this is LC_COLLATE related
(LC_ALL as shorter version), but don't know whether it is my fault or
upstream bug.

I'd appreciate any comments.

Regards,
Robert


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Archive: 
http://lists.debian.org/aanlktimst_3jnpkwahyv81c4=a07udqo5unndm47h...@mail.gmail.com



Re: Locales/sort bug

2010-11-04 Thread Rob Gom
[cut]

 I'm also getting that behaviour (locale set to es_ES.UTF-8) so I
 understand that my locale setting dictates underscore (_) comes first
 than comma (,) symbol.

 As per man sort page:

 *** WARNING *** The locale specified by the environment affects sort
 order. Set LC_ALL=C to get the traditional sort order that uses native
 byte values.

 Do you think that is a bug? :-?

 Greetings,

 --
 Camaleón

If so, why do I get order comma, underscore, comma? Even better,
comma+quote+A, underscore+d,comma+quote+M. I don't get it...

Regards,
Robert


--
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Archive: 
http://lists.debian.org/aanlkti=vm8um=jxkzigysytyzd97f39ysynofbhhc...@mail.gmail.com



Re: Locales/sort bug

2010-11-04 Thread Rob Gom
[cut]

 This is covered by the coreutils FAQ:
 http://www.gnu.org/software/coreutils/faq/coreutils-faq.html#Sort-does-not-sort-in-normal-order_0021

 Sven

Thanks for all the answers.

How could I know that collate is defined correctly? I understand
LC_COLLATE influence on sort operation, but I am not sure if this is
ok.
The simpliest example which causes weird behaviour is:

$ cat test2.csv
,A
_d
,M


$ LC_ALL=pl_PL sort test2.csv # and many other LC_COLLATE variants,
other than C/POSIX
,A
_d
,M

In order to achieve such behaviour, ',' should be defined as single
entity in collate definition, equal in ordering to '_'. I don't have
other explanation for that. Unfortunately, I am not good enough to
understand/verify collate definition in /usr/share/i18n :)

Regards,
Robert


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Archive: 
http://lists.debian.org/aanlktik3fubmr0oclochjcosyqwhcahgsjvohtfrj...@mail.gmail.com



Re: Locales/sort bug

2010-11-04 Thread Rob Gom
One more thing.
If I specify LC_COLLATE to C/POSIX, special characters sorting looks
fine, but I lose Polish characters ordering.
If I specify LC_COLLATE to pl_PL.UTF-8, Polish characters ordering is
fine, but sorting goes crazy with special characters.
Is it possible to retain both features then?

carra...@laptop-rg:/tmp$ cat test2.csv
,A
_d
,M
a
ą
b
ż
ć
z
carra...@laptop-rg:/tmp$ LC_ALL=POSIX sort test2.csv
,A
,M
_d
a
b
z
ą
ć
ż

# above - correct special characters, Polish in wrong order

carra...@laptop-rg:/tmp$ LC_ALL=pl_PL.UTF-8 sort test2.csv
a
,A
ą
b
ć
_d
,M
z
ż

# above - correct Polish characters order, incorrect special characters

Feel free to replace 'correct' with 'expected' in my posts, I'm just
trying to understand what's under the hood.

Regards,
Robert


--
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Archive: 
http://lists.debian.org/aanlkti=pu2np+filsqx6vcjj32sqnyajqpopqw33v...@mail.gmail.com



Re: Locales/sort bug

2010-11-04 Thread Rob Gom
I have some form of workaround.
When I know sort field separator (which was the case in my original
example), I can use that to overcome the limitations with:

$ LC_ALL=pl_PL.UTF-8 sort -k1,1 -t',' test.csv
aph3,APP,
aph3,MiB,
aph3_devel,TXT,
# everything fine

$ LC_ALL=pl_PL.UTF-8 sort test.csv
aph3,APP,
aph3_devel,TXT,
aph3,MiB,
# previous results, unexpected

My conclusion for now would be:
- if you don't know field separator
-- if there are only ASCII characters - use POSIX collate
-- if there are different characters (i18n) - don't have solution
- if you know field separator
-- specify it in sort command

Regards,
Robert


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Archive: 
http://lists.debian.org/aanlktinloxdzj9hdafvbcq8++j5v0jecf5wkhksy4...@mail.gmail.com



Graphical diff/patch viewer

2010-11-03 Thread Rob Gom
Hi all,
do you know/is there any graphical patch/diff viewer in Debian (or for
Linux in general)? Such a tool would produce side by side view of
changes/deletions/inserts.
There is kompare for KDE, but it is unreliable - produces false
results for specific patches (bug not reported yet, as I have to
reproduce it with something I can make
public). To be honest, I have looked at meld, beyond compare, diffuse,
xxdiff, tkdiff and found nothing appropriate.
Do you know anything else? Have I missed anything?

Regards,
Robert


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Archive: 
http://lists.debian.org/aanlktiky2svhgrazz1w1r4thmclo6493r5e7mwgo+...@mail.gmail.com



Re: Graphical diff/patch viewer

2010-11-03 Thread Rob Gom
On Wed, Nov 3, 2010 at 9:20 AM, Volkan YAZICI yazic...@ttmail.com wrote:
 On Wed, 3 Nov 2010, Rob Gom rgom.deb...@gmail.com writes:
 do you know/is there any graphical patch/diff viewer in Debian (or for
 Linux in general)? Such a tool would produce side by side view of
 changes/deletions/inserts.
 There is kompare for KDE, but it is unreliable - produces false
 results for specific patches (bug not reported yet, as I have to
 reproduce it with something I can make
 public). To be honest, I have looked at meld, beyond compare, diffuse,
 xxdiff, tkdiff and found nothing appropriate.

 Not appropriate in what sense?


I want to preview a patch, not compare directory/file contents. The
tools above can't load a patch and display it, unless
I missed something obvious.

I'm afraid that Eclipse would be too big for such purpose, but taking
into consideration its feature richness and flexibility,
I would give it a chance.

Thanks for the answer,
Robert


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Archive: 
http://lists.debian.org/aanlktiknocfs5l-qzziywtarasa=fv5lzr7fwycq7...@mail.gmail.com



Can't write dual layer DVD

2010-08-10 Thread Rob Gom
Hi all,
I use Debian system with KDE3, only partially updated to SID
(originally SID based, two years ago), with kernel 2.6.32. I can write
single layer DVDs with no problems (using k3b).
When trying to record dual layer, my drive starts humming (disc
rotating at high speed), then after few minutes k3b reports I/O
problem (in record preparation stage).
Then /var/log/dmesg contains some messages like HAL timed out waiting
120s and some kernel callstacks.

I'm not currently at this computer, but I'm seeking for an advice
where to look further. How to check if that's hw issue (drive,
motherboard ...), kernel or userspace problem.

Could you share any hints with me?

Regards,
Robert


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Archive: 
http://lists.debian.org/aanlktikbftw-gmn-d_i6h9mo_d=zrj855ehb5b+fr...@mail.gmail.com



[Hint] Antialiasing fonts for tcl/tk applications

2010-01-04 Thread Rob Gom
Hi there,
posting in case not everybody knows. Previously fonts in Tk
applications were ... let's say, ugly (not antialiased). It appears
that it's changed - on tk8.5 they look much better (antialiasing is
enabled).
In order to take advantage of that, one has to:
1. change wish alternative (update-alternatives --config wish) to
wish8.5 (install beforehand)
2. set appropriate (ttf? in my case verdana) font in your application
config files
3. fix remaining issues

Currently I use tkcvs, which is much better than before and gpsman, in
which I had to change manually wish8.x invocations to wish (bug report
filled, although no maintainer reaction).

You can drop a comment if you wish, I just wanted to share my little tip.

Regards,
Robert


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org



Re: binary grep

2009-09-19 Thread Rob Gom
Hello,
thanks for your suggestions. I'm afraid grep was designed as text-oriented tool.
I'm not sure how it will handle CR and/or LF characters when matching
pattern. IIRC grep has no multiline patterns, so it could basically
fail.
I guess it would suit 95% of my needs, I'm just trying to anticipate
potential caveats.
What about matching bytes values? Will grep accept syntax like \x55\x3a\xff\x10?

Regards,
Rob


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org



binary grep

2009-09-18 Thread Rob Gom
Hello,
are you aware of a tool, which would allow me to search for given
pattern in a binary file, then at least output file position (so that
I could pass the number to dd) or output next few bytes?
For text files I use e.g .grep (grep -A 3 file pattern to output 3
lines after match). I would like to output e.g. 13 bytes after binary
match.
Dd is fine when I know the position, so I can use skip option. But how
to know the position?
The pattern could be either fixed bytes or even regular expression, if
that's possible.

Regards,
Robert


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org



Can't write iso image to cd [2.6.30]

2009-09-16 Thread Rob Gom
Hi there,
I can't write iso image to blank cd under Linux. Under windows xp the
same works fine.
I tried:
a) k3b with wodim (Debian default)
b) k3b with upstream cdrtools
c) brasero (uses wodim by default)
d) upstream cdrecord from command line

I have the following dvd writer:
~# hdparm -i /dev/sr0
/dev/sr0:
Model=HL-DT-ST DVD+/-RW GH50N , FwRev=B102,
SerialNo=K3997G74144
(upgraded fw from B101 when it failed)

End of the cdrecord log:
Disk type:Short strategy type (Phthalocyanine or similar)
Manuf. index: 69
Manufacturer: Moser Baer India Limited
Manufacturer is guessed because of the orange forum embargo.
The orange forum likes to get money for recent information.
The information for this media may not be correct.

Capacity  Blklen/Sparesz.  Format-type  Type
   0 2048 0x00  No Media Present or Unknown Capacity
Blocks total: 359849 Blocks current: 359849 Blocks remaining: 334298
Starting to write CD/DVD/BD at speed 48 in real SAO mode for single session.
Last chance to quit, starting real write0 seconds. Operation starts.
Waiting for reader process to fill input buffer ... input buffer ready.
BURN-Free is OFF.
Turning BURN-Free on
Performing OPC...
Sending CUE sheet...
/opt/cdrtools-orig/bin/cdrecord: WARNING: Drive returns wrong startsec
(0) using -150
Writing pregap for track 1 at -150
Starting new track at sector: 0
Track 01:0 of   49 MB written./opt/cdrtools-orig/bin/cdrecord:
Input/output error. write_g1: scsi sendcmd: no error
CDB:  2A 00 00 00 01 17 00 00 1F 00
status: 0x2 (CHECK CONDITION)
Sense Bytes: 70 00 05 00 00 00 00 0A 2A 00 00 80 30 05 00 00
Sense Key: 0x5 Illegal Request, Segment 0
Sense Code: 0x30 Qual 0x05 (cannot write medium - incompatible format) Fru 0x0
Sense flags: Blk 0 (not valid)
cmd finished after 0.003s timeout 200s

write track data: error after 571392 bytes
/opt/cdrtools-orig/bin/cdrecord: A write error occured.
/opt/cdrtools-orig/bin/cdrecord: Please properly read the error message above.
Writing  time:   24.405s
Average write speed  14.0x.
Fixating...
Fixating time:0.004s
/opt/cdrtools-orig/bin/cdrecord: fifo had 73 puts and 10 gets.
/opt/cdrtools-orig/bin/cdrecord: fifo was 0 times empty and 3 times
full, min fill was 93%.



I have also tried disabling hal and had no luck.
I have searched web extensively. Found magnitude of threads, concluding:
- user error
- wodim errors, suggesting using cdrtools instead
- kernel regression (2.6.29-2.6.30, however reporter didn't say enough)

What else can I do? I can wait for 2.6.31 and see if it helps. But I
would like not to waste too much cds ...

Regards,
Robert


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org



Re: Can't write iso image to cd [2.6.30]

2009-09-16 Thread Rob Gom
Those are brand CDs (TDK), not causing any problems elsewhere.
Regards,
Robert


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org



Resource management scheduling tool recomendation

2009-09-12 Thread Rob Gom
Hi there,
there is single PC. PC is used for testing. It tests external devices.
Test requires:
- external device to be tested
- test to be executed
- one or more PCI boards

Currently it is done like that:
#!/bin/bash
test.sh test_01 device_01
test.sh test_02 device_01
test.sh test_03 device_01
test.sh test_01 device_02
test.sh test_02 device_02
[...]

(Test itself knows how many boards does it need)

It is suboptimal, as some tests utilize only one board and other
tests, which could utilize another board(s) are simply waiting for
test to finish.

I would like to do it another way instead:
- [BEGIN] insert tests into pool
- [UNTIL END] choose from pool test, which can be run now (device and
PCI boards required are not occupied) and run it, then release board
and device

I could automate it using some locking scheme (flock or something),
but maybe there's something simplier. A tool, which would allow me to
define resources and tasks, and then take care of executing them.
I have just noticed gridengine, but it seems to be too heavy for that
purpose. Would you recommend anything else?

Regards,
Robert


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org



Re: Fetchmail and Gmail

2009-08-24 Thread Rob Gom
On Sun, Aug 23, 2009 at 9:30 PM, Ron Johnsonron.l.john...@cox.net wrote:
 On 2009-08-23 14:09, Rob Gom wrote:

 Hi all,
 could anyone explain to me why fetchmail is needed in the first place?

 Now *this* is an excellent flame!

Why do you consider my opinion as flamewar, whereas I only expect some
simple answers?


 From user's point of view it is something additional. Instead of
 configuring mail setup in single place (MUA, mail program), one has to
 set it up both in MUA (retrieve mail from local mail box) and
 fetchmail configuration file.

 It's not that difficult.  Really.

In my (ordinary user) opinion configuring mail program from its gui
and text file somewhere in the filesystem is more difficult than
editing only one place. And, believe me or not, there are people who
prefer graphical interfaces for some tasks, finding them more
convenient than command line.


                               The latter (IMHO) has very limited
 functionality of password encryption handling,

 Sure it doess, with POPS.

Maybe I haven't been understood well. My mail provider gives me a
password. In mail program I add it to some wallet or let mail program
to encrypt it after setting up. If I want to use fetchmail, I have to
write it there in plain text (correct me if I'm wrong), which is not
what I like doing.


                                                no gui integration

 Boo fscking hoo.

I beg your pardon?


                                                                   - it
 is needed to launch text editor to edit specific file...

 Again, boo fscking hoo.

 Does this setup have any advantages?

 Yes, it does, since it fetches your mail *for you* from your ISP's POP
 server, and can send it to an MTA, which passes it thru SpamAssassin and
 then an MDA, which then filters your email into separate folders depending
 on topic or sender.


So? Where's the advantage? My mail program fetches mail *for me* from
my ISP's POP server, passes it thru any filter (let it be
spamassassin), then writes it to separate folders depending on
basically anything. Fetchmail, MTA, MDA avoided, whereas the same
purpose achieved. Easier.

 Another benefit: for the longest time, ISPs had very small mailbox sizes,
 and some still do.  fetchmail/getmail running in daemon mode or through cron
 every X minutes will keep your ISP mailbox relatively empty, even if you go
 away on vacation.

Only if my computer (desktop) stays powered on all the time which is
not the case. And mailboxes are big enough.


                                     It is counterintuitive

 Remember, *ix is both a desktop and serve at the same time.  Thus, break out
 of your Windows Mentality.


It seems that you strongly believe in that. Please, don't
underestimate others technical knowledge. I am able to set up
fetchmail et al, but I don't find it necessary nor logical. Let the
engine be complicated as hell (fetchmail, MUA, MTA, MDA, spamassassin,
others), but also let user only touch the steering wheel and ignition
button.

                                                            and non
 ergonomic, isn't it?

 Ergonomics has nothing to with fetchmail.


But it has something to do with setting up your working environment.

 Unless automatically fetching mail so that you don't have to is considered
 ergonomic.


The above makes no sense to me, sorry.

 Are there any mail programs which allow seamless integration with
 fetchmail/getmail?

 All MTAs and MDAs, and Maildir, seamlessly integrate with fetchmail.


Are there any mail programs, which allow all mail server settings
(server, port, user, password, ..) to be passed to/handled by
fetchmail? Like a checkbox don't download it by yourself, let
fetchmail to do it for you.

Regards,
Robert


--
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org



Re: Fetchmail and Gmail

2009-08-24 Thread Rob Gom
On Mon, Aug 24, 2009 at 1:01 PM, Andrei Popescuandreimpope...@gmail.com wrote:
 On Mon,24.Aug.09, 11:37:53, Rob Gom wrote:

[cut]
Ok, so now I see the reasons to move:
1. Power  flexibility:
(if one needs something more than what mail application can offer)

 Yes, in many cases it is, but the separate tools approach is more
 flexible and more powerful.

[cut]

2. Mail program limitations:
 Initially moved my mail retrieval+sorting outside the GUI client because
 it couldn't download mail in a separate thread. Then I also moved the
(this is also my case - KMail famous bug)


As for:
Storing the password encrypted in some file has no benefit over storing
the password in plain text, because anyone who gets the hash will be
able to access your mail.

And if you don't use SSL for connecting to the mail server you can
encrypt the password as much as you like on your system, because it will
be transmitted in clear over the wire. A potential attacker doesn't even
have to break in your system.

To clarify: I don't send passwords in plain text over the net (mainly
SSL/TLS). And I believe that storing passwords encrypted is always
safer than storing them unencrypted.

Regards,
Robert


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org



Re: Fetchmail and Gmail

2009-08-23 Thread Rob Gom
Hi all,
could anyone explain to me why fetchmail is needed in the first place?
From user's point of view it is something additional. Instead of
configuring mail setup in single place (MUA, mail program), one has to
set it up both in MUA (retrieve mail from local mail box) and
fetchmail configuration file. The latter (IMHO) has very limited
functionality of password encryption handling, no gui integration - it
is needed to launch text editor to edit specific file...
Does this setup have any advantages? It is counterintuitive and non
ergonomic, isn't it?
Are there any mail programs which allow seamless integration with
fetchmail/getmail?

Regards,
Robert


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org



version GLIBC_PRIVATE not defined in file libc.so.6 with link time reference

2009-08-11 Thread Rob Gom
Hello,
I have updated my PC from i686 to Intel Quad. Therefore I switched to
64 bit kernel. In the meantime I upgraded my libc from 2.7-something
to 2.9-23.
After that smb:// protocol no longer works in KDE3 (yes, I have
decided to stay with that version - it's fine for my purposes). Log
message is:
Could not open library '/usr/lib/kde3/kio_smb.la'.
/lib/i686/cmov/libnsl.so.1: symbol __libc_clntudp_bufcreate, version
GLIBC_PRIVATE not defined in file libc.so.6 with link time reference

What can I do with that? Does it seem to be a KDE3 bug or libc6 bug?
I searched google but with no useful results.

System: mainly SID (mixed with stable  others)
Kernel: 2.6.30-amd64

Regards,
Robert


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org



Re: version GLIBC_PRIVATE not defined in file libc.so.6 with link time reference

2009-08-11 Thread Rob Gom
On Tue, Aug 11, 2009 at 11:45 AM, Sven Joachimsvenj...@gmx.de wrote:
[cut]

 That does not seem to happen for me:

 ,
 | % objdump -T /lib/i686/cmov/libc.so.6 | grep __libc_clntudp_bufcreate
 | 0010ad30 g    DF .text  0399  GLIBC_PRIVATE __libc_clntudp_bufcreate
 `

 What can I do with that? Does it seem to be a KDE3 bug or libc6 bug?

 Possibly you have a private copy of libc.so.6 somewhere.  What does
 ldd /lib/i686/cmov/libnsl.so.1 print?

 Sven

Thank you very much for your answer.
It seems that objdump reveals the same information as yours:
~/scripts/linux$ objdump -T /lib/i686/cmov/libc.so.6 | grep
__libc_clntudp_bufcreate
0010ad30 gDF .text  0399  GLIBC_PRIVATE __libc_clntudp_bufcreate

ldd:

~/scripts/linux$ ldd /lib/i686/cmov/libnsl.so.1
linux-gate.so.1 =  (0xf7f72000)
libc.so.6 = /lib/i686/cmov/libc.so.6 (0xf7de)
/lib/ld-linux.so.2 (0xf7f73000)

Maybe the error message is misleading?
I can't think of any private copy of libc.so.6...

I tried to uninstall libc6-i686 - didn't help.

Any suggestions will be appreciated, as the only solution for
accessing smb is currently smbc, which is much less convenient than
kde tools.

Regards,
Robert


--
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org



Re: version GLIBC_PRIVATE not defined in file libc.so.6 with link time reference

2009-08-11 Thread Rob Gom
I workarounded that by copying old libnsl-2.7.so to /lib (and second
version to /lib/i686/cmov/) and modified symbolic links libnsl.so.1.
And smb access started working again ...
Shall I report a bug against libc6?

Regards,
Robert


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org



Re: version GLIBC_PRIVATE not defined in file libc.so.6 with link time reference

2009-08-11 Thread Rob Gom
On Tue, Aug 11, 2009 at 2:40 PM, Rob Gomrgom.deb...@gmail.com wrote:
 I workarounded that by copying old libnsl-2.7.so to /lib (and second
 version to /lib/i686/cmov/) and modified symbolic links libnsl.so.1.
 And smb access started working again ...
 Shall I report a bug against libc6?

 Regards,
 Robert


I did further research using nm. That's the beginning of the
differences (2.7 vs 2.9).
8c8
 b350 T __create_ib_request
---
 b330 T __create_ib_request
12c12
 a930 T __do_niscall3
---
 a920 T __do_niscall3
14c14
 b1c0 T __follow_path
---
 b1a0 T __follow_path
18,24c18,25
 fe70 T __nis_default_access
 00010250 T __nis_default_group
 00010320 T __nis_default_owner
 000100c0 T __nis_default_ttl
 e680 T __nis_finddirectory
 e550 T __nis_hash
 a470 T __nisbind_connect
---
  U __libc_clntudp_bufcreate
 fdf0 T __nis_default_access
 000101c0 T __nis_default_group
 00010290 T __nis_default_owner
 00010030 T __nis_default_ttl
 e620 T __nis_finddirectory
 e510 T __nis_hash
 a460 T __nisbind_connect
29c30
 aa80 T __prepare_niscall
---
 aa60 T __prepare_niscall

As one can see, __libc_clntudp_bufcreate is new in 2.9 and is undefined.

As I'm not familiar with the nm tool, I don't know how to proceed.

Regards,
Robert


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org



Re: version GLIBC_PRIVATE not defined in file libc.so.6 with link time reference

2009-08-11 Thread Rob Gom
[cut]
I compared libnsl versions, not libc.
I _guess_ that some lib is linked against libnsl, but not libc6 (is
that possible?). Then on older versions, it would work fine. On new,
it would try to load libnsl and fail because on new referred symbol
present in libc6.
What else may that be?

I restarted whole system, so it doesn't appear to be a question of
restarting a service.

It is somehow tied to krusader starting (well, I forgot to check smb:/
in konqueror). If I change libs and restart krusader, it is fine. On
the other hand I searched libs in /lib, /usr/lib, /usr/lib/kde3 and
those got from stracing krusader. Some of them were linked against
libnsl, but all of them were also linked against libc6... But I don't
know a way of recursive linkage checking (when a is linked against b,
which is linked against c)

Regards,
Robert


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org



Re: PSI hangs when I try typing.

2009-07-11 Thread Rob Gom
Please try to upgrade to 0.12.1-2, as changelog specifies:
$ zcat /usr/share/doc/psi/changelog.Debian.gz | head -n 10
psi (0.12.1-2) unstable; urgency=low

  * Build-depend on qt = 4.5.1
This should fix an incompatibility between binaries compiled with
older qt versions and newer shared library versions. (Closes: Bug#526335)
  * Conflict with libqca2  2.0.2, as older qca versions cause
problems with qt 4.5.
  * Update Standards-Version

Regards,
Robert


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org



Re: PSI hangs when I try typing.

2009-07-10 Thread Rob Gom
Which version?
May be related to QT libs usage, try upgrading those. That's the way I
fixed similar problem in sid few days ago.

Regards,
Robert


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org



Number of working days in given month

2009-07-01 Thread Rob Gom
Hi there,
do you know any command line tool which would be able to display
number of working days in given month in given country?
I have found gcal, which suits my needs, but is barely maintained
(last release in 2000) and I'm afraid about its possible removal
(currently maintained in Debian by QA group). Besides, its options
syntax is scary and it's not present in other Linux distributions
(thinking about Fedora).
For now I can stick with gcal, just asking for other tools.

Regards,
Robert


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org



Fwd: Number of working days in given month

2009-07-01 Thread Rob Gom
[CC to list]


-- Forwarded message --
From: Rob Gom rgom.deb...@gmail.com
Date: Wed, Jul 1, 2009 at 12:45 PM
Subject: Re: Number of working days in given month
To: Ron Johnson ron.l.john...@cox.net



 I'd write a little $SCRIPTING_LANGUAGE program to count the number of
 weekend days in the month, and subtract that from the number of days in the
 month.

 To take holidays into account, I'd add an associative array with the year's
 holidays, and use that to further reduce the number of work days.

 --
 Scooty Puff, Sr
 The Doom-Bringer

That's fine unless I'd like to take moving holidays into account. In
case of my country there are at least two of them - Easter and Holy
Cross. I can implement something on my own, but I'm looking for
something ready.

Regards,
Robert


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org



Re: Number of working days in given month

2009-07-01 Thread Rob Gom

 The shell is your friend. If your needs are simple, this will do:

    cal |
    FIELDWIDTHS=2 awk 'NR = 2 {next}; {print $2, $3, $4, $5, $6}' |
    wc -w

 Just replace the arguments to print with the days of the week you care
 about.


Thanks,
that would do it, unless I'm looking for holidays exclusion :)

Regards,
Robert


--
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org



Re: USB stick two devices into one

2009-04-03 Thread Rob Gom
[cut]

 Once the stick is attached, could you send us the output of 'fdisk -l'?
 I'm just guessing, but maybe it is possible to simply remove the 2MB
 second partition.

 Cheers,

 Johannes

Unfortunately that's not partition ... That's second device (sdb + sdc
in my case). Afaik there's no way to remove whole device from this
physical device...

Regards,
Robert


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org



Re: USB stick two devices into one

2009-04-03 Thread Rob Gom

 Maybe it will stop showing that second device and its pop-up window, if
 there is no partition on it. I guess you wouldn't lose much by just
 deleting that 9MB partition, ie. you'd have a device without any second
 partition. (I have not tried it myself, though.)

 HTH,
 Johannes

As simple as that ...
Yes, it worked :D At least one of my system doesn't display second
pop-up anymore. I think I'll be quite satisfied with the result (and
don't care much about 2MB data loss). Thanks.

Regards,
Robert


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org



USB stick two devices into one

2009-04-02 Thread Rob Gom
Hi Debian Users,
I own an USB 2 GB stick. Unfortunately it is reported to system as two
separate devices:
[ 3151.418037] usb-storage: device found at 2
[ 3151.418041] usb-storage: waiting for device to settle before scanning
[ 3156.416261] usb-storage: device scan complete
[ 3156.417734] scsi 2:0:0:0: Direct-Access  PENTADRIVE
  PMAP PQ: 0 ANSI: 0 CCS
[ 3156.418216] scsi 2:0:0:1: Direct-Access  PENTADRIVE
  PMAP PQ: 0 ANSI: 0 CCS
[ 3158.146100] sd 2:0:0:0: [sdb] 4026368 512-byte hardware sectors:
(2.06 GB/1.91 GiB)
[ 3158.147583] sd 2:0:0:0: [sdb] Write Protect is off
[ 3158.147587] sd 2:0:0:0: [sdb] Mode Sense: 23 00 00 00
[ 3158.147590] sd 2:0:0:0: [sdb] Assuming drive cache: write through
[ 3158.149573] sd 2:0:0:0: [sdb] 4026368 512-byte hardware sectors:
(2.06 GB/1.91 GiB)
[ 3158.150569] sd 2:0:0:0: [sdb] Write Protect is off
[ 3158.150572] sd 2:0:0:0: [sdb] Mode Sense: 23 00 00 00
[ 3158.150575] sd 2:0:0:0: [sdb] Assuming drive cache: write through
[ 3158.150578]  sdb: sdb1
[ 3158.151413] sd 2:0:0:0: [sdb] Attached SCSI removable disk
[ 3158.153209] sd 2:0:0:1: [sdc] 4096 512-byte hardware sectors: (2.09
MB/2.00 MiB)
[ 3158.154598] sd 2:0:0:1: [sdc] Write Protect is off
[ 3158.154605] sd 2:0:0:1: [sdc] Mode Sense: 23 00 00 00
[ 3158.154607] sd 2:0:0:1: [sdc] Assuming drive cache: write through
[ 3158.156455] sd 2:0:0:1: [sdc] 4096 512-byte hardware sectors: (2.09
MB/2.00 MiB)
[ 3158.157567] sd 2:0:0:1: [sdc] Write Protect is off
[ 3158.157570] sd 2:0:0:1: [sdc] Mode Sense: 23 00 00 00
[ 3158.157572] sd 2:0:0:1: [sdc] Assuming drive cache: write through

Is it possible to convert stick to be single device? I don't need
second one... And two windows about new device connected can be a bit
irritating...

Any hint would be appreciated :)

Regards,
Robert


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org



Re: USB stick two devices into one

2009-04-02 Thread Rob Gom
Thanks for both suggestions.
Unfortunately it's not U3 drive, but USB disk pro something. I haven't
been able to find a way to remove it from my pendrive.
I will try to write an udev rule, however it will work only on my system ...

Regards,
Robert


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org



Colored less

2008-11-24 Thread Rob Gom
Hi,
do you know any colored less version? I often browse logs (not Linux
system logs). I use less for that and it works fine. However it is
single colored. I know that less has ANSI sequences support, but for
that I would have to change program output (which is not possible).
The only solution which I see is run sed producing ANSI sequences as
LESSPIPE. Do you know any other solution?
In other words: I have text file. It can be big (few GB). I want to
browse it. I would like to color every line, for example containing
ERROR as RED, containing WARNING as YELLOW, containing \[RG\].*debug
as GRAY ... I would like to define coloring rules. The viewer can be
text-based (like less) or for any XWindow system.

I would appreciate any comments on that.

Regards,
Robert


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



Re: Colored less

2008-11-24 Thread Rob Gom
On Mon, Nov 24, 2008 at 2:51 PM, Raj Kiran Grandhi [EMAIL PROTECTED] wrote:
 Rob Gom wrote:

 Hi,
 do you know any colored less version? I often browse logs (not Linux
 system logs). I use less for that and it works fine. However it is
 single colored. I know that less has ANSI sequences support, but for
 that I would have to change program output (which is not possible).
 The only solution which I see is run sed producing ANSI sequences as
 LESSPIPE. Do you know any other solution?

 Did you try `ccze'? It is in the repos.

[cut]
How can I use that? As LESSPIPE?
Is it easily configurable?

Regards,
Robert


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



Re: Colored less

2008-11-24 Thread Rob Gom

 Switch to using view (basically a read-only vim) :)

 /M

Thanks for the suggestion. Invoking vim would trigger reading whole
file to memory. I expected the same for view, but for 1,5GB it started
very fast.
However I don't see two things:
1. Automatic file update (when it's changed).
2. Easy way to colorify lines based on regexp.

Regards,
Robert


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



Is this bug in aptitude?

2008-08-27 Thread Rob Gom
Hello,
is this bug in aptitude when I try:
$ aptitude install a
[...]
b will be removed
$ aptitude install a b
[...]
b will be removed
[OK]
$ aptitude install b
[b is installed fine, the same with a]

So why does aptitude want to remove package b in the first place?

Real example:
# aptitude -t unstable install dpatch dpkg dpkg-dev dput dselect dash
iptables irb1.8 iso-codes kalarm kdegraphics-kfile-plugins kdict
kghostview kipi-plugins kmix knewsticker kolourpaint kpdf krdc
krusader ksnapshot dvd+rw-tools
Reading package lists... Done
Building dependency tree
Reading state information... Done
Reading extended state information
Initializing package states... Done
The following packages will be REMOVED:
  cdparanoia{u} dvd+rw-tools{u} genisoimage{u} k3b{u} k3b-data{u}
kooka{u} libk3b3{u} libk3b3-extracodecs{u} libkscan1{u}
libmusicbrainz4c2a{u} libtag1c2a{u} ocrad{u}
  vcdimager{u} wodim{u}
The following packages will be upgraded:
  dash dpatch dpkg dpkg-dev dput dselect iptables irb1.8 iso-codes
kalarm kdegraphics-kfile-plugins kdict kghostview kipi-plugins kmix
knewsticker kolourpaint kpdf krdc krusader
  ksnapshot libkipi0 libreadline-ruby1.8
23 packages upgraded, 0 newly installed, 14 to remove and 586 not upgraded.
Need to get 19,0MB of archives. After unpacking 18,1MB will be freed.
Do you want to continue? [Y/n/?]
Writing extended state information... Done
Get:1 ftp://ftp.pl.debian.org unstable/main dpkg 1.14.21 [2292kB]
Get:2 ftp://ftp.pl.debian.org unstable/main dash 0.5.4-12 [93,0kB]
Get:3 ftp://ftp.pl.debian.org unstable/main iptables 1.4.1.1-3 [530kB]
Get:4 ftp://ftp.pl.debian.org unstable/main dpatch 2.0.30 [88,2kB]
Get:5 ftp://ftp.pl.debian.org unstable/main dpkg-dev 1.14.21 [757kB]
Get:6 ftp://ftp.pl.debian.org unstable/main dput 0.9.2.33 [43,4kB]
Get:7 ftp://ftp.pl.debian.org unstable/main dselect 1.14.21 [783kB]
Get:8 ftp://ftp.pl.debian.org testing/main libreadline-ruby1.8
1.8.7.22-3 [260kB]
Get:9 ftp://ftp.pl.debian.org testing/main irb1.8 1.8.7.22-3 [300kB]
Get:10 ftp://ftp.pl.debian.org testing/main iso-codes 3.2-1 [1582kB]
Get:11 ftp://ftp.pl.debian.org testing/main kalarm 4:3.5.9-5 [685kB]
Get:12 ftp://ftp.pl.debian.org testing/main kdegraphics-kfile-plugins
4:3.5.9-3 [260kB]
Get:13 ftp://ftp.pl.debian.org testing/main kdict 4:3.5.9-4 [308kB]
Get:14 ftp://ftp.pl.debian.org testing/main kghostview 4:3.5.9-3 [236kB]
Get:15 ftp://ftp.pl.debian.org testing/main libkipi0 0.1.6-2 [146kB]
Get:16 ftp://ftp.pl.debian.org testing/main kipi-plugins 0.1.5-2 [3892kB]
Get:17 ftp://ftp.pl.debian.org unstable/main kmix 4:3.5.9-3 [394kB]
Get:18 ftp://ftp.pl.debian.org testing/main knewsticker 4:3.5.9-4 [453kB]
Get:19 ftp://ftp.pl.debian.org testing/main kolourpaint 4:3.5.9-3 [1071kB]
Get:20 ftp://ftp.pl.debian.org testing/main kpdf 4:3.5.9-3 [843kB]
Get:21 ftp://ftp.pl.debian.org testing/main krdc 4:3.5.9-4 [509kB]
Get:22 ftp://ftp.pl.debian.org testing/main krusader 1.90.0-3 [3314kB]
Get:23 ftp://ftp.pl.debian.org testing/main ksnapshot 4:3.5.9-3 [168kB]
Fetched 19,0MB in 3min22s (93,7kB/s)
Reading package fields... Done
Reading package status... Done
Retrieving bug reports... Done
Parsing Found/Fixed information... Done
Preconfiguring packages ...
(Reading database ... 168854 files and directories currently installed.)
Removing k3b ...
Removing cdparanoia ...
Removing dvd+rw-tools ...
Removing genisoimage ...
Removing k3b-data ...
Removing kooka ...
Removing libk3b3-extracodecs ...
Removing libk3b3 ...
Removing libkscan1 ...
Removing libmusicbrainz4c2a ...
Removing libtag1c2a ...
Removing ocrad ...
Removing vcdimager ...
Removing wodim ...
Processing triggers for menu ...
Processing triggers for man-db ...
(Reading database ... 168356 files and directories currently installed.)
Preparing to replace dpkg 1.14.20 (using .../archives/dpkg_1.14.21_i386.deb) ...
Unpacking replacement dpkg ...
Processing triggers for man-db ...
Setting up dpkg (1.14.21) ...
(Reading database ... 168360 files and directories currently installed.)
Preparing to replace dash 0.5.4-11 (using .../dash_0.5.4-12_i386.deb) ...
Unpacking replacement dash ...
Preparing to replace iptables 1.4.1.1-2 (using
.../iptables_1.4.1.1-3_i386.deb) ...
Unpacking replacement iptables ...
Preparing to replace dpatch 2.0.29 (using
.../archives/dpatch_2.0.30_all.deb) ...
Unpacking replacement dpatch ...
Preparing to replace dpkg-dev 1.14.20 (using .../dpkg-dev_1.14.21_all.deb) ...
Unpacking replacement dpkg-dev ...
Preparing to replace dput 0.9.2.32 (using
.../archives/dput_0.9.2.33_all.deb) ...
Unpacking replacement dput ...
Preparing to replace dselect 1.14.20 (using .../dselect_1.14.21_i386.deb) ...
Unpacking replacement dselect ...
Preparing to replace libreadline-ruby1.8 1.8.6.114-2 (using
.../libreadline-ruby1.8_1.8.7.22-3_i386.deb) ...
Unpacking replacement libreadline-ruby1.8 ...
Preparing to replace irb1.8 1.8.6.114-2 (using
.../irb1.8_1.8.7.22-3_all.deb) ...
Unpacking replacement irb1.8 ...
Preparing to replace iso-codes 2.1-1 (using 

Re: Is this bug in aptitude?

2008-08-27 Thread Rob Gom
[cut]

 Aptitude tries to remove automatically installed packages. If you
 manually install them, aptitude won't try to do this. It's not a bug.

 --
 Eugene V. Lyubimkin aka JackYF



Thank you very much.
However I don't understand the answer. Why does aptitude want to
uninstall them? Are they in conflict with something else? If so, why
removed packages can be installed without problem later?
In other words - _why does aptitude want to remove automatically
installed packages_?

Regards,
Robert


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



Re: Is this bug in aptitude?

2008-08-27 Thread Rob Gom

 Noone want to accumulate junk in their system.

 In other words - _why does aptitude want to remove automatically
 installed packages_?

 If there is no other package using it, auto-installed packages are
 removed.  Simple.  You can change auto installed status with m/M.

 Osamu


Understood, acknowledged.
Thx,
Robert


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



Re: Ugly java applet fonts

2008-08-21 Thread Rob Gom
Thank you very much for your answer.
I have checked debconf-utils output and it was indeed bitmap fonts set
to true. However, after unsetting it, look didn't change.
I have proceed further and tried to decompile java classes, but they
were so obfuscated, that I had to give up (I wanted to check which
fonts the applet tries to use).
I have also checked /usr/lib/jvm for font string, but there were too
many of them. I only noticed that there is latin-1 in many strings,
whereas I use latin-2 primarily ...
I will check further ...
Regards,
Robert


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



Re: Ugly java applet fonts

2008-08-21 Thread Rob Gom
Hi,
I have filed a bugreport against this issue - 495988. If you have any
comments, feel free to include them to that report.

Regards,
Robert


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



Ugly java applet fonts

2008-08-20 Thread Rob Gom
Hello dear list users,
as the problem with nvidia is gone, it's time to fight another issue.
From time to time I play java games on various sites, mainly
http://www.kurnik.pl. For a long time there was no 64 bit java plugin,
so I used chrooted sun java plugin. But now I don't have to use it
anymore:
ii  icedtea-gcjwebplugin1.0-2
Java plugin based on IcedTea and gcjwebplugin
ii  openjdk-6-jre   6b11-6
OpenJDK Java runtime, using Hotspot JIT
ii  openjdk-6-jre-headless  6b11-6
OpenJDK Java runtime, using Hotspot JIT (headless)
ii  openjdk-6-jre-lib   6b11-6
OpenJDK Java runtime (architecture independent libraries)

And it basically works. Basically, with one exception - fonts in java
applets look ugly. They don't seem to be antialiased, their shapes are
distorted. Readable, though, but very ugly.

What can I do to improve their look? Should I install anything? What
should I do to debug the reason?
In my KDE Debian GNU/Linux system all other fonts look fine.

Regards,
Robert


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



NVidia - blanking problems

2008-08-19 Thread Rob Gom
Hello,
I have:
- Debian SID (updated month ago or so)
- 2.6.25 x86_64 kernel on my laptop with NVidia card
- NVidia proprietary drivers, most probably 173.14.09-3 (I'm writing
this from another computer)
Kernel and nvidia are official Debian packages.

The problem:
when my screen goes blank, it can't be restored easily. I have to go
through alt-ctrl-f1, alt-ctrl-f7 sequence to restore it,
which is very irritating. How can I avoid this?

Steps to reproduce:
1. Start X (in my case with KDE)
2. Wait reasonable amount of time for the screen to go blank. I guess
it is the time displayed by:
$ xset q | grep -A3 ^DPMS
DPMS (Energy Star):
  Standby: 1200Suspend: 1800Off: 2400
  DPMS is Enabled
  Monitor is On
(standby?)
3. Press any key.
At that time, I would expect display to be restored. Instead, I get
either black screen with different color of black, or random
horizontal/vertical lines jumping on the screen.
I have to press ctrl-alt-f1 (I can't see text console), then
ctrl-alt-f7. It restores my display.

I have searched the web, but can't find the answer (forming a question
is even tricky).
I have only tried to switch sync to vblank sync to hblank in
nvidia-settings, with no particular effect.

What can I do to improve my work?

Regards,
Robert


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



Re: NVidia - blanking problems

2008-08-19 Thread Rob Gom
On Tue, Aug 19, 2008 at 9:46 AM, Ron Johnson [EMAIL PROTECTED] wrote:
[cut]

 Maybe there's a bug in kscreensaver?

Unfortunately not ... When I lock my screen manually and press a key
in a few seconds, unlock message appears correctly. On the other hand,
when my screen goes blank and I do ctrl-alt- sequence, my screen is
not locked.

Any other suggestions will be appreciated.

Regards,


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



Re: NVidia - blanking problems

2008-08-19 Thread Rob Gom
[cut]

 I would suggest you try with just one of these set to a value other than
 zero.  Something like:
 Standby: 0Suspend: 0Off: 1200

 and see if that works.  That way you can eliminate which setting(s) is
 causing the problem.

 --
 Bob Cox.  Stoke Gifford, near Bristol, UK.

Thank you for your answer.
Unfortunately ... it didn't help me, however I have other things to think of.
I performed some tests:
[EMAIL PROTECTED]:~$ xset dpms force standby
[EMAIL PROTECTED]:~$ xset dpms force suspend
[EMAIL PROTECTED]:~$ xset dpms force suspend
[EMAIL PROTECTED]:~$ xset dpms force off
[EMAIL PROTECTED]:~$ xset dpms force off
And in every case result was the same as in my original problem ...

Will search further.

Regards,
Robert


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



Re: NVidia - blanking problems

2008-08-19 Thread Rob Gom
Thank you all.
I have finally identified the problem and found others reporting it:
https://bugs.launchpad.net/ubuntu/+source/linux-meta/+bug/181114 (and
other links mentioned there).
Thanks for the advice with drivers, I think I have earned nvidia
linux installer skill during past few years of my Linux adventure :)
Just now I have executed m-a a-i nvidia-kernel-source, which to my
surprise went just fine. Then I have installed matching (173.14.09)
nvidia-glx package.
According to other reports (including yours), it should fix my issues.
I haven't rebooted my system yet, but I have big expectations.
I will report the results for sure.

Thanks a lot for your help.

Regards,
Robert


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



Re: NVidia - blanking problems

2008-08-19 Thread Rob Gom
Yes, 173.14 works!
Such a comfort...
The hardest part was to identify the issue and search for it. Another
was waiting for any solution ;-)

Regards,
Robert


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]