Re: Sende sms fra kommandolinjen?

2017-12-02 Thread Morten Bo Johansen
On 2017-12-02 Jonas Smedegaard wrote:

> Quoting Morten Bo Johansen (2017-12-02 19:30:42)
>> Måske ikke så Debian-specifikt, men et eller andet sted må man jo 
>> spørge, så ved nogen om det er muligt at sende en sms fra 
>> kommandolinjen?
>> 
>> Jeg ville gerne styre min varmepumpe fra cron.
>
> Der er flere muligheder.
>
>   apt install apt-xapian-index
>   axi-cache search sms

Jeg vil kigge lidt på de muligheder du og Christian skitserede.
Tak for svar.

Vh Morten



Sende sms fra kommandolinjen?

2017-12-02 Thread Morten Bo Johansen
Hej

Måske ikke så Debian-specifikt, men et eller andet sted må man
jo spørge, så ved nogen om det er muligt at sende en sms fra
kommandolinjen?

Jeg ville gerne styre min varmepumpe fra cron.


Vh Morten




Re: Recommended editor for novice programmers?

2017-09-04 Thread Morten Bo Johansen
On 2017-09-02 Tom Browder wrote:

> I would especially appreciate other ideas for programming editors for
> novice programmers.

Jed, http://www.jedsoft.org/jed/, is highly recommendable!

  Morten
  



Re: user agent headers and elinks?

2016-11-04 Thread Morten Bo Johansen
On 2016-11-03 Karen Lewellen wrote:

> Hi all,
> Here at shellworld we are using Ubuntu 16.04  with elinks compiled to 
> support java scripting.
> I am working with the partner indigogo site generosity,
> www.generosity.com
> even in elinks  the site does not allow one to log in or create an 
> account.
> Now, just for kicks, I tried visiting the same site in lynx but with the 
> send user agent  function turned off.
> I do not know what lynx uses if you turn off the send user agent feature, 
> but such often gets me past problem places, and  such was the case with 
> generosity.com
> So, I am wondering about the elinks user agent.
> The site may work better in general with elinks, if I can get it to work, 
> and since the user agent seemed to help, I wanted to try this possibility.
> Thoughts?
> Kare

Hi,

Elinks has an interactive configuration system accessible with
F10. What you need here is this:

F10 -> "Setup" -> "Options manager" -> "Protocols" (expand options
list with the '+' key) -> "HTTP" -> "User-agent identification" and
then push the "Edit" button. There you can craft your own
user-agent header. Setting it to " " causes Elinks to send no
user-agent header at all.

HTH, Morten




Re: Mailing-list configuration (was: Big dummy at work again)

2016-06-13 Thread Morten Bo Johansen
On 2016-06-13 Nicolas George wrote:

> As I already explained twice, a solution that requires a
> different action when it is a mailing-list and when it is not
> is not an acceptable solution.

Why not? Don't you know when you are corresponding on a mailing
list or not? You only need to switch between 'r' and 'L'. And
if some person on a mailing list in rare cases specifically
request a CC, then you also have to remember 'g'. That is not
too hard to manage?

> The solution I advocate does not have this issue.

Your solution is completely hopeless. You want people to
configure their MUAs to insert "Reply-To" headers on a per
mailing list basis to avoid your CCs? Many (most?) MUAs can't
even be configured this way.

  Morten
  



Re: Mailing-list configuration (was: Big dummy at work again)

2016-06-13 Thread Morten Bo Johansen
On 2016-06-13 Nicolas George wrote:

> Le quintidi 25 prairial, an CCXXIV, Lisi Reisz a écrit :
>> I expect you to conform to the CoC and not continue to reply to me 
>> personally.
>
> Nobody can be expected to remember the personal preferences of each
> mailing-list member, nor the subscription status of all contributors, and
> more importantly nobody can be expected to always remember to remember (the
> duplicate is intentional) the particular quirks of each mailing-list they
> contribute each time they reply to a mail.

Since you are using Mutt, all you need to do to be well behaved
(i.e. not send personal CCs) is to hit 'L' when you reply, then
you will only reply to the debian-user list. Debian mailing
list headers include a "List-Post" header that Mutt autodetects.

For other lists you can use the "lists" directive in .muttrc to
achieve the same effect.

  Morten
  




Re: mutt, w3m and firefox

2016-06-09 Thread Morten Bo Johansen
On 2016-06-08 Johann Spies wrote:

> Until a few weeks ago, I could open firefox from mutt by 'v' and then
> select the html-part of the email and press enter.
>
> Now firefox does not but w3m handles everything - which is not preferred
> when some links are important.

I use the following in ~/.mailcap:

  text/html; chromium %s;
  text/html; /usr/bin/elinks -force-html -dump %s; copiousoutput  

and in ~/.muttrc:

  bind  attachview-mailcap 
  alternative_order text/plain text/html
  unauto_view * 
  auto_view text/html

This ensures that when I open a multipart/alternative message,
the text part will be shown instead of the html part.

In pure html messages, they will be opened from the mailcap
line with the copiousoutput directive in it, which must be the
last of the text/html mailcap entries.

When you hit 'v' to specifically choose an html part from the
attachment menu, it will be opened in chromium instead.


  Morten



Re: wordperfect 5.1 for unix, and debian?

2014-12-17 Thread Morten Bo Johansen
On 2014-12-17 Karen Lewellen wrote:

 I have a still in the package copy of wordperfect 5.1 for UNIX.  I got 
 this because wordperfect is my main word processor on my primary computer 
 and I would welcome, if at all possible, to use it  with Linux as well.
 Is there any reason why the program cannot be installed on a machine 
 running Debian squeeze?

If you could somehow get hold of a copy of WP 5.1 for Dos, I used that
with good results under Dosemu -- many, many years ago. ;)

  Morten
  



-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Archive: https://lists.debian.org/slrnm93dno.9u0@gatsby.mbjnet.dk



Re: INTEL HD Graphics

2014-11-11 Thread Morten Bo Johansen
On 2014-11-11 Man_Without_Clue wrote:

 Really? Wheezy? HD4600?
 No kernel upgrade or anything?

No, you need Jessie. In Wheezy the Vesa fallback is used.
 
  Morten
  


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Archive: https://lists.debian.org/slrnm63p1a.711@gatsby.mbjnet.dk



Re: INTEL HD Graphics

2014-11-11 Thread Morten Bo Johansen
On 2014-11-11 Lisi Reisz wrote:

 On 11 November 2014 10:25, Morten Bo Johansen m...@spamcop.net wrote:
 On 2014-11-11 Man_Without_Clue wrote:

 Really? Wheezy? HD4600?
 No kernel upgrade or anything?

 No, you need Jessie. In Wheezy the Vesa fallback is used.

 Intel in general works fine in Wheezy.

Support for HD 4600 was introduced in kernel 3.9. Wheezy uses
kernel 3.2, so you need Jessie which uses 3.16.

 Morten
 



-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Archive: https://lists.debian.org/slrnm64cvh.js2@gatsby.mbjnet.dk



Re: INTEL HD Graphics

2014-11-11 Thread Morten Bo Johansen
On 2014-11-11 Lisi Reisz wrote:

 Intel runs fine on Wheezy, though you do need a kernel upgrade in the
 form of a backported kernel for some (though not all) Intel drivers.

Of course, but if you are using backported packages, you are
not really running Wheezy anymore.

 Morten
 



-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Archive: https://lists.debian.org/slrnm64htp.mh0@gatsby.mbjnet.dk



Re: Sigil

2014-08-24 Thread Morten Bo Johansen
On 2014-08-23 Steve Litt wrote:

 If any of you writes ePubs, you're probably familiar with Sigil, at
 least for partial conversions and touchups. But if you haven't used
 Sigil for awhile, you might not be aware that it's really grown up in
 the past two years, to the point where it's a reasonable ePub authoring
 environment. 

I would also point you to asciidoc. Not that I have tried it,
but from the description and examples, it looks promising:

http://www.methods.co.nz/asciidoc/publishing-ebooks-with-asciidoc.html

  
  Morten


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Archive: https://lists.debian.org/slrnlvj7bj.5qq@gatsby.mbjnet.dk



Re: A question about Aptitude interactive mode

2014-03-12 Thread Morten Bo Johansen
On 2014-03-07 Paul E Condon wrote:

 There is, new to me, a new feature in Aptitude. Some time in the past
 within the past 18 months, I lost the ability to adjust the colors on
 the text display.  Now all I get is a white letters on a black
 background.  I get this in both gnome-terminal and in Xfce terminal.
 Both terminal emulators are configured to display black letters on
 white back. In both, when I type the command, aptitude, the screen
 flips, apparently as part of aptitude initialization. Where is this
 behavior configured? I want to change it.

Insert the following block in the configuration file:

   aptitude::UI::Styles ;
   aptitude::UI::Styles::Default ;
   aptitude::UI::Styles::Default::fg black;
   aptitude::UI::Styles::Default::bg white;

There is an extensive paragraph on custumizing the colors in
the aptitude user's manual, available from the Help menu.


Regards,

Morten


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Archive: https://lists.debian.org/slrnli0aa8.6ht@gatsby.mbjnet.dk



Re: software for (reminder) recommendation

2013-11-13 Thread Morten Bo Johansen
On 2013-11-13 lina wrote:

 I checked most, seems none has pop up action before the events.

I use the following little script that I borrowed from somewhere: It uses
gmessage (you can change to xmessage) and at, and will pop up the
message that you typed in originally. If you call the script reminder,
then make it executable: chmod +x reminder and put it in your path. You
can test it by calling the script and type in a little message. Finish
your message with a dot . by itself on the last line and then hit
enter, i.e.
  
   Here is the message
   I would like to remind
   me of some event
   .

Then you are prompted to enter the time that you would like to get the
reminder. Type e.g. now + 1 minute. The message will pop up in 1
minute. There are some examples of specifying times in the script. man
atq gives you more.

  Morten

  -

  #!/bin/sh
  
  mkdir -p $HOME/tmp/atd
  
  echo Enter your reminder message.
  When finished, enter a period (.) at
  the beginning of a line and press enter.
   (Or press Ctrl-C or DEL to exit.)
  
  while :
  do
  read MESSAGE
  if [ $MESSAGE = . ]
  then
   break
  else
   echo $MESSAGE  $HOME/tmp/atd/message.$$
  fi
  done
  
  cat  !!
  
  Enter time and day you want to receive
  the message, for example:
  
  0815 jan 24
  08:15 tomorrow
  now + 1 day
  now + 15 minutes
  1700 Friday
  
  Then press Enter.
  
  !!
  
  read TIME
  at $TIME  !!
  /usr/bin/gmessage -center -display :0.0 -file $HOME/tmp/atd/message.$$
  
  !!
  
  at -l
  exit 0


-- 
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/slrnl87m6q.pv8@gatsby.mbjnet.dk



Re: aptitude misconfigure?

2013-10-26 Thread Morten Bo Johansen
On 2013-10-26 Glenn English wrote:

 There are several Debian machines around, and some of them do an odd
 thing in Aptitude:

 lqk
 xReally quit Aptitude?x
 x  [ Yes ][ No ]  x
 mqj

You should look at your $TERM variable. From the command prompt issue
an echo $TERM on each of your boxes, note what it returns and where
it works and where not. Also distinguish between X Window and console
environments. Many xterm-like terminal descriptions will result in
garbled line drawing on the console.

  Morten
  


-- 
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/slrnl6o35s.rdf@gatsby.mbjnet.dk



Re: apt-get vs. aptitude

2013-10-13 Thread Morten Bo Johansen
On 2013-10-13 Dmitrii Kashin wrote:

 I think that aptitude works quite well for the easiest cases. And it is
 the only instrument I know which allow to see dependency chains. It was
 dselect some time ago which could do it too as I know, but now it seems
 to be dead. BTW, it provides with good capabilities for searching
 through packages.

Remember that aptitude has evolved quite a bit. The scenarios that you
and some others describe are not necessarily pertinent anymore. When you
use phrases like fond memories, please state how old these memories are
;). Any package manager, needless to say, is wholly dependent on the
metadata in the packages, so if these are not sensible, they may come up
with rash solutions. The great thing about aptitude (to me) is that it is
so easy to leaf through broken packages, using the 'b' key in the
curses interface, and then examine what the matter is with each package.
Most often, I find that I can solve dependency problems by simply not
upgrading one or more packages. You do that easily by typing 'v' on a
broken package and then typing '+' on the already installed version. If
using the resolver instead, the solution presented is often to remove the
package or some other package. For instance, at the moment the package
xul-ext-greasemonkey is marked as upgradable on my system, but the
package's metadata has Iceweasel in a non-installable version as a
dependency. Aptitude wants to remove xul-ext-greasemonkey and apt-get
wants to remove Iceweasel. None of these solutions may be what you want,
so simply keeping xul-ext-greasemonkey in the already installed version
is an alternative that the command line solutions in the two package
managers do not present the user.

  Morten


-- 
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/slrnl5kt6h.7l0@gatsby.mbjnet.dk



Re: apt-get vs. aptitude

2013-10-13 Thread Morten Bo Johansen
On 2013-10-13 Ralf Mardorf wrote:

 apt-mark hold package
 or
 echo package hold | dpkg --set-selections
 or
 Synaptic's lock option

Sure. But the gist of the discussion to me was the point of view of the
naive user, i.e. how the two package managers behave out of the box.
No compelling arguments have been provided that one is better than the
other in that respect.

  Morten




-- 
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/slrnl5l4u1.a83@gatsby.mbjnet.dk



Re: apt-get vs. aptitude

2013-10-08 Thread Morten Bo Johansen
On 2013-10-08 Florian Lindner wrote:

 What is the prefered tool for installing on the CLI? apt-get or
 aptitude? Last time I read about it, it was aptitude, due to better
 dependency checking. What is the current state? apt-get or aptitude?
 Does it matter? What about using both?

Both use libapt-pkg, so when used from the command line I don't think it
matters which you use.

  Morten


-- 
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/slrnl5809k.bvq@gatsby.mbjnet.dk



Re: keyboard configuration doesn't works after SID upgrade

2013-07-15 Thread Morten Bo Johansen
On 2013-07-15 Csanyi Pal wrote:

 I can give some informations more.

 On the console ( not on X Window System ) when I start Midnight
 Commander ( mc ) I can hear right after mc start a beep, which I never
 heared before. Moreover, when I use arrow keys in mc, I heare every time
 a beep, which I never heared before.

 When I run emacs-nox in an xterm window ( on X Window System ) I can't
 use the Arrow Keys anymore. When I Try to use eg. the 
 Left key, I get message: M-[ d is undefined,
 Right key, I get message: M-[ c is undefined,
 Up key, I get message: M-[ a is undefined,
 Down key, I get message: M-[ b is undefined.

 Does this tell to you something about this problem?

No ideas directly, but since Squeeze the keyboard configuration
for both X Window and console is handled by the
keyboard-configuration package.

You could try to reinstall that package:
  
  sudo apt-get install --reinstall keyboard-configuration

and then run

  sudo dpkg-reconfigure keyboard-configuration
  
A reboot smells like Windoze, but if the kernel has anything to
do with loading character maps, then maybe a reboot wouldn't
harm.

Just try it and see it gives you something.


  Morten
  
  


-- 
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/slrnku7dcl.7o1@gatsby.mbjnet.dk



Re: keyboard configuration doesn't works after SID upgrade

2013-07-15 Thread Morten Bo Johansen
On 2013-07-15 Csanyi Pal wrote:

 I have problem only in the console ( that is not in X Window System ).

 There Midnight Commander ( mc )beeps every time when I use arrow keys,
 and I heare beep when start mc too.

If mc on the console is the only problem remaining, then try to
use the Options - Learn Keys feature from the mc menu. There
you can associate keys and keycodes. For instance if the right
arrow key does not work, then click on its entry in the Learn
Keys window, then when the message appears type the right arrow
key and when the message vanishes, type it again, You should
see an OK appear next to its entry, and then finally Save.

  Morten
  


-- 
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/slrnku7q12.ncn@gatsby.mbjnet.dk



Re: Using wget to fill in a form

2012-09-30 Thread Morten Bo Johansen
cr...@gtek.biz cr...@gtek.biz wrote:

 I have a small book collection (~150) that I thought would be neat to
 catalog by the Library of Congress catalog numbers. I have found a LOC
 search form that will allow me to input the ISBN, and it will return
 the information I want:

[..]

 I have the list of book ISBNs in a text file, so scripting this should
 be quite easy. The problem is I can't figure out how to submit the form
 from the command line. I figured wget would be the best way, but
 everything I try results in downloading a single line that reads Your
 form didn't include an ACTION! So I thought I would turn to here for
 help. The test ISBN I am using is for The Linux Cookbook: 1886411484,
 QA76.76.O63S788 2001.

There are several urls on loc.gov that will retrieve book information
from an ISBN. The one below has no problem with session cookies. So
wouldn't this quick and dirty one-liner do what you want?


  #!/bin/sh
  
  # loc.sh ISBN
  
  elinks -dump -dump-charset utf8 -no-references -no-numbering \
  http://www.loc.gov/cgi-bin/zclient?host=z3950.loc.govport=\
  7090attrset=BIB1rtype=USMARCDisplayRecordSyntax=HTMLESN=Fstartrec=\
  1maxrecords=10dbname=Voyagersrchtype=1,7,2,3,3,1,4,1,5,1,6,1term_term_1=\
  $1

so loc.sh 1886411484 will output the information for the Linux Cookbook
in a pure text format.

 And a related side question. From my reading, I've learned that the
 Z39.50 protocol is used to query databases, usually library related. Is
 anyone aware of an ISBN database table that can be downloaded by the
 user, preferably in a format that can be imported into MySQL or
 PostgreSQL?

Probably, but I suppose the output is very standardized and then you can
easily convert it to csv-format or something.


Regards,

Morten


-- 
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/slrnk6gbgu.7au@gatsby.mbjnet.dk



Re: how can I use open-source (Xorg) radeon driver?

2012-04-28 Thread Morten Bo Johansen
Matej Košík 5764c029b688c1c0d24a2e97cd7...@gmail.com wrote:

 There is a line:

   (EE) No devices detected.

 What does that mean? Given card is not supported by a given driver?

As Camaleón wrote your card is not supported by the driver in Debian
Squeeze. It is supported in the backported xserver-xorg-video-radeon
driver, though. You can read about using backports here:

  http://backports-master.debian.org/Instructions/


Regards,

Morten


-- 
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/slrnjpnu79.59s@gatsby.mbjnet.dk



Re: No sound with new install

2012-04-02 Thread Morten Bo Johansen
Nick White nick.wh...@durham.ac.uk wrote:

 I installed Debian last week (for the first time), and things
 generally went very nicely.
 One thing which isn't yet working though is sound.

I did an installation of a Wheezy-system about a month ago and ran into
the same problem: No sound. I did not take notes as to how I got sound
working (I am rather impatient with these kind of problems), but to my
recollection, it ran along these lines:

At some point (not during the installation but later) I got an error
message informing me that the file:

   /usr/share/alsa/pulse-alsa.conf
   
was obsolete (or something to that effect), I then renamed the file:
   
   $ sudo mv /usr/share/alsa/pulse-alsa.conf /usr/share/alsa/pulse-alsa.conf.org

and thereafter I did:

   $ sudo /etc/init.d/alsa-utils restart

and actually I think that solved my problem at that point. You could try
renaming or deleting the above mentioned file and see if it does not help
you.

However, sometime later, sound once again stopped working (for whatever
reason I do not know). I then proceeded to delete all packages related to
pulseaudio, leaving me with only alsa sound packages.

I ran:

   $ aplay -l   
    List of PLAYBACK Hardware Devices 
   card 1: Aureon51MkII [Aureon5.1MkII], device 0: USB Audio [USB Audio]

to find out what number my sound card had (it was number '1').
I then put these two lines into $HOME/.asoundrc:

   defaults.pcm.card 1
   defaults.ctl.card 1

(you should replace '1' with '0' in the above two lines)

and then

   $ sudo /etc/init.d/alsa-utils restart

and bingo, sound has worked for me ever since.

I do not know if it will solve your problem, as it seems you have other
issues, but try it and then run the speaker test mentioned elsewhere in
this thread.

Obviously your sound cards output channel must not be muted. You open it
up with a sound mixer, but I did note that you could not run that. Try
and google for the error message that you got in regard.

Regards,
Morten


-- 
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/slrnjnjqku.48g@gatsby.mbjnet.dk



scsi device files not created when called for

2012-02-11 Thread Morten Bo Johansen
Hi,

My scanner suddenly stopped working. It is connected through firewire and
when I turn it on, the firewire devices are created:

   ~/ % dmesg | tail -6
   [ 8377.031246] firewire_core: phy config: card 0, new root=ffc1, gap_count=5
   [ 8377.529022] scsi7 : SBP-2 IEEE-1394
   [ 8377.529102] firewire_sbp2: fw1.0: 127s mgt_ORB_timeout limited to 40s
   [ 8377.529108] firewire_core: created device fw1: GUID 484ee815, S400
   [ 8377.728590] firewire_sbp2: fw1.0: logged in to LUN  (0 retries)
   [ 8377.729957] scsi 7:0:0:0: Processor EPSONGT-X900  
1.06 PQ: 0 ANSI: 4

My Epson scanner is thus recognized. However, the scanner is also being
attached to a scsi device, but the scsi device files are not being
created automatically under /dev/ which means that xsane will not see it.
When I ran:

   ~/ % sudo modprobe sg
   
manually, the scsi device files are created as /dev/sg0 etc. and my
scanner now works again with xsane.

I could load the sg module from /etc/modules, but I do not think it
should be necessary.

I wonder if there is something wrong with my setup, since I need to
manually load the scsi generic driver, or if this is a bug that I should
report? In the latter case, which package should I report against?
 

Some info:

   ~/ % uname -a
   Linux gatsby 3.2.0-1-686-pae #1 SMP Sun Feb 5 23:52:49 UTC 2012 i686 
GNU/Linux

   package udev is version 175-3


Thanks,

Morten



-- 
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/slrnjjcpv2.8b4@gatsby.mbjnet.dk



Re: scsi device files not created when called for

2012-02-11 Thread Morten Bo Johansen
Camaleón noela...@gmail.com wrote:
 On Sat, 11 Feb 2012 14:06:40 +0100, Morten Bo Johansen wrote:

 In the latter case, which package should I report against?

 I'd say libsane.

I think I'll go for udev. Once the scanner is attached to to a
scsi device file, then the appropriate module should be loaded
and the files created.

 Some info:

~/ % uname -a
Linux gatsby 3.2.0-1-686-pae #1 SMP Sun Feb 5 23:52:49 UTC 2012 i686
GNU/Linux

package udev is version 175-3

 You're on sid, right?

It is a mixed testing/unstable system. Thanks for your attention.

Morten



-- 
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/slrnjjd748.n9s@gatsby.mbjnet.dk



Re: Nouveau

2010-10-13 Thread Morten Bo Johansen
Camaleón noela...@gmail.com wrote:

 As Sven points out, there is no current support for 3D in Nuvó driver 
 (there is, but is very experimental and probably highly unstable¹).

 Should you want to play with 3D programs/applications, just install 
 nvidia driver.

 ¹ http://nouveau.freedesktop.org/wiki/GalliumHowto

Nouveau/Gallium is worth a try at least. A lot of work is being done on
these drivers and depending on the chip in his card, they could turn out
to be a pleasant surprise. I am currently running them on an old FX5200
card and I can play bzflag at 1680x1050 with no problem, but e.g. Torcs
is a little too much. However, more work is being done on the drivers for
the newer cards than the driver for my old card, so you if you have one
of those, you could be in luck even with more demanding games.

Morten




-- 
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/slrnibb3np.6be@gatsby.mbjnet.dk



Re: Can't boot custom compiled 2.6.30 amd64 kernel

2009-10-03 Thread Morten Bo Johansen
Andrew Perrin cli...@perrin.socsci.unc.edu wrote:

 Appreciate all the replies. However I have never used an initrd in the 
 past (been building kernels since the 2.0.x series) and don't want to
 this time. sata and ext3 drivers are built into the kernel (not
 modules) so I don't think I should need one. Any thoughts as to why I
 apparently do, or how to continue not to need one?

Did you enable the block layer in your kernel configuration?

- CONFIG_BLOCK=y

Morten


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



Re: Digital signatur, udlevering af offentlig nøgle.

2005-03-23 Thread Morten Bo Johansen
Jonas Smedegaard [EMAIL PROTECTED] wrote:

 On 23-03-2005 20:42, Morten Bo Johansen wrote:
 Jonas Smedegaard [EMAIL PROTECTED] wrote:


 Da er det ikke blot et kartotek med folks personnumre, men den ekstra og
 ikke uvæsentlige detalje at de er jøder.


Pointen er er *begge* dele er ulovlige. Du må hverken lave
kartoteker over personnumre eller jøder.


 Jamen så vil jeg da opfordre dig til at gå ud og skaffe dig min
 straffeattest. Kan du ikke sende mig en kopi som jeg kan lægge på mit
 website?

Mit eksempel var fra et indslag i DR og fuldstændig autentisk, og hvis du
gerne vil udsætte dig selv for det så værs'go! Det har intet med mig at
gøre.


Har du onde hensigter er det nemt at skaffe nummeret uanset (fordi det
aldrig har været hensigten at hemmeligholde det!). Så hvad jeg primært
opnår ved at hemmeligholde nummeret er at hjælpe til at bevare
illusionen om at nummeret er en hemmelighed.

Det er jo noget vrøvl. Personnummeret er da en hemmelighed. Det står da
ikke i nogen offentligt tilgængelige registre, og hvis det gør er det en
fejl. Dermed er det lige så meget en hemmelighed som alle mulige andre
oplysninger om dig som ikke er offentligt tilgængelige, f.eks. hvor meget
du betaler i skat. At du så selv vælger at offentliggøre oplysninger, er
jo noget helt andet. Det er oven i købet en ret dyb hemmelighed: du kan
ikke skaffe dig oplysning om mit personnummer, medmindre nogen
uretmæssigt og tilfældigt udleverer det til dig. Mit navn derimod kan du
bare spørge naboen om.

 Dørhåndtag åbner også op til alskens ting - det gør dem ikke til
 hemmeligheder.

 Jeg synes netop analogien holder fordi du i et vist omfang kan
 kontrollere hvem der kender din alder og dit mellemnavn - men også kun i
 et vist omfang, for oplysningerne er ikke designede til at være
 hemmelige, så andre kan komme til at afsløre dem ved eksempelvis at
 skrive dem så de kan ses i ruden af en rudekuvert.

 Jeg gik engang i klasse med en som kaldte sig A.J. - tilfældigt så jeg
 en dag klasselærererns afkrydsningsskema at han hed Anker Jørgensen og
 jeg kan egentligt godt forstå hvordan han ikke havde lydt til at servere
 et oplagt mobbe-emne (uden at jeg i øvrigt har noget imod vores tidl.
 statsminister). Men jeg kan også forestille mig en del situationer hvor
 han ikke selv er herre over lanceringen af hans navn - f.eks. opråb i
 lægens venteværelse.

 Modsat navn og alder er der en vis konsensus i Danmark for _diskretion_
 med CPR-numre. så måske en bedre analogi er hårfarve - altså om hun er
 ægte blond eller ej (selv hos lægen hives trusserne ikke af ude i
 venteværelset), eller om han går med toupé.

I think you lost me there. Jeg kan ikke udnytte et mellemnavn på samme
måde som jeg kan udnytte et personnummer, så jeg forstår slet ikke hvor
du vil hen.

 Der er forskel på diskretion og hemmeligheder. Adgangskoder er strengt
 personlige, dvs. hemmelige. PIN-koder udstedes maskinelt, og du skal
 aldrig - heller ikke til sin bankrådgiver - udlevere det. CPR-numre
 håndteres med diskretion, men er ikke hemmelige.

Dine selvmodsigelser er rørende. Kernen i diskretion er da hemmelighed -
hvis det diskretionen omfatter er almen viden, er der jo intet grundlag
for diskretion!

 Du bestemmer ikke om min postadresse er en fortrolig oplysning, det gør
 jeg. Der er faktisk en del mennesker der har adressebeskyttelse som kan
 opnås både i forhold til folkeregistret og postvæsenet (kvinder der søger
 skjul fra voldelige ægtemænd). Problemet i din argumentation er at du
 blander nogle formelle forvaltningsretlige betragtninger om tavshedspligt
 sammen med nogle mere almene betragtninger om hvilke oplysninger der er
 personfølsomme, og du synes at sætte lighedstegn mellem forvaltningslov
 og personfølsomhed. Sådan er virkeligheden dog ikke.

 Det du saksede væk var at man i mange situationer bare kan klare sagen
 med et CPR-nummer. Naturligvis kan du ikke få oplyst en adresse baseret
 på CPR-nummer hvis der udfor den oplysning står en note om at den
 oplysning må ikke udleveres.

Du skrev at en postadresse ikke er en personlig oplysning, og som sagt
bestemmer jeg om min postadresse er personlig.

 CPR-nummeret er et redskab til at identificere mig. Hvis politiet,
 kreditkort-udbydere eller andre fejlagtigt håndterer det som et redskab
 til at autentisere mig, så har jeg retten på min side ved misbrug.


Men hvorfor udsætte sig selv for det? Det er det jeg ikke forstår.


Jeg har ikke noget at skjule - så hvorfor ikke?


 Måske fordi verden ikke er som den burde være ..?

 Ahh - så måden at håndtere at verden er forkert er altså at krybe i et
 musehul?!?

Dvs. du låser altså ikke din hoveddør, før du går i seng?


Morten


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



Re: PPP Failing - Unsupported Protocol

2004-07-27 Thread Morten Bo Johansen
Kenneth Jacker [EMAIL PROTECTED] wrote:

[...]

 * Lost compression sync: disabling compression
   Jul 25 13:16:55 localhost pppd[4004]: \
   sent [CCP TermReq id=0x5Lost compression sync]
 * Jul 25 13:16:55 localhost kernel: PPP: VJ decompression error
   Jul 25 13:16:56 localhost last message repeated 3 times
 * Jul 25 13:16:57 localhost pppd[4004]: rcvd [CCP TermAck id=0x5]
   ... ... ...

 I sure hope someone can help with *this* problem!

If you disable compression altogether, would that help?

In the file /etc/ppp/options or the file /etc/ppp/peers/isp, depending
on your setup, insert the the line noccp (without the quotes). If it is
just related to Van Jacobsen (VJ) compression/decompression, you can try
to insert novj.

HTH,

Morten


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



Floppy-drev virker ikke under kerne 2.6.x

2004-05-23 Thread Morten Bo Johansen
Hejsa,

Jeg har et besynderligt problem med mit floppy-drev: når jeg forsøger
at læse en diskette, svarer systemet:

   $ mdir a:
   floppy0: Floppy io-port 0x03f2 in use
   floppy0: Floppy io-port 0x03f2 in use
   floppy0: Floppy io-port 0x03f2 in use
   floppy0: Floppy io-port 0x03f2 in use
   Can't open /dev/fd0: No such device or address
   Cannot initialize 'A:'

Jeg kan heller ikke aktivere floppy-modulet manuelt med modprobe.

Det er kun under kerne 2.6.x - med 2.4.x har jeg ikke problemet. Det
underlige er at jeg ikke kan se at ovennævnte adresse bruges af nogen
andre ressourcer - cat /proc/ioports afslører ikke at denne adresse
er i brug.

Er der andre måder jeg kan tjekke hvad der evt. kunne lægge beslag på
den adresse som floppy-drevet skal bruge?

/dev/fd0 eksisterer selvfølgelig, og der er som sagt ingen problemer
med at bruge drevet under kerne 2.4.x.

Har googlet lidt, men blev ikke umiddelbart klogere.


Morten




Re: Ingen danske tegn i tty1 virtuel terminal

2004-01-20 Thread Morten Bo Johansen
On Tue, 20 Jan 2004 21:17:57 +0100 Anders Ellenshøj Andersen wrote:

 Further weirdness:

[...]

Mon det så ikke har noget med framebufferen at gøre? Prøv at slå den fra
og se om det ikke løser det. I så fald er problemet i det mindste
isoleret, så du har noget at arbejde videre med.


Morten



Re: Ingen danske tegn i tty1 virtuel terminal

2004-01-14 Thread Morten Bo Johansen
On Tue, 13 Jan 2004 11:55:18 +0100 Anders Ellenshøj Andersen wrote:

 I den virtuelle terminal på tty1 (ctrl-alt-f1), altså den terminal som
 min maskine booter i, har jeg ingen danske tegn. Dette virker fint i
 alle andre terminaler og i KDE.

I /etc/console-tools/config har jeg linjen:

  SCREEN_FONT=lat1u-16

denne font indeholder de danske tegn. Måske det hjælper?
Husk at køre /etc/init.d/console-screen.sh restart


Morten




glibc-fejl (Was: Re: h)

2004-01-09 Thread Morten Bo Johansen
On Fri, 09 Jan 2004 18:07:46 +0100 Frederik Dannemare wrote:

 måske dette kan bruges i forbindelse med din qmail:

 quote fra http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=221855

Okay, så man bliver altså nødt til at ordne det i forhold til hvert
enkelt program. Det bliver lidt tungt, for det er adskillige programmer
der brokker sig her. Jeg havde håbet at man blot kunne undertrykke
fejlmeddelelserne på en eller anden måde.


Morten



Re: Java debian

2004-01-09 Thread Morten Bo Johansen
On 09 Jan 2004 19:08:35 +0100 Niels L. Ellegaard wrote:

 Men når det er sagt, så er min java stadig ikke perfekt. Jeg kan ikke
 få den til at bruge Nordeas netbank. Her er en bugreport, fra dengang
 jeg brugte stable:

Nu er jeg ikke kunde i Nordea, men jeg prøvede lige at starte deres
netbank-applet på

  https://www.netbank.nordea.dk/netbank/index.jsp

og det virkede godt - jeg får en fejlfri loginskærm, og jeg kan da
ikke forestille mig andet end at det også vil virke i forsættelsen.

Jeg bruger Mozilla 1.5-3 og Sun Java 2 Runtime Environment, Version
1.4.2 Beta, og tro det eller lad være, men det kører *godt* på en P133
med 80 mb ram ;)


Morten



Re: adding an attatchment using the mail command?

2004-01-07 Thread Morten Bo Johansen
On Wed, 7 Jan 2004 16:01:27 - (GMT) Mark C wrote:

 I run a nightly cronjob to back up certain system files, for the life of
 me I cannot add them as an attatchment, when I mail to files to myself,
 they always got put into the message body.  Reading the man pages gives
 no indication of how to do this, and I'm not sure if you can with the
 'mail' command (I suppose sendmail would be the other alternative).

You can't do it with 'mail'. You can use 'nail' instead which does
attachments. If you already have mutt installed you can use that as
well to send mail with attachments in batch mode.


HTH,

Morten


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



Re: Flush file contents

2004-01-07 Thread Morten Bo Johansen
On Wed, 07 Jan 2004 12:42:33 -0600 Rick Weinbender wrote:
 Is there a command to flush or empty the contents
 of a file?
 I would like the empty file to retain it's attributes and rights.

  $ file
  

Morten



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



Re: Putting URL view results in a txt file without copy and pasting

2004-01-06 Thread Morten Bo Johansen
On Mon, 05 Jan 2004 18:07:23 -0600 Joseph A. Nagy, Jr. wrote:

 Earlier today I tried

 $urlview .gaim/logs/*.log  url-view.txt

 It worked, but the output was a bit nasty. Is there a way to just get 
 the url's from urlview into a txt file?

Depending somewhat of the format of the logfile, then something like

  cat .gaim/logs/*.log | tr ' ' '\n' | grep http:|www\. urls.txt
  
You may have to experiment a little with tr.


Morten


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



Re: kernel 2.6, devfs, ingen xterm

2003-09-07 Thread Morten Bo Johansen
On 07/09, Peter Makholm wrote:

PM Jeg har ikke haft tid til at lege med udviklingskerner siden
PM 2.5.67. Men er devfs ikke blevet erklæret OBSOLETE? Der var i hvert
PM fald en patch på kernelisten.

Dunno, bruger 2.4

PM Erstatningen hedder udev http://lwn.net/Articles/28897/

Fordele, kort fortalt? Er det stabilt? Tænker at migrere, så
snart 2.6 færdigudgives, så er det rart at være forberedt.


Morten


-- 
Nothing in life is so exhilarating as to be shot at without result.
(Winston Churchill)



Re: Ncurses?

2003-09-06 Thread Morten Bo Johansen
On 06/09, Henrik Christian Grove wrote:

HCG Tillad mig at citere lidt fra kernens README:
HCG INSTALLING the kernel:

[...]

HCGDo NOT use the /usr/src/linux area!

file://localhost/usr/share/doc/debian-policy/fhs/fhs.html/fhs-6.1.6.html


Morten

-- 
Fanaticism consists in redoubling your efforts when you have forgotten
 your aim.  (George Santayana)



Re: Kompilering af 2.6 test2 kernen fra unstable

2003-09-02 Thread Morten Bo Johansen
On 02/09, Anders Ellenshøj Andersen wrote:

AEA Jeg kan ikke få skidtet til at virke.

Har du installeret pakken module-init-tools? Den har afløst
modutils for 2.6-kerner.

2.6 test2 er i øvrigt pakket som kernel-image-2.6.0-test2-1-386


Morten


-- 
More than any other time in history, mankind faces a crossroads. One
 path leads to despair and utter hopelessness. The other, to total
 extinction. Let us pray we have the wisdom to choose correctly.
  (Woody Allen)



Re: xfree modules

2003-06-18 Thread Morten Bo Johansen
LeVA [EMAIL PROTECTED] wrote:

L There is a section named Modules in the XF86Config-4 file. Has
L somebody a howto, or doc page where is some explanation about
L the modules?  For example dbe ddc vbe dri extmod
L glx pex5 record xie xtrap speedo type1 GLcore
L bitmap dbe ddc freetype int10 vbe etc

I found this in /var/lib/dpkg/info/xserver-xfree86.templates:

(I suppose you will get it if you run 'dpkg-reconfigure
xserver-xfree86').

   Description: Select the XFree86 server modules that should be
   loaded by default.  It is possible to customize (or completely
   omit) the list of modules that the X server loads by default.
   This option is for advanced users.  In most cases, all of these
   modules except xtt should be enabled.
   .
   The GLCore and glx modules enable software OpenGL rendering.  The
   dri module enables support in the X server for Direct Rendering
   Infrastructure (DRI).  Note that support for DRI must also exist
   in the kernel, the video card, and the installed version of the
   Mesa libraries for hardware-accelerated 3D operations using DRI
   to work.  Otherwise, the server falls back to software rendering.
.
   The vbe and ddc modules enable support for VESA BIOS Extensions
   and Data Display Channel, respectively.  These modules are used
   to query monitor capabilties via the video card.  The int10
   module is a real-mode x86 emulator that is used to softboot
   secondary VGA cards.  Note that the vbe module depends on the
   int10 module, so if wish to enable vbe, enable int10 as well.
.
   The dbe module enables the double-buffering extension in the
   server, and is useful for animation and video operations.
.
   The extmod module enables many traditional and commonly used
   extensions, such as shaped windows, shared memory, video mode
   switching, DGA, and Xv.  The record module implements the RECORD
   extension, commonly used in server testing.
.
   The bitmap, freetype, speedo, type1, and xtt modules are all
   font rasterizers.  The freetype and xtt modules should not
   be enabled at the same time, as they are incompatible.  The
   freetype module should be used for Western languages and
   anti-aliased font support; the xtt module should be used for
   East Asian character set support (specifically, for CID-keyed
   fonts).
   .
   For further information about these modules, please consult the
   XFree86 documentation.
.
   If you unsure what to do, leave all of the modules enabled
   except xtt.  Advanced users may wish to disable all modules --
   in which case no Modules section will be written to the X server
   configuration file -- and add their own Modules section to the
   file manually.



Morten

-- 
All truths are half-truths.  (Alfred North Whitehead)


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



Re: Mystiske præferencer

2003-05-08 Thread Morten Bo Johansen
Henrik Christian Grove [EMAIL PROTECTED] wrote:

[...]

HCG Marillats testing-pakker skal komme før unstable-pakker), så nu søger
HCG jeg en forklaring.

HCG Her er hvordan tingene ser ud:

HCG Package: *
HCG Pin: origin marillat.free.fr
HCG Pin: release a=testing
HCG Priority: 400

Prøv at rette Priority til Pin-Priority ;-)

I øvrigt bør du rette til:

   Package: *
   Pin: release a=testing, o=Christian Marillat
   Pin-Priority: 400

o= refererer til Origin-værdien i /var/lib/apt/lists/source_Release-filen
I dit tilfælde ville alle testing-pakker få en pin på 400.

[...]

HCG  989 http://non-us.debian.org testing/non-US/main Packages
HCG  release o=Debian,a=testing,l=Debian,c=non-US/main
HCG  origin non-us.debian.org

[...]

HCG Nogen der kan forklare hvor prioriteterne for alt andet end:
HCG - allerede installerede pakker
HCG - mine egne pakker som ligger på www.sslug.dk
HCG - Pakker bygget med apt-build
HCG kommer fra?

Eftersom du ikke har anført nogen priorities (skulle allesammen
have været anført som Pin-Priority), tildeler apt nogle
automatiske værdier med 989 som højeste startværdi, se
apt_preferences(5).


Morten

-- 
Life is all memory, except for the one present moment that goes by you
 so quick you hardly catch it going.  (Tennessee Williams)



Re: Mystiske præferencer

2003-05-08 Thread Morten Bo Johansen
Henrik Christian Grove [EMAIL PROTECTED] wrote:

HCG Hvordan finder den så på de andre værdier, og hvorfor får de
HCG ikke bare prioritet 500 som mine egne pakker (som jeg godt
HCG ved jeg ikke har en prioritet på)?

Du har lavet en pin på stable, testing og unstable, men du har
ingen pin-priority på dem. Apt vil derfor tildele værdien 989
til den første linje i preferences som er o=Debian,a=testing,
og derefter tildeler den efterfølgende 988, 987..etc. til de
øvrige varianter.

Det står i apt_preferences, men jeg vil gerne medgive at det
måske ikke er den mest tilgængelige manualside.



Morten

-- 
I don't like money actually, but it quiets my nerves. (Joe Louis)



Sending *.po files to the Debian BTS?

2002-11-18 Thread Morten Bo Johansen
Hi,

I am in the process of updating som Danish translations of the
gettext message catalogs of some programs.

According to http://www.debian.org/international/l10n/po/da one
can download and translate these PO files, and submit them as
bug reports to package maintainers.

I am a little uncertain of the correct procedure:

1) do I set the severity level to normal?
2) do I set the patch tag?
3) should I include the PO file as a uuencode within the report
   or can I attach it?
4) anything else?

-- 
Ginsburg's Law:
At the precise moment you take off your shoe in a shoe store, your
big toe will pop out of your sock to see what's going on.



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




Re: lynx, ncurses, gpm

2002-11-06 Thread Morten Bo Johansen
Glyn Kennington [EMAIL PROTECTED] wrote:



GK I have found some ways that work, though.  For all the
GK following, I'm using my hacked gpm ncurses compiled after
GK a ./configure --with-shared --with-gpm --with-develop the
GK untouched lynx binary, with LD_LIBRARY_PATH set to find the
GK new libraries

GK versions that work: ncurses-5.2.tar.gz ncurses-5.3.tar.gz

GK These are both from http://ftp.gnu.org/pub/gnu/ncurses/ The
GK delay-till-keypress still occurs immediately after an fg,
GK but once a key has been pressed, subsequent mouse presses
GK are processed immediately.  Also, with the original gpm,
GK the exit-on-fg bug only happens in when the ^Z is issued
GK immediately after a previous fg, with no key presses in
GK between.

GK versions that don't work: ncurses-5.2.20020112a-7 (obtained
GK from apt-get source ncurses) ncurses-5.2.20020112a (without
GK applying the debian a-7.diff.gz)

GK These have the delay-till-keypress bug at all times.

GK So it seems that something broke in the middle of the 5.2-
GK releases, and was put right again for the 5.3 release.  Is
GK that a correct understanding?

In case you did not change versions of gpm then possibly so.
the ncurses FAQ makes mention of a problem with certain
versions of gpm that has a bug in them that prevents libgpm
from linking properly to ncurses. This could be tested by doing
a 'nm libgpm.so' and see if wgetch is defined in it and not
listed as an external. This is according to some old notes I
have on this issue and thus the bug is supposedly with gpm and
not ncurses.

You can always file a bug with the Debian BTS. I believe that
Thomas Dickey the ncurses upstream maintainer is reading the BTS.




Regards,

Morten

-- 
Anyone can do any amount of work provided it isn't the work he is supposed
 to be doing at that moment. (Robert Benchley)



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




Re: lynx, ncurses, gpm

2002-11-04 Thread Morten Bo Johansen
Glyn Kennington [EMAIL PROTECTED] wrote:

GK Has anyone else managed to get ncurses' gpm support to work with lynx?  That
GK is, proper mouse support for lynx navigation, not just gpm copy-and-paste.
GK I know that the default libncurses5 package doesn't come with gpm support,
GK but even after recompiling it --with-gpm, lynx won't behave as I'd expect


I think you may need to recompile Lynx against the new
gpm-enabled version of ncurses as well and then put this in
your lynx.cfg: USE_MOUSE:TRUE

It's been a while since I came upon this issue and I'd like you
to please report back if it works.


Regards,

Morten

-- 
Either we live by accident and die by accident, or we live by plan and
 die by plan.(Thornton Wilder)



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




Re: Home and end keys (was Re: Make Debian better)

2002-10-27 Thread Morten Bo Johansen
Vincent Lefevre [EMAIL PROTECTED] wrote:


VL This is not sufficient: one needs a TERM value that defines color
VL *and* bce (neither xterm, nor xterm-color does, because they are
VL too generic).

xterm-xfree86 does, no?


Regards,

Morten

-- 
There are three ways to get something done. Do it yourself, hire someone
 to do it for you or forbid your kids to do it. (unknown) 



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




Re: sudo - unable to lookup host via gethostbyname()

2002-10-24 Thread Morten Bo Johansen
Shawn Lamson [EMAIL PROTECTED] wrote:

SL Hi all - 

SL I changed my hostname from callerio to callerio.piscat.nj
SL and now when i invoke sudo i get the followin message:
SL slamson@callerio:~$ sudo -v sudo: unable to lookup
SL callerio.piscat.nj via gethostbyname()

Do you have callerio.piscat.nj in /etc/hosts?


Regards,

Morten

-- 
A no smoking section in a resturant is like having a no peeing
 section in a swimming pool. (from /. posting)



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




Re: Alias for loopback interface in /etc/network/interfaces?

2002-09-25 Thread Morten Bo Johansen

Edward Guldemond [EMAIL PROTECTED] wrote:

EG On Tue, Sep 24, 2002 at 09:15:08PM +0200, Morten Bo Johansen wrote:
 Hi,
 
 If I wanted to create an alias for the loopback interface in
 /etc/network/interfaces corresponding to e.g.
 
# ifconfig lo:0 192.168.1.1
 
 then how should the entry look like?

EG Why would you want to do this?

Good question. I have tinydns and dnscache installed and they
must use different IPs: dnscache uses 127.0.0.1 and then I want
to make tinydns use another IP that is as alias for the
loopback interface as I don't have any NIC installed. If you
have any better suggestions please let me know.

EG Happy to help,

Happy to get it ;)



Regards,

Morten

-- 
Fanaticism consists in redoubling your efforts when you have forgotten
 your aim.  (George Santayana)



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




Alias for loopback interface in /etc/network/interfaces?

2002-09-24 Thread Morten Bo Johansen

Hi,

If I wanted to create an alias for the loopback interface in
/etc/network/interfaces corresponding to e.g.

   # ifconfig lo:0 192.168.1.1

then how should the entry look like?


Regards,

Morten

-- 
Education is a method whereby one acquires a higher grade of prejudices.
  (Laurence J. Peter)



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




Re: Why mailing-lists? Usenet have been invented, I hear. ;-)

2002-09-10 Thread Morten Bo Johansen

Shri Shrikumar [EMAIL PROTECTED] wrote:


SS There is a newsgroup where this mailinglist is mirrored - check the
SS archives (or someone else might mention it)

news.gmane.org is a bi-directional news interface to tons of mailing
lists, among them debian-user. I am using it right now ;)


Regards,

Morten

-- 
To create man was a quaint and original idea, but to add the sheep
  was tautology.  (Mark Twain)



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




Fetching changelogs?

2002-06-24 Thread Morten Bo Johansen

What is the current address for fetching packages' changelogs?

I tried e.g. 

 http://cgi.debian.org/cgi-bin/get-changelog?package=aptitude

but got 

The  requested  URL  /cgi-bin/get-changelog  was  not  found on this
server


Regards,

Morten


-- 
Education is a method whereby one acquires a higher grade of prejudices.
  (Laurence J. Peter)


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



libpng2 libpng3 = icon display problem in wmaker

2002-05-06 Thread Morten Bo Johansen
Hi,

I just upgraded to wmaker 0.80.0-4 and libpng3 was installed as
a dependency. Now it seems that the png icons in my wmaker dock
cannot be displayed anymore. It seems like a catch 22 to me: if
I remove libpng3 wmaker complains and if I remove libpng2 then
21 other installed packages complain. Any fix for this problem
short of downgrading wmaker?


Thanks,

Morten



-- 
It usually takes me more than three weeks to prepare a good impromptu
 speech. (Mark Twain)


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



Re: kde3

2002-04-11 Thread Morten Bo Johansen
Klaus V. Slott [EMAIL PROTECTED] wrote:


KVS Det er jo bare en timeout, nogen må da allerede have
KVS fordansket det begreb bedre end jeg lige kan kan finde
KVS på. Men ellers hvad så med noget i stil med:

KVS Værtskomputeren svarede ikke indenfor rimelig tid

I denne sammenhæng er frist efter min mening den rigtige
oversættelse

Værtskomputeren svarede ikke inden fristens udløb

Hvorfor dog gøre det så svært for os selv ;)

I øvrigt er denne måde at anvende timeout og time out vist
noget nyt. I min store Webster kan førstnævnte kun betyde en
pause (tænk på en timeout i basketball) og sidstnævnte
udsagnsform eksisterer slet ikke.



Morten

-- 
So little time, so little to do. (Oscar Levant)


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



Re: How to *not* restore screen after viewing man pages in X

2002-04-11 Thread Morten Bo Johansen
Bill Benedetto [EMAIL PROTECTED] wrote:

BB Does anyone *KNOW* if all X uses ~/.Xdefaults ??  Is there
BB somewhere else that Matijs should be trying to put his resources?

Just a suggestion for the latter part.../etc/X11/app-defaults.


Regards,

Morten

-- 
Chance is always powerful. Let your hook be always cast. In the pool where 
 you least expect it, will be a fish.   (Ovid)


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



Re: CPAN and apt-get

2002-03-03 Thread Morten Bo Johansen

Harry Putnam [EMAIL PROTECTED] wrote:


I wondered if there is a perferred way to handle aquiring perl
modules?



The CPAN interface shell that gets installed with perl provides a
nifty way to search, download, install  most of what is on CPAN and
can be enhanced with WAIT (a WAIS based search interface)



All this is pretty easy to use and takes care of some of the work of
finding and applying perl modules and packages.



Seems like this would interfere to some extent with apt-get concepts of
how to do things.



Whats the normal way to handle this?



The recommended way, I think, is to use dh-make-perl. It can
both download packages from cpan and build them as .debs that
fit into the debian system.



Regards,

Morten

--
You can imagine my embarrassment when I killed the wrong guy. 



Re: mutt procmail NEWBIE

2002-03-03 Thread Morten Bo Johansen

[EMAIL PROTECTED] [EMAIL PROTECTED] wrote:


I've been attempting to get my Mutt going but it's giving me a
hard time I've included .procmailrc .muttrc .forward
.fetchmailrc . If there's more, please let me know

[...]

However able to get the mail delivered where I want to, Mutt
complains that the destination box (spoolfile) is not a mail
box. I don't have a clue as to where I must look. 


This was snipped from your .muttrc

set mbox_type = Maildir

but you procmail recipes below don't deliver to this sort of
mailbox. maildir is a special format of mailbox where each
message is stored in separate files under the directories
new, current and tmp. however you're delivering to the
standard mbox-type mailbox where all messages are stored in a
single file. Therefore you can do one of two: either change the
variable above to

set mbox_type = mbox

or append a slash to the delivery destiantion of your procmail
recipes so that they read e.g.

:0:
* ^To: [EMAIL PROTECTED]
$MAILDIR/marlies/
   ^

Note the final slash. This will make procmail deliver to
maildir mailboxes This requires procmail 3.15



The documentation of procmail/mutt requires expert-insight; no
easy looks like this examples (well it does, but it don't
work for me). Also the mutt and procmail webpages for Newbies
gave me an impression of what is possible, impressive by the
way, but I could not get a configuration out of it.



Having two mailaddresses I would like them to arrive in
seperate mailboxes. I've tried to work with the build-in
'fetch-the-mail' option. For one pop-account it works great,
but I was not able to get the two of them working (only the
latter in the muttrcfile). As to account-hook; I have not got a
clue on how to go about that. As with folder-hook.




.forward #Found the second option on internet...
##
#'| /usr/bin/procmail'
| /usr/bin/procmail || exit 75 #mail


You don't need a .forward file if your MTA (sendmail, exim
etc.) is enabled for using procmail as the local delivery agent
(LDA) and I believe every MTA that come packaged in Debian is.




.muttrc # Looks okee don't it?



mailboxes /home/snotty/Mail/drafts
mailboxes /home/snotty/Mail/sentbox


You don't need to specify the entire path of the mailboxes like
this, Just say

mailboxes +drafts + sentbox  etc.


# I was hoping to get the below working. That way I do not have to invoke 
fetchmail
#account-hook . 'unset pop_user; unset pop_pass'
#account-hook pop://[EMAIL PROTECTED]:[EMAIL PROTECTED] (the [EMAIL PROTECTED] 
is mandatory for retreving mail)
#account-hook pop://username:[EMAIL PROTECTED] 


I don't use the POP3 support in Mutt but the manual includes
some documentation on it where some of the priciples also apply
to IMAP, try to read it. F1 should give you access to the manual.





Regards,

Morten

--
A no smoking section in a resturant is like having a no peeing
section in a swimming pool. (from /. posting)



terminfo question

2002-03-02 Thread Morten Bo Johansen

Hi,


What is the terminfo denotation for the control-key?

I have looked at terminfo(5) and I see all sorts of keys listed
with corresponding denotations but nowhere do I see the
control-key listed.

I want to change the setting in the xterm-xfree86 terminfo
entry with infocmp so that key sequences like e.g. ctrl-h work
as intended with programs running in rxvt.

Hope someone can help.


Regards,

Morten



--
Room service?  Send up a larger room. (Groucho Marx)



Re: Less and .gz files

2002-02-19 Thread Morten Bo Johansen
Raffaele Sandrini [EMAIL PROTECTED] wrote:

RS On my earlier SuSE system less was able to read gzipped text files. Can i 
RS get less to do it also on Debian?

I have included

LESSOPEN=| /usr/bin/lesspipe %s

in my /etc/enviroment

This enables less to view the contents of a number of file
formats including .bz2 .deb and others.

This is enabled by default in SuSE, and I don't know if there is a
reason why it is not in Debian.



Regards,

Morten

-- 
Either we live by accident and die by accident, or we live by plan and 
 die by plan.(Thornton Wilder)



Re: maximum nuber of messages in mutt?

2002-02-14 Thread Morten Bo Johansen
Brian Nelson [EMAIL PROTECTED] wrote:


BN More powerful mail readers (/me ducks) cache messages much more
BN efficiently than mutt.

BN Emacs gnus, for example, only fetches/displays unread messages unless
BN you tell it otherwise, which makes it far faster to open and read
BN folders.

You can also tell mutt to only list unread messages. I am
unsure whether it makes any difference in the speed of opening
the folders, though -- I don't have any mailboxes around large
enough to test with.



Regards,

Morten

-- 
In film you will find four basic story lines. Man versus man, man
 versus nature, nature versus nature, and dog versus vampire.



.debs of IBM Java runtime environment?

2002-02-01 Thread Morten Bo Johansen

Does anyone know of any unofficial .debs of the IBM Java
runtime environment?


Regards,

Morten




Installing from local mirror (apt-move)

2002-01-11 Thread Morten Bo Johansen
Hi,

I have created a local mirror with apt-move, I have placed a
line like this in sources.list:

  deb file:/mirrors/debian/ local main contrib non-free non-us

As you can see, with my sparkling imagination I gave the local
mirror a release name of local.

I ran apt-get update and all seems fine except that I cannot
seem to install any packages from the local mirror. Let's say
that I wanted to install getmail, I first see that this
package is available in the local mirror:

  $ apt-cache policy getmail
  getmail:
Installed: (none)
Candidate: 2.1.3-2
Version Table:
   2.1.9-2 0
  500 file: local/main Packages
  ^
  500 http://ftp.debian.nl unstable/main Packages
   2.1.3-2 0
  900 http://ftp.debian.nl testing/main Packages

and then: 

  $ sudo apt-get install getmail/local
  Reading Package Lists... Done
  Building Dependency Tree... Done
  E: Release 'local' for 'getmail' was not found


But release 'local' is acknowledged as per above..(?)

I have tried to give 'local' a pin priority of '990' in the
preferences file but that in turn is not acknowledged - it
keeps being stuck at '500'.

If I really need to use the official release names such as
stable, testing and unstable how will I distinguish between my
local mirror and remote mirrors - so that I can use the local
mirror selectively to install packages from?
  
Any good advice appreciated.



Regards,

Morten



-- 
Either we live by accident and die by accident, or we live by plan and 
 die by plan.(Thornton Wilder)



globbing and comments in /etc/apt/preferences

2001-12-13 Thread Morten Bo Johansen

Hi,

I have two questions related to file pattern matching and
specifying comments in /etc/apt/preferences

1)

I would like to pin all jed packages so that they don't get
upgraded because I made som personal modifications to them.
Those packages are jed, jed-common, jed-sl and xjed.

I thought I should be able to do something like

  Package: *jed*
  Pin: version 0.99.15-1
  Pin-Priority: 50

But not so.

Do I really need to have a full record for each of them?


2)

Is it possible to specify comments in /etc/apt/preferences?



Thanks,

Morten


-- 
Nothing in life is so exhilarating as to be shot at without result. 
(Winston Churchill)

- End forwarded message -

-- 
More than any other time in history, mankind faces a crossroads. One 
 path leads to despair and utter hopelessness. The other, to total 
 extinction. Let us pray we have the wisdom to choose correctly. 
  (Woody Allen)



update-menus for user?

2001-10-29 Thread Morten Bo Johansen
Hi,

I only have access to the menus generated by update-menus if I
start wmaker as root.

When starting wmaker as a normal user no menus have been
generated.

I have tried running update-menus both as root and as user.

What will I have to do to make them available to the normal user?



TIA,

Morten

-- 
Education is a method whereby one acquires a higher grade of prejudices. 
  (Laurence J. Peter)



Re: update-menus for user?

2001-10-29 Thread Morten Bo Johansen
Siert [EMAIL PROTECTED] wrote:

 On Mon, Oct 29, 2001 at 01:40:43PM +0100, Morten Bo Johansen wrote:
 
 cut
  What will I have to do to make them available to the normal user?
 
 Did you tried `update-menus -v` to see where it goes wrong? I think the
 normal user is NOT allowed to read the files needed to generate the menu
 (/usr/lib/menu, /etc/menu, /etc/menu-methods). 

Nothing went wrong actually. I just had to remove
~/GNUstep/Defaults/WMRootMenu, then the menus generated by
update-menus appeared but this has the downside that now I
can't add my own customizations with hotkeys etc. through the
wmaker configuration tool, wprefs, so I think I'm gonna dump
the Debian menu-system unless somebody has an idea how to
overcome this.


Regards,

Morten

-- 
If work was a good thing the rich would have it all and not let you do it.
  (Elmore Leonard)



Re: update-menus for user?

2001-10-29 Thread Morten Bo Johansen
Marc Wilson [EMAIL PROTECTED] wrote:

 On Mon, Oct 29, 2001 at 03:30:21PM +0100, Morten Bo Johansen wrote:

  Nothing went wrong actually. I just had to remove
  ~/GNUstep/Defaults/WMRootMenu, then the menus generated by
  update-menus appeared but this has the downside that now I
  can't add my own customizations with hotkeys etc. through the
  wmaker configuration tool, wprefs, so I think I'm gonna dump
  the Debian menu-system unless somebody has an idea how to
  overcome this.
 
 What's to overcome?  Create whatever you like as your
 WindowMaker menu, include the Debian menu hook within it.  That
 way you have the best of both worlds.

I have tried placing this one

  /etc/X11/WindowMaker/menu.hook

at the beginning of my own customized WMRootMenu, as well as at
the end of it and also inside the first brace for good measure
- but I get nothing but the menu generated by Debian, i.e. my
own menu entries are not there.

Is it indeed the right hook and if so where should I place it?


 I create a menu that has what *I* use most on it easily
 accessible, and then include the Debian one so that I can get
 to the rest of the stuff installed on the box.

That's what I'd like! ;-)


Regards,

Morten


PS: Sorry for saying that I would dump the debian menus. One
should not use such offensive wording about the good work that
others are doing, but it was out of moment's frustration.



-- 
Nothing in life is so exhilarating as to be shot at without result. 
(Winston Churchill)



s3virge and Xfree 4.1 and wmaker

2001-10-18 Thread Morten Bo Johansen
Hi,

I would like to use the new Xfree 4.1 in woody with my S3
Virge/DX card but I am experiencing two problems:

1) When shifting from console to X (ctrl-alt-F7) it takes a
   couple of seconds for the dockapp icons on my desktop to be
   redrawn

2) The mouse pointer freezes ocassionally, usually after
   starting a program. This renders X useless for me.

I am using the following versions:

   xfree86-common  4.1.0-5
   xlib6g  4.1.0-5
   xlibs   4.1.0-5
   xserver-common  4.1.0-5
   xserver-xfree86 4.1.0-5
   wmaker  0.70.0-1

My /etc/X11/XF86Config-4 file looks like this:

 -

# XF86Config-4 (XFree86 server configuration file) generated by Dexconf, the
# Debian X Configuration tool, using values from the debconf database.
#
# Edit this file with caution, and see the XF86Config manual page.
# (Type man XF86Config at the shell prompt.)

Section Files
FontPathunix/:7100# local font server
FontPathunix/:7101# local font server
FontPath/usr/lib/X11/fonts/misc
EndSection

Section ServerFlags
EndSection

Section Module
#   Loadddc
#   LoadGLcore
#   Loaddbe
#   Loaddri
Loadextmod
#   Loadglx
#   Loadpex5
#   Loadrecord
#   Loadxie
#   Loadbitmap
#   Loadfreetype
#   Loadspeedo
#   Loadtype1
#   Loadvbe
#   Loadint10
EndSection

Section InputDevice
Identifier  Generic Keyboard
Driver  keyboard
Option  CoreKeyboard
Option  XkbRules  xfree86
Option  XkbModel  pc102
Option  XkbLayout dk
EndSection

Section InputDevice
Identifier  Configured Mouse
Driver  mouse
Option  CorePointer
Option  Device/dev/ttyS0
Option  Protocol  Microsoft
EndSection

Section Device
Identifier  S3 Inc. ViRGE/DX or /GX
Driver  s3virge
Option  pci_burst true
#   Option  NoAccel   true
EndSection

Section Monitor
Identifier  Generic Monitor
HorizSync   30-50
VertRefresh 50-65
Option  DPMS
#   Modeline1024x768  65.13 1024 1080 1256 1328 768 768 775 810
EndSection

Section Screen
Identifier  Default Screen
Device  S3 Inc. ViRGE/DX or /GX
Monitor Generic Monitor
DefaultDepth16
SubSection Display
Depth   16
Modes   1024x768
EndSubSection
EndSection

Section ServerLayout
Identifier  Default Layout
Screen  Default Screen
InputDevice Generic Keyboard
InputDevice Configured Mouse
EndSection

#Section DRI
#   Mode0666
#EndSection

# end of XF86Config


   
I have tried various things like disabling accelleration in the
s3virge driver but no change. There is not a single warning in
the X log file either which makes it a little hard for me to
debug.

When I used xserver-svga 3.3.6 there were no problems.

I hope someone can give me a clue.


Thanks,

Morten

   



zgv/svgalib - Monitor setting from environment denied

2001-10-17 Thread Morten Bo Johansen
I have just installed zgv but when I start it I get a messy
flickering screen, I exit with ctrl-c and I see these messages:

  Monitor setting from environment denied.
  Color/mono text selection from environment denied.

svgalib applications otherwise work ok. so I am at a loss what
to look for.

zgv is 4755 at install so this is not the problem.

Anybody to help?


Regards,

Morten



Re: lynx-ssl: Alert! HTTP 1.0 400 bad request; Not with other browsers

2001-10-13 Thread Morten Bo Johansen
Shaul Karl [EMAIL PROTECTED] wrote:

 Package: lynx-ssl
 Version: 2.8.4.2-1
 
 Does the following a lynx bug or is there a way to get lynx behave like
 other browsers?

It could be a Lynx bug, certainly. Whether or not one should
dub some behaviour in a brower's interaction with html a bug is
too complicated a subject for me but following one of the links
you referred to in Links (another text based browser with
this very silly name) worked ok. so at least you could say that
Lynx is less fault tolerant than Links in this instance.

 Reproducing the problem: 
 
 1. Go to http://www.ebay.com
 2. In the search box have something reasonable, say tv.
 3. Hit Find It.
 4. You should get a list of suggested items.
 5. Randomly choose one of the items.
 
 Now try following the link marked as `view seller's other auctions'.
 
 This results in an error screen. Prior to the error screen there is
 an error message at the status line at the bottom of the screen, saying
 
 Alert! HTTP 1.0 400 bad request.

Lynx either inserts or does not strip a space between the
userid= and the actual identity in the referring url so in
Lynx for instance such a url may look like this:

http://cgi2.ebay.com/aw-cgi/eBayISAPI.dll?ViewFeedbackuserid= gypsyseller

Note the space between the '=' and 'gypsyseller'.

You can remedy the situation by hitting 'E' while staying on
the link to edit it and then remove the space.

I'll send your message to lynx-dev to see if anyone has any
comments.


Regards,

Morten


-- 
To create man was a quaint and original idea, but to add the sheep 
  was tautology.  (Mark Twain)



XAPPLRESDIR ignored.

2001-09-16 Thread Morten Bo Johansen
Hi,

I am trying to create a resource file for particular programs
as specified in The X Window User HOWTO, section 8.5, instead
of having the settings for all of them in ~/.Xdefaults.

However it does not seem to work. Here is what I have done:

- Set XAPPLRESDIR to point to ~/app-defaults in the top of
  ~/.xinitrc and an echo gives:

   [EMAIL PROTECTED]:~$ echo $XAPPLRESDIR
   /home/mojo/app-defaults

- Obtained the resource name for eg. rxvt by using xprop, and
  it returns:

   WM_CLASS(STRING) = rxvt, XTerm  

   
- I have created a file 'rxvt' in ~/app-defaults with some
  settings like:

   *background:black
   *foreground:white
   *geometry:  78x28+0+0
   *font:  12x24
   *scrollBar_right:   true
   *saveLines: 500
   *termName:  xterm-xfree86

and I have commented out settings in ~/.Xdefaults |
~/.Xressources that might override the above settings.

To be sure I have also tried renaming the file in
~/app-defaults XTerm and Rxvt but no go.
   
  
Why doesn't it work?
  

Regards,

Morten



-- 
Anyone can do any amount of work provided it isn't the work he is supposed 
 to be doing at that moment. (Robert Benchley)



Re: pppd problems

2001-06-18 Thread Morten Bo Johansen
MaD dUCK [EMAIL PROTECTED] wrote:

 anyone have an idea how to make wvdial use pppd with the -d flag for
 debugging?


It's been a long time since I used wvdial but I notice from an
old backup that I had a file /etc/ppp/peers/wvdial with a few
pppd options in it so I guess that wvdial could be made to read
custom options from there.

You could try and stick a 'debug' into it and see what happens.



Regards,

Morten



Re: Home stopped working in X

2001-05-20 Thread Morten Bo Johansen
peter karlsson [EMAIL PROTECTED] wrote:

 Hi!
 
 After I yesterday updated some packages to be able to install
 KDE base from unstable, my Home key seems to have stopped
 working properly. It used to work in most places, but now it
 does some really weird things in several programs (most notably
 ncurses program and the bash shell).
 
 In my Xmodmap (I have a severly modified keymap) I have
 
 keycode 0x61 =Home
 
 so it should work properly.
 
 Has anything with this changed recently? Which package is most proper
 to file a bug against? xfree86-common?


You might need to change the $TERM setting for your terminal
program or hack its terminfo entry.

infocmp $TERM  $TERM.ti
emacs $TERM.ti
tic $TERM.ti

man 5 terminfo explains the terminfo syntax



Regards,

Morten





Re: lynx, X, cut/paste???

2001-05-20 Thread Morten Bo Johansen
Pierre Hyvernat [EMAIL PROTECTED] wrote:

 Hi!
 I am using lynx (I am also trying w3m, but I haven't got used to it
 yet...) in X when I don't want to launch Mozilla or Netscape (and
 sometimes even if one of them is aleady running!)
 
 It looks like I can't always cut or paste text in it.  

 []

Holding down the shift key while selecting the text to copy and
likewise holding down the shift key when pasting should work
all of the time.


Regards,

Morten


-- 
Every age is fed on illusions, lest men should renounce life early and 
 the human race come to an end.(Joseph Conrad)



Re: Mouse in xterm , mc problem.

2001-05-12 Thread Morten Bo Johansen
Steve Kieu [EMAIL PROTECTED] wrote:

 I got a minor problem ,I can not use mouse in rxvt or
 xterm running mc; before in slack I can use it. Even
 vim , I can not use (although I have set mouse
 options). In console I try to run gpm and mc, but have
 not test it yet. I use debian 2.2 r3.


You probably have your $TERM variable set to rxvt and I don't
think that any of the rxvt* terminfos support the use of mouse
(correct me anyone).

I therefore use xterm-color, i.e. put

  export TERM=xterm-color

in your .bashrc



Regards,

Morten

-- 
Chance is always powerful. Let your hook be always cast. In the pool where 
 you least expect it, will be a fish.   (Ovid)



Re: how to setup WMPPP

2001-05-12 Thread Morten Bo Johansen
Ardy -- Not Entered -- [EMAIL PROTECTED] wrote:

[you might like to wrap your lines a wee bit..I did it for you]


 hai i need some help from you guys out there , does anybody
 know hot to setup WMPPP and also how to make it work? because
 this is first time for me to use wmppp , before i just use pon
 and poff to connect/disconnect my dialup internet , so please
 if someone knows about how to setup and make it work , i need
 some info for this

Read the documentation in /user/share/doc/wmppp.app. There are
some example files. If that doesn't get you going then return
with some more specific questions.



Regards,

Morten

-- 
I don't like money actually, but it quiets my nerves. (Joe Louis)



Broken perl 5.6.0 installation

2001-04-18 Thread Morten Bo Johansen

Hi,


When I upgraded from potato to woody it seems that I have done
something wrong in that my perl installation now appears to be
broken. When I try to install a module from cpan I get this
error message:

cpan install Net::FTP 
Running make for G/GB/GBARR/libnet-1.0703.tar.gz
Can't locate object method new via package LWP::UserAgent at 
/usr/share/perl/5.6.0/CPAN.pm line 1979, FIN line 2.


I have these packages installed (sorry for possible excess
information):


dpkg-perl   install
libdigest-md5-perl  install
libfreedb-perl  install
libhtml-parser-perl install
libhtml-tagset-perl install
libmime-base64-perl install
libnet-perl install
libnet-telnet-perl  install
libperl5.6  install
libtimedate-perlinstall
liburi-perl install
libwww-perl install
perlinstall
perl-5.005  install
perl-5.005-base install
perl-5.005-debuginstall
perl-5.005-doc  install
perl-5.005-suid install
perl-5.6install
perl-base   install
perl-debug  install
perl-docinstall
perl-modulesinstall
perl-suid   install


If anyone has an idea on how to overcome this I'd be
very glad since this is a rather serious problem. I'd be
equally glad if you'd cc me your answer.




Thanks,

Morten



-- 
No matter how bad things get you got to go on living, even if it kills you. 
   (Sholom Aleichem)



Re: library missing when installing MySQL

2001-04-18 Thread Morten Bo Johansen
Henrik Jensen [EMAIL PROTECTED] wrote:

 Everything seemed to go smoothly until I suddenly got this:
 
 checking for tgetent in -lncurses ... no
 checking for tgetent in -lcurses ... no
 checking for tgetent in -ltermcap ... no
 checking for termcap functions library ... error: configure: no
 curses/termcap library found


I'd expect that you have not installed a package such as 
libncurses5-dev..?


Regards,

Morten


-- 
So little time, so little to do. (Oscar Levant)



Re: library missing when installing MySQL

2001-04-18 Thread Morten Bo Johansen
Henrik Jensen [EMAIL PROTECTED] wrote:


 I also tried 'apt-get install libncurses5-dev' - this couldn´t be found, and
 'apt-get install libncurses-dev' gave me something like package
 libncurses-dev has no version [...]
 
 Am I using the right commands?


On my potato CDs libncurses5-dev is on CD #3. You might not
have the contents of this in your apt-cache? Try apt-cdrom -add
and insert this CD.


Regards,


Morten


-- 
Either we live by accident and die by accident, or we live by plan and 
 die by plan.(Thornton Wilder)



Re: Setting lynx up to deal with a proxy server

2001-04-02 Thread Morten Bo Johansen

Simmons-Davis [EMAIL PROTECTED] wrote:

 My ISP uses a proxy server and so prevents Lynx from working
 properly (or at least that was a possiblility that someone else
 suggested). I know for sure that my ISP uses a proxy server as
 they told me themselves. Please tell me what information I need
 from my ISP and then where to change it in the Lynx
 configuration files.

In what way does it not work? You must be more specific than
that if people are supposed to be able to help.

Your ISP would never require you to use their proxy server but
they most cetainly offer you to make use of one. 

So it's not where your problem's at..



Regards,

Morten

-- 
Chance is always powerful. Let your hook be always cast. In the pool where 
 you least expect it, will be a fish.   (Ovid)



Re: Anyone using cdrdao with success ?

2001-03-31 Thread Morten Bo Johansen
Sergio Da Silva [EMAIL PROTECTED] wrote:

 I was wondering if there is anybody out there who does disk-at-once
 recording using cdrdao or any other recording software. My main
 purpose is the recording of audio CDs, and so far I have succeeded only
 a few times in recording CDs without a glitch.
 
 Could you please specify the options you provide cdrdao with?


Put the following with possible modifications into your .bashrc
or equivalent:

alias audio='cdrdao copy -v1 --paranoia-mode 3 --device 0,1,0 --driver generic \
-mmc-raw:0x0 --source-device 0,0,0 --source-driver generic-mmc-raw:0x0 
--buffers 10' 


Now you can just type audio at the command prompt to copy an
audio cd. 

'device' and 'source-device' refer to your burner and regular
cdrom drive respectively and their bus/target/luns are found by
running 'cdrecord -scanbus' as root. You may also need to
change the driver setting or possibly leave out any reference
to it and let cdrdao probe for one itself.

If you wanted anything other than copying please be a little
more specific, then others might help.

I noticed somewhere that going into single user mode when
burning might be a good thing to do.



HTH,

Morten



Re: Mail config for dial-up

2001-03-30 Thread Morten Bo Johansen
Gudmundur Erlingsson,,, [EMAIL PROTECTED] wrote:

 I have a dialup connection to the net, a mailbox at Yahoo (I'm
 a bit on the move) that I access using pop3 retreaval with
 Fetchmail, and since I really want to use Mutt (pretty sure
 it's safe to admit that in this crowd:-) I guess I have to use
 Exim as the smtp-server. I'm not sure, though, if this is the
 safest and best way to do this, and it seems a bit much to have
 a fullblown mailserver going on a laptop that's only connected
 1-2 hours every day.
 
 So the question is: how are you (referring to more experienced
 users) doing it? Is exim the way to go, since it is already
 there, or is there some other, simpler solution? (remember that
 I *really* want to use Mutt:-)


I think you should just stay with exim; its default setup is to
be run from inetd and not in daemon mode so it doesn't take up
resources beyond what's already being used by inetd. Besides,
since you're using fetchmail you'll need an SMTP listener
anyway. It's really not worth the effort changing this setup on
a system like yours.




Regards,

Morten

-- 
It usually takes me more than three weeks to prepare a good impromptu 
 speech. (Mark Twain)



Re: xcdroast replacement?

2001-03-30 Thread Morten Bo Johansen
Peter S Galbraith [EMAIL PROTECTED] wrote:

 xcdroast from testing no longer works, and the one in unstble
 won't run either.  What do other people used?
 
 I tried gtoaster but I have to admit I don't understand its user
 interface a bit.


Gcombust will please you, I'm sure. As for audio I use cdrdao -
and there is a GUI frontend for that as well, called gcdmaster.




Regards,

Morten



Re: running lynx

2001-03-25 Thread Morten Bo Johansen
Simmons-Davis [EMAIL PROTECTED] wrote:

 Dear Debian Group,
 
 I am unable to run lynx on the Debian 2.2r2 system I recently installed.
 After I run wvdial, connect to my ISP, hit cntrl z and then type the
 command lynx at the command prompt (all as root) I get the following
 errors (I have also set http://www.debian.org as my start page for lynx
 during the initial configuration, is it incorrect to have a remote host as
 my startpage?):
 
 debian:~# lynx
 
 Looking up www.debian.org
 Unable to locate remote host www.debian.org.
 Alert!: Unable to connect to remote host.
 
 lynx: Can't access startfile http://www.debian.org/
 debian:~#
 
 Please advise me as to how to get lynx working. Thank you very much for your
 time and energy.


I think you're breaking your connection with the ctrl-z so the
reason for the lynx error simply is that you have no connection
to the internet. Instead run wvdial like this:

   nohup wvdial/dev/null 21 


   

Regards,

Morten



Re: Netscape/WindowMaker annoyance (XmDisplay)

2001-03-14 Thread Morten Bo Johansen
kmself@ix.netcom.com kmself@ix.netcom.com wrote:


 on Tue, Mar 13, 2001 at 02:55:05PM +0100, Morten Bo Johansen ([EMAIL 
 PROTECTED])

  kmself@ix.netcom.com kmself@ix.netcom.com wrote:
   on Mon, Mar 12, 2001 at 10:11:56PM +0100, Morten Bo Johansen wrote:

I am using Netscape 4.76 with WindowMaker 0.64.0 on a potato
system, the latter being compiled from the sources in unstable.
Occasionally Netscape won't start when I click on its icon --
from the error messages that are output to one of the consoles
I can see this:
  Class: XmDisplay _MOTIF_DRAG_WINDOW has been destroyed

   How did you create the icon and what are its settings?  Are you
   running the Netscape binary directly, or the shell wrapper
   that's required to configure environments for it before launch?

  The icon is /usr/share/WindowMaker/Icons/Netscape.png, one of
  the stock wmaker icons. I have this on my dock.
 
 And just what do you think an image file has to do with running an
 application?


Sorry, the mentioning of the clicking of the icon is surely
irrelevant - I really just meant to say that netscape won't
start. Of course the icon *is* associated with the command
netscape (I have used wmaker for 3 years).

It slipped in I guess because it could be assumed the problem
lies in an interaction between netscape and wmaker - but hey
let's forget about the damn icon ;-)


 What happens when you launch Netscape from the command line?


Same thing - but it only happens occasionally and the annoying
thing is that apparently there is no proces to kill to fix the
problem. Thought maybe someone had had this experience and
could shed some light..




Regards,

Morten

-- 
New Yorker cartoon caption: You have the right to remain silent. Anything 
you say may be used against you in a court of law, newspapers, periodicals, 
radio, television, all electronic media, and technologies yet to be developed.



apt-cache search in srcpkgcache.bin..?

2001-03-14 Thread Morten Bo Johansen
Hi,


Could someone help me with the syntax for searching the source
cache..

I have tried something like 

  apt-cache showpkg gimp -o Dir::Cache=/var/cache/apt/srcpkgcache.bin


My source cache reflects the unstable archive But the command
above still only gives me package information from my old potato
cdroms..?


Thanks,

Morten




-- 
If work was a good thing the rich would have it all and not let you do it.
  (Elmore Leonard)



Re: Netscape/WindowMaker annoyance (XmDisplay)

2001-03-13 Thread Morten Bo Johansen

kmself@ix.netcom.com kmself@ix.netcom.com wrote:

 on Mon, Mar 12, 2001 at 10:11:56PM +0100, Morten Bo Johansen wrote:

  I am using Netscape 4.76 with WindowMaker 0.64.0 on a potato
  system, the latter being compiled from the sources in unstable.
  Occasionally Netscape won't start when I click on its icon --
  from the error messages that are output to one of the consoles
  I can see this:
Class: XmDisplay _MOTIF_DRAG_WINDOW has been destroyed

 How did you create the icon and what are its settings?  Are you
 running the Netscape binary directly, or the shell wrapper
 that's required to configure environments for it before launch?


Thanks for your reply.

The icon is /usr/share/WindowMaker/Icons/Netscape.png, one of
the stock wmaker icons. I have this on my dock.

I am running the netscape binary directly as netscape is simply
installed with the script found in the package from 

ftp://ftp.netscape.com/pub/communicator/english/4.76/unix/supported/linux22/navigator_standalone

but I have set the environment variable

export MOZILLA_HOME=/opt/netscape

in my .xinitrc so plugins work etc.

Should I need to set any other variables..?


Thanks,

Morten


PS: I found the Debian way of installing Netscape rather
confusing so I chose this way.


-- 
Either we live by accident and die by accident, or we live by plan and 
 die by plan.(Thornton Wilder)



Netscape/WindowMaker annoyance (XmDisplay)

2001-03-12 Thread Morten Bo Johansen
Hi,


I am using Netscape 4.76 with WindowMaker 0.64.0 on a potato
system, the latter being compiled from the sources in unstable.

Occasionally Netscape won't start when I click on its icon --
from the error messages that are output to one of the consoles
I can see this:

  Class: XmDisplay _MOTIF_DRAG_WINDOW has been destroyed

I have no idea what to make of this, not even if it is caused
by some combination of wmaker and netscape as I indicated in
the subject. The Only way I can get netscape back to normal is
actually to telinit to runlevel 1 and then start up again.

Could someone help me in asserting what is causing this
behaviour..?


[I'd be glad if you'd cc me.]


Thanks,


Morten




-- 
A fanatic is one who can't change his mind and won't change the subject. 
 (Winston Churchill)



Compiling the util-linux package for potato

2001-02-08 Thread Morten Bo Johansen
Hi,


I have fetched the deb-src package of util-linux 2.10q to
comply with the demands of a kernel 2.4.1. Compiling and
installing it seems more daunting than usual -- the MCONFIG
file in the source archive lists a lot of options that should
be answered correctly so as not to wind up with a system that
you cannot log into. I am uncertain of the answers to some of
the questions that these settings raise and would be greatful
if someone could edit the MCONFIG file listed below with the
settings filled in correctly for a fairly virgin potato system
(only a few updates from stable/security):


   -MCONFIG begin---

# If HAVE_PAM is set to yes, then login, chfn, chsh, and newgrp 
# will use PAM for authentication. Additionally, passwd will not be   
# installed as it is not PAM aware.   
HAVE_PAM=yes  
  
# If HAVE_SHADOW is set to yes, then login, chfn, chsh, newgrp, passwd, 
# and vipw will not be built or installed from the login-utils
# subdirectory.   
HAVE_SHADOW=yes   
  
# If HAVE_PASSWD is set to yes, then passwd will not be built or
# installed from the login-utils subdirectory (but login, chfn, chsh, 
# newgrp, and vipw *will* be installed).  
HAVE_PASSWD=no
  
# If you use chfn and chsh from this package, REQUIRE_PASSWORD will require   
# non-root users to enter the account password before updating /etc/passwd.   
REQUIRE_PASSWORD=yes  
#REQUIRE_PASSWORD=no  
  
# If you use chsh from this package, ONLY_LISTED_SHELLS will require that 
# the selected shell be listed in /etc/shells -- otherwise only a warning is  
# printed.  This prevents someone from setting their shell to /bin/false. 
ONLY_LISTED_SHELLS=yes
#ONLY_LISTED_SHELLS=no

# If HAVE_SYSVINIT is set to yes, then simpleinit and shutdown will not 
# be built or installed from the login-utils subdirectory.  (The shutdown 
# and halt that come with the SysVinit package should be used with the init   
# found in that package.) 
HAVE_SYSVINIT=no  
  
# If HAVE_SYSVINIT_UTILS is set to yes, then last, mesg, and wall will  
# not be built or installed from the login-utils subdirectory.  (The  
# shutdown and init from the SysVinit package do not depend on the last,  
# mesg, and wall from that package.)  
HAVE_SYSVINIT_UTILS=no
  
# If HAVE_GETTY is set to yes, then agetty will not be built or 
# installed from the login-utils subdirectory.  Note that agetty can  
# co-exist with other gettys, so this option should never be used.
HAVE_GETTY=no 
  
# If USE_TTY_GROUP is set to yes, then wall and write will be installed 
# setgid to the tty group, and mesg will only set the group write bit.  
# Note that this is only useful if login/xterm/etc. change the group of the   
# user's tty to tty [The login in util-linux does this correctly, and   
# xterm will do it correctly if X is compiled with USE_TTY_GROUP set  
# properly.]  
USE_TTY_GROUP=yes  

# If HAVE_RESET is set to yes, then reset won't be installed.  The version  
# of reset that comes with the ncurses package is less aggressive.
HAVE_RESET=yes
  
# If HAVE_SLN is set to yes, then sln won't be installed
# (but the man page sln.8 will be installed anyway).  
# sln also comes with libc and glibc. 
HAVE_SLN=no   

Potato and kernel 2.4

2001-02-07 Thread Morten Bo Johansen

I was wondering if anyone could provide me with a link
explaining the steps one needs to take to install a 2.4
kernel on a potato system. I suppose that several packages
(e.g. pppd) need to be updated to get a functioning system..



Thanks

-- 
All truths are half-truths.  (Alfred North Whitehead)



Syncronize pc-clock w/timeserver

2000-10-16 Thread Morten Bo Johansen

Hi,


I would like to use netdate to syncronize my computer's
timesetting with that of a timeserver but no matter what
timeserver address I pass to netdate I get the following
lacklustre message:

   Connection with udp to x.x.x.x failed


I converted to Debian a couple of weeks ago and this used to
work in SuSE. Does anyone know what I need to fix?

Also if you have some other advice for me based on some
package(s) (instead of netdate) that are in Debian 2.2 that
would appreciated.


   
Thanks,


Morten




-- 
The only way to get rid of temptation is to yield to it. (Oscar Wilde)



Re: Syncronize pc-clock w/timeserver

2000-10-16 Thread Morten Bo Johansen
kmself@ix.netcom.com kmself@ix.netcom.com said:

 On Mon, Oct 16, 2000 at 11:59:03PM +0200, Morten Bo Johansen ([EMAIL 
 PROTECTED]) wrote:
  
  Hi,
  
  
  I would like to use netdate to syncronize my computer's
  timesetting with that of a timeserver but no matter what
  timeserver address I pass to netdate I get the following
  lacklustre message:
  
 Connection with udp to x.x.x.x failed
 
 I use ntpdate, cronned to run a few times a day.  There is also ntpd,
 which continuously polls a list of timeservers to keep your system(s)
 syncronized.
 
 Is networking working for you -- can you ping the host or otherwise
 connect to it?


Yes it's working. It is something with the udp stuff, I think -
but nevermind, I used the advice I got from others as well as
from you, to use the ntpdate program and it works fine.

Thanks a lot to you and everybody else.



Best regards,


Morten

-- 
Experience is what enables you to recognize a mistake when you make it 
 again.  (Earl Wilson)



Re: Q: Best PPP dial-up console mail app?

2000-10-15 Thread Morten Bo Johansen
Jonathan Gift [EMAIL PROTECTED] said:

 Hi,
 I have a 56k dial up using pon and poff and was wondering which of the
 console choices would allow me to fetch and dl mail? Also write off-line,
 then log on and send. Mutt and Pine I have heard about. The ability to
 filter into assorted folders (like for mailing lists) would be a necessity.
 This for a single account.


Mailreader: A quick examination of the 973 mails I've received
on the debian-user list so far shows that 399 were composed by
Mutters so if you'd like to..hurler avec les loups, use mutt ;)

Filtering: Exim is already installed for you and set up to use
procmail as its local postman. All you need is a .procmailrc in
your home directory with rules on what folders you want to
filter your messages into.

How to go about that has been discussed on this list today.
Look at some of the previous threads.

Writing offline, logging on and sending: Can be accomplished in
more than one way; in addition to the answer you've already
received you can also configure your pppd setup to use demand
dialling (use pppconfig to set it up). Once you dispatch your
message from within Mutt, Pine whatever, a connection will be
established automatically and your message will fly off to its
destination.


Fetching mail: Use fetchmail. There is a GUI to facilitate the
configuration.



Good luck,


Morten

-- 
Anyone can do any amount of work provided it isn't the work he is supposed 
 to be doing at that moment. (Robert Benchley)