Re: Do you use SLIP or a variant with Debian?

1996-09-10 Thread Jan Wender
If so, I'd appreciate a short note from you.  I'd like to know if you
use SLIP because PPP is unavailable, more expensive, or otherwise
inconvenient.
I'm using slip because ppp is a more lower level protocol and as such
produces more traffic for the same payload. As I'm only interested in TCP/UDP
transactions I don't need ppp.
--
Cheerio, Jan
Jan Wender - [EMAIL PROTECTED] - Universitaet Trier, Germany
The man who letterspaces lowercase letters also steals sheep (F. Goudy)



Curious bug with jove and Debian 1.1

1996-06-19 Thread Jan Wender
Hi,
I found a curious bug with jove 4.16, compiled and running on a Debian Lignux
1.1. If you insert 8 characters in an empty buffer right after startup,
move to the beginning of the line and insert blanks, all is ok. If you
add a ninth char, and insert blanks in the beginning, they get doubled on the
display. In the text there are still single blanks, but the display shows
two. It gets more confused is you delete some chars then.
I tested it on xterm, rxvt and the console. I compiled jove on the
first try with termcap, on the second try with ncurses.
Is that a problem with jove or with debian?
--
Cheerio, Jan
Jan Wender - [EMAIL PROTECTED] - Universitaet Trier, Germany
The man who letterspaces lowercase letters also steals sheep (F. Goudy)


1.1 /etc/termcap and /lib/libtermcap*

1996-05-19 Thread Jan Wender
Hi,
after I installed 1.1 I noticed that /etc/termcap and the termcap libs are
missing. Is this on purpose or an oversight?
Should all programs now use ncurses/terminfo?
--
Cheerio, Jan
Jan Wender - [EMAIL PROTECTED] - Universitaet Trier, Germany
The man who letterspaces lowercase letters also steals sheep (F. Goudy)


Re: find question (and xargs)

1996-05-14 Thread Jan Wender
Hi all,

this might be a more unix oriented question but I'll ask it anyway
because it is very debian related too:

I would like to find packages bigger than 459976 bytes and split them
with dpkg-split, if splitting is succesfull I'll remove the package.
I have come at the following but it doesn't work (and can't figger
out why not from the manpages).

find / -size +459976c -noleaf -type f -name '*.deb'|\
xargs -n 1 dpkg-split -s {}  rm {}

I was thinking that {} would be replaced by the filename but that's
not the case. Anyone know how to solve this?
Basically this is right, the {}'s get converted to the file name in
*find's argument list*. The arg list is ended at the |, because then
a new program is started.
Possible Solution:
use find's exec option:
find / -size +459976c -noleaf -type f -name '*.deb' -exec dpkg-split -s {} \
-exec rm {}
Be careful to quote the {{}'s appropriately, or the shell may munge them
into something different.
A more efficient solution would be to write a small perl program along the
lines:
sub dodir {
  my ($dir) = shift;
  opendir DIR, $dir;
  while (readdir(DIR)) {
maybesplit if -f;
dodir($_) if -d;
  }
  closedir(DIR);
}
dodir($ARGV[1]);
--
Cheerio, Jan
Jan Wender - [EMAIL PROTECTED] - Universitaet Trier, Germany
Linux is the choice of a Gnu.
The man who letterspaces lowercase letters also steals sheep (F. Goudy)