Re: Re: removing gdb-minimal removed plasma-desktop?

2024-01-14 Thread Morten Hauke Solvang
On 2024-01-14 08:54 +0100, Morten Hauke Solvang wrote:

> That assumption was a bit misguided.  The correct way would have been to
> "apt install gdb" _without_ first removing gdb-minimal, that would have
> avoided the removal of reverse dependencies.

> Pretty sure not only was this information printed, apt also asks for
> confirmation if it has to install or remove more packages than
> requested.  But it did what you told it to do, although the outcome
> might not have been what you desired.

Right, makes sense to me. I was apparently just asleep at the wheel.

> Good you sorted it out.  The only question is why apt installed gdb even
> though it removed plasma-workspace anyway.  When I tried to replicate
> your situation in a bookworm chroot, "apt remove gdb-minimal" removes
> plasma-workspace but does not install gdb.

I just ran 'apt install gdb-minimal' to get back to the state from
before yesterday.
If I then run 'apt remove gdb-minimal' I do infact see the warning you were
saying I would see.

$ sudo apt remove gdb-minimal
... (trimmed output)
The following additional packages will be installed:
 gdb
Suggested packages:
 gdb-doc gdbserver
The following packages will be REMOVED:
 gdb-minimal kde-plasma-desktop kinfocenter plasma-desktop
plasma-widgets-addons plasma-workspace plasma-workspace-wayland
sddm-theme-breeze sddm-theme-debian-breeze
The following NEW packages will be installed:
 gdb
0 upgraded, 1 newly installed, 9 to remove and 0 not upgraded.

If I follow what you are saying, then this is all is fine, except that
 - It's a bit odd that plasma-desktop depends on gdb-minimal | gdb
 - Why is it installing gdb?
 - If it is installing gdb, then it shouldn't actually need to remove
plasma-desktop.

If I type 'n' to abort the 'apt remove ...' call, and instead install
'gdb', I see this:

$ sudo apt install gdb
... (trimmed output)
The following packages will be REMOVED:
 gdb-minimal
The following NEW packages will be installed:
 gdb
0 upgraded, 1 newly installed, 1 to remove and 0 not upgraded.
Need to get 3,962 kB of archives.
After this operation, 1,757 kB of additional disk space will be used.
Do you want to continue? [Y/n] y
Get:1 http://deb.debian.org/debian bookworm/main amd64 gdb amd64
13.1-3 [3,962 kB]
Fetched 3,962 kB in 0s (34.7 MB/s)
dpkg: gdb-minimal: dependency problems, but removing anyway as you requested:
plasma-workspace depends on gdb-minimal | gdb; however:
 Package gdb-minimal is to be removed.
 Package gdb is not installed.
 Package gdb-minimal which provides gdb is to be removed.
plasma-workspace depends on gdb-minimal | gdb; however:
 Package gdb-minimal is to be removed.
 Package gdb is not installed.
 Package gdb-minimal which provides gdb is to be removed.
... (trimmed output)

This ends up doing what I wanted to do yesterday: I get full gdb
instead of gdb-minimal, and my desktop
environemnt doesn't disappear.
The warning from dpkg seems a bit odd, looks like it also is confused
about whether or not gdb is installed
(and the warning also is printed twice...).

Maybe I'll try booting up a full clean install in a VM to see if I can
reproduce, to rule out that there
is anything else which is messed up on my system.

Either way, thanks a lot for your reply!
Best regards, Morten



removing gdb-minimal removed plasma-desktop?

2024-01-14 Thread Morten Hauke Solvang
Short version: "apt remove gdb-minimal" seems to have also removed
plasma-desktop + a bunch of related packages.

Curious if there are any good debugging tips for figuring out what
happened here.
Or maybe I'm missing something obvious about how apt works, and this
is expected behavior?

Yesterday, I was trying to use gdb, and realized I had gdb-minimal
installed instead of the regular gdb package.

To fix this, I first ran "apt remove gdb-minimal".
My assumption was that I then would have to run "apt install gdb".
But turns out that invoking "gdb" after running "apt remove
gdb-minimal", I had the full version of gdb installed.
I didn't think more about it, went on using gdb and later shut down
the computer.

When I booted it today, a different display manager than what I
usually have was shown. Switching to a different pseudoterminal and
checking "/var/log/apt/history.log" showed that when I had removed
gdb-minimal, for some reason plasma-desktop and some other packages
had also been removed.

This is the entry I saw:

Start-Date: 2024-01-13  15:52:49
Commandline: apt remove gdb-minimal
Requested-By: morten (1000)
Install: gdb:amd64 (13.1-3, automatic),
libsource-highlight-common:amd64 (3.1.9-4.2, automatic),
libboost-regex1.74.0:amd64 (1.74.0+ds1-21, automatic), libc6-dbg:amd64
(2.36-9+deb12u3, automatic), libbabeltrace1:amd64 (1.5.11-1+b2,
automatic), libsource-highlight4v5:amd64 (3.1.9-4.2+b3, automatic)
Remove: kinfocenter:amd64 (4:5.27.5-2), plasma-workspace:amd64
(4:5.27.5-2+deb12u1), plasma-widgets-addons:amd64 (4:5.27.5-2),
plasma-workspace-wayland:amd64 (4:5.27.5-2+deb12u1),
sddm-theme-breeze:amd64 (4:5.27.5-2+deb12u1),
sddm-theme-debian-breeze:amd64 (4:5.27.5-2+deb12u1), gdb-minimal:amd64
(13.1-3), kde-plasma-desktop:amd64 (5:142), plasma-desktop:amd64
(4:5.27.5-2)
End-Date: 2024-01-13  15:52:52

(Looks like this is where regular gdb got installed too, so I didn't
actually have it, it just got autoinstalled when I removed
gdb-minimal?)
(Also, probably this info got printed when I ran "apt remove
gdb-minimal", and I was not paying attention.)

To fix it, I ran this command and rebooted with "systemctl reboot",
which seems to have worked fine. Now I'm back in the expected desktop
environment.
apt install kinfocenter plasma-workspace plasma-widgets-addons
plasma-workspace-wayland sddm-theme-breeze sddm-theme-debian-breeze
kde-plasma-desktop plasma-desktop

Looking back in history.log, the only other references to gdb-minimal
and plasma-desktop I could find was near the top of the file (15th
entry):

Start-Date: 2024-01-08  06:25:16
Commandline: apt-get -o APT::Status-Fd=4 -o APT::Keep-Fds::=5 -o
APT::Keep-Fds::=6 -q -y -o APT::Install-Recommends=true -o
APT::Get::AutomaticRemove=true -o Acquire::Retries=3 install
task-kde-desktop bind9-dnsutils dbus systemd-timesyncd apt-listchanges
reportbug netcat-traditional debian-faq python3-reportbug man-db
ncurses-term bash-completion bind9-host groff-base mime-support
manpages bzip2 inetutils-telnet doc-debian krb5-locales lsof ucf wget
libnss-systemd ca-certificates gettext-base perl wamerican
openssh-client xz-utils traceroute file liblockfile-bin libpam-systemd
media-types task-english task-desktop task-ssh-server
Install: ...

I've cut off the "Install :" part, because it continues for more than
a screen. It contains both the kde-packages which were gone from my
system, and gdb-minimal.
I assume that this is from when I ran the debian installer on monday
(fresh install).

I appreciate any input, thanks in advance.



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: Can't install security update: server name not resolved

2016-10-21 Thread Morten Bergman

I was seeing that too.
Tried again, this time through a VPN, and it worked.

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: Locale-related questions

2015-12-09 Thread Morten W. Petersen
On Sun, Nov 29, 2015 at 4:04 PM, Nicolas George <geo...@nsup.org> wrote:

> Le nonidi 9 frimaire, an CCXXIV, Morten W. Petersen a écrit :
> > I was looking for a locale that would enable me to putwchar a 32-bit
> > Unicode character to stdout and have things handled correctly,
> > automatically.  Without any re-encoding to UTF-8 and so on.
>
> I do not know what your program is about, but what you are asking seems to
> me like a very bad idea.
>
> You should use putwchar() if you WANT automatic recoding to the current
> locale, transparently and for any locale, as long as the character is
> possible.
>
>
>
Hm.  But how would I go about setting up a locale that is in fact UTF-32?

I guess I need to build locale files that contain translations and so on in
UTF-32, and also need to hack a bit on terminal code and so on to get
that going?

-Morten

-- 
Twittering at http://twitter.com/blogologue
Blogging at http://blogologue.com
Playing music at https://soundcloud.com/morten-w-petersen
Also playing music and podcasting here:
http://www.mixcloud.com/morten-w-petersen/
On Google+ here https://plus.google.com/107781930037068750156
On Instagram at https://instagram.com/morphexx/


Re: Locale-related questions

2015-11-29 Thread Morten W. Petersen
Hi Alex,

thanks for that.

I was looking for a locale that would enable me to putwchar a 32-bit
Unicode character to stdout and have things handled correctly,
automatically.  Without any re-encoding to UTF-8 and so on.

-Morten

On Sun, Nov 29, 2015 at 2:21 PM, Alex Vong <alexvong1...@gmail.com> wrote:

> Hi Morten,
>
> I have CCed this mail to <debian-user@lists.debian.org>. I think it is
> a good place to talk about your question.
>
> Regarding the question, could you please give more information? What
> problem are you facing? Are you trying to convert encoding from/to
> UTF-32 ? If yes, perhaps libiconv
> <https://www.gnu.org/software/libiconv/> could help you.
>
> Cheers,
> Alex
>
> On 29/11/2015, Morten W. Petersen <morp...@gmail.com> wrote:
> > Hi there.
> >
> > I have some questions about building/enabling a UTF-32 locale in Debian
> or
> > Linux in general, who could I talk to about that?
> >
> > Thanks,
> >
> > Morten
> >
> > --
> > Twittering at http://twitter.com/blogologue
> > Blogging at http://blogologue.com
> > Playing music at https://soundcloud.com/morten-w-petersen
> > Also playing music and podcasting here:
> > http://www.mixcloud.com/morten-w-petersen/
> > On Google+ here https://plus.google.com/107781930037068750156
> > On Instagram at https://instagram.com/morphexx/
> >
>



-- 
Twittering at http://twitter.com/blogologue
Blogging at http://blogologue.com
Playing music at https://soundcloud.com/morten-w-petersen
Also playing music and podcasting here:
http://www.mixcloud.com/morten-w-petersen/
On Google+ here https://plus.google.com/107781930037068750156
On Instagram at https://instagram.com/morphexx/


Re: Locale-related questions

2015-11-29 Thread Morten W. Petersen
Nicolas,

OK.  I don't know exactly what I'm talking about here as you can see. :)

I'm writing an XML parser/writer/simple DOM, which will input and output
primarily in UTF-32.

This program outputs some information to stdout in the testing process,
and this is also UTF-32 (internally a character is an integer >= 32 bits).

I tried now to use putwchar:

putwchar((wchar_t) buffer[index]);

And the output is the same as if had used

 printf("%c", (char) buffer[index]);

That is, non-ASCII characters are garbled.

All the locale settings except LC_ALL are en_US.UTF-8, LC_ALL is empty.

What I'm looking for is a cross-platform way to output some data, to aid
in the testing process.  Reading and writing from files will probably be
binary and handled internally in the program.

-Morten

On Sun, Nov 29, 2015 at 4:04 PM, Nicolas George <geo...@nsup.org> wrote:

> Le nonidi 9 frimaire, an CCXXIV, Morten W. Petersen a écrit :
> > I was looking for a locale that would enable me to putwchar a 32-bit
> > Unicode character to stdout and have things handled correctly,
> > automatically.  Without any re-encoding to UTF-8 and so on.
>
> I do not know what your program is about, but what you are asking seems to
> me like a very bad idea.
>
> You should use putwchar() if you WANT automatic recoding to the current
> locale, transparently and for any locale, as long as the character is
> possible.
>
> On the other hand, if as you say you do not want automatic recoding, then
> you should use octet-based output functions: serialize your Unicode code
> point to little or big endian as you prefer and use putchar() or fwrite()
> to
> send it.
>
> Note that wchar_t are Unicode code point under GNU but that is neither
> guaranteed nor portable. Personally, I recommend not to use wchar_t
> entirely.
>
> Regards,
>
> --
>   Nicolas George
>



-- 
Twittering at http://twitter.com/blogologue
Blogging at http://blogologue.com
Playing music at https://soundcloud.com/morten-w-petersen
Also playing music and podcasting here:
http://www.mixcloud.com/morten-w-petersen/
On Google+ here https://plus.google.com/107781930037068750156
On Instagram at https://instagram.com/morphexx/


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: Request for CD

2010-06-16 Thread morten
:)

We'll pay 50 USD to the first who can get this guy a CD :D

-Morten

On Wed, 16 Jun 2010 19:28:49 +0530, Jnanadarshan Nayak
jnanadars...@gmail.com wrote:
 Please send me a Debian CD at the following address as I do not have the
 financial capacity to buy it and as I am using a mobile internet
connection
 so its impossible for me download.
 
 
 
 
 Address
 
 Jnanadarshan nayak
 C/O-Mardaraj Mishra
 Old Jagannatha Road
 Madhupatana-II
 Cuttack
 753010
 Orissa
 India


-- 
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/30201c8deda4aa948f75f1adfc9e3...@localhost



problem with debian lenny 503 netinstall

2009-10-27 Thread Morten Gulbrandsen
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

Dear debian users,

again I tried with debian lenny 503 netinstall.

first problem was printing.

It issued something like  kerneloops.

I accepted so the message may be sendt to kerneloops.

I was able to print a cups test page.

On previous versions of debian,  I think  500
printing was not a problem.

The next problem I'm likely to face is when new updates are offered.

that chrashed my system.

I can try to send a succesfull install report. Also with the cups or
printing debug message.

I like this paper and try to follow the steps as suggested here:

http://www.debian.org/releases/stable/i386/

http://debian-community.org/lennyfaq/

http://www.doviak.net/debian/debian_install_guide.pdf

is a nice guide howto install Lenny.

This FAQ needs your questions and answers !

I can also try the older version of debian, which had everything right
on the fly.

debianlenny503 is difficult for me currently, and the
linux penguin noticed something strange about the kernel.

It still may be a user error.  Debian may have new features which
operates different than what I'm used to.

Question: is this known? How can I troubleshoot this?

except dmesg  lspci and the troubleshoot.txt ?




Sincerely yours,

Morten Gulbrandsen

主バイトホイットフィールド
_
Java programmer, C++ programmer
CAcert Assurer, GSWoT introducer, thawte Notary
Gossamer Spider Web of Trust http://www.gswot.org
Please consider the environment before printing this e-mail!

-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.9 (SunOS)
Comment: For keyID and its URL see the OpenPGP message header

iEYEARECAAYFAkrm9FkACgkQ9ymv2YGAKVSb/wCeLqutQ/Q7Il2PtA/FLz2C6xLh
sD4AoMHrWgFi7xr1gyfdCHCwyAgAEFC0
=Z3pQ
-END PGP SIGNATURE-
Page 1 (Scheduler not running?):
{'cups_connection_failure': False}
Page 2 (Choose printer):
{'cups_dest': cups.Dest object at 0x9408560,
 'cups_instance': None,
 'cups_queue': 'HP-LaserJet-5P',
 'cups_queue_listed': True}
Page 3 (Check printer sanity):
{'cups_device_uri_scheme': u'hp',
 'cups_printer_dict': {'device-uri': 
u'hp:/par/HP_LaserJet_5P?device=/dev/parport0',
   'printer-info': u'QueueChanged',
   'printer-is-shared': True,
   'printer-location': u'HP-LaserJet-5P',
   'printer-make-and-model': u'HP LaserJet 5p 
Foomatic/hpijs, hpijs 2.8.6b',
   'printer-state': 3,
   'printer-state-message': u'',
   'printer-state-reasons': [u'none'],
   'printer-type': 135196,
   'printer-uri-supported': 
u'ipp://localhost:631/printers/HP-LaserJet-5P'},
 'cups_printer_remote': 0,
 'hplip_output': (['',
   '\x1b[01mHP Linux Imaging and Printing System (ver. 
2.8.6b)\x1b[0m',
   '\x1b[01mSystem Tray Status Service ver. 0.1\x1b[0m',
   '',
   'Copyright (c) 2001-8 Hewlett-Packard Development Company, 
LP',
   'This software comes with ABSOLUTELY NO WARRANTY.',
   'This is free software, and you are welcome to distribute 
it',
   'under certain conditions. See COPYING file for more 
details.',
   '',
   '',
   '\x1b[01mHP Linux Imaging and Printing System (ver. 
2.8.6b)\x1b[0m',
   '\x1b[01mDevice Information Utility ver. 4.1\x1b[0m',
   '',
   'Copyright (c) 2001-8 Hewlett-Packard Development Company, 
LP',
   'This software comes with ABSOLUTELY NO WARRANTY.',
   'This is free software, and you are welcome to distribute 
it',
   'under certain conditions. See COPYING file for more 
details.',
   '',
   '',
   '\x1b[01mhp:/par/HP_LaserJet_5P?device=/dev/parport0\x1b[0m',
   '',
   '\x1b[01mDevice Parameters (dynamic data):\x1b[0m',
   '\x1b[01m  Parameter Value(s)
  \x1b[0m',
   '    
--',
   '  back-end  hp  
  ',
   '  cups-printer  HP-LaserJet-5P  
  ',
   '  cups-uri  
hp:/par/HP_LaserJet_5P?device=/dev/parport0   ',
   '  dev-file  /dev/parport0   
  ',
   '  device-state  -1  
  ',
   '  device-uri
hp:/par/HP_LaserJet_5P?device=/dev/parport0

problem with debian 503 netinstall after accepting the automatically suggested updates

2009-10-24 Thread Morten Gulbrandsen
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

problem with debian 503 netinstall after accepting the automatically
suggested updates

Hello debian users:

I have discovered this

aptitude install reportbug; reportbug

and I am running it from the command line ctrl+alt F1,

I have the small iso file, which fits on one cd

debian-503-i386-netinst.iso

installation was smooth and new software was appended.

Then in upper right corner an orange flower alerted, that some updates
or upgrades was ready to launch.

I accepted and got a list of thousands of new packets and dependencies,

I said yes and amen.  on every two or three windows with a message.

after that, x server hangs, no gnome log in possible.

ctrl+alt backspace has little effect. it somehow restarts, but hangs and
freezes after log in, no mouse interaction possible, only moves, no clicks.

I hope to be able to finish

aptitude install reportbug; reportbug

and send you a bug report with my dmesg.

Before I was surprised by this update attack, the debian 503 worked fine
and all applications I tried worked.

I tried the dpkg --configure  -a

and

aptitude install  reportbug; reportbug


It is now removing endless lists of of software.

It is difficult to sendmail from the commandline, with no Iceweasel or
Icedove or Iceape.

But I can get the output of  dmesg and lspci -vvv   ftp that to a safe
place and submit the details.

I repeat: debian worked before the update was launched. It lasted approx
12 hours.


Sincerely yours,

Morten Gulbrandsen

主バイトホイットフィールド
_
Java programmer, C++ programmer
CAcert Assurer, GSWoT introducer, thawte Notary
Gossamer Spider Web of Trust http://www.gswot.org
Please consider the environment before printing this e-mail!

-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.9 (SunOS)
Comment: For keyID and its URL see the OpenPGP message header

iEYEARECAAYFAkri8JwACgkQ9ymv2YGAKVThwwCfQxUxXEFp3mU7AjGPLVNOURMY
AeoAn2LyZxJMIf0uI126ZBB/hE6Yv+3p
=ONkJ
-END PGP SIGNATURE-


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



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



Mitigation for latest Linux kernel exploit?

2009-08-14 Thread Morten W. Petersen

Hi,

I've seen this for RedHat on mitigating the latest kernel exploit:

https://bugzilla.redhat.com/show_bug.cgi?id=516949#c10

Is there some similar instructions for Debian?

Thanks,

Morten

--
Morten W. Petersen
Manager
Nidelven IT Ltd

Phone: +47 45 44 00 69
Email: mor...@nidelven-it.no


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




Re: How to check if a DVD is damaged?

2007-07-04 Thread Morten Gulbrandsen
Tshepang Lekhonkhobe wrote:
 On 7/4/07, Rodolfo Medina [EMAIL PROTECTED] wrote:
 A few days ago I by chance realized that the DVD-RW I had used for
 months to do
 may backup was probably damaged: apparently it was not, because I
 could burn my
 data onto it without problems; but when I tried to copy its content
 into a hard
 disk I got I/O errors and some directories could not be copied.

 The problem disappeared when I changed the DVD with a brand new one,
 but now I
 feel not sure: how can I know when my actual backup DVD should in case be
 damaged as well?  Is there any tool for that?
 
 K3b has an option to verify if original data matches the copy. This
 takes far longer than just burning of course; maybe twice as long.
 



CD-Writing HOWTO:
dd if=/dev/scd0 of=cdimage.

This command reads the content of the CD-ROM from  SCSI CD-writers
are slightly easier to set up with regard to CD-writing ...
tldp.org/HOWTO/CD-Writing-HOWTO-4.html - 24k - Cached - Similar pages

Then you can  compare the iso image  you wrote to DVD  with the iso
image you got back from dd


best regards

Morten


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



changing the type of the partition

2007-07-02 Thread Morten Gulbrandsen

I have   up and running two versions of  Debian.

like this  main OS   AMD64

AMD64_Debian_Etch_4.0_dev_sda1.png
http://666kb.com/i/appx8zyc7y0uwlkd5.png

With swap partition.

AMD64_Debian_Etch_4.0_dev_sda5.png
http://666kb.com/i/appxavb8nhi5q8swp.png



Then after one version was up and running I
decided or I had planned to append another version.

second OS as 32 bit.

i386_Debian_Etch_4.0_dev_sda3.png
http://666kb.com/i/appxbx8zcfzaxcs49.png

With swap partition. 
# is this necessary, I use GRUB Boot manager and the OS are selected
during boot.
# Why can't I simply use only one single swap partition assigned to both
OS versions, please?

i386_Debian_Etch_4.0_dev_sda4.png
http://666kb.com/i/appxclggdnfhk2v6h.png


Here is my problem,

Free_space_not_partitioned.png

http://666kb.com/i/appxdhnannw04kz15.png


I'd like to append 32 bit  fedora,  solaris 10 64 bit,   Win XP 32 bit.

Why is that impossible?

What can I do to change it?


I had no success with knoppix,I have downloaded
gparted-livecd-0.3.4-8.iso

The manual said it is better to use gparted from within a running OS,

gparted is according to my understanding meant to _resize_ a partition 
or _copy_ data from one partition to another.

To put it clear,  that is not what I want.


Both versions of debian etch 4.0 runs perfectly.

I think simply changing the type of the partition
could permit more OS to be installed in the existing
unusable free space.


Here is some details.


http://pastebin.ca/600147


Best regards

Morten









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



Re: Filter old mail with procmail

2006-11-25 Thread Morten O. Hansen
On Wed, 2006-11-22 at 17:34 +0100, Ismael Valladolid Torres wrote:
 Kevin Mark escribe:
  formail -s procmail  some_mail_box
 
 This is only useful if mail is stored in mbox format.
 

I just did a for m in *; do formail -s procmail  $m; done in the
maildir (Maildur/cur), and it worked great. :-)

Thanks for the help!

- Morten



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



Problem with speedstepping on 2.6.18, 1.8Ghz dell d400 with only run 600MHz

2006-10-09 Thread Morten Bisgaard
Hi

I have the problem that I can only get my Dell D400 1.8GHz computer to run
600Mhz. It boots at 600Mhz by default (found by cat /proc/cpuinfo) and I thought
that speedstepping would get it running at full speed. But even after modprobe
speedstep-centrino and running cpufreqd it stays at 600 Mhz.

cpufreq-info gives:
CPUs which need to switch frequency at the same time: 0
hardware limits: 600 MHz - 1.80 GHz
available frequency steps: 1.80 GHz, 1.60 GHz, 1.60 GHz, 1.60 GHz, 1.40 GHz,
1.20 GHz, 1000 MHz, 800 MHz, 600 MHz
available cpufreq governors: ondemand, userspace, powersave, performance
current policy: frequency should be within 600 MHz and 600 MHz.
The governor performance may decide which speed to use
within this range.
current CPU frequency is 600 MHz (asserted by call to hardware).

I have tried
echo 180  /sys/devices/system/cpu/cpu0/cpufreq/scaling_max_freq

but no matter what I do I always end up with:
cat /sys/devices/system/cpu/cpu0/cpufreq/scaling_max_freq
60

Something is changing the scaling_max_freq value back to 60 and thus the cpu
stays at 600Mhz :(
I cannot create a file anywhere in the /sys/ directory, I get a permission
denied but I am not sure it this is nominal or releated.

Everything is run as root and /sys/ is mounted as:
sysfs/syssysfsdefaults,noatime0  0


Does anyone have any input to this - I would really like to get my computer
running full speed?

Thanks
Morten Bisgaard





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



Re: LDAP howto?

2006-10-03 Thread Morten O. Hansen
On Tue, 2006-10-03 at 19:28 -0400, Ishwar Rattan wrote:
 Pointers to good LDAP-howto for server coniguration
 details.

I guess this [1] is a good starting point, and it wouldnt hurt googling
for 'debian ldap' either.

[1] http://wiki.debian.org/LDAP

With regards, Morten O. Hansen



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



Re: xserver-xorg install/configuration fails with null value not permitted

2006-09-24 Thread Morten O. Hansen
On Sat, 2006-09-23 at 14:49 -0700, RParr wrote:
 I am trying to add minimal X to a new installation and am getting a 
 failure during xserver-xorg configuration.
 
 The console / curses display pop-up says Null value not permitted OK?
 

http://bugs.debian.org/xserver-xorg
http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=388568

Hope this helps.

With regards, Morten O. Hansen




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



xvnc4viewer fonts

2006-09-09 Thread Morten O. Hansen

Hi,

Where does programs like xvnc4viewer (I guess all pure X programs?) get
their default font from? the font xvnc4viewer is using here now is
really ugly (and small). Just a couple of days ago, it was using a
different font, so I probably installed a font-package that took over as
default.

With regards, 
Morten O. Hansen



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



Problems with latest sid update

2006-09-08 Thread Morten O. Hansen

Hi there,

I'm having some problems with the latest dist-upgrade (did an etch -
sid upgrade last night).

1) During boot, it says it cant mount /dev/shm

2) It seems to have completely lost it ability to automount modules (I'm
currently using a stock debian kernel, but have also tested on a custom
kernel). 

3) X terminals dont work anymore, gnome-terminal gives there was an
error creating the child process for this terminal.

I'm not sure if they are all somewhat related, but does anyone have
suggestions on how to fix it? 

With regards, 
Morten O. Hansen



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



Re: Problems with latest sid update

2006-09-08 Thread Morten O. Hansen

 I never paid close attention to where it was being started from before,
 so I don't know exactly where to put it back.  As a quick fix, creating
 a symlink in /etc/rcS.d to ../init.d/udev at level 11:
 
 ln -s ../init.d/udev S11udev

Thanks, this seems to have solved the inability to automount modules,
and X terminals works again. :-)

It still can't mount /dev/shm though, but I can live with that for now.

Thanks again!

- Morten



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



Re: Problems with latest sid update - udev and other services not starting

2006-09-08 Thread Morten O. Hansen
On Fri, 2006-09-08 at 11:36 -0400, Scott Reese wrote:
 
 Did the dpkg-reconfigure udev recreate two links for you in /etc/rcS.d
 or just the S36udev-mtab link?  If it created a udev link, what did that
 look like?

Hi again,

I also got it working now, running dpkg-reconfigure udev two times
(the first time just created udev-mtab, the second time removed that..
and created udev links). So I have now two links :

S03udev - ../init.d/udev

And everything (including shm) seems to be fine now! :)

Regards,
Morten O.



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



Re: Blury fonts in OOo

2006-09-06 Thread Morten O. Hansen
On Tue, 2006-09-05 at 23:07 -0400, Kevin Mark wrote:
 Hi Morten,
 I was just reading an article on digg.com about this very thing: OO.org
 does in fact use its own font stuff. go to the site to find the linux
 and fonts article for more info.

Thanks :-)

The article is here [1] if anyone else want to have a look.

[1] http://avi.alkalay.net/linux/docs/font-howto/Font.html

With regards, 
Morten O.



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



Blury fonts in OOo

2006-09-05 Thread Morten O. Hansen

Hi,

I have my font-hints set to Subpixel smoothing (LCDs) in GNOME, and
everything looks fine, but when i start OOo (oowriter), the fonts there
looks blury and doesn't seem to use the same hints. Is this a known
bug? (is it a bug?), is there something I can do to tell OOo to use the
same hints?

I can take a screenshot if that helps.

With regards, Morten O. Hansen



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



Re: Debian ATI Radeon X300 don't mix?

2006-08-24 Thread Morten O. Hansen
Hi,

I would recommend using the script from [1] I'm using them on debian sid
now, and they are working quite well. (and has been updated to cover the
latest driver version). This script handles downloading, compiling
kernelmodule and also configures your system, so after you have run it
everything should be OK! (It has to be started from textmode, and if you
have X running it will kill it, just a heads up).

[1] http://kanotix.com/files/install-fglrx-debian.sh

Regards,
Morten



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



Re: LV Device Missing

2006-04-29 Thread Morten O. Hansen
On Sat, 2006-04-29 at 03:01 +, Ian Petts wrote:
 I'm fairly new to LVM, but I've been having an intermittant problem that
 I hope someone can help me with.
 
 Every few (2-10ish) reboots of my machine, my LV fails to be recognised.
 

I also have this, happens almost every time. Do you use a custom kernel?
It doesn't seem to happen so often with the debian ones...

I use LVM for all my partitions (except /boot), and the only way to have
it boot *every* time, is to put in a cd (after grub), and then it finds
it every time.. I have NOO idea how to fix this, if its a kernel bug, or
maybe I have forgot to compile something in, I dont know. 

//- Morten



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



Re: LVM2 and custom kernel

2006-04-14 Thread Morten O. Hansen

 Which kernel are you compiling? Is it a debian kernel or a vanilla one
 from kernel.org? 
 What version of debian are you running? 
 What bootloader are you using? 
 Do you have the lvm2 package installed?

I'm trying 2.6.15.7 now, from kernel.org. This is debian unstable, with
GRUB, and yes, I have the LVM2 packages installed.

I have the initrd image in /boot, so everything *seems* fine, but I
still get the error with my custom kernel. When i boot 2.6.16 (from
debian), everything is just fine. 

I have enabled Multiple devices driver support and Device mapper
support, do I need to enable something else? 

- Morten


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



Re: LVM2 and custom kernel

2006-04-14 Thread Morten O. Hansen
On Fri, 2006-04-14 at 11:00 -0400, David Clymer wrote:
 That sounds right... You could try starting with
 your /boot/config-2.6.16-x-foo file from the debian kernel (since that
 should have the required options selected) and customizing from there.

I didn't really see anything I have missed..

 You could also try recreating the initrd image just in case there was
 some condition at the time the image was built that prevented it from
 getting all required lvm stuff added.
 
 What is the panic message you are getting?

Cannot open root device 'mapper/main-root' or unknown-block (0,0)
kernel panic - not syncing: VFS: unable to mount root fs on
unknown-block (0,0).

If it helps, this is my LVM-setup:

/dev/hda1, 512MB, ext3, mounted at /boot
/dev/hda2, 55GB, LVM (main)
root, 12GB, ext3, mounted at /
home, 44GB, reiserfs, mounted at /home
tmp, 512MB, ext3, mounted at /tmp

I tried to recreate the initrd-image using mkinitrd (it says that volume
group main is found), but still it doesn't boot.

Any more suggestions? my initrd-file is about half the size of the
2.6.16 one, but i guess thats just because I have less modules?

- Morten



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



Re: LVM2 and custom kernel

2006-04-14 Thread Morten O. Hansen
Aaaah, finally, it works. :) I had to enable ramdisk-support, since I
have the root on LVM. (ramdisk- and initrd-support).

Thanks for your help!

- Morten



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



Re: irssi core dumps

2006-04-14 Thread Morten O. Hansen
On Fri, 2006-04-14 at 17:44 -0500, lostson wrote:
  Hello 
  For the past few days irssi keeps dumping core files quite regularly.
 Has anyone encountered a fix for this problem, thanks.
 -- 
 LostSon

Same here, it dumps core every time I quit.

- Morten



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



LVM2 and custom kernel

2006-04-13 Thread Morten O. Hansen

Hi there,

I'm trying to build a custom kernel, and everything works except LVM2.
When the kernel is booting, and the lvm-script is trying to mount the
discs, it gives me a kernel-panic. I have googled it a bit, and I tried
adding --initrd to make-kpkg, but that didn't work. I also tried
adding mkimage=/usr/sbin/mkcramfs %s %s to /etc/kernel-img.conf, but
no luck.

Any ideas what to do? 

Take care,
Morten



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



compiling xboard on debian # No such file or directory # error: `XtNdefaultDistance' undeclared here (not in a function)

2006-01-29 Thread Morten Gulbrandsen
.  -I/usr/X11R6/include  -I/usr/X11R6/include
-DINFODIR=\/usr/local/share/info\ -c xboard.c

xboard.c:159:28: X11/Xaw/Dialog.h: No such file or directory


/*-*/

and then I get lots of No such file or directory

/*-*/

xboard.c:160:26: X11/Xaw/Form.h: No such file or directory
xboard.c:161:26: X11/Xaw/List.h: No such file or directory
xboard.c:162:27: X11/Xaw/Label.h: No such file or directory
xboard.c:163:32: X11/Xaw/SimpleMenu.h: No such file or directory
xboard.c:164:28: X11/Xaw/SmeBSB.h: No such file or directory
xboard.c:165:29: X11/Xaw/SmeLine.h: No such file or directory
xboard.c:166:25: X11/Xaw/Box.h: No such file or directory
xboard.c:167:32: X11/Xaw/MenuButton.h: No such file or directory
xboard.c:168:26: X11/Xaw/Text.h: No such file or directory
xboard.c:169:31: X11/Xaw/AsciiText.h: No such file or directory

/*--*/

and then I get  hundreds  of  errors.

/*--*/


xboard.c:693: error: `XtNdefaultDistance' undeclared here (not in a 
function)

xboard.c:693: error: initializer element is not constant
xboard.c:693: error: (near initialization for `layoutArgs[1].name')
xboard.c:693: error: initializer element is not constant
xboard.c:693: error: (near initialization for `layoutArgs[1]')
xboard.c:698: error: `XtNresizable' undeclared here (not in a function)

xboard.c:6903: warning: assignment makes pointer from integer without a cast
xboard.c: In function `AskQuestion':
xboard.c:6946: error: `XtNresizable' undeclared (first use in this function)
xboard.c:6953: error: `formWidgetClass' undeclared (first use in this 
function)
xboard.c:6960: error: `dialogWidgetClass' undeclared (first use in this 
function)

make: *** [xboard.o] Error 1


[EMAIL PROTECTED]:/tmp/xboard-4.2.7$


I got the files  from here:


http://www.tim-mann.org/xboard.html

http://www.tim-mann.org/xboard/FAQ.html#[B.7]

http://www.tim-mann.org/xboard/FAQ.html#[B0]

http://ftp.gnu.org/gnu/xboard/xboard-4.2.7.tar.gz


Here is my operating system details: 


[EMAIL PROTECTED]:/tmp$ uname -a
Linux debian 2.4.27-2-386 #1 Wed Aug 17 09:33:35 UTC 2005 i686 GNU/Linux


[EMAIL PROTECTED]:/tmp$ gcc -v
Reading specs from /usr/lib/gcc-lib/i486-linux/3.3.5/specs
Configured with: ../src/configure -v 
--enable-languages=c,c++,java,f77,pascal,objc,ada,treelang 
--prefix=/usr--mandir=/usr/share/man --infodir=/usr/share/info 
--with-gxx-include-dir=/usr/include/c++/3.3 
--enable-shared--enable-__cxa_atexit --with-system-zlib --enable-nls 
--without-included-gettext --enable-clocale=gnu --enable-debug 
--enable-java-gc=boehm --enable-java-awt=xlib --enable-objc-gc i486-linux

Thread model: posix
gcc version 3.3.5 (Debian 1:3.3.5-13)



What can I do,
I would prefer not to overwrite or destroy any existing installation.


best regards

Morten Gulbrandsen







___ 
Telefonate ohne weitere Kosten vom PC zum PC: http://messenger.yahoo.de



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




SOLVED # Re: compiling xboard on debian # No such file or directory # error: `XtNdefaultDistance' undeclared here (not in a function)

2006-01-29 Thread Morten Gulbrandsen

Alexander Schmehl wrote:


Hi!

* Morten Gulbrandsen [EMAIL PROTECTED] [060129 22:41]:

 


I'd like to  download  compile and run xboard  under debian.
   


[..]
 


What can I do,
   



Install the build-dependencies for xboard.  man apt-get should show you
how.


 



Thanx  It worked! 


debian:/tmp/Morten_Xboard_quellfiles# apt-get build-dep  xboard

Reading Package Lists... Done
Building Dependency Tree... Done
The following NEW packages will be installed:
 build-essential libxaw7-dev xaw3dg-dev
0 upgraded, 3 newly installed, 0 to remove and 0 not upgraded.
Need to get 634kB of archives.
After unpacking 2157kB of additional disk space will be used.
Do you want to continue? [Y/n] Y
Get:1 ftp://sunsite.informatik.rwth-aachen.de stable/main 
build-essential 10.1 [6520B]
Get:2 ftp://sunsite.informatik.rwth-aachen.de stable/main libxaw7-dev 
4.3.0.dfsg.1-14sarge1 [414kB]
Get:3 ftp://sunsite.informatik.rwth-aachen.de stable/main xaw3dg-dev 
1.5+E-8 [214kB]

Fetched 634kB in 1s (323kB/s)
Selecting previously deselected package build-essential.
(Reading database ... 143004 files and directories currently installed.)
Unpacking build-essential (from .../build-essential_10.1_i386.deb) ...
Selecting previously deselected package libxaw7-dev.
Unpacking libxaw7-dev (from 
.../libxaw7-dev_4.3.0.dfsg.1-14sarge1_i386.deb) ...

Selecting previously deselected package xaw3dg-dev.
Unpacking xaw3dg-dev (from .../xaw3dg-dev_1.5+E-8_i386.deb) ...
Setting up build-essential (10.1) ...
Setting up libxaw7-dev (4.3.0.dfsg.1-14sarge1) ...
Setting up xaw3dg-dev (1.5+E-8) ...

 
Don't know  what all this is, but it worked.


#Well done

Yours  sincerely

Morten Gulbrandsen
#include stdio.h





___ 
Telefonate ohne weitere Kosten vom PC zum PC: http://messenger.yahoo.de



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




Re: java for jabref

2006-01-07 Thread Morten Gulbrandsen

Ryan Nowakowski wrote:


On Fri, Jan 06, 2006 at 11:49:47PM +0100, Morten Gulbrandsen wrote:
 


is this the next  way ?

http://www.debian-administration.org/articles/142

   



Yes
 



Hello Ryan,  hello  List readers and subscribers!

Thanx,  it is done and it  works,
both for mozilla  and  Konqueror.

[EMAIL PROTECTED]:~$ java  -version
java version 1.5.0_06
Java(TM) 2 Runtime Environment, Standard Edition (build 1.5.0_06-b05)
Java HotSpot(TM) Client VM (build 1.5.0_06-b05, mixed mode, sharing)



will this also  work ?

The J2SE Development Kit (JDK)

J2EE 1.4  includes JDK 5.0

NetBeans IDE + JDK 5.0 Update 6

I have  seen demonstrations of IBMs  eclipse

http://www.eclipse.org/

this is unknown to me:
http://www.netbeans.org/


Please, what is the common way for java development  under debian sarge?


Is it better to develop under solaris
and simply run and test it under debian ?


netbeans  and  eclipse are both open source, 
so they should  qualify for debian. 



best regards

Morten Gulbrandsen





___ 
Telefonate ohne weitere Kosten vom PC zum PC: http://messenger.yahoo.de



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




Re: java for jabref

2006-01-07 Thread Morten Gulbrandsen

Linas Zvirblis wrote:


Please, what is the common way for java development  under debian sarge?

Is it better to develop under solaris
and simply run and test it under debian ?

netbeans  and  eclipse are both open source, so they should  qualify 
for debian.



Eclipse 3.1 is already in Debian Unstable. I was pretty sure that 
Eclipse 2.1 was included in Stable, but it seems that it was not.


You could try using Unstable packages, but chances are they will not 
work on Sarge. You might also want to look at Anjuta. It is a rather 
simple programmers editor and requires some manual configuration to 
make it Java compatible (Google is your friend), but it works.


Of course you can download Eclipse from eclipse.org and it should work 
just fine.





Hi list,  thanx

I found  this
http://packages.debian.org/unstable/source/eclipse

do I need  all this , Please ?


The following binary packages are built from this source package:
libswt3.1-gtk-java
Fast and rich GUI toolkit for Java, gtk2 version
eclipse-jdt
Java Development Tools plug-ins for Eclipse
eclipse-platform
Eclipse platform without plug-ins to develop any language
eclipse-ecj-gcj
Native version of the Eclipse Java compiler
eclipse-pde
Plug-in Development Environment to develop Eclipse plug-ins
eclipse-ecj
Eclipse Java compiler and Ant plug-in
eclipse-platform-gcj
Eclipse platform without plug-ins to develop any language (GCJ version)
eclipse-efj
Eclipse Java code formatter
eclipse-pde-gcj
Plug-in Development Environment to develop Eclipse plug-ins (GCJ version)
libswt3.1-gtk-jni
Platform dependent files for libswt3.1-gtk-java
eclipse-rcp
Eclipse rich client platform
eclipse-rcp-gcj
Eclipse rich client platform (GCJ version)
eclipse-jdt-common
Java Development Tools plug-ins for Eclipse (common files)
eclipse-platform-common
Eclipse platform without plug-ins to develop any language (common files)
eclipse-pde-common
Plug-in Development Environment to develop Eclipse plug-ins (common files)
eclipse-rcp-common
Eclipse rich client platform (common files)
eclipse-source
Eclipse source code plug-ins
eclipse-sdk
Extensible Tool Platform and Java IDE
eclipse-jdt-gcj
Java Development Tools plug-ins for Eclipse (GCJ version)
eclipse
Extensible Tool Platform and Java IDE


And that woun't  mess up my existing  java from sun ?

[EMAIL PROTECTED]:~$ java  -version
java version 1.5.0_06
Java(TM) 2 Runtime Environment, Standard Edition (build 1.5.0_06-b05)
Java HotSpot(TM) Client VM (build 1.5.0_06-b05, mixed mode, sharing)

[EMAIL PROTECTED]:/tmp$ which  java
/usr/bin/java

[EMAIL PROTECTED]:/tmp$ which  javac

nothing

I have already configured my browsers,
and would highly appreciate  a reply  how to install  eclipse proper on 
a stable debian sarge, with sun jre.



I would  accept a solution, if I would  like to run  eclipse,
I log in as  user  eclipse,   if I would  prefer sun jre I can log in as 
user sun.


To prevent clashes.


http://www.eclipse.org/downloads/


*You will need a Java runtime environment (JRE) 
http://download.eclipse.org/downloads/drops/R-3.1.1-200509290840//java-runtimes.html 
to use Eclipse.



**Download now: Eclipse SDK 3.1.1 
http://www.eclipse.org/downloads/download.php?file=/eclipse/downloads/drops/R-3.1.1-200509290840/eclipse-SDK-3.1.1-linux-gtk.tar.gz*, 
Linux (99 MB)



http://www.eclipse.org/downloads/download.php?file=/eclipse/downloads/drops/R-3.1.1-200509290840/eclipse-SDK-3.1.1-linux-gtk.tar.gz


will this  also do with alien ?

I would prefer to take and use  debian packages  from debian maintainers.

I did  search my aptitude  for eclipse,  =  not present.

it also seems a little bit odd to use JDK  from eclipse  or IBM  and 
JRE  from sun.


Will that work ?

Isn't it better to  create one user  Eclipse and  make the  echo $PATH 
under  user eclipse  simply omit  the  sun java ?




best regards

Morten Gulbrandsen








___ 
Telefonate ohne weitere Kosten vom PC zum PC: http://messenger.yahoo.de



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




Re: java for jabref

2006-01-06 Thread Morten Gulbrandsen

Ryan Nowakowski wrote:


On Sat, Dec 24, 2005 at 05:21:51PM +, michael wrote:
 


mm... not sure which Java SDK is required for this... the Debian/Java
FAQ just confuses me!
 


Yeah, Java yuck.  I agree.  There are two programs that are so good it was
worth it to me to install Java: jabref and jbidwatcher.  They are both the
best in their area.  Jbidwatcher is a Ebay auction manager, and it is
fantastic.

I use the nonfree Blackdown packages from stable:

apt-get install j2re1.4
   



 


sorry if being a bit dense here but how do I get blackdown packages? A
search on Debian packages reveals nothing connected...

thanks,michael
   



Michael,

The blackdown packages are a little old.  You can use java-package to
install the Sun or IBM jre.

Package: java-package
Priority: optional
Section: contrib/misc
Installed-Size: 264
Maintainer: Debian Java Maintainers 
pkg-java-maintainers@lists.alioth.debian.org
Architecture: all
Version: 0.24
Depends: debhelper, fakeroot, coreutils | stat
Filename: pool/contrib/j/java-package/java-package_0.24_all.deb
Size: 19634
MD5sum: 91a560dfb41556008d0ffa6b0b61f2f1
Description: utility for building Java(TM) 2 related Debian packages
This package provides the capability to create a debian package from
a Java(TM) 2 distribution by just running make-jpkg filename.
.
This program currently works with the following Java(TM) 2 Runtime
Environments and Development Kits:
.
 * Sun Microsystems(TM) 1.4 and 1.5 Standard Edition
 * IBM(TM) 1.3 and 1.4 Standard Edition
 * Blackdown Java-Linux 1.3 and 1.4 Standard Edition

 


===

ebian:/home/morten# apt-get install  java-package
Reading Package Lists... Done
Building Dependency Tree... Done
E: Couldn't find package java-package
debian:/home/morten#

debian:/home/morten# uname   -a
Linux debian 2.4.27-2-386 #1 Wed Aug 17 09:33:35 UTC 2005 i686 GNU/Linux
debian:/home/morten#



whan can I do ?

morten










___ 
Telefonate ohne weitere Kosten vom PC zum PC: http://messenger.yahoo.de



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




Re: java for jabref

2006-01-06 Thread Morten Gulbrandsen

Ryan Nowakowski wrote:


On Fri, Jan 06, 2006 at 10:40:22PM +0100, Morten Gulbrandsen wrote:
 


Ryan Nowakowski wrote:

   


On Sat, Dec 24, 2005 at 05:21:51PM +, michael wrote:


 


mm... not sure which Java SDK is required for this... the Debian/Java
FAQ just confuses me!
   

 

Yeah, Java yuck.  I agree.  There are two programs that are so good it 
was
worth it to me to install Java: jabref and jbidwatcher.  They are both 
the

best in their area.  Jbidwatcher is a Ebay auction manager, and it is
fantastic.

I use the nonfree Blackdown packages from stable:

apt-get install j2re1.4
 

   

   

 


sorry if being a bit dense here but how do I get blackdown packages? A
search on Debian packages reveals nothing connected...

thanks,michael
 

   


Michael,

The blackdown packages are a little old.  You can use java-package to
install the Sun or IBM jre.

Package: java-package
Priority: optional
Section: contrib/misc
Installed-Size: 264
Maintainer: Debian Java Maintainers 
pkg-java-maintainers@lists.alioth.debian.org

Architecture: all
Version: 0.24
Depends: debhelper, fakeroot, coreutils | stat
Filename: pool/contrib/j/java-package/java-package_0.24_all.deb
Size: 19634
MD5sum: 91a560dfb41556008d0ffa6b0b61f2f1
Description: utility for building Java(TM) 2 related Debian packages
This package provides the capability to create a debian package from
a Java(TM) 2 distribution by just running make-jpkg filename.
.
This program currently works with the following Java(TM) 2 Runtime
Environments and Development Kits:
.
* Sun Microsystems(TM) 1.4 and 1.5 Standard Edition
* IBM(TM) 1.3 and 1.4 Standard Edition
* Blackdown Java-Linux 1.3 and 1.4 Standard Edition



 


===

ebian:/home/morten# apt-get install  java-package
Reading Package Lists... Done
Building Dependency Tree... Done
E: Couldn't find package java-package
debian:/home/morten#

debian:/home/morten# uname   -a
Linux debian 2.4.27-2-386 #1 Wed Aug 17 09:33:35 UTC 2005 i686 GNU/Linux
debian:/home/morten#

whan can I do ?

morten
   



Make sure you have contrib listed in your /etc/apt/sources.list 
deb http://http.us.debian.org/debian/ sarge main non-free contrib


- Ryan
 


thanx  that worked

is this the next  way ?

http://www.debian-administration.org/articles/142

i did it,  thanx.

morten





___ 
Telefonate ohne weitere Kosten vom PC zum PC: http://messenger.yahoo.de



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




I did not get any reply, so I must have done something wrong, Is this issue solved?

2005-06-20 Thread Morten Gulbrandsen

Hello,

I have decided to return back to debian sarge,

I reported this :

http://lists.debian.org/debian-boot/2005/04/msg00127.html

After that I rember  I  ran some  Tex and latex  applications,
I did use  aptitude,  dselect  and taskselect,

everything from the ftp server  sunsite informatik

Finally the mouse  froze.  I can't move it.

Both a frozen mouse and  no access to  my USB or  ZIP drive  must be a 
user error.


I never had USB or SCSI   support, but the first installation had no 
problems with

moving the mouse.


I have seen that sarge now is stable,

I can try  to use knoppix in order to back up some of the important files,
then wipe it off  and  go for  another install  with the latest stable 
release.


Since my problem is not reported  to be a problem I believe it must be a 
user error.



Any comments would be appreciated,

My mouse is a ps2, 


Best regards

Morten Gulbrandsen









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




Re: Ekstrem langsom computer

2005-04-20 Thread Morten
Erik Jakobsen wrote:
Flemming Bjerke wrote:
 

En årsag til ekstrem langsom computer kan være forkerte harddisk-instillinger. 
Se afsnittet om hdparm i www.linuxbogen.dk

Flemming

   

Enten er der noget galt her, eller også er url ikke korrekt.
Erik Jakobsen
 

Det der er det mærkelige er, at den var utrolig langsom, før jeg 
overhovedet begyndte at installere noget som helst. F.eks. kunne jeg 
heller ikke køre en live-cd (Ubuntu) tilfredsstillende. Men jeg vil da 
lige kigge på det. Jeg er bare en nød til hardware.

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


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: Rescue Boot

2005-02-21 Thread Morten Brix Pedersen
Hej,
Den 21/2-2005, kl. 11:34, skrev [EMAIL PROTECTED]:
Jeg har kompilet min kerne, som desværre udløser kernel-panic. Dette er
ikke første gang, men problemet er at lilo ikke kommer med en prompt,
Du kan trykke shift når LILO starter, for at få en prompt.
 - Morten.


Re: Kommandoer til udføre lse ved boot

2004-09-22 Thread Morten Brix Pedersen
Hej Flemming,

* Flemming Bjerke [EMAIL PROTECTED] [2004-09-22 10:13:00]:
 I redhat clonerne er der en fix lille fil: rc.local hvor kan tilføje  
 bash-commandoer man gerne vil have udført ved boot. Er der ikke noget 
 tilsvarende i Debian?

Tag et kig på http://debianguiden.dk/dists/stable/html/runlevels.html.

En lille appetitvækker:
I Red Hat og andre distributioner har man en rc.local fil til at putte
kommandoer ind der skal startes ved opstart af computeren, denne fil
findes ikke i Debian. Men fortvivl ikke, Debian har programmer til at
håndtere denne problematik.[...]

  - Morten.

-- 
http://mbrix.dk/



Re: Kommandoer til udføre lse ved boot

2004-09-22 Thread Morten Brix Pedersen
Hej,

* Flemming Bjerke [EMAIL PROTECTED] [2004-09-22 21:36:09]:
 On Wed, 2004-09-22 at 10:22, [EMAIL PROTECTED] wrote:
  Jo:
  
  # update-rc.d
 Hov, nu bliver jeg forvirret. Admir fortalte mig om
 /etc/init.d/bootmisc.sh. Hvad er forskellen på de to?

Forskellen er at update-rc.d er den korrekte måde at gøre det på,
hvorimod /etc/init.d/bootmisc.sh er et script du *ikke* bør redigere i.
Du kan selv prøve at regne ud hvad der sker når initscripts pakken
bliver opdateret.

  - Morten.

-- 
http://mbrix.dk/



Re: Mere IMAP, mail filtre.

2004-08-25 Thread Morten Brix Pedersen
Hej Christian,

* Christian Joergensen [EMAIL PROTECTED] [2004-08-25 08:53:25]:
 On Tue, 2004-08-24 at 23:37, Morten Brix Pedersen wrote:
  * Anders Ellenshøj Andersen [EMAIL PROTECTED] [2004-08-24 22:44:07]:
   Nu ligger jeg så med problemet om hvordan jeg nu for filtreret alle
   mine mails på serveren i stedet for på klienten. Postlister skal
   smides ud i seperate mapper, osv..
  
  En af mine irritationspunkter ved IMAP, er faktisk at jeg mere eller
  mindre kun kan filtrere på serveren fornuftigt. Jeg ville meget hellere
  kunne filtrere på klientsiden. Hvordan skal jeg ellers filtrere mails på
  de IMAP servere, hvor jeg ikke har mulighed for at smide en .procmailrc
  ind?
 
 Det giver da paa ingen maade mening at filtrere i klienten. Saa er du
 bundet til en specifik klient hver gang du skal kontrollere din post.
 Meningen med IMAP er netop at lade posten ligge centralt, saa du kan
 tilgaa den flere steder fra. Saa giver det ogsaa mest mening at lade
 filtreringen fungere centralt.

Ja, det er klart.

Men hvordan lader du brugere af din egen Postfix/Courier-løsning[0] kunne
filtrere deres post? De har jo ingen hjemmemappe:

http://www.razor.dk/diverse/postfix/

Min pointe var, at det ikke er altid at man har adgang til procmail på
IMAP serveren. F.eks. hos en ISP, på arbejdet eller på skolen.

  - Morten.

-- 
http://mbrix.dk/



Re: Mere IMAP, mail filtre.

2004-08-24 Thread Morten Brix Pedersen
Hej,

* Anders Ellenshøj Andersen [EMAIL PROTECTED] [2004-08-24 22:44:07]:
 Nu ligger jeg så med problemet om hvordan jeg nu for filtreret alle
 mine mails på serveren i stedet for på klienten. Postlister skal
 smides ud i seperate mapper, osv..

En af mine irritationspunkter ved IMAP, er faktisk at jeg mere eller
mindre kun kan filtrere på serveren fornuftigt. Jeg ville meget hellere
kunne filtrere på klientsiden. Hvordan skal jeg ellers filtrere mails på
de IMAP servere, hvor jeg ikke har mulighed for at smide en .procmailrc
ind?

 Er der noget der, der er lige så nemt at gå til? Jeg vil helst ikke lære 
 procmail, med mindre det kan foregå gennem et brugervenligt interface. Måske 
 et webinterface? Nogen erfaringer med Webmin-procmail, eller skal jeg kigge i 
 en anden retning?

procmail er et fantastisk værktøj til at filtrere post. Jeg har aldrig
rigtig lært det, men istedet brugt simple procmail eksempler, et
udklip af min ser f.eks. således ud:

PATH=/bin:/usr/local/bin:/usr/bin
MAILDIR=$HOME/Maildir
LOGFILE=$HOME/procmaillog

# Mailing lists

:0:
* ^TO.*debian-user-danish
.PostLister.debian-user-danish/

# Default
:0:
$MAILDIR/

  - Morten.

-- 
http://mbrix.dk/



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: Vim

2003-10-21 Thread Morten Brix Pedersen
Hej Rune,

* Rune Schjellerup [EMAIL PROTECTED] [2003-10-21 19:55:45]:
 Efter unstable gik til Vim version 6.2 har jeg haft problemer med at den ikke 
 kan finde forskellige filer.

Er der rent faktisk andre filer end syntax.vim den ikke kan finde? Hvilke?

 fx skriver den:
 [EMAIL PROTECTED]:/usr/share/vim$ vim
 Error detected while processing /usr/share/vim/vimrc:
 line   40:
 Can't open file /usr/share/vim/syntax/syntax.vim
 Hit ENTER or type command to continue
 
 syntax filerne ligger under /usr/share/vim/vim62/syntax/syntax.vim, men jeg 
 kan bare ikke finde ud af hvordan jeg får Vim til at kigge der efter dem.
 
 linie 40 i vimrc har:
 syntax on

Virker det, hvis du sletter din ~/.vimrc, kører vim, og skriver :syntax on?
Det gør det hos mig.

Personligt bruger jeg følgende, for at aktivere syntax highlighting:

 Load syntax file when vim was compiled with +syntax
if has(syntax)
so $VIMRUNTIME/syntax/syntax.vim
endif

 Det virker heller ikke med den tilføjelse, som pakken kom med til vimrc:
 set runtimepath=~/.vim,/etc/vim,/usr/share/vim/vimfiles,/usr/share/vim/
 addons,/usr/share/vim/vim62,/usr/share/vim/vimfiles/after,~/.vim/after

Det kan jeg ikke se nogen grund til at man skulle tilføje.

  - Morten.

-- 
http://mbrix.dk/



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: Er pakken installeret (uden root)

2003-07-30 Thread Morten Brix Pedersen
Hej,

* Niels L. Ellegaard [EMAIL PROTECTED] [2003-07-30 11:31:29]:
 Hvis jeg kender navnet på en pakke, kan jeg så bruge en apt-kommando
 til at se om pakken er installeret. (Antage at jeg ikke har
 root-passwordet)

Der er sikkert op til flere måder at gøre det på.

En måde at gøre det på, er følgende:


mbp:~$ dpkg -s mozilla-browser | grep ^Status
Status: install ok installed

  - Morten.

-- 
http://mbrix.dk/



Re: How to change a symlink without breaking anything (problems with g++)

2003-07-02 Thread Morten Eriksen
Marc Wilson [EMAIL PROTECTED] writes:

 The C++ transition has endlessly been debated and beaten to death in
 a variety of public fora... if you don't know about it, you're
 living under a rock [...]

I have indeed lived under a rock, not participating nor reading any of
the Debian public fora up until now. Sorry for my ignorance on this
issue.

 and probably shouldn't be using anything other than stable.

You are probably right. I developed the bad habit of considering
testing as stable back at the later stages of when Woody was
testing, and stable was more like green with fungus.  ;-)

Anyway, thanks for informing me.

Thanks also to the other respondents, who pointed at dpkg-divert,
which was the kind of solution I was initially looking for. My problem
turned out in the end to be better solved by doing apt-get remove
g++ followed with apt-get install g++/stable, as indicated by
Marc..

~# Morten


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



How to change a symlink without breaking anything (problems with g++)

2003-07-01 Thread Morten Eriksen
Hi,

this is probably a newbie question, but I didn't see it covered in any
of the FAQs or HOW-TOs I found at debian.org/docs/ (and the list
search facilities seems quite sloppy, and I had no luck there either):

What is the correct manner of changing a symlink file belonging to a
Debian package? Is it sufficient to just rm and re-link, or should I
use any of the package-handling tools?

(In case someone is interested, I'm asking because I just stumbled
over a surprising issue with the g++ packages: doing an

   # apt-get install g++

installed g++-3.3 (I was expecting just an upgrade to the previously
installed g++-2.95), and made /usr/bin/g++ into a symlink pointing to
it. Just switching g++ versions like this is bound to cause mayhem for
all development against any C++ libraries on the system already
compiled with g++ v2.95, so I'm surprised that this happens just like
that from the testing branch..? Removing the g++-3.3 package doesn't
work either, as apt-get seems to now refuse to remove or install
_either_ g++-2.95 or g++-3.3 -- it insists on having both? Weird.)

~# Morten


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



Forcing installation over unmet dependencies

2003-07-01 Thread Morten Eriksen
Hi,

probably another newbie question, but I couldn't find the answer in
any doc: I wanted to upgrade the Qt development kit on my system, but
on doing

# apt-get install libqt3-dev

I get

Sorry, but the following packages have unmet dependencies:
  libqt3-dev: Depends: xlibmesa-glu-dev but it is not going to be installed or
   libglu1-mesa-dev but it is not going to be installed or
   libglu-dev
E: Sorry, broken packages

I don't want to install the GLU library from Mesa, as I already have
the NVidia GLU library installed (make install'ed, not from a .deb).

How can I force apt-get to ignore the unmet dependency, or otherwise
get the libqt3-dev package installed?

Is there a general mechanism for telling the package manipulation
system don't bother with this package, I've already got what it
provides covered from another source?

~# Morten


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



Re: Dansk debian netværk

2003-06-24 Thread Morten Brix Pedersen
Hej,

* Rasmus Toft Lauridsen [EMAIL PROTECTED] [2003-06-23 19:08:44]:
 Jeg ved ikke om gutterne fra dpdk.dk er med herinde, men går ud fra det. :-)

Du burde måske have CC'et nogle af dem? F.eks. Pia, som annoncerede til
debian-project. Jeg tror ikke du skal være sikker på, at de er tilmeldt
denne postlister.

 Jeg foreslår at vi laver en slags, løst knyttet, netværk af danske sider 
 hvor vi samler de forskellige debian relaterede ressourcer.

Jeg ville egentlig bare sige, at jeg synes det er en god idé. :-)

  - Morten.

-- 
http://mbrix.dk/



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)



Re: Hej. Ny abbonent!

2003-05-04 Thread Morten Brix Pedersen
Hej,

* Anders Ellenshøj Andersen [EMAIL PROTECTED] [2003-05-03 11:37:03]:
 Og skulle man så ikke lige smide et spørgsmål ind, nu man har chancen? Er der 
 nogen der ved hvad der sker med aptitude i sid?

aptitude venter på en rekompileret version af apt, det er pga.
overgangen fra gcc 2.95 til gcc 3.2 som standard compiler.

Såvidt jeg ved, er en ny version af apt uploaded til NEW, men den er
ikke blevet smidt i unstable endnu.

  - Morten.

-- 
http://mbrix.dk/



Re: Installation af Mplayer via apt-get????

2003-04-23 Thread Morten Brix Pedersen

* Rune Schjellerup [EMAIL PROTECTED] [2003-04-23 12:40:48]:
 Onsdag den 23. april 2003 11:39 skrev Anders Dybdal:
  Put deb http://marillat.free.fr/ unstable main ind i
  /etc/apt/sources.list, kør apt-update, og så skulle den virke.
 
 Marillat's server kan også bruges, men mplayer folkene fraråder det. Da 
 marillat ikke samarbejder med dem, eller noget. De er i hvert fald uvenner :)

Jeg har brugt hans mplayer pakker i lang tid uden problemer. 

  - Morten.

-- 
http://mbrix.dk/



Re: Installation af Mplayer via apt-get????

2003-04-23 Thread Morten Brix Pedersen
* Claus Hindsgaul [EMAIL PROTECTED] [2003-04-23 13:21:13]:
 ons, 2003-04-23 kl. 12:46 skrev Rune Schjellerup:
  mplayerhq.hu  -- Jeg anbefaler at du henter sovsen og selv kompilerer. Men 
  det kan du jo selv bestemme.
 
 Er der en speciel grund til at man selv bør oversætte mplayer fra
 kildekoden?

Jeg mener at man før i tiden kun fik CPU-optimeringer hvis man oversatte
fra kildekoden - men i dag bliver CPU-optimeringer sat op runtime, så
der skulle ikke være den store grund til det længere.

  - Morten.

-- 
http://mbrix.dk/



Re: Debianstanden p å LinuxForum2003

2003-02-11 Thread Morten Brix Pedersen
Hej,

* Allan Jacobsen [EMAIL PROTECTED] [2003-02-11 17:00:35]:
 Hvis der er nogen, der får opsnuset en extra ledig billet, mangler jeg også.
 Jeg har været med hvert år, de fleste som hjælper, men i år ville jeg gerne 
 høre flere foredrag så jeg regnede med at kunne købe en, da jeg kom hjem fra 
 skiferie 8-(((.

Ditto :(

  - Morten.



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]




  1   2   3   >