Re: 1.1 X setup default: bs/del don't work with motif apps.

1996-05-10 Thread Christian Hudon
On Thu, 9 May 1996, Keith Beattie[SFSU Student] wrote:

> If this is indeed just an xmodmap fix...
> 
> XKeyCaps is a wonderfull X app that will generate those ugly xmodmap
> commands for you a-la Macintosh.  Take a look at:
> 
> http://home.netscape.com/people/jwz/xkeycaps/index.html
> 
> I don't think there is a .deb package for it but it compiled "out of
> the box" for me.

There *is* a Debian package for it. Assuming you're upgrading to 1.1, look
under unstable/binary/x11/xkeycaps*.deb. There might even be a package in
stable, but I wouldn't know about that...

Christian




Re: 1.1 X setup default: bs/del don't work with motif apps.

1996-05-10 Thread Rob Leslie
> XKeyCaps is a wonderfull X app that will generate those ugly xmodmap
> commands for you a-la Macintosh.  Take a look at:
> 
> http://home.netscape.com/people/jwz/xkeycaps/index.html
> 
> I don't think there is a .deb package for it but it compiled "out of
> the box" for me.

Guess what! There is in fact a Debian package for xkeycaps in 1.1 beta.

Cheers,

-- 
Robert Leslie
[EMAIL PROTECTED]


follow up on bs/del

1996-05-10 Thread Carlos Carvalho
I've just tested netscape without the overriding translations and it
works fine, with just keycode 22 = BackSpace.

However, this is only true if I invoke it from the shell. If it's
invoked from fvwm backspace doesn't work, with or without the
translations. Here's what I use to call netscape (I don't use the
debian package):

#!/bin/sh
XNLSPATH=/usr/local/netscape112/nls \
XKEYSYMDB=/usr/local/netscape112/XKeysymDB \
/usr/local/netscape112/netscape $*

Carlos


Re: Supra 288i Sp Modem

1996-05-10 Thread Shawn Asmussen
Well, I have a Supra 288i modem although it's not speakerphone. I think 
the problem with plug and play stuff is that it's kind of undefined until 
the operating system tells it what irq and port to use. I also have dos 
and windows (Not Win95) on my system, and I first boot into dos to let 
the dos device driver that came with the modem to set the port and irq (I 
used other software that came with it to force it to pick the io port and 
irq that I wanted it to use), and then once I get a dos prompt, I 
control-alt-delete and go into linux with lilo, and the modem keeps the 
values that it's been set with, and works under linux. There may be 
better support for plug and play stuff for linux out there, but I don't 
have it if there is. If anybody knows a better way to do this, I'd be 
most appreciative to know it...

Shawn

On Mon, 6 May 1996, Troy J Kelley wrote:

> Hello,
> 
> Has anybody had any experience with the supra 288i Sp "internal 
> Speakderphone Modem".  This modem comes stock with most microns and
> is plug and play.  I have used the following line in /etc/rc.boot/0setserial:
> 
> "setserial -vb /dev/cua2 irq 5 port 0x03e8 uart 16550A"
> 
> if, after bootup, I do a "setserial /dev/cua2", it feeds those 
> params back as if everything is ok.  Minicom, however, does not
> see the modem.  Good ol' atdt does nothing.  The modem uses non-standard
> IRQ and baseaddresses.  The values are reported by WIN95 (from 
> which the modem works just fine, BTW). 
> 
> Any help is appreciated.
> 
> Troy ([EMAIL PROTECTED])
> 


Re: 1.1 X setup default: bs/del don't work with motif apps.

1996-05-10 Thread Dirk . Eddelbuettel

  Keith> XKeyCaps is a wonderfull X app that will generate those ugly xmodmap
  Keith> commands for you a-la Macintosh.  Take a look at:

Already available for Debian, albeit in the development tree:

PACKAGE: xkeycaps
VERSION: 2.29-3
ARCHITECTURE: i386
MAINTAINER: Robert Leslie <[EMAIL PROTECTED]>
DEPENDS: libc5, elf-x11r6lib
SUGGESTS: xbaseR6
SECTION: x11
DESCRIPTION: Graphical front-end to xmodmap.
 xkeycaps is a graphical front-end to xmodmap. It opens a
 window that looks like a keyboard; moving the mouse over a
 key shows what KeySyms and Modifier bits that key
 generates. Clicking on a key simulates KeyPress/KeyRelease
 events on the window of your choice. It is possible to
 change the KeySyms and Modifiers generated by a key through
 a mouse-based interface. This program can also write an
 input file for xmodmap to recreate your changes in future
 sessions.   

--
Dirk Eddelb"uttel  http://qed.econ.queensu.ca/~edd


module config in 1.1 install

1996-05-10 Thread Gary Kline
I have recently installed the beta 1.1 release on 2 systems - a generic desktop
PC (486DX4/80) and an IBM ThinkPad 360 Laptop.  The install is very smooth now.

However, I have not been able to configure modules for the kernel.  I didn't 
even notice the module config option when I first installed, and was wondering 
where it got to.  Then I spotted it later, but all of my attempts to install 
a module fail.  There is a series of messages about not being able to find a
module when I enter one of the subsections.  Selecting a module for 
installation gives a "uname" error (?), and then indicates failure of the
installation.  If I try to "insmod" one of the modules, I get a complaint
about symbols for kernel 1.3.95 not matching the 1.3.95 kernel.

Finally, in order to get the builtin trackpoint device in the Thinkpad to be
recognized, do I need to specify one of the busmouse drivers at bootup (I think
the msbusmouse)???

TIA,

Gary

ps - these were "clean" installs.  And there is nothing in the installation 
notes about configuring modules.


Re: Checking if the network is up

1996-05-10 Thread Rob Browning
> "L" == Luis Francisco Gonzalez <[EMAIL PROTECTED]> writes:

L> Is there any way of checking whether the network is responding so
L> that I only run popclient when it is?

I just have my ip-up script (it's a ppp config script, see man pppd)
touch a file in /usr/local/etc/ppp when I connect, and ip-down remove
the file when I disconnect.  Then I can just check for the existence
of that file, and know if I'm connected.  Alternatively, you could
check the output of "netstat -r".

--
Rob



problems with nis

1996-05-10 Thread Dale Miller
I am trying to use the nis package in debian. I have it
setup as a master. When I boot up my system I get the
following message.
YPBINDPROC_DOMAIN: No bound server for domain Chipper
Once I have finished the boot if I do a ypcat hosts
the sae message appears. If I then start a ppp link
the message goes away and everything is fine. This
causes a problem with atrun. If I dont start ppp
and leave my system on for a few hours I start getting
the following mail once every minute to root.
Date: Fri, 10 May 96 09:25 EDT
From: Cron Daemon <[EMAIL PROTECTED]>
To: [EMAIL PROTECTED]
Subject: Cron <[EMAIL PROTECTED]> atrun -d -l 0.5

YPBINDPROC_DOMAIN: No bound server for domain Chipper

Everything was in their initial state execpt that I did
everything in the /usr/doc/nis/nis.debian.howto file to
setup a master server.
My question is why will nis not work unless I start ppp.
Any help would be appreciated cause I have looked everywhere.
TIA

Dale Miller


Re: xconsole for 1.1?

1996-05-10 Thread Christian Hudon
On Thu, 9 May 1996, Yves Arrouye wrote:

> Is there a debian package with xconsole somewhere?

[EMAIL PROTECTED]:[~] >dpkg -S xconsole
xbase: /usr/X11R6/bin/xconsole
xbase: /usr/X11R6/man/man1/xconsole.1x

Hope that answers your question... That's the unstable xbase.

Christian



Re: 1.1 installation notes.

1996-05-10 Thread David_Oswald
> I just installed the beta debian 1.1, over a very old Slackware 
>system (I'm going to update a debian 0.96 system soon, using 
>floppies no less).  
 
>I used .deb files that I had ftp'ed on April 26, but the 
>boot,root,base disks I freshly ftp'ed.
 
>It went very smoothly.
 
>One trouble is that I find the dselect "Select" screen confusing. 
>Admittedly, It is not immediately obvious to me which line is the 
>"selection".  Also I was surprised, the first time I used dselect, to 
>see each section (admin, doc, text, etc.) show up multiple times.
 
>I would prefer not starting in a split-screen mode here.
 
 > ...
 
 The deselect/select application does wonderful things. However with 
 sophistication comes complexity and confusion, and this package can be 
 confusing - to a new user or someone coming from the slackware 
 environment.
 
It would be nice if the package could appear more visually 
 inutative. Obviously with losing any of its functionality. I have 
 found the dependancy list to be a bit confusing also... 
 
 
 However - I think the overall package is GrEaT !!! Everyone take a bow 
 for your exceptional efforts...


Re: Checking if the network is up

1996-05-10 Thread Maarten Boekhold
Hi,

how about:

#!/bin/sh

if ! ping -c 3 known_address_which_is_in_etc_hosts | grep -q "round-trip"
then
do_your_stuff
fi

We use this to check our leased line every 5 mins.

Maarten

___
| Maarten Boekhold, Faculty of Electrical Engineering TU Delft,   NL  |
|   [EMAIL PROTECTED] [EMAIL PROTECTED]   |
|  Take life as a party!  |
---


Checking if the network is up

1996-05-10 Thread Raul Miller
Luis Francisco Gonzalez:
 > Is there any way of checking whether the network is responding so
 > that I only run popclient when it is?

That usually depends on what exactly you mean by "the network".

If you're using diald or some such, take a look at the result of
`route`.

If the network is always "logically up" on your machine, but
frequently not "physically up" you'll need to probe for a response
from some remote system.  Take a look at the man page for ping and
read about the -c and -n options.  You'll need to run grep on the
result because the presence or absence of a remote host won't affect
ping's return code.

-- 
Raul


Re: 1.1 X setup default: bs/del don't work with motif apps.

1996-05-10 Thread Martin Konold
On Thu, 9 May 1996, Yves Arrouye wrote:

> The subject says it: none of these keys work with Motif apps on a
> fresh installation. I'm sure some xmodmap commands (though I'm not
> sure which ones, if you can help) would do the trick, but I wonder
> what neither of them is usable by default?

I did a ln -s /usr/X11R6 /usr/X386
in order to get the motif application netscape running.
This way it will find the 
/usr/X11R6/lib/X11/XKeysymDB
for wihich netscape looks at
/usr/X386/lib/X11/XKeysymDB


May the debian team will include this symlink in the xbase package

Yours
-- martin

// Martin Konold, Muenzgasse 7, 72070 Tuebingen, Germany  // 
// Email: [EMAIL PROTECTED]// 
//http://www.schwaben.de/linux// 
Microsoft Network is prohibited from redistributing this work in any form, in
whole or in part.   License to distribute this post is available to Microsoft
for $299. Posting without permission constitutes an agreement to these terms.


scsi on the 1.1 boot disk

1996-05-10 Thread Mike Chovan
I was curious as to why the new 1.1 boot disk kernels don't seem to have the 
scsi
drivers compliled in?  I've down loaded the latest disks and tried to boot up a 
couple of machines, one with the NCR 53c810 and the other with an Adaptect 2940 
scsi
controller, neither kernel pick up the scsi disks.  Shouldn't the initial boot
kernels have as many drivers as possible turned on??

Do I have to pass boot parms or make custom bootdisks in 1.1?

Thanks.
-- 
Mike Chovan
CSGnet
Sacramento, Calif.


Re: 1.1 X setup default: bs/del don't work with motif apps.

1996-05-10 Thread Keith Beattie[SFSU Student]
Yves Arrouye wrote:
> 
> The subject says it: none of these keys work with Motif apps on a
> fresh installation. I'm sure some xmodmap commands (though I'm not
> sure which ones, if you can help) would do the trick, but I wonder
> what neither of them is usable by default?
> 

If this is indeed just an xmodmap fix...

XKeyCaps is a wonderfull X app that will generate those ugly xmodmap
commands for you a-la Macintosh.  Take a look at:

http://home.netscape.com/people/jwz/xkeycaps/index.html

I don't think there is a .deb package for it but it compiled "out of
the box" for me.

(Yup, it was written by one of the netscape developers.  Check out
netscape's "N" icon after hitting his page.  Now think about what else
might be slipped into that ever-so-prevelant "client". :) :)

-- 
// Keith Beattie  Lawrence Berkeley Laboratory (LBL) \\
// SFSU Grad Student   Imaging and Distributed Computing Group (ITG) \\
// [EMAIL PROTECTED] http://www-itg.lbl.gov/~beattie \\
// 1 Cyclotron Rd.  MS: 50B-2239  Berkeley, CA 94720  (510) 486-6692 \\


Re: 1.1 X setup default: bs/del don't work with motif apps.

1996-05-10 Thread Gerry Jensen
It's interesting that people are having problems now with Motif apps,
because suddenly, my problems with Motif apps have been magically solved. 
That is, the backspace key now works correctly for both Motif and
non-Motif apps.  Previously, if I wanted the backspace key to work
correctly with Motif apps, I would have to map it to backspace (where the
default was mapped to delete).  But, if I did this, then it would not
work correctly with non-Motif apps because they generally want the delete
key instead of backspace.  There was usually a fix for each of these
non-Motif apps but *each* app had to be fixed individually which was a
pain.  So, I just left the backspace key mapped to delete and used ^H when
using Motif apps.  

Thanks to whoever fixed this.  Please don't change it back to the way it 
was. 

So, if people are having trouble now, and they've previously mapped
backspace to backspace (^H) for Motif apps, try changing the mapping back
to delete and see if this solves the problem. 

Gerry
[EMAIL PROTECTED]

On Thu, 9 May 1996, Yves Arrouye wrote:

> The subject says it: none of these keys work with Motif apps on a
> fresh installation. I'm sure some xmodmap commands (though I'm not
> sure which ones, if you can help) would do the trick, but I wonder
> what neither of them is usable by default?
> 
> YA.
> 
> 


cfengine-1.2.26-2.deb bad /etc/cfengine.conf

1996-05-10 Thread Yves Arrouye
The default /etc/cfengine.conf does not work out of the box because
the actionsequence is empty (parse error line 23).

Also, wouldn't it be nice to have the postinst script get the timezone
from the installed system?

YA.


/etc/papersize?

1996-05-10 Thread Yves Arrouye
Could someone email a sample /etc/papersize file on this list?

Yves.


Re: Locale in 1.1?

1996-05-10 Thread Christian Hudon
On Thu, 9 May 1996, Yves Arrouye wrote:

> The fact that nvi (does not) displays diacritic characters has nothing
> to do with the fonts, just to what isprint() returns. I had it work
> under Linux using a Slackware 3.0 distribution.
[snip]
> typing diacritic characters tells they are not printable with LANG set
> to ISO-8859-1 :-( Is it a bug in the libc5 used with 1.1? A bug with
> me? In any case, it's annoying...

Errm... What you care about is LC_CTYPE (character set), not LANG
(language), methinks. Anyhow...  I've compiled my own fr_CA locale file. If
you're interested just e-mail me and I'll send you a copy. After that doing
"setenv LC_CTYPE fr_CA" will make nvi happy... assuming it calls
setlocale() somewhere. (I did a small test similar to yours and it worked
iff I did a call to setlocale().)

I'll probably do a set of Debian packages for locale support at some
point in the future... After I've done all the other stuff I have to do.

   Christian




Bug in date (1.1)

1996-05-10 Thread Yves Arrouye
I can't find the name of the package maintainer, so here's the
problem: when the timezone is incorrectly set (the default in my 1.1
brand new installation), saying

% date +%Z

does something bad: instead of returning an empty timezone (as if I
say "date '+%H %Z'" which works perfectly), the disk starts spinning
and date does not return until it is killed.

Yves.


Checking if the network is up

1996-05-10 Thread Luis Francisco Gonzalez
Hi,
I am trying to write a script to use popclient to download the mail from the
office's server. This will run on a portable. I want the script to check whether
the network is up before attempting to retrieve any mail, as I am likely to
use the notebook in other places and won't be hooked to the network.

The question is:

Is there any way of checking whether the network is responding so that I only
run popclient when it is?

Thanks.
Luis.


Re: 1.1 X setup default: bs/del don't work with motif apps.

1996-05-10 Thread Luis Francisco Gonzalez
> 
> The subject says it: none of these keys work with Motif apps on a
> fresh installation. I'm sure some xmodmap commands (though I'm not
> sure which ones, if you can help) would do the trick, but I wonder
> what neither of them is usable by default?
> 
> YA.
> 
> 
I just installed debian on two different machines during the last few days and
it works for both. I am not sure what happened in your case.

I am not sure what xmodmap commands you need. So I can't help you with that.

Luis.


News

1996-05-10 Thread Rob Ransbottom

With the installation of 1.1, I would like to
set up a news server to serve myself news which
which will be snagged by 'suck' or equivalent.

What package should I be installing?  Any
other tips appreciated.  (I've stretched my
knowledge of bnews far enough.)

Thanks.


Re: 1.1 X setup default: bs/del don't work with motif apps.

1996-05-10 Thread Guy Maor
On Thu, 9 May 1996, Guy Maor wrote:

> xmodmap -e << END

Oops, that line should be

xmodmap - << END


Guy


does dselect give package sizes?

1996-05-10 Thread N. Salwen
I installed 0.93r6 but did not see where dselect gave the disk space
used by packages.  This is obviously a very important piece of information.
If it was obviously right in front of me I am sorry for wasting people's time.

Thanks
Nathan Salwen ([EMAIL PROTECTED])


Re: 1.1 X setup default: bs/del don't work with motif apps.

1996-05-10 Thread Guy Maor
On Thu, 9 May 1996, Yves Arrouye wrote:

> The subject says it: none of these keys work with Motif apps on a
> fresh installation.

I'm surprised neither of them work.  The linux console is set up to
produce a delete when backspace is hit.  XFree emulates this.  Typical
behavior is both bs and del producing a del.  Here is the xmodmap
sequence to set both, though the second shouldn't be necessary.

xmodmap -e << END

! Fixes backspace
keycode 22 = BackSpace

! Shouldn't be necessary
keycode 107 = Delete
END

If you need to fool with xmodmap more, you can find out keycodes with
xev(1) and keysymnames from .


Guy


Re: How to remove a user?

1996-05-10 Thread Raul Miller
Andreas Wehler
 > A> After searching a while for a program or script to completely
 > A> remove a user I didn't found something and did it per hand.  Is
 > A> this neccessary?  Thanks.

Removing a user is something that should be done with thought.  In
some circumstances (user never existed), it's just a matter of
removing the user's home directory and the entries in /etc/passwd and
/etc/group.

Other times (when the user really exists) it may be more appropriate
to change the user's shell to /bin/false (or something hand crafted
along the lines of /usr/local/bin/why-your-account-is-turned-off-user)
for a period of time before removing stuff.

Also, if the user really existed, there may be files outside the home
directory that also need to be dealt with (e.g. /var/spool/mail/user,
or /home/friend/shared/foo).  What "dealt with" means depends on the
situation... 

-- 
Raul


Re: Locale in 1.1?

1996-05-10 Thread Yves Arrouye
J. H. M. Dassen writes:
 > [Please fix your return address: "[EMAIL PROTECTED]" is incomplete]
 I know. Sorry, my dns domain name was not set. Should be okay now.

 > > I'd like to have some info about locale handling in Debian. The
 > > /usr/lib/locale directory has just an emty dir en_GB in it.
 > > 
 > > I tried to set LANG to fr_FR or ISO-8859-1 (which Linux should
 > > support) but nvi still does not display diacritic characters (I had it
 > > display them on a Slackware with ISO-8859-1). How can I correct that?
 > 
 > AFAIK the locale support doesn't set your display font.
 > Perhaps you need to do a setfont with one of the iso* fonts in 
 > /usr/lib/kbd/consolefonts ?

The fact that nvi (does not) displays diacritic characters has nothing
to do with the fonts, just to what isprint() returns. I had it work
under Linux using a Slackware 3.0 distribution.

Doing a little test:

#include 
#include 
#include 

main() {
int c;

setlocale(LC_ALL, "");

while ((c = getchar()) != EOF) {
if (c == '\n') continue;
printf("0x%02d: %d\n", c, isprint(c));
}
}

typing diacritic characters tells they are not printable with LANG set
to ISO-8859-1 :-( Is it a bug in the libc5 used with 1.1? A bug with
me? In any case, it's annoying...

Yves.


1.1 X setup default: bs/del don't work with motif apps.

1996-05-10 Thread Yves Arrouye
The subject says it: none of these keys work with Motif apps on a
fresh installation. I'm sure some xmodmap commands (though I'm not
sure which ones, if you can help) would do the trick, but I wonder
what neither of them is usable by default?

YA.


Pb. with 1.1's telinit (sysvinit 2.60)

1996-05-10 Thread Yves Arrouye
When issuing a telinit command to change runlevel (from 2 to 4, for
example), nothing happens :-(, processes are not being sent any signal
and new processes don't start. Why?

I heard about a 2.70 sysvinit package on this list. Is it debianized
somewhere?

Yves.