Re: VFS panic in 2.6.28
On Sun, Jan 18, 2009 at 08:30:03PM -0600, Ron Johnson wrote: >Cannot open root UUID=blah-blah-fa6507 or unknown-block(0,0) > The big difference between Now and Then is that I also moved from > booting off of /dev/hda using lilo to /dev/sda using grub2. > In my home-rolled kernel, I don't use an initrd because I compile in > the relevant fs and chipset drivers. [snip] > $ grep EXT[23] /usr/src/linux/.config [snip] > Any (helpful) thoughts? what about scsi (or sata?) and scsi disk support in your /usr/src/linux/.config ? Moreover, if you think that grub2 is responsable (which seems unlikely, but who knows) you can try installing lilo in the boot sector of sda1 (or whatever) and chain load such a lilo boot sector from the mbr-installed grub2 -- Chi usa software non libero avvelena anche te. Digli di smettere. Informatica=arsenico: minime dosi in rari casi patologici, altrimenti letale. Informatica=bomba: intelligente solo per gli stupidi che ci credono. -- To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Re: package version numbers
On Sun, Jan 18, 2009 at 04:56:30PM -0500, Rick Pasotto wrote: > Anyway, I see that xmms is replaced by xmms2 and that qiv will upgrade > with libglib1.2ldbl. My only remaining problem is multi-gnome-terminal, > which is not in lenny. If you really want to use old packages on modern debian distributions, you can manually edit /var/lib/dpkg/status to correct dependencies. In this case this means cp -pai /var/lib/dpkg/status /var/lib/dpkg/status.SAVED $EDITOR /var/lib/dpkg/status search for libglib1.2 in the "Depends: " lines and change it to libglib1.2 | libglib1.2ldbl (you can also do such kind of things after a manual download of a $PACKAGE.deb and a dpkg --force-depends -i $PACKAGE.deb ) Note that you can use archive.debian.org and/or snapshot.debian.net in your /etc/apt/sources.list (and perhaps also adjust /etc/apt/preferences according to man 5 apt_preferences) Note also that that these operations are UNSUPPORTED. I do them routinely and they work fine for me (infact, my reasons to use debian are these kinds of extreme configurability), but: NO WARRANTY. -- Chi usa software non libero avvelena anche te. Digli di smettere. Informatica=arsenico: minime dosi in rari casi patologici, altrimenti letale. Informatica=bomba: intelligente solo per gli stupidi che ci credono. -- To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Re: apt-get upgrade error: package `coreutils' contains empty filename ?
On Sun, Jan 18, 2009 at 04:35:37PM -0800, Eric Higgins wrote: > files list file for package `coreutils' contains empty filename the file /var/lib/dpkg/info/coreutils.list seems to be corrupted. Check it (and possibly also the filesystem) In case of dubt, you could try mv /var/lib/dpkg/info/coreutils.list /var/lib/dpkg/info/coreutils.list.CORRUPTED touch /var/lib/dpkg/info/coreutils.list apt-get --reinstall install coreutils -- Chi usa software non libero avvelena anche te. Digli di smettere. Informatica=arsenico: minime dosi in rari casi patologici, altrimenti letale. Informatica=bomba: intelligente solo per gli stupidi che ci credono. -- To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Re: essential packages getting deleted when switching to testing libc6
On Thu, Jan 15, 2009 at 02:15:52PM -0500, Stephen Dewey wrote: > this mess? I am tempted to simply install the new kernel as suggested > (apt-get install linux-image-2.6-686) and then run apt-get > dist-upgrade again to finish the process once that dependency is > resolved, but I am worried about making things worse. I usually do things like that. But I also do not consider a "mess" a case like yours (cases like this also happen when apt-get or aptitude was interrupted for any reason in the middle of a big install, or quite often when upgrading a sid system). > Also I am still not sure about the significance of the "not fully > installed or removed" programs. after a dpkg --configure -a what actions would suggest apt-get -f install ? > As for aptitude, I could use that but I am not sure if it would be > good to switch tools in the middle of my upgrade effort... you can switch to aptitude whenever you want, but better after a dpkg --configure -a (or even better after there are no unresolved dependencies, if you have any. But this is not necessary) It is quite likely that aptitude would solve your problem faster than apt-get (if you have a sufficiently modern machine and a sufficiently standard installation). Surely, experienced used can use either (or both). Try them both with the simulate option to see what they want to do. -- Chi usa software non libero avvelena anche te. Digli di smettere. Informatica=arsenico: minime dosi in rari casi patologici, altrimenti letale. Informatica=bomba: intelligente solo per gli stupidi che ci credono. -- To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Re: essential packages getting deleted when switching to testing libc6
On Thu, Jan 15, 2009 at 01:51:11PM -0200, André Neves wrote: > I had always used apt-get in my system, doing autoremove > whenever it suggested there were unneeded packages installed. One day > I ran aptitude out of curiosity, and well, it suggested to uninstall > almost 300 unneeded packages! since it was apt-get, and not aptitude, that installed these 300 packages, apt-get decided that they were wanted installs. But not aptitude. One can find in the mailing list archives reports of such cases, and aptitude commands to convince aptitude that apt-get installed packages are wanted packages (or are not, or some are but others are not). However, it is might be that there is no difference for packages installed since the time when apt-get got the "remove-unneeded" feature. (I am talking about no difference in algorithm inside libapt, but note that /var/lib/apt/extended_states is not the same file as /var/lib/aptitude/pkgstates so that the [textual] databases to which such an algorithm is applied are not the same) When were the 300 unneeded packages installed? -- Chi usa software non libero avvelena anche te. Digli di smettere. Informatica=arsenico: minime dosi in rari casi patologici, altrimenti letale. Informatica=bomba: intelligente solo per gli stupidi che ci credono. -- To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Re: essential packages getting deleted when switching to testing libc6
On Thu, Jan 15, 2009 at 02:21:53PM +0100, Johannes Wiedersich wrote: > André Neves wrote: > >> The main difference is that aptitude is now prefered over apt-get. > > > > Sorry, preferred by who? > > By the debian developers. From > /usr/share/doc/aptitude/README > > > What is this aptitude thing, anyway? > > > > aptitude is a featureful package manager for Debian GNU/Linux systems, > > based on > > the renowned apt package management infrastructure. aptitude provides the > > functionality of dselect and apt-get, as well as many additional features > > not > > found in either program. > > IIRC, it's mainly the better algorithms to resolve dependencies and the > ability to distinguish between packages that are automatically installed > vs manually installed, that have been introduced in aptitude, but not in > apt-get. now (since months in lenny) this last functionality is also in apt-get (I suppose that it is infact in libapt, and so is exactly the same in aptitude and apt-get). An evident difference between apt-get and aptitude is their command line incompatibility; moreover a look at their man pages shows that some useful functionality of aptitude is not available in apt-get, but also that in a _few_ cases the converse is true. The fact that aptitude and apt-get have quite different dependency resolution algorithms is, *luckly*, still completly true. You and many others probably have noted some cases where aptitude algorithm had worked well, but apt-get does not. I also (rarely) meet such cases. I, and others with old hardware, have noted that aptitude algorithm is _much_ slower on old hardware. I also regularly meet cases where aptitude algorithm is _spectacularly_ not working (either it does not find a solution, or it proposes only solutions where it proposes to uninstall almost everything) and apt-get works almost flawelessly (the last example in an upgrade to lenny a few days ago: aptitude failed as specified, apt-get did a perfect job requiring the uninstallation of a single package: aptitude. Curiously, once the upgrade has been completed, it was possible to install aptitude without problems). [Please note: I have NO trace of gnome, kde, xfce, udev, hal, ... on my machines; I have OLD packages (some from at least potato times, some self-compliled) installed, and I am able to manually edit /var/lib/dpkg/status to correct dependencies of these old installed packages to make them compatible with modern debian distributions (moreover, I have without problems multiple distributions in sources.list provided that preferences uses suitable pinnings. I also have chroots for older debian distributions).] Finally, the mailing list archives contain *many* old discussions about apt-get vs aptitute and everyone can read them. My conclusion? For a newbie with modern hardware and with a modern interest in modern GUIs, recommendation of aptitude seems absolutely reasonable. For old timers debian users, well, they _know_ that there are cases where aptitude is better tha apt-get and cases where the contrary is true, and so they know when and how to use one or the other. -- Chi usa software non libero avvelena anche te. Digli di smettere. Informatica=arsenico: minime dosi in rari casi patologici, altrimenti letale. Informatica=bomba: intelligente solo per gli stupidi che ci credono. -- To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Re: apt-get cannot conect to server
On Mon, Jan 05, 2009 at 12:27:20PM +0800, Stephen Liu wrote: > Strangely only "ftp.au.debian.org" got problem. Other mirrors which I > tried, don't have problem. if the other mirrors do not have a ipv6 dns record there is nothing strange about this > Neither I have glibc installed. libc6 is the latest version on Debian > repo this problem can also exist in the resolver library of your router (especially when it also acts as dhcp and/or caching dns server) Setting the correct ipv4 address of ftp.au.debian.org in /etc/hosts might help (depending also upon /etc/nsswitch.conf and other glibc configuration files). Using the OpenDNS servers (or other sane dns servers) in /etc/resolv.conf instead of a buggy caching dns (if any) might also help. But only if your resolver library is not buggy. -- Chi usa software non libero avvelena anche te. Digli di smettere. Informatica=arsenico: minime dosi in rari casi patologici, altrimenti letale. Informatica=bomba: intelligente solo per gli stupidi che ci credono. -- To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Re: apt-get cannot conect to server
On Sun, Jan 04, 2009 at 08:48:01PM +0200, Andrei Popescu wrote: > On Sun,04.Jan.09, 22:23:08, Stephen Liu wrote: > > I think the cause of problem is on; > > ftp.au.debian.org > > Good to hear that you found the problem, quite possibly the problem was NOT correctly understood. Given that ftp.au.debian.org CNAME mirror.linux.org.au and that mirror.linux.org.au A 150.203.164.37 mirror.linux.org.au 2001:388:1034:2900:0:0:0:25 and that apt-get was connecting to a wrong ipv4 IP, this seems _exactly_ the same thing as the problem cited in http://blog.bofh.it/ section "ftp.it.debian.org non è 32.1.20.24" (in italian, but it has links in english such as http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=435646 ) -- Chi usa software non libero avvelena anche te. Digli di smettere. Informatica=arsenico: minime dosi in rari casi patologici, altrimenti letale. Informatica=bomba: intelligente solo per gli stupidi che ci credono. -- To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Re: Best File System for Cross-Platform backup
On Sat, Dec 27, 2008 at 02:14:50PM +0100, Sjoerd Hiemstra wrote: > ?? For a few years now, I've been able to read from and write to a USB > medium which was HFS+ formatted with Mac's Disk Utility. Non-journaled HFS+ filesystems are "fully" supported on linux systems, now that there are hfsprogs ported from OS X. But the problem is that this filesystem has problems with hardlinks, is not very robust and finally fsck.hfsplus from hfsprogs is often unable to repair it. I have used quite a bit such filesystem in the last two years since the udf kernel module (up to 2.6.22 at least) had a nasty filesystem corruption bug, and moreover there is no fsck.udf (philips udf verifier does not repair udf filesystems) and finally development of udftools seems to be stopped since years. Hoverver, since hfsplus is not that robust either, and moreover NetBSD people seems to be developing userspace (and portable) tools to access udf filesystems, I have recently came back to udf now that the nasty bug in linux udf kernel module seem to be hopefully fixed. Is there a better filesystem for DVD-sized hard disk (or lvm) non-system partitions to be backed-up by a simple umount /dev/$PARTITION ; growisofs -dvd-compat -Z /dev/dvd=/dev/$PARTITION ? Note that, in Wikipedia-theory at least, udf should be a good Cross-Platform choice. If and when a good fsck.udf [and full rw support under *BSD] will be available, it might truly be. -- Chi usa software non libero avvelena anche te. Digli di smettere. Informatica=arsenico: minime dosi in rari casi patologici, altrimenti letale. Informatica=bomba: intelligente solo per gli stupidi che ci credono. -- To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Re: Very slim Desktop Manager
First of all, since I have exausted for the moment my time to discuss matters on debian-user, this answer will be sketcky and perhaps too brutal (or even rude) and it is surely my last one for some weeks at least. I am sorry and apologize. Sincere thanks to _all_ people on the list. On Fri, Nov 14, 2008 at 05:05:17AM -0600, lee wrote: > > As I said, I never used any spreadsheet (or word processor, for that > > matter). > Well, I tried it and found it has too many disadvantages. As I said, the worst of its disavantages would be for me its being a spreadsheet at all. > don't have a framebuffer (but I'll recompile the kernel and try it out), > so they probably won't work anyway. bmv uses svgalib, not framabuffer. And in any case I am not suggesting you to try it. > That's what I said earlier: It's easier just to use a readily > available pdf viewer I perfectly understand that _FOR YOU_ it is esasier, and I am trying to repeat endlessy that for people like you I have nothing really useful to suggest. > When I started using Linux, there was no such thing as a framebuffer or > svgalib I am glad to know that you used linux well before Linkname: linux-svgalib: Re: Quake/MS Intellimouse/SVGAlib problem URL: http://my.arava.co.il/~matan/svgalib/hypermail/1995/0081.html > They can be very useful. as always, the fact that they are not useful for me and that I am not minimally interested in them does *not* imply that I think "all persons using them are evil, stupid, whatever, and should be exterminated" > With dc or bc, you need to figure out how to use them. An hour later or > so you might be able to calculate 2+5 $ echo "2+5"|bc 7 $ bc bc 1.06 Copyright 1991-1994, 1997, 1998, 2000 Free Software Foundation, Inc. This is free software with ABSOLUTELY NO WARRANTY. For details type `warranty'. 2+5 7 quit As I have already said many times, it is quite evident that we have quite different habits, opinions, needs, whatever and for this reason unfortunately I have nothing really useful to suggest to you. > Sure it works, but it's not feasible to spend hours I am happy to see that you can undestand why I will never be interseted in GUI programs. > You could as well question using a computer at all. Yes, and if you can read (or translate) italian you will see that I question this in every mail of mine, in the signature. > The point is, that's how things are today. Exactly, the things today (and not only today) are NOT good and nobody will stop me from saying this simple truth > > PS/2: gnuplot has also svgalib output. > > So? You can't reasonably replace a spreadsheet with bc or dc and > gnuplot. I am sorry that the context (calculator, not spreadsheet) was not sufficiently clear. > > I have now found with google that there are image manipulations > > programs for dos (http://www.opus.co.tt/dave/indexall.htm lists some > > of them). Even a gpl one [vp386], which unfortunately uses dos4gw and > > so it should not work under dosemu. > > How many of them don't have some kind of GUI? How many of them can work > with NEF files? if you are interested, I think that you can figure out yourself. I do not use image manipulation programs, and unfortunately I have no more time to check out. > BTW, are you really still using dosemu? Yes. For example, it is the only way I have to use an excellent parallel port midi inteface (menote/2). Or a very good text based now freeware midi sequencer for dos. > It's like playing a piano without hands: You can find another way, but > it won't work as well. Very nice expression. Do you release it under GPL, or some other free licence? > Yeah --- I tried screen, it's really nice. Maybe I'll set it up for > IMAP use once I got a framebuffer; I might end up with something very > efficient. I do not think it will be more efficent in comparation to the way you have now, but in any case I do not undestand the connection between screen and IMAP. > If links2 can display graphics on the console, yes, both in framebuffer mode (which you do not have at the moment) and in svgalib mode > I might be able to use it. that depends also on other things, such as javascript and so on. > > > You can't even scroll, > > > > What is scroll? If it is the horizontal analogue of Ctrl-n and Ctrl-p > > the you can enable it in lynx (first, turn word wrap off). > > I don't know what Ctrl-n/p would do. try them, they are not dangerous > BTW, I've just found an interesting font for xterm: > -*-fixed-medium-r-*-*-24-*-*-*-*-*-iso8859-* > It reminds me of console fonts yes, and I have alredy posted in another mail in this thread configurations of terminals using them. > > lynx is like many unixes and many humans: it selectively choses its > > friends. > > Is it a web browser or not? yes > If it's a web browser, it should be able to > display most web pages in such a way that they are easy to read and to > use, as long as those pages don't violate standards. it does
Re: Very slim Desktop Manager
On Fri, Nov 14, 2008 at 07:46:06AM +0100, Jochen Schulz wrote: > have to give in that I actually like to view the occasional Youtube > video. some months ago this list suggested me the excellent youtube-dl (there is also clive). Then mplayer plays without problem the files (even on powerpc, so without evil codecs) -- Chi usa software non libero avvelena anche te. Digli di smettere. Informatica=arsenico: minime dosi in rari casi patologici, altrimenti letale. Informatica=bomba: intelligente solo per gli stupidi che ci credono. -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
Re: Very slim Desktop Manager
On Thu, Nov 13, 2008 at 12:44:56PM -0500, Douglas A. Tutty wrote: > Mrxvt.xft:true > Mrxvt.xftAntialias: true > Mrxvt.xftAutoHint:true > #Mrxvt.xftFont: bitstream vera sans mono > Mrxvt.xftFont:dejavu sans mono > Mrxvt.xftWeight: medium > Mrxvt.xftWidth: normal > Mrxvt.xftSize:12 > Mrxvt.background: #F6E7CF > Mrxvt.showMenu: true > > so on my screen (1600x1200 @ 75 Hz), I use 12-pt dejavu sans mono > medium. (I have already posted some half-decent configurations I use with xvt, rxvt, mrxtv, urxvt, xterm) I just tried #!/bin/sh LANG=en_US ; export LANG exec mrxvt -geometry 100x37-0+1 \ -stt -rv -sr -sl 2000 \ -tabfg blue -tabbg grey \ -itabfg black -itabbg "dark gray" \ -cf ~/.mrxvtrc.Douglas.A.Tutty "$@" I am _sorry_ to say that even terminus (!) is better for may eyes. One evident thing is that your resolution is better than mine, since geometry 100x37 (which incidentally is the same as the "geometry" on my vt console on the ibook I am writing now) with my configurations make the terminals full screen (except for at most a very few pixels), but with your configuration the terminal appares much smaller on my display. One (strange) problem, which is present in almost _all_ fonts I have ever tried, and at any dimension and resolution, becomes particoularly evident when using mc: "normal" font on the screen is absolutely not well defined, but the single line (well, half-line) where the cursor is present is _much_ more better defined. In the other configuration I have posted, this is probably solved (as much as possible) by definig both "normal" and bold fonts -- Chi usa software non libero avvelena anche te. Digli di smettere. Informatica=arsenico: minime dosi in rari casi patologici, altrimenti letale. Informatica=bomba: intelligente solo per gli stupidi che ci credono. -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
Re: Very slim Desktop Manager
On Thu, Nov 13, 2008 at 08:49:56PM -0500, Chris Jones wrote: > The only thing that tells the two contexts apart (that I badly miss..) > is that the linux console does not support 256 colors. I am not able to understand your needs, but surely linux framebuffer console supports 256 colors (but I never had to use them), and even more. You can obtain some ideas from The Answer Gang 101: framebuffer colors http://linuxgazette.net/101/tag/6.html and links in it. -- Chi usa software non libero avvelena anche te. Digli di smettere. Informatica=arsenico: minime dosi in rari casi patologici, altrimenti letale. Informatica=bomba: intelligente solo per gli stupidi che ci credono. -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
Re: Very slim Desktop Manager
On Thu, Nov 13, 2008 at 04:54:05PM -0500, H.S. wrote: > video was being played in the console. Ascii art mode is where the video > is showed as ascii characters, right? yes. When you want to amuse yourself, try it. And look at the monitor from a sufficiently big distance. -- Chi usa software non libero avvelena anche te. Digli di smettere. Informatica=arsenico: minime dosi in rari casi patologici, altrimenti letale. Informatica=bomba: intelligente solo per gli stupidi che ci credono. -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
Re: Very slim Desktop Manager
On Thu, Nov 13, 2008 at 12:21:06PM -0500, H.S. wrote: > Jochen Schulz wrote: > > Then you should try mplayer playing movies in ascii on the console. :) > Just did, awesome! > > BTW, while playing an avi file in a console, trying to change to another > console caused the computer to hang. This is quite strange that it happens with mplayer in ascii art mode. It could happen an _apparent_ hang when one uses mplayer in true graphic mode in console (or any graphic mode console program) and then the program is _brutally killed_ (dosemu old bugs anyone? dosemu documantation should still have some racomendations for cases like this; especially read the keyboard suggestions, even if with modern kernels maig sysreq might be sufficient) This might leave the video card in inconsistent state (this can also happen with X using some low quality video drivers, especially proprietary ones, and one switches from X to text mode). But behind the unreadable video output the machine is still working, as one can see from remote logins. On i386 architecture a solution might be (and has been for me in all cases where I needed something like this) remotely run a program (mode3? I do not remenber the name) from svgalib-bin which accesses real-mode registers in the vido card bios (or something like this) to restore a sane video output. But be aware of the warnings that the man page explains. If and when a _real_ hang happens, use magic sysreq provided by the kernel and not the reset button. -- Chi usa software non libero avvelena anche te. Digli di smettere. Informatica=arsenico: minime dosi in rari casi patologici, altrimenti letale. Informatica=bomba: intelligente solo per gli stupidi che ci credono. -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
Re: Very slim Desktop Manager
On Thu, Nov 13, 2008 at 06:02:24PM +0100, Jochen Schulz wrote: > Firefox (which, incidentally, is the same application I absolutely need a > mouse for)... one can emulate mouse in X using the numeric pad of the keyboard. Many years ago it was in "accessx", and then it got introduced in X proper, and I have lost the name of that application. -- Chi usa software non libero avvelena anche te. Digli di smettere. Informatica=arsenico: minime dosi in rari casi patologici, altrimenti letale. Informatica=bomba: intelligente solo per gli stupidi che ci credono. -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
Re: Very slim Desktop Manager
On Thu, Nov 13, 2008 at 10:48:39AM -0600, lee wrote: > > I do not use spreadsheets but > > > > apt-cache show sc > > Well, have you tried sc? As I said, I never used any spreadsheet (or word processor, for that matter). I have seen once a person using excel, and I decided that the use of anything remotely resembling a spreadsheet is completely outside my abilities and interests. [Above all is completely outside my interest the way in which spreadsheets are used as calculators, databases, whawtever except editors, since MS-word is the only existing application outside MS-excel, in this stange MS-world of spreadsheets users] > > apt-cache show bmv > > apt-cache show fbi > > Those are not pdf viewers. Yes, they are and I use them. But I understand that I was no so clear. One needs a previous conversion, which in case of fbi in integrated in the script fbgs in the fbi package, and for bmv can be obtained with a trivial script which calls pdf2dsc before bmv (I use pdf2dsc and not pdf2ps or whatever for space and speed reasons) (as "pdf viewer" I am interested in some screen-equivalent of looking at a printed pdf. I have no need for more advanced features which might be included in .pdf files) > Have you ever used MS access? no. I have also never seen it. And I have also always heard very bad things about its native file format. (Even worser things than the .doc format, from the easy of corruption point of view) > There is no commandline substitute for > that --- no GUI substitute either, unfortunately. Once I heard about rekall. What happened to that application? > try qalculate no, thanks. It is a X application, I already a working non-X solution for my needs. As you can see, I am non so flexible as you, or mybe I am too old for this. But when I will personally meet a X user who needs a calculator, I will say "try qalculate", and so I will see how it works without the pain to have to use it myself. PS: I have now seen (on sarge) # apt-get -udfq install qalculate 0 upgraded, 22 newly installed, 0 to remove and 33 not upgraded. [snip] Need to get 2009kB/9997kB of archives. After unpacking 37.7MB of additional disk space will be used. so much space and so many (gnome) libraries for a calculator? That makes sense only when one is a gnome user. And I expect that qalculate-kde from etch makes sense only for kde users. PS/2: gnuplot has also svgalib output. > It's one of the applications that would be very hard to create and to > use without a GUI. I have now found with google that there are image manipulations programs for dos (http://www.opus.co.tt/dave/indexall.htm lists some of them). Even a gpl one [vp386], which unfortunately uses dos4gw and so it should not work under dosemu. > What is the console equivalent to gaim? I do not know gaim, I cannot answer. But from what I see with "apt-cache show gaim" I expect that the answer that somebody else has already given makes sense. > I tend to > leave things running which I'm going to use again sooner or later > anyway me too, but in a very different way > Did you look at the screenshots? yes > With lynx, the screen is mostly empty, > and it's hard to figure out what you're looking at because the display > is totally messed up. evidently we have different ways to look at things. But it might simply be that I have no idea of what to look for in a forum; I never had reasons to be intersted in them. > You can't even scroll, What is scroll? If it is the horizontal analogue of Ctrl-n and Ctrl-p the you can enable it in lynx (first, turn word wrap off). > the images are not > displayed, a very good thing for my needs > and if you want to follow a link, you have to fumble your > way through all the links from the top of the page until you finally > get to the one you want to follow. strange that an xterm user says that (search mouse in man lynx) > That isn't exactly useable, evidently is not usable for you, and I am not trying to change that. > and it is not user friendly. lynx is like many unixes and many humans: it selectively choses its friends. Like it happens with humans, lynx friends might not be the best persons in the world (I am surely _not_ a good person). But the important thing is that everyone has the friends who are adequate for him. > Icons are not annoying or useless most of the time. well, we are discovering the important principle that different humans have different opinions and different needs. > Well, yes, it's a GUI ... Have you tried to run X applications without > using a window manager? yes. Hovever running them under ratpoison or evilwm (and then inmediately Alt-Ctrl-x) is better since the apparence is the same but the dimension of the window become correct (full screen except for a 1 pixel border. With icewm and pressing F11 one has real full screen without borders, but I do not want the overhead of icewm). Without a window manager the dimension of the window can be a problem (in some rare case
Re: Very slim Desktop Manager
On Thu, Nov 13, 2008 at 03:21:34PM +0100, François Cerbelle wrote: > You should try Tetrinet ;-) A Networked multiplayer Tetris ! ;-) I am not so good at tetris, so the other players would be bored. > >> and image processing software (like gimp) > > i do not use it (but I have seen it), and I agree that nothing of this > > kind has ever existed in linux, dos or whatever for the console. > > ImageMagick for altering the images and there are viewer in framebuffer > mode (fbi ?). Yes, there are console tools for a non-visual, non-interactive image manipulation (and tools to view images), and they are often used for batch processing (above all on servers). But to my knowlwdge no tool for interactive, visual image manipulation. Except perhaps old shareware for dos which could be run under dosemu (under i386/amd64; I have not tried graphics under dosbox under powerpc, only some text based midi sequencers). > "Il n'y a pas de meilleur outil que celui avec > lequel on est habitué à travailler" wonderfully wise -- Chi usa software non libero avvelena anche te. Digli di smettere. Informatica=arsenico: minime dosi in rari casi patologici, altrimenti letale. Informatica=bomba: intelligente solo per gli stupidi che ci credono. -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
Re: Very slim Desktop Manager
On Thu, Nov 13, 2008 at 05:25:07AM -0600, lee wrote: > Well, maybe I should learn more about using framebuffer stuff why? If you are satisfied with X, you have no real reasons. > > Clearly I am aware that there are some kind of applications which are > > developed only for X (and my thanks go to developers for developing > > such applications at all, even when I find them not adequate for my > > needs). > > Yeah, like plan for a calender I have no use for that (I have also no exact idea of what a "plan for a calendar" is), but I tink something ncurses based exists, and that apt-cache search might find this. > and a web browser no, console browsers exist and are adequante for 90% of my needs > and spreadsheets I do not use spreadsheets but apt-cache show sc > and > mail clients mutt is infinitely better for my needs that anything I have ever seen, and one of the (many) reasonos which make it better for my needs is that its user interface is anti-GUI > and games old svgalib games exist. However the only game I have ever used is tetris inside dos navigator inside dosemu (even if there are native text only games for unix). > and pdf viewers no. apt-cache show bmv apt-cache show fbi > and database interfaces command line intefaces to database exist and are developed by the same developers of the databases (mysql, postgres, ...). I do not use databases. > (though > openoffice still sucks to the point of unusability in that) the idea itself of a office suite sucks, and I have no use for it. > and > calculators bc dc > and image processing software (like gimp) i do not use it (but I have seen it), and I agree that nothing of this kind has ever existed in linux, dos or whatever for the console. > and instant > messengers i do not use them, but the first "instant messanger", talk on unix and phone on vax, is text based. There are many more, even with "modern" protocols. > and phone software. I do not use them, but being audio (no video) I think that if and when a console developer will need it, it will be ported. Obviously I am not considering proprietary things. > Those are not "rare applications", they > are what I'm using. which is completely different from what I am using (as I said, denemo is my only substantial reason to use X, at the rate of about one time in a month), and "rare" was evidently referred to my use. > them, there might be a substitute than you can run on a console, but it > is so much easier to use the GUI application. This is a very correct argument. It is the same as my argument, except that (1) in my argument console and X interchange their roles; (b) in your case you are equally able to use console and GUIs, and in my case I ame completely lost with GUIs > ATM, I have 5 terminals open plus claws plus firefox plus plan plus > emacs, I'm logged in on two consoles and gnome-panel is running (to > provide a few icons, the dictionary plugin and a clock). Eventually add > gimp, gaim, gnumeric or openoffice, ekiga. How would I do that with > only 6 available consoles? I do not do such things, and I am very happy in not having to do them. > Maybe it's possible to get more consoles? If > I was reading mail from a console, I would use at least two of them for > that because I eventually look back into other mails in a thread while > writing one. you can use gnu screen in only one console > The webbrowser usually has about 10 tabs open, somtimes > more: How do you do that with lynx? If you want that, use ten copies of links in one screen. But I use lynx history instead. > > very possibly we visit quite different web sites > > Yes --- but that doesn't mean that the websites you don't visit are not > worth seeing. obviously: everyone can chose to see or not see whatever prefers to see or not see. > See the attached screenshots, one is of lynx, the other > one is firefox, both showing the same forum. > Now which one is more useable/user friendly? lynx. Infinitely. The first evident thing is colors. But one can configure both lynx and mozilla to use (and force) whatever colors one prefers (infact, this is one of the first things I do when I have to meet mozilla: edit preferences ... fonts and colors, and set a sane minumum dimension for fonts, and *force* a decent shaped font, and *force* colors like green [or white] on black) The other evident thing is that lynx does not display annoing and useless icons. But fortunately you can set mozilla such that it does not display images automatically (unfortunately mozilla no more has a old and useful feature of netscape: do not show images by default, but a command can show the images in the displayed page without changing the default. But there should exist mozilla extensions for this now) > (How do you take a > screenshot of a console?) A jpg scrennshot? I have never tried, but I am reasonably sure it is possible. If I recall correctly dosbox can take a jpg screenshoot of what is running under it, which means t
Re: Software For Book Writing
On Wed, Nov 12, 2008 at 04:18:53PM -0500, Stefan Monnier wrote: > I'm not sure what you mean by that reference to recycling. Do you mean > that replacing the machine will produce more waste yes, in almost all parts of the planet when one dismiss a tecnological product one produces something bad for ecology, since the product is not correclty recycled. > > * I am not expert, but I do not belive that it is so easy and so cheap > > to find a i386 compatible processor (and motherboard, ...) that consumes > > less power than a old fanless 486 and is as much reliable as that old > > processor. However I am very interested in the contrary. > > This is Debian: the family of the CPU doesn't really matter. sorry, I was referring to the fact that the wife of one debian user has health problems with frequencies of 200Mz and above. I have problems with english language. > For a headless machine, a little MIPS-based home-router will definitely > consume less and should be just as reliable. I do not dubt this. My phrase also had the specification "i386 compatible". And I was not thinking/talking about headless (which could be related to the reasons to have a i386 compatible processor and motherboard, but I am not sure). -- Chi usa software non libero avvelena anche te. Digli di smettere. Informatica=arsenico: minime dosi in rari casi patologici, altrimenti letale. Informatica=bomba: intelligente solo per gli stupidi che ci credono. -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
Re: Software For Book Writing
On Thu, Nov 13, 2008 at 01:37:10AM +, J M Cerqueira Esteves wrote: > Part of TeX's beauty was that it nicely ran in a 286 machine :) and also on 8088. Editing is/was perfectly nice, but not so nice the half an hour of "compilation" to produce a 1 page .dvi -- Chi usa software non libero avvelena anche te. Digli di smettere. Informatica=arsenico: minime dosi in rari casi patologici, altrimenti letale. Informatica=bomba: intelligente solo per gli stupidi che ci credono. -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
Re: Very slim Desktop Manager
On Wed, Nov 12, 2008 at 10:38:18PM -0600, lee wrote: > Well, I never figured out what the framebuffer is for. If I want a GUI, > I use X, if I want a console, I use a console --- or an X terminal. that's an excellent way to look at the problem. I do NOT want a GUI, since that interface concept is intrinsecally broken for me. If I want text I use console, if I want graphics I use svgalib/framebuffer. Clearly I am aware that there are some kind of applications which are developed only for X (and my thanks go to developers for developing such applications at all, even when I find them not adequate for my needs). So for such rare applications I must find a way for X to look like console as much as possible. ion is excessive for my needs; ratpoison would be quite good (and very gnu screen like), but unfortunately many X applications do not like being always run at full screen. evilwm and pwm are good compromises. > > show someone the pratical proof of the basic web principle "If you > > cannot see it with lynx, then it is not worth seeing". > > That's not true very possibly we visit quite different web sites > --- and lynx is very awkward to use. And what if > you want to see the pictures? I see them perfectly since lynx can use zgv or fbi to display a picture link in a different vt. If I want to see them inline, I use links2 either in svgalib or in framebuffer mode. Also, w3m-img is able to run in fbterm inside a framebuffer console, but I have never personally used it. Once I even amused myself with arachne inside dosemu (the imcomplete linux port of arachne is not worth using). Unfortunately links2, links, elinks, w3m ... all display tables and frames in the *wrong* way, i.e. the way graphical browsers use since netscape (or even mosaic) times. There is only one sane mode (for _my_ needs, which are evidently not your needs) to display them, which is the lynx mode. > But I'll have to see if I can go away from mozilla In future you could consider netsurf; but at the moment it still a bit too incomplete. Others use galeon, epiphany, konqueror, ... One crazy but amusing idea could be running some fast and lean free win32 browser (kmeleon?) under wine. > Try to use mutt on a > console: the display is too small. I use it in this moment, and mutt in console is perfect for my needs. A much better resolution, readability and definition of characters than the ones that I can reach in X terminals. My console is not 25x80. > If you want to use it for IMAP, it > becomes so awkward that it is unusable. I use rarely mutt with imap, but when I use it in this way I have no problems. I have also no problems in beliving that others, with other needs, would have some kind of problem. > screen. To switch, I just move the mouse pointer over the edge. If I > want to, I can use the keyboard to switch. perhaps it would be faster if there is a way to use _only_ trackball or _only_ keyboard for all. Switching continuously can be time consuming, using keyboard only for half an hour, the trackball only for half an hour, and so on might be better. But I suspect that "fully keyboardless" interfaces are at the moment not sufficiently general pourpose. > But consoles, there are only 6 You can easily configure /etc/inittab to have how many you want, up to 64. But you not even need this, since there are commands like openvt (also, search "kbrequest" in /etc/inittab and in the documentation of openvt) Moreover there is gnu screen, so that I use only one vt for user (yes, I use different user for different tasks: one for e-mail, one for web surfing, ...). Incidentally, one can attach the same screen in a console and in a X terminal, so that the absolute superiority (for _my_ needs) of a console over any terminal which I was able to configure becames evident by comparing the two. > > Finally, when I run X then I *must* switch to console (where i can > > start X programs if needed: env DISPLAY=:1 XAUTHORITY=~/.Xauthority > > xpdf) since, as we are discussing, no satisfactory > > font/terminal/whatever exist for my eyes. > > Yeah, that is really a problem. Things could be a lot easier if you > could use a terminal. This is a surprising remark. One can easily export such environement variables from the shell initialization files, and RH alredy did that by default 10 years ago, so that one starts X commands from console in a default installation without tweaking. > That's what I tried. I couldn't find any mode that would have been > better than the default 80x25. well, I should conclude that for my needs my video cards which are 8 (and more than 8, 10, ...) years old are better than their "modern" counterparts (wich moreover can not be installed in my motherboards). -- Chi usa software non libero avvelena anche te. Digli di smettere. Informatica=arsenico: minime dosi in rari casi patologici, altrimenti letale. Informatica=bomba: intelligente solo per gli stupidi che ci credono. -- To UNSUBSCRIBE, email to [EMA
Re: Software For Book Writing
On Wed, Nov 12, 2008 at 02:20:36PM -0500, Stefan Monnier wrote: > Stefan "Who doesn't understand why pople use such old systems > given the availability of cheap replacements which are > much smaller and consume less power." * not everybody lives in regions with the same "techonological density" as, say, New York. Even less people live in places where discared thecnological products are correctly recycled * what one already has is even cheaper that anything that one does not have * I am not expert, but I do not belive that it is so easy and so cheap to find a i386 compatible processor (and motherboard, ...) that consumes less power than a old fanless 486 and is as much reliable as that old processor. However I am very interested in the contrary. * finally, at least one person in this threard has very good family reasons to run processors with low frequency (as past threads explain). -- Chi usa software non libero avvelena anche te. Digli di smettere. Informatica=arsenico: minime dosi in rari casi patologici, altrimenti letale. Informatica=bomba: intelligente solo per gli stupidi che ci credono. -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
Re: Very slim Desktop Manager
On Wed, Nov 12, 2008 at 12:45:43PM -0600, lee wrote: > Don't switch continuously between X and console ... X is useful: I find > it easier to have 4x4 virtual desktops between which I can seemlessly > switch by just moving the mouse pointer over, and because I can run > console programs as well as GUI programs. So there is no need to switch > away from X, but there would be a need to switch away from the console. I usually have no need for switching between X and console. Infact I have usually no need to run X at all, since svgalib/framebuffer programs are faster than their X counterparts. But there is no console analogue for dememo, and there is the need to occasionally show someone the pratical proof of the basic web principle "If you cannot see it with lynx, then it is not worth seeing". Moreover I find the keyboard-based switching of workspalces in evilwm and in gnu screen easier and better than a mouse based switching. Finally, when I run X then I *must* switch to console (where i can start X programs if needed: env DISPLAY=:1 XAUTHORITY=~/.Xauthority xpdf) since, as we are discussing, no satisfactory font/terminal/whatever exist for my eyes. And in any case I never found a user interfce intrinsecally more anti-intuitive and broken (for the way my brain works) than the GUI concept. > Hm, when you think of it: On the console, you have the whole screen to > display 80x25, but 80x25 is a more or less small window on X. If you > make a terminal filling the whole screen but only displaying 80x25, you > can use a pretty large font for that ... well, Linux is not OpenBSD which is limited to 80x25 and 80x50 consoles. Try vga=ask and see how many possibilities Linux has for text consoles. True, these possibilities beyond the vga=normal strongly depend upon the graphic card, and when two cards both support 80x37 (say) it is possible that one card support it wonderfully and the other one flackly. Then, after Linux has booted, there is fbset svgatextmode and so on. -- Chi usa software non libero avvelena anche te. Digli di smettere. Informatica=arsenico: minime dosi in rari casi patologici, altrimenti letale. Informatica=bomba: intelligente solo per gli stupidi che ci credono. -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
Re: Very slim Desktop Manager
On Wed, Nov 12, 2008 at 09:43:18AM -0800, Carl Johnson wrote: > Are you trying to use truetype fonts, or are you using fixed fonts? I tried _every_ font I could find. When one is hopelessly tired, the meaningless symbol fonts in a terminal have a refresching effect. > I am using konsole with fixed fonts and white > characters on a black background this is one of the best-looking combinations I have found for my eyes. If you search with google, you will find that many agree with you, and that someone has found configurations for mrxvt which look almost the same but are *much* less resource hungry. My hardware and I cannot permit ourself to run kde/gnome/xfce/... applications, except for a brief testing. These are some of the best combinations I have found. But my eyes still found them sensibly worse than vt console. #!/bin/sh LANG=en_US ; export LANG #mrxvt -bg black -fg white -geometry 99x37-0+1 \ exec mrxvt -geometry 100x37-0+1 \ -stt -rv -sr -sl 2000 \ -tabfg blue -tabbg grey \ -itabfg black -itabbg "dark gray" \ -fb -xos4-terminus-bold-r-normal--16-160-72-72-c-80-iso10646-1 \ -fn -misc-console-medium-r-normal--16-160-72-72-c-80-iso10646-1 \ "$@" #!/bin/sh LANG=en_US ; export LANG exec xvt -bg blue -fg yellow -geometry 100x37-0+1 \ -fb -xos4-terminus-bold-r-normal--16-160-72-72-c-80-iso10646-1 \ -fn -misc-console-medium-r-normal--16-160-72-72-c-80-iso10646-1 \ "$@" #!/bin/sh LANG=en_US ; export LANG exec rxvt -bg black -fg white -geometry 100x37-0+1 \ -fb -xos4-terminus-bold-r-normal--16-160-72-72-c-80-iso10646-1 \ -fn -misc-console-medium-r-normal--16-160-72-72-c-80-iso10646-1 \ "$@" #!/bin/sh LANG=en_US.UTF-8 ; export LANG exec /usr/local/bin/urxvt.sarge \ -bg black -fg white -geometry 100x37 \ -fn '-misc-console-medium-r-normal--16-160-72-72-c-80-iso10646-1','-misc-fixed-medium-r-normal--15-140-75-75-c-90-iso10646-1' \ -fb -xos4-terminus-bold-r-normal--16-160-72-72-c-80-iso10646-1 \ "$@" #!/bin/sh LANG=en_US.UTF-8 ; export LANG exec xterm -bg black -fg white -geometry 88x33 \ -fn -Misc-Fixed-Medium-R-Normal--18-120-100-100-C-90-ISO10646-1 \ "$@" #!/bin/sh LANG=en_US ; export LANG exec xvt -bg black -fg green -geometry 100x37-0+1 \ -fb -xos4-terminus-bold-r-normal--16-160-72-72-c-80-iso10646-1 \ -fn -misc-console-medium-r-normal--16-160-72-72-c-80-iso10646-1 \ "$@" -- Chi usa software non libero avvelena anche te. Digli di smettere. Informatica=arsenico: minime dosi in rari casi patologici, altrimenti letale. Informatica=bomba: intelligente solo per gli stupidi che ci credono. -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
Re: Very slim Desktop Manager
On Wed, Nov 12, 2008 at 10:22:07AM -0600, lee wrote: > Hm, the console font has changed over the years. I was thinking it has > to do with which graphics card you are using, but I don't know. I have only very limited experience with the output of graphic cards of the last 7 years (ah, the power of remote unix administration), but I have never seen substantial change in the font displayed at linux boot with vga=normal (before a console font is loaded from disk) > Isn't it possible to convert/use the console font for X11? It must be, and I once (many years ago) tried a conversion with no good results. For example, debian has gbdfed ( http://www.math.nmsu.edu/~mleisher/Software/gbdfed/ ) which can import linux console fonts and can export the "hex" format which is used in the unifont packages (which can be used by X). See the links below: it seems that a ubuntu user was able to use in this way his preferred VGA console font in gnome terminal. > It's the hardware what is responsible for the switch in > brightness/contrast. Did you try to use gamma correction to make up for > it? no, I am completely ignorant about gamma correction. The use of the hardware brightness/contrast change of the monitor is possible, but useless at best when one is continuously switching between X and console. > And I would really like to have the console font for X11. All the > others are not as easy to read. Why shouldn't that be possible? me too, but we seem to be about the only ones with this problem, since debian has a direct solution only for the *opposite* problem (bdf2psf) Some time ago, I found with Google links like these: Linkname: Monospace/Fixed Width Programmer's Fonts URL: http://www.lowing.org/fonts/ Linkname: Hackszine.com: The perfect Terminal (or console) font? URL: http://www.hackszine.com/blog/archive/2007/11/the_perfect_terminal_or_consol.html Linkname: Renaissance Man: What's your favourite terminal/programming font? URL: http://jack-of-all-tradez.blogspot.com/2007/11/what-your-favourite-terminalprogramming.html Linkname: terminal/gnome-console fonts - Ubuntu Forums URL: http://ubuntuforums.org/showthread.php?t=14275 Linkname: [ubuntu] vga font in gnome-terminal emulator - Ubuntu Forums URL: http://backports.ubuntuforums.com/showthread.php?p=5302718 Hopefully your eyes might like these solutions, at least more than my eyes did. -- Chi usa software non libero avvelena anche te. Digli di smettere. Informatica=arsenico: minime dosi in rari casi patologici, altrimenti letale. Informatica=bomba: intelligente solo per gli stupidi che ci credono. -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
Re: Very slim Desktop Manager
On Wed, Nov 12, 2008 at 03:36:15PM +0100, Jochen Schulz wrote: > Did you try terminus? It's available as console and X11 font and last > time I tried it looked equally well in both modes. yes, since their first apparence in debian stable. I agree that they look very similar in X and in console (the difference is only due to resolution, refresh rate, brightness and contrast, I suppose). But unfortunately my eyes disagree about the "well" part. -- Chi usa software non libero avvelena anche te. Digli di smettere. Informatica=arsenico: minime dosi in rari casi patologici, altrimenti letale. Informatica=bomba: intelligente solo per gli stupidi che ci credono. -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
Re: Very slim Desktop Manager
On Wed, Nov 12, 2008 at 07:12:52AM -0600, lee wrote: > On Wed, 12 Nov 2008 11:23:27 +0100 > NN_il_Confusionario <[EMAIL PROTECTED]> wrote: > > > My *HUGE* problem with X has always been, and very possibly will > > always be, the readability of terminals. > > > > The huge problem is that all combination of therminals, fonts, color > > depths, screen resolutions, and refresh rates which I could try were > > always "infinitely" less tolerable for my eyes than linux or *BSD vt > > consoles. > > Hm, where does this problem come from? If I knew this, then very likely I would know either how to solve the problem or why I cannot solve the problem. The first evident part of the problem is that almost all existing fonts (even the ones which I have seen on Microsoft or Apple machines) are quite horrible for my eyes, and at any rate none of them is sufficiently similar to the good old console font. The only font i have found with an acceptable shape for me is the vga font from xfonts-dosemu or something like this, but (a) if I recall correctly, it does not have all the needed gliphs for iso-1/iso-15 (even less for unicode, but this is not a problem for me); (b) when X has a resolution better than 640x480, then the font becomes too small for my eyes (and scaling the font does not geve good results). Quite possibly the biggest part of the problem is in my eyes, but I suspect that it is not only this. If I recall corectly, more than 10 years ago I even tried to take a console font, input it in a program to "translate" it in a font for X, and then use the resulting X font. The result was a complete failure. Another unpleasant thing is that I am not able to configure X to have the same resolution, brightness/contrast and refresh rate as the console. Even when I tried modeline generators (there were also good ones online) and xvidtune, a switch in brightness at least, but almost always also a small switch in frequencies, appares from the console to startx. Is it the hardware which does not permit the same settings for text and graphic modes? -- Chi usa software non libero avvelena anche te. Digli di smettere. Informatica=arsenico: minime dosi in rari casi patologici, altrimenti letale. Informatica=bomba: intelligente solo per gli stupidi che ci credono. -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
Re: Very slim Desktop Manager
On Wed, Nov 12, 2008 at 08:29:22AM +, Tzafrir Cohen wrote: > Does it support autologin? The chooser of DMs (gdm, kdm, whatever) is a > separate process that does not remain running when you have an extra > session on. The daemon portion of gdm here seems to be: > > PID RSSSZ COMMAND > 4124 3832 636 /usr/sbin/gdm > 22915 3324 864 /usr/sbin/gdm If you want to use X autologin but you want also to avoid such a ram-eating process, you can do something like this: # grep tty3 /etc/inittab ##3:23:respawn:/sbin/getty 38400 tty3 3:23:respawn:/bin/login -f myuser /dev/tty3 2>&1 #3:23:respawn:/sbin/getty -iwn -I "[EMAIL PROTECTED] [Enter]" -l /etc/NN/login.myuser 38400 tty3 # grep tty3 ~myuser/.bash_profile [ `tty` = /dev/tty3 ] && exec startx /user/bin/evilwm -- :1 -depth 16 2>&1 | tee -a /tmp/X.myuser.`adesso.sh`.log 2>&1 (however, I use mksh now as shell, and my X setup in ~/.xinitrc is different, and I do not automatically startx at boot) Also I find buttonbox (FreeBSD ports should still have its source) very useful with evilwm. From my buttonbox configuration I can launch aepanel-xaw (from aewm package from sarge, not etch or lenny) so that I can use all debian menus (and my own menus in /etc/menu/). Moreover I do not "exec" evilwm but I use a ~/.xinitrc like this (which permit me to kill any running wm and then run another one, like pwm which is my other favorite wm): #!/bin/sh xsetroot -solid cyan4 & ## xrdb -merge ~/.Xresources xmodmap -e "keycode 115 = Multi_key" /usr/local/bin/buttonbox ~/.ButtonBox/ButtonBox.conf & /usr/bin/evilwm -term "~/.ButtonBox/newterm.command.sh" & exec /usr/bin/aesession This is a sample buttonbox configuration file (on sarge): *buttonList: denemo075 gv xpdf xdvi uxterm rxvt xvt mrxvt links2 dillo mozilla root *denemo075.title: denemo-0.7.5 *denemo075.command: denemo-0.7.5 & *gv.title: gv *gv.command: gv & *xpdf.title: xpdf *xpdf.command: xpdf & *xdvi.title: xdvi *xdvi.command: xdvi & *uxterm.title: xterm *uxterm.background: black *uxterm.foreground: green !*uxterm.command: LANG=en_US.UTF-8 xterm -bg black -fg white -geometry 80x24 -fn -Misc-Fixed-Medium-R-SemiCondensed--13-120-75-75-C-60-ISO10646-1 & !*uxterm.command: LANG=en_US.UTF-8 xterm -bg black -fg white -geometry 80x24 -fn -Misc-Fixed-*-*-*--20-*-*-*-*-*-ISO10646-1 & !mancano simboli tex!*uxterm.command: LANG=en_US.UTF-8 xterm -bg black -fg white -geometry 80x24 -fn -misc-console-medium-r-normal--16-160-72-72-c-80-iso10646-1 & !*uxterm.command: LANG=en_US.UTF-8 xterm -bg black -fg white -geometry 80x24 -fn -Misc-Fixed-Medium-R-Normal--20-200-75-75-C-100-ISO10646-1 & *uxterm.command: LANG=en_US.UTF-8 xterm -bg black -fg white -geometry 88x33 -fn -Misc-Fixed-Medium-R-Normal--18-120-100-100-C-90-ISO10646-1 & *rxvt.title: rxvt *rxvt.background: black *rxvt.foreground: green !*rxvt.command: LANG=en_US.UTF-8 rxvt -bg black -fg white -geometry 80x24 -fn -misc-console-medium-r-normal--16-160-72-72-c-80-iso10646-1 & !*rxvt.command: LANG=en_US rxvt -bg black -fg white -geometry 88x33 -fn -Misc-Fixed-Medium-R-Normal--18-120-100-100-C-90-ISO10646-1 & *rxvt.command: LANG=en_US rxvt -bg black -fg white -geometry 88x33 -fn -misc-console-medium-r-normal--16-160-72-72-c-80-iso10646-1 & *xvt.title: xvt *xvt.background: black *xvt.foreground: green !*xvt.command: LANG=en_US.UTF-8 xvt -bg black -fg green -geometry 80x24 -fn -misc-console-medium-r-normal--16-160-72-72-c-80-iso10646-1 & !*xvt.command: LANG=en_US xvt -bg black -fg green -geometry 88x33 -fn -Misc-Fixed-Medium-R-Normal--18-120-100-100-C-90-ISO10646-1 & *xvt.command: LANG=en_US xvt -bg black -fg green -geometry 88x33 -fn -misc-console-medium-r-normal--16-160-72-72-c-80-iso10646-1 & *mrxvt.title: mrxvt *mrxvt.background: black *mrxvt.foreground: green !*mrxvt.command: LANG=en_US mrxvt -bg black -fg white -geometry 80x24 -fn -misc-console-medium-r-normal--16-160-72-72-c-80-iso10646-1 & !*mrxvt.command: LANG=en_US mrxvt -bg black -fg white -geometry 88x33 -fn -Misc-Fixed-Medium-R-Normal--18-120-100-100-C-90-ISO10646-1 & *mrxvt.command: LANG=en_US mrxvt -bg black -fg white -geometry 88x33 -fn -misc-console-medium-r-normal--16-160-72-72-c-80-iso10646-1 & *links2.title: links2 *links2.command: links2 -g & *dillo.title: dillo *dillo.command: dillo & *mozilla.title: mozilla *mozilla.command: mozilla & *root.title: ROOT xvt *root.background: black *root.foreground: red *root.command: super xvt & Other useful information for a lighweight X can be found in Linkname: Stem Desktop - FAQ URL: http://debian.cante.net/stem/faq/ especially * 2.6 Can I use different window manager? * 2.7 Which terminal is the lightest? My *HUGE* problem with X has always been, and very possibly will always be, the readability of terminals. So the problem is not only that X is slower that svgalib/framebuffer graphics in console (not to speak about text consoles), not only that I will never be able to use the icons of Neanderthal Techonology (
Re: Software For Book Writing
On Tue, Nov 11, 2008 at 05:42:00PM -0500, Douglas A. Tutty wrote: > On Tue, Nov 11, 2008 at 07:57:15AM +0100, NN_il_Confusionario wrote: > > Surprisingly, from a very limited test on beige G3 mac machines (the > > above tests were instead on a pentium mmx 200 machine), I expect that > > lenny should NON be slower than etch or sarge (for console only use and > > with the tunings above), provided that the ram (and disk space) is > > sufficient. > > There also seems to be a problem with the ideal of "provided that the > ram is sufficient". A direct comparison would be with identical ram. The above comparation between sarge and lenny was on the same beige G3 machine wih 256Mb of ram (I dist-upgraded from sarge to etch to lenny). Also the comparation between OpenBSD 4.4, FreeBSD 7.1-BETA2 and lenny was on the same machine: p200mmx cpu, 192Mb ram, 20GB ide HD with mbr partitions (slices) of 4Gb for each system, plus ext2 partitions for data exchange. Be warned that OpenBSD does _not_ support ext2 filesystems with "modern" features turned on (see [defaults] in /etc/mke2fs.conf), and I am not speaking about the journal which can be easily disabled. Sure, a basic console woody on a p166 with 96 Mb ram is noticeably faster than all the above systems. If you have saved Bunk's additional packages from woody's times, you can even run a 2.6 kernel with woody (or a 2.2 or a 2.4 kernel. I have not checked potato's 2.0.38 kernel or a true 386 with woody, but given the versions of glibc and gcc in woody, and the fact that debian permits dist-upgrades with the kernel of the previous distribution, I suspect that they might still work). Note that I do not use C++ programs, except apt* when needed, and that my (non-server) installs do not run at startup cron or a smtpd o inetd or atd or ... Obviously udev, hal, fam, hotplug, and the like do not even exist on my disks. However I tried running together sshd, pdnsd and thttpd with no problems on all the above systems (except woody). On both the G3 and the p200mmx I even once tried startx /usr/bin/evilwm -- -depth 16 and then from a xterm I started denemo, audacity, xpdf, xdvi, qiv, links2, dillo, w3m(-img). All them seemed (not amazingly fast, but perfectly) usable and about the same speed on lenny and FreeBSD. No X is installed in my OpenBSD, which moreover does not have all the above precompiled packages. No deep test was done, however. > don't know how much ram Lenny's installer will need. I do not know either, but the install manual usually has such information. I do not use the debian installer; I used it only in old times when debootstrap did not exist, and I use it for the first install on a new architecture when I have no disc to copy an existing, already customized, install from nor a live system to use debootstrap from. Oldworld macs do not have a free way to boot from cd, so I had to use the debian floppy installer (with all the legal problems of miboot) of sarge, when it was still testing. A true pain since it is no more the simple linear installer that was at debian 1.1 times, and which OpenBSD still is. > Etch's needed more > than 32 MB but 64 MB was barely adequate. I just installed Etch on a > box with 96 MB, base install only, then ran top in one VT with aptitude > in another. I noticed during package install that dpkg hits swap. My guess is that aptitude is using so much ram that anything will hit swap. However, apt-get uses less memory and a different dependency resolution algorithm which I prefere: with apt-get I am able to have much more control at the expense of more, but not so much more, work. Since sarge, the number of packages that exist in debian (and the fact that apt* is written in C++, and the fact that the compiler is no more gcc 2.x, and unicode support, and a bigger libc*, and libselinux/whatever incuded in the base system, and ...) makes apt* noticeably slow on old hardware, even when the ram is sufficient to avoid using swap. A bigger number and size of files might also have its role by eating ram used for disk cache. Moreover, I suspect that Linux kernels post 2.2.x have default internal optimizations which make them better adapted to systems with more ram, but I suspect also that tuning of Linux for small memory systems is still possible. But possibly not with the 2.6.x precompiled debian kernel (and surely not in pure lenny which is without yaird and so has huge initrd even containing udev, unless one uses yaird from sid as I do). > At some point I'll put OpenBSD 4.4 on that box and see what happens with > pkg_add. I can assure you that pkg_add does not have such a slowness problem. None of the above reasons for slowenwss apply, plus the fact that only very simply minded dependencies (like slackware) are used, not the refined debian-style dependencies. However, when installing with dpkg only a
Re: Software For Book Writing
On Mon, Nov 10, 2008 at 10:40:20PM -0500, Douglas A. Tutty wrote: > down. At the time, OpenBSD was not UTF enabled and it ran much faster. > I haven't checked the latest (4.4) which is UTF enabled to see if it has > the same problem now. my limited, un-scientific, console only, experience from a freshly installed OpenBSD 4.4 in comparation with OpenBSD 3.x from woody's times: roughly same speed as OpenBSD 3.x, which means: - faster than a FreBSD 7.1-BETA2 install (both BSD with their default shell; FreeBSD became better with exec /usr/local/bin/mksh) - *noticeably* slower than woody's /bin/bash - faster than a /bin/bash install of etch - slower than a etch install with /bin/sh --> /bin/dash SHELL=/bin/mksh localepurge /etc/inittab with only one getty, two login -f and one /bin/sash (Note: even if I have tuned {Free,Open}BSD installs following the handbook/faq and debian installs following my experience, I expect to be able to do a much better tuning job on debian than on OpenBSD) Surprisingly, from a very limited test on beige G3 mac machines (the above tests were instead on a pentium mmx 200 machine), I expect that lenny should NON be slower than etch or sarge (for console only use and with the tunings above), provided that the ram (and disk space) is sufficient. When my time will permit, I will investigate the part of OpenBSD compat_linux manpage about svgalib (I *need* dvisvga and bmv and I like zgv and links2. Older tetex instead of texlive is not a problem for me, but absence of a precompiled reasonably recent lilypond is) -- Chi usa software non libero avvelena anche te. Digli di smettere. Informatica=arsenico: minime dosi in rari casi patologici, altrimenti letale. Informatica=bomba: intelligente solo per gli stupidi che ci credono. -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
Re: Software For Book Writing
On Sat, Nov 08, 2008 at 12:38:29PM -0600, Ron Johnson wrote: > On 11/08/08 08:35, NN_il_Confusionario wrote: > >On Sat, Nov 08, 2008 at 07:43:51AM -0500, Miles Fidelman wrote: > >>Oh yes. Usually people who impose submission requirements are people > >>who PAY you - employers, publishers, granting agencies - just the people > >>you want to tick of by teaching them the folly of their ways. > > > >Yes, this is an excellent occasion to let them know that there are > >persons for which freedom has more value than money > > Conversely, most are sheeple, and it's easy to ignore the fringe. >From a e-mail which I have received in private, I must suppose that someone has taken my remark as a personal attack. I am sorry and apologize; that was not my aim. I try to repeat: the persons who care about feedom more than about money can take this as an occasion to lean the submission rules (and the like) BEFORE writing the thing, and then let the editor know if/when/where/why/how the submission rules are unacceptable. Then chose an editor whose submission rules are acceptable. The other persons (who have all rights to exist) can behave differently, since this world is fortunately still sufficiently free at least in this respect. -- Chi usa software non libero avvelena anche te. Digli di smettere. Informatica=arsenico: minime dosi in rari casi patologici, altrimenti letale. Informatica=bomba: intelligente solo per gli stupidi che ci credono. -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
Re: Software For Book Writing
On Sat, Nov 08, 2008 at 07:43:51AM -0500, Miles Fidelman wrote: > Oh yes. Usually people who impose submission requirements are people > who PAY you - employers, publishers, granting agencies - just the people > you want to tick of by teaching them the folly of their ways. Yes, this is an excellent occasion to let them know that there are persons for which freedom has more value than money -- Chi usa software non libero avvelena anche te. Digli di smettere. Informatica=arsenico: minime dosi in rari casi patologici, altrimenti letale. Informatica=bomba: intelligente solo per gli stupidi che ci credono. -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
Re: disk names at boot
On Tue, Nov 04, 2008 at 06:49:54AM -0700, ghe wrote: > How did you find all this? upgrading from old udev-free distributions installed on old hardware, and reading documentation. One point not directly covered by the documentation: umount -l is useful when you remove udev (or when on package installation udev insists on managing /dev/ even if you have previously installed a configuration file which says otherwise) -- Chi usa software non libero avvelena anche te. Digli di smettere. Informatica=arsenico: minime dosi in rari casi patologici, altrimenti letale. Informatica=bomba: intelligente solo per gli stupidi che ci credono. -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
Re: disk names at boot
On Mon, Nov 03, 2008 at 03:11:38PM -0700, ghe wrote: > I have a hard time believing, though, that there wouldn't have been a > lot of very loud wailing if it's not possible for us old server admins > to set things up the way I want to... No warranties, but: * you can try a system where udev is NOT even installed (almost all my systems, and all systems which I have personally installed, are of this kind. The few remaining ones are covered by the next point). This requires a self-complied kernel without initrd, or a debian stock kernel where the initrd is build by yaird. Note that at this time yaird from sid works also on etch (fetch the package, dpkg --force-depends -i, then manually adjust in /var/lib/dpkg/status the Depends: line for yaird; it will work also with etch libc6) * you can try a system where udev is installed but does NOT start neither from the initrd or at boot (use rcconf, or edit symlinks in rc.d directories or the file /etc/rc.conf fir file-rc is installed, or whatever). Almost the same as above. * you can try a system where udev is installed and starts at boot (but NOT from the initrd), but in udev.conf a directory different from /dev/ is specified. See /usr/share/doc/udev/ search for something like "disabling udev". The difference with the previous points is that udev still loads modules. In my opinion, udev is pretty useless on a machine where hardware does not change and manual loading from /etc/modules in the order you want permits avoiding tampering with udev rules. No warranties (even if I am VERY happy with the udev - free machines). -- Chi usa software non libero avvelena anche te. Digli di smettere. Informatica=arsenico: minime dosi in rari casi patologici, altrimenti letale. Informatica=bomba: intelligente solo per gli stupidi che ci credono. -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
Re: Happy birthday, Debian!
On Thu, Aug 21, 2008 at 10:46:49AM +0300, Shachar Or wrote: > On Thursday 21 August 2008 09:30, NN_il_Confusionario wrote: > > >> http://debian.org.ua/debian-archive/dists/bo/main/disks-i386/1997-10-13/ > > what's wrong with the files *.bin > In VirtualBox OSE 1.6.2 it boots from the floppy, apparently and all I see is > the cursor in the firt line, not blinking and the CPU stays idle. I cannot help about VirtualBox, but you can try other virtualization methods (such as quemu, bochs) or a real hardware to understand if the problem is in the *.bin files I suspect that the problem is not in the files, but in some incompatibility with VirtualBox (or of your configuration of VirtualBox). VirtualBox documentation/googling/forums might help. -- Chi usa software non libero avvelena anche te. Digli di smettere. Informatica=arsenico: minime dosi in rari casi patologici, altrimenti letale. Informatica=bomba: intelligente solo per gli stupidi che ci credono. -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
Re: Happy birthday, Debian!
On Thu, Aug 21, 2008 at 12:44:51AM +0300, Shachar Or wrote: > On Thursday 21 August 2008 00:28, NN_il_Confusionario wrote: >> http://debian.org.ua/debian-archive/dists/bo/main/disks-i386/1997-10-13/install.txt >> (use your nearest mirror of debian-archive instead of debian.org.ua) > I can't find the installation media. what's wrong with the files *.bin (in the same directory) for a floppy installation? -- Chi usa software non libero avvelena anche te. Digli di smettere. Informatica=arsenico: minime dosi in rari casi patologici, altrimenti letale. Informatica=bomba: intelligente solo per gli stupidi che ci credono. -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
Re: Happy birthday, Debian!
On Wed, Aug 20, 2008 at 11:33:05PM +0300, Shachar Or wrote: > On Wednesday 20 August 2008 23:21, NN_il_Confusionario wrote: > > Try it yourself using archive.debian.net : 1.3.1 is quite similar to the > > first release 1.1. Install that and upgrade to 2.0 then to 2.1 then ... > > Will certainly do! But how do I install that 1.1 version at all? Sorry for my bad english. I wanted to suggest the istallation of 1.3.1 http://debian.org.ua/debian-archive/dists/bo/main/disks-i386/1997-10-13/install.txt (use your nearest mirror of debian-archive instead of debian.org.ua) If you _really_ want 1.1 (with kernel 2.0.0), first install 1.3.1 then downgrade by compiling from source http://debian.org.ua/debian-archive/dists/Debian-1.1/source/ -- Chi usa software non libero avvelena anche te. Digli di smettere. Informatica=arsenico: minime dosi in rari casi patologici, altrimenti letale. Informatica=bomba: intelligente solo per gli stupidi che ci credono. -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
Re: Happy birthday, Debian!
On Wed, Aug 20, 2008 at 07:58:46PM +0300, Shachar Or wrote: > I wonder if there's a system somewhere that was never re-installed, only > upgraded from one of the earliest versions... yes but not on the disk where debian 1.1 was installed from floppy disks, and not on the same cpu/motherboard. However the floppy drive should be the same, I seem to recall. Clearly I do not count as reinstall the copy of an existing installation. > It would be interesting to see what ruins can be found amongst the files. None, if you purge "obsolete or local packages" (with care since some of these old packages were "essential" at their times) What you want to be present, if you selectively decide what to purge. Even libc4 (for a.out binaries), if you keep all. Try it yourself using archive.debian.net : 1.3.1 is quite similar to the first release 1.1. Install that and upgrade to 2.0 then to 2.1 then ... -- Chi usa software non libero avvelena anche te. Digli di smettere. Informatica=arsenico: minime dosi in rari casi patologici, altrimenti letale. Informatica=bomba: intelligente solo per gli stupidi che ci credono. -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
Re: directory to deb
On Thu, Jul 24, 2008 at 03:26:37AM +, T o n g wrote: > I have a second thought, since checkinstall accept any install command, > can I do > > checkinstall rsync -vua . / > > from the directory that I prepared to create a .deb file? if the command rsync -vua . / is really what you want to do, then instead give a look to dh_builddeb and/or other dh_* commands My script instead was for an _alredy installed_ package, for example when you as user do a ./configure --prefix=/usr/local/NN/packagename-version/;make;make install (where /usr/local/NN/packagename-version is a pre-existing directory owened by the user). Sorry for having misunderstood your problem. Also, give a look at ckeckinstall (really, installwatch) bugs; for example be SURE that your installation does not modify /etc/passwd or any other (inportant) file which exists before the installation. -- Chi usa software non libero avvelena anche te. Digli di smettere. Informatica=arsenico: minime dosi in rari casi patologici, altrimenti letale. Informatica=bomba: intelligente solo per gli stupidi che ci credono. -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
Re: Uninstalling djb daemontools, djbdns
On Wed, Jul 23, 2008 at 01:13:06PM +0300, Andrei Popescu wrote: > On Wed,23.Jul.08, 13:11:24, Andrei Popescu wrote: > > On Wed,23.Jul.08, 10:46:02, Pavlos Parissis wrote: > > > On Tue, 22 Jul 2008 17:35:11 + (UTC) > > > Hendrik Boom <[EMAIL PROTECTED]> wrote: > > > > Is there an easy way to scan a system to find all files that aren't part > > > > of any package? Except of course for files like the ones under /home or > > > > /usr/local or such? > > I think debfoster can create such a list. > Sorry, that's probably deborphan. apt-cache show cruft -- Chi usa software non libero avvelena anche te. Digli di smettere. Informatica=arsenico: minime dosi in rari casi patologici, altrimenti letale. Informatica=bomba: intelligente solo per gli stupidi che ci credono. -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
Re: directory to deb
On Wed, Jul 23, 2008 at 10:16:20AM +0300, Eugene V. Lyubimkin wrote: > T o n g wrote: > > Apart from using checkinstall, if I've prepared a directory of folders and > > files, can I make the directory into a .deb file? > As I know, no. In your case checkinstall is better. customizing the script which follows produces a .deb of the same (usually low) quality of checkinstall. Sorry for the fact that comments inside the script are not in english. #!/bin/bash test `id -u` -eq 0 || { echo "AVVISO: l'uid non è 0, bisognerebbe usare 'fakeroot ./.crea_deb.sh'! " ; echo "Ora tento di rieseguire lo script dentro fakeroot: " ; exec fakeroot "$0"; } echo 'Script per fare un .deb con tutti i files in una dir (e sottodir)' echo 'NOTARE! da eseguirsi con `pwd`=la dir coi files' echo 'NOTARE! la parte coi simlink funziona bene solo nelle ipotesi:' echo 'la dir coi files ha la forma $BBASE/NN/$NOME' echo 'I link sono in ../../bin=$BBASE/bin (files universalmente eseguibili)' echo 'in ../../sbin=$BBASE/sbin (files eseguibili solo dal possessore, root)' BASENOME=`/bin/pwd` BASE="`dirname \"$BASENOME\"`" NOME="`basename \"$BASENOME\"`" NOMEPKG="$NOME" VERSIONE="1.0.1-0.back.1" BBASE=`dirname "$BASE"` echo " *** In questo momento BBASE vale $BBASE *** " test -d "../../bin" || { echo "AVVISO: ../../bin non dir! Male per i links! " ; } test -d "../../sbin" || { echo "AVVISO: ../../sbin non dir! Male per i links! " ; } which lintian>/dev/null || { echo "AVVISO: servirebbe avere lintian installato! " ; } which fakeroot>/dev/null || { echo "AVVISO: servirebbe avere fakeroot installato! " ; } which dpkg-shlibdeps>/dev/null || { echo "AVVISO: servirebbe avere dpkg-dev installato per usare dpkg-shlibdeps (dipendenze di un binario)! " ; } which ar>/dev/null || { echo "AVVISO: *OCCORRE* avere binutils installato! senza ar NON creo pacchetto .deb " ; } umask 0022 Crea_deb () { TMPDIR="/tmp/$NOME.`date +%Y-%m-%d--%H-%M-%S`" { mkdir -p "$TMPDIR" test -d "$TMPDIR" || { echo "ERRORE: $TMPDIR non dir!" ; exit 1 ; } # "$BASENOME/lista" = lista files fuori da "$BASENOME" ma nel pkg # ATTENZIONE: NON SONO AMMESSI NOMI SIFULI (spazi nel path, ...) test -e "$BASENOME/lista" || touch "$BASENOME/lista" INST_SIZE=`du -sc "$BASENOME" $(cat "$BASENOME/lista")|tail -n 1|sed "s/[[:blank:]].*//"` # crea data.tar.gz find "$BBASE"/bin -lname "$BASENOME/*">"$TMPDIR/lista_bin" find "$BBASE"/bin -lname "../NN/$NOME/*">>"$TMPDIR/lista_bin" find "$BBASE"/sbin -lname "$BASENOME/*">"$TMPDIR/lista_sbin" find "$BBASE"/sbin -lname "../NN/$NOME/*">>"$TMPDIR/lista_sbin" cat "$TMPDIR/lista_sbin" "$TMPDIR/lista_bin" "$BASENOME/lista">"$TMPDIR/lista" tar --numeric-owner \ --files-from="$TMPDIR/lista" \ -cvziSf "$TMPDIR/data.tar.gz" "$BASENOME" ##tolto numeric-owner, _MA_ allora nomi utenti devono essere "universali" ... ##tar -cvziSf "$TMPDIR/data.tar.gz" "$BASENOME" # crea debian-binary echo "2.0">"$TMPDIR/debian-binary" # crea control.tar.gz cat<"$TMPDIR/control" Package: $NOMEPKG Version: $VERSIONE Section: localscripts Priority: optional Architecture: all Depends: bash (>= 2) Recommends: screen, mc, ssh, rsync, bzip2, less, deborphan Suggests: file, pinfo, telnet-ssl, lynx, mutt, wget, pdmenu, super, dpkg-repack, ntpdate, sash, e3 Installed-Size: $INST_SIZE Maintainer: NN <[EMAIL PROTECTED]> Description: Una raccolta di scripts Dalla collezione di scripts di NN. ATTENZIONE: il pacchetto NON rispetta completamente la policy debian EOF find "$BASENOME" -type f -print0|xargs -0 md5sum|sed "s+ /+ +">"$TMPDIR/md5sums" for F in `cat "$BASENOME/lista"` ; do \ md5sum $F|sed "s+ /+ +">>"$TMPDIR/md5sums" ; done #E: bho: control-file-has-bad-permissions md5sums 0664 != 0644 #E: bho: control-file-has-bad-owner md5sums 1000/1000 != root/root ##chmod 0644 "$TMPDIR/control" "$TMPDIR/md5sums" "$TMPDIR/debian-binary" chown root:root "$TMPDIR/control" "$TMPDIR/md5sums" "$TMPDIR/debian-binary" cd "$TMPDIR" tar --numeric-owner -cvziSf "$TMPDIR/control.tar.gz" control md5sums # crea pacchetto .deb ar rucv "${NOME}_${VERSIONE}_all.deb" debian-binary control.tar.gz data.tar.gz lintian "${NOME}_${VERSIONE}_all.deb" 2>&1 >"${NOME}_${VERSIONE}_all.deb.lintian" 2>&1 grep ^E: "${NOME}_${VERSIONE}_all.deb.lintian" echo "ATTENZIONE: cercare di soddisfare lintian prima di installare il .deb !" cd - } 2>&1 | tee -a "$TMPDIR/LOG" 2>&1 } # fine funzione Crea_deb Crea_links () { # files "nascosti" ".*" NON vengono linkati in bin o sbin # files non nascosti e eseguibili vengono linkati cd $BASENOME cd ../../bin find ../NN/$NOME -type f -perm -111 ! -name ".*" -print0|xargs -0 \ ln --target-directory=. -s cd $BASENOME cd ../../sbin find ../NN/$NOME -type f -perm -100 ! -perm -1 ! -name ".*" -print0|xargs -0 \ ln --target-directory=. -s cd $BASENOME } Togli_links () { cd $BASENOME find ../../bin -lname "$BASENOME/*" -print0|xargs -0 rm find ../../bin -lname "../NN/$NOME/*" -print0|xargs -0 rm find ../../sbin -lname "$BASENOME/*" -print0|xargs -0 rm find ../
Re: vmware questions
> * From: "John O Laoi" <[EMAIL PROTECTED]> > So, I've decided to put vmware on etch and run XP from that. > (I know about WINE, but I'd prefer to go the vmware route, as I want to get > familiar with > vmware.) have you considered also virtualbox-ose (which ia available as debian package; form backports.org if you use etch) ? Truly free, no licence questions, much less kernel modules compiling problems, official virtualbox documentation about migrating from a "real" installation to a virtual one. (However for this virtualization step I am told that there exist for vmware an executable which claims to "automatically" do the job) -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
Re: migrating Debian GNU/Linux Etch to second SATA
> * From: Paul Csanyi <[EMAIL PROTECTED]> >NN_il_Confusionario <[EMAIL PROTECTED]> writes: >> On Thu, May 08, 2008 at 11:12:30PM +0200, Paul Csanyi wrote: >>> Error: /dev/scsi/host1/bus0/target0/lun0/disc does not have any >>> corresponding BIOS drive. >> >> is /etc/mtab correct ? >> >> is /boot/grub/device.map (which might be created by grub-install by >> reading /etc/mtab) correct ? > >Yes, it is: >nano /etc/mtab >... >/dev/sdb1 / ext3 rw,error=remount-ro 0 0 It is not, if I have understood correctly your aims. When I have an i386 / amd64 installation on (say) sda and I want to copy it on (say) a new disk sdb in such a way that when the new disk is installed as sda it boots as a "clone" (but with partitions of different size; if sda and sdb are identical I use dd) of the old sda, this is what I do: recreate partition table and filesystems on sdb mount the / of the new disk as (say) /tmp/NEW/ and then the /var/ (say) of the new disk on /tmp/NEW/var/ , and so on. clone the contents of the filesystems (with rsync or whatever) chroot /tmp/NEW/ and then inside the chroot I mount what i need: mount /proc/ mount /sys/ # if needed, for example to recreate a yaird initrd mount /dev/pts (and so one for every "virtual" filesystem which I need. I do not use udev) finally (still in the chroot) I edit two files: (1) I edit /etc/mtab in such a way that it corresponds to /etc/fstab ; so in your case it would be /dev/sda1 / ext3 rw,error=remount-ro 0 0 (sda and not sdb). The rule is: the mtab must contain the lines that it will contain when the system will be booted from he new disk. (2) I edit /boot/grub/device.map ; this way the logic seems opposite to the previous one; in your case this would be: (hd0) /dev/sdb This line means: the disk that grub and the bios will see as the first one (hd0) when the system will be booted, is the disk that Linux is seeing as hdb in the moment that grub-install is executed. (3) I run grub-install /dev/sdb Note: "(hd0) /dev/sdb" versus "(hd1) /dev/sdb" changes a bit in the boot record which is written in the MBR of sdb. (4, optional but useful to avoid confusion) I re-edit /boot/grub/device.map so that it will be correct onece the sistem will be booted from the new disk ; in your case (hd0) /dev/sda Finally I umount the special filewistems, the (say) /var/ partition (and so on), I exit the chroot, I umount even the / partition of the new disk. -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
Re: selected pages printing from gv gives random output
> * From: "H.S." <[EMAIL PROTECTED]> > if I print > a few pages from gv by selecting them, that goes okay. However, if then > deselect those > pages and select another set and print them, thing go wrong and the output is > odd > characters here and there on the printouts. at first look it seems a gv bug. Does it happen if you restart gv and then select the new pages ? Does it happen if, without restarting gv, you re-open the file and select the new pages ? Does it happen if, instead of printing the newly marked pages you save them and then print the resulting ps file ? This might give a workaround or some details for a reportbug. -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
Re: Why no libapache2-mod-auth-mysql in etch?
> * From: "Patrick Wiseman" <[EMAIL PROTECTED]> > the auth_mysql module, while available in sarge, lenny, and sid, is not > available in etch > (and, this being a production server, I want it 'stable'). Is there a > solution? I have _not_ tried this, but etch has both libapache2-mod-auth-pam and libpam-mysql which, when used together, should give this functionality. -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
Re: Most inexpensive debian friendly laserjet printer? total cost of ownership including laserink?
On Tue, May 06, 2008 at 03:02:04PM +0200, Michelle Konzack wrote: > every > time I want to print I need the NON-FREE Acrobat since PS is not able to > print two pages per side... what about apt-cache search psbook page-crunch - GUI/frontend to psutils programs, like psnup, psbook psutils - A collection of PostScript document handling utilities ? -- Chi usa software non libero avvelena anche te. Digli di smettere. Informatica=arsenico: minime dosi in rari casi patologici, altrimenti letale. Informatica=bomba: intelligente solo per gli stupidi che ci credono. -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
Re: Clearing SWAP
On Fri, May 09, 2008 at 07:43:00AM -0500, Ron Johnson wrote: > On 05/09/08 07:33, Dotan Cohen wrote: > > I use Linux because it is the most > > stable and secure OS available in my opinion. > I'm sure the {Free|Open}BSD crowds would more than quibble with you. also the NetBSD ones > And a workstation running OpenVMS was considered so unhackable at > DEFCON9 that it wasn't allowed back the next year. and VMS, unlike unix, since the beginning was planned with solid security in mind. In the times where classification into A,B,C,D security made sense, there were VMS B-certified machines (the maximum level, except for the lack of a formal mathemetical proof of that level of security). And Digital never had to hide the code from the eyes of the world, so that everybody could know the quality of the code (any reference to proprietary software widely used today, and which is not of the same level of quality as VMS, is purely wanted). But the point of the original phrase probably is: the most stable and secure OS available among the ones that whoever is speaking is able to use to get the work done. For example, if no realtime version of VMS exists (and I suspect that it does not exists), qnx should be preferred to VMS for realtime tasks (anyone producing atomic enegy @home?) -- Chi usa software non libero avvelena anche te. Digli di smettere. Informatica=arsenico: minime dosi in rari casi patologici, altrimenti letale. Informatica=bomba: intelligente solo per gli stupidi che ci credono. -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
Re: users manager
> * From: rihab84 <[EMAIL PROTECTED]> > how to create accounts to connect as for windows server (I > believe that the active directory). As it has already been said, your question is not copletely clear. If you want that your debian machine be part of a windows active directory domain, read samba documantation (go to /usr/share/doc/samba* afrer a apt-get install samba-doc). You might also do a google search for samba active directory. After having read the documentation, with "apt-cache search samba" you can see all debian packages related to samba. One example: $ apt-cache search samba pam lg-issue105 - Issue 105 of the Linux Gazette. ldapscripts - Add and remove user and groups (stored in a ldap directory) libpam-smbpass - pluggable authentication module for SMB/CIFS password database samba - a LanManager-like file and printer server for Unix libpam-mount - PAM module that can mount volumes for a user session so you might want to configure pam (which is used in most cases to authenticate users in GNU/linux) to use a SMB/CIFS or a ldap server. -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
Re: fsck.ext3 -yv /dev/sda1 on 1 terabyte partition
> * From: "Douglas A. Tutty" <[EMAIL PROTECTED]> >Does anyone know how much memory fsck needs to check a large filesystem? Linkname: Considerations when creating ext3 filesystems - Ext4 URL: http://ext4.wiki.kernel.org/index.php/Considerations_when_creating_ext3_filesystems#Memory_needed_to_fsck_the_filesystem Unfortunately, even that answer does not contain a formula to calculate the needed memory (or time). -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
Re: fsck.ext3 -yv /dev/sda1 on 1 terabyte partition
> * From: "Douglas A. Tutty" <[EMAIL PROTECTED]> >Does anyone know how much memory fsck needs to check a large filesystem? some (rather old) information is contained in Linkname: E2fsprogs Release Notes URL: http://e2fsprogs.sourceforge.net/e2fsprogs-release.html for example, it says E2fsprogs 1.07 (March 14, 1997) E2fsck is now uses much less memory when checking really large filesystems (or rather, filesystems with a large number of inodes). Previously a filesystem with 1 million inodes required 4 megabytes of memory to store inode count statistics; that storage requirement has now been reduced to roughly half a megabyte. E2fsprogs 1.15 (July 18, 1999) E2fsck now uses mallinfo if it exists to get accurate statistics about its memory usage. Moreover: Linkname: Filesystems (ext3, reiser, xfs, jfs) comparison on Debian Etch URL: http://www.debian-administration.org/articles/388 Times of over two months to 'fsck' a filesystem have been reported for 'ext3' and XFS sometimes requires more than 4GB of memory to run 'fsck' (it is possible to create and use an XFS filesystem on a system with a 32 bit that can only be 'fsck'ed on a 64 bit CPU, andat least one case has actually happened). The basic problem is that while very large filesystems using JFS or XFS (or very recent 'ext3') perform well on RAID storage, because they take advantage of the parallel nature of the underlying storage system, 'fsck' is single threaded in every Linux file system design that I have seen. Bad news. More details here: http://www.sabi.co.uk/Notes/anno05-4th.html#051012 http://www.sabi.co.uk/Notes/anno05-4th.html#051009 -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
Re: migrating Debian GNU/Linux Etch to second SATA drive
On Thu, May 08, 2008 at 11:12:30PM +0200, Paul Csanyi wrote: > Error: /dev/scsi/host1/bus0/target0/lun0/disc does not have any > corresponding BIOS drive. is /etc/mtab correct ? is /boot/grub/device.map (which might be created by grub-install by reading /etc/mtab) correct ? have you searched google Linkname: grub error does not have any corresponding BIOS drive - Google Search URL: http://www.google.com/search?num=100&hl=en&ie=ISO-8859-1&q=grub+error+does+not+have+any+corresponding+BIOS+drive&btnG=Search ? -- Chi usa software non libero avvelena anche te. Digli di smettere. Informatica=arsenico: minime dosi in rari casi patologici, altrimenti letale. Informatica=bomba: intelligente solo per gli stupidi che ci credono. -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
Re: Newbie Basic Networking. Using Hostnames
On Fri, May 09, 2008 at 01:04:45AM +, Oscar Corte wrote: >I'm able to ping each machine from each other but by its IP address. > However, I don't get any results if I ping by the use of host names. > What am I missing? a definition of the two "ip fqdn name" lines in /etc/hosts on both machines (and also word wrapping in the e-mail) -- Chi usa software non libero avvelena anche te. Digli di smettere. Informatica=arsenico: minime dosi in rari casi patologici, altrimenti letale. Informatica=bomba: intelligente solo per gli stupidi che ci credono. -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
Re: How do I change cursor/mouse pointer?
On Thu, May 08, 2008 at 08:02:05PM -0500, Dennis G. Wicks wrote: > OK, I started a third instance by logging on a third > linux user on a console (tty3) and running startx -- :2 > and there was no difference in the new session. > > I have two other instances(?) of x-session-manager > running. Do I have to get all of these shutdown for the > change to take effect? Unforunately I have no idea of the "evil" things x-session-manager is able to do. I tried the big-cursor package only once, and it was on a machine which used X only one istance at a time and by means of startx with a "simple" window manager (pwm). An experienced used could check with strace, lsof, fuser ... what files are your istances of X using. For a less experienced user, the fastest thing should be stopping all X istances and try again. -- Chi usa software non libero avvelena anche te. Digli di smettere. Informatica=arsenico: minime dosi in rari casi patologici, altrimenti letale. Informatica=bomba: intelligente solo per gli stupidi che ci credono. -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
Re: How do I change cursor/mouse pointer?
On Thu, May 08, 2008 at 08:11:26AM -0500, Dennis G. Wicks wrote: > NN_il_Confusionario wrote the following on 05/07/2008 09:46 AM: > >less /usr/share/doc/big-cursor/README.Debian > >(this is a useful general rule) > > that is nowhere near intuitive! many debian packages have documentation in /usr/share/doc/$PACKAGENAME and often there is a README.Debian (or similar names) with debian specific post-installation instructions. > new session for a new user and I still have the same > small cursors and mouse pointers. you do not need a new "session" but a new istance of the X server (or possibly not, as the above file explains). If you are using gdm / kdm / xdm / wdm ... (as opposed to startx), then a logout does NOT start a new istance of the X server, since the display manager ?dm keeps alive the old istance of X. You can restart the display manager /etc/init.d/gdm restart and/or kill the X server (and so lose all unsaved data in your session) from the X server itself (unless disabled in xorg.conf): with a console command: killall X and/or log in in console and manually start a new X istance: startx -- :1 -- Chi usa software non libero avvelena anche te. Digli di smettere. Informatica=arsenico: minime dosi in rari casi patologici, altrimenti letale. Informatica=bomba: intelligente solo per gli stupidi che ci credono. -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
Re: make-kpkg failure - UTS release version problem
On Thu, May 08, 2008 at 03:55:22AM -0700, Bill wrote: > Should there be a include/linux/version.h file in the > 2.6.25 directory? if you follow the documentation of kernel-package then make-kpkg will create it. If no commands were executed in the 2.6.25 directory tree after creating it by uncompressing the source tarball, then no make-kpkg clean commands are needed to start. -- Chi usa software non libero avvelena anche te. Digli di smettere. Informatica=arsenico: minime dosi in rari casi patologici, altrimenti letale. Informatica=bomba: intelligente solo per gli stupidi che ci credono. -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
Re: FPC package update
> * From: Frank McCormick <[EMAIL PROTECTED]> > Does the reportbug package in Debian really work? yes. Check you exim configuration an your exim logs in /var/log/ (if needed, replace "exim" with your MTA) -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
Re: mailman install trouble
> * From: al davis <[EMAIL PROTECTED]> >When I do "sudo apt-get install mailman" .. it gets as far as >the language selection, and then loops. >ideas? [naive idea] try changing the debconf interface: for example, from dialog to text or whatever [too heavvy idea] run the apt command under starce to debug what happens -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
Re: Can't resolve ftp.us.debian.org
On Wed, May 07, 2008 at 05:18:45PM -0400, [EMAIL PROTECTED] wrote: > > Does it help defining in /etc/hosts the http hosts of your sources.list ? > > I can try that, but I've never done that before. well, try it, it is not difficoult. I am not assuring that this will solve the problem, I am saying that this is so easy that it is worth to try it. > > > > Moreover, what happened when in sources.list you used the ip in place of > > > > security.debian.org ? > > Using the backports IP worked for installing SpamAssassin, but it > doesn't work for security. Every time I ping security.debian.org I > get a different IP anyway, so I'm not sure of what to use. the ip I explicity indicated in two of may previous e-mails. There you find also the reason I used to chose that ip among the many that getent hosts security.debian.org returns. > I'm sure my restore did something bad, so let me describe > what I did: > > 1. I installed Etch 40r0 from June 2007 download (base system). > 2. I ran apt-get update and dist-upgrade - Worked fine! > 3. Then I installed Mondo, and used mondorestore to restore /etc, > /home, /usr, and /var from my mondo-created backup DVDs. I do not know/use/whatever mondo. I do not understand backup procedures like yours. In debian, it makes sense to backup: /etc/ (very important) /root/ /home/ /usr/local/ /var/lib/dpkg/ (very important) /var/cache/debconf/ (optional) other specifc directories from /var (for example the postgres/mysql/... directory if you use a database, but stop the database before doing the backup!) and then you do restores of _specific_ files when needed. If you really want to perform "complete" backups and restores, I think tha mondo has the ability to perform them without the need of a base installation on disk. Your method does a *mix* of a existing installation on disk with a previous backed-up installation. As you have experienced, not always a great thing. One thing that you could do (once apt works) is to reinstall every package on the system. dpkg --get-selections|grep [[:blank:]]install and you see the packages that dpkg thinks are installed (this idea might not be completely correct given the mix of installations that you performed). Then reisnstall all of them apt-get --reinstall install $(dpkg --get-selections|grep [[:blank:]]install|sed "s/[[:blank:]].*//") -- Chi usa software non libero avvelena anche te. Digli di smettere. Informatica=arsenico: minime dosi in rari casi patologici, altrimenti letale. Informatica=bomba: intelligente solo per gli stupidi che ci credono. -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
Re: Debian + LVM + RAID1
On Wed, May 07, 2008 at 07:41:40PM -0400, Celejar wrote: > (http://grub.enbug.org/LVMandRAID): it says: GRUB has support for LVM and RAID since version 1.95. but this might apply to the debian package for grub2, not to the debian package for grub (which is the default boot loader on i386 and amd64 in stable), since apt-cache policy grub grub: Installed: 0.97-27 Candidate: 0.97-27 Version table: *** 0.97-27 0 1002 http://ftp.it.debian.org stable/main Packages 100 /var/lib/dpkg/status 0.97-16.1~bpo.1 0 900 http://www.backports.org sarge-backports/main Packages 0.95+cvs20040624-17sarge1 0 1002 http://ftp.it.debian.org oldstable/main Packages 0.91-2 0 1002 http://archive.debian.org woody/main Packages -- Chi usa software non libero avvelena anche te. Digli di smettere. Informatica=arsenico: minime dosi in rari casi patologici, altrimenti letale. Informatica=bomba: intelligente solo per gli stupidi che ci credono. -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
Re: make-kpkg failure - UTS release version problem
On Wed, May 07, 2008 at 03:05:37PM -0700, Bill wrote: > The UTS Release version in include/linux/version.h > "" > does not match current version: > "2.6.25" > Please correct this. > Any pointers here would be helpful. It might be a faq about kernel-package, and its documentation in /user/share/doc/kernel-package/ might answer this > What needs correcting? include/linux/version.h -- Chi usa software non libero avvelena anche te. Digli di smettere. Informatica=arsenico: minime dosi in rari casi patologici, altrimenti letale. Informatica=bomba: intelligente solo per gli stupidi che ci credono. -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
Re: [OT] Recovering a deleted file that is still open
> * From: Raj Kiran Grandhi <[EMAIL PROTECTED]> > If I have accidentally deleted a file that is still being used by some > application (read or write mode), is it possible to recover such a file? > Especially since > the file is not really deleted until the descriptor is closed by the > application? yes, for example using lsof and coping with cp a file from proc. A google search explains this. If with lsof|grep deletd you find that the file descriptor 4 of process with pid 14243 corresponds to /path/to/the/deleted/file then cp -pu /proc/14243/fd/4 /path/to/the/deleted/file.SAVED (I am from memory, do a google search to find the exact commands) -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
Re: Debian + LVM + RAID1
On Wed, May 07, 2008 at 02:48:57PM -0400, Damon L. Chesser wrote: > Truly, I don't know if you install grub onto a raid1 if it will install > it onto the MBR of both physical HDs. I have not done this recently, but I am sure that some yeras ago it was not so. I had to install separately grub on the MBR of both disks (say, sda and sdb, or hd0 and hd1 in grub language). And since then I have not changed method. Moreover with Linkname: grub raid1 mdadm - Google Search URL: http://www.google.com/search?num=100&hl=en&ie=ISO-8859-1&q=grub+raid1+mdadm&btnG=Search I do not see in the first hits really different methods. -- Chi usa software non libero avvelena anche te. Digli di smettere. Informatica=arsenico: minime dosi in rari casi patologici, altrimenti letale. Informatica=bomba: intelligente solo per gli stupidi che ci credono. -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
Re: full control of connections
On Wed, May 07, 2008 at 04:58:08PM +, frits wrote: > On Mon, May 05, 2008 at 08:12:26PM +0200, NN_il_Confusionario wrote: > > > * From: frits <[EMAIL PROTECTED]> > > >The idea of different users is not really usable. I use my systems to > > >work. > > Can you elaborate? > I read it as role-based internet access. I want application based > access. If you want this, application based firewall - Google Search http://www.google.com/search?q=application+based+firewall&num=100 finds inmediately TuxGuardian - An application-based firewall http://tuxguardian.sourceforge.net/ But I suspect that this two years old software will not work with the CONFIG_SECURITY_CAPABILITIES=y kernel option. I have abosolutely no experiece in such things, partly because I am unable to see security advantages of application-based firewalls over role-based ones. -- Chi usa software non libero avvelena anche te. Digli di smettere. Informatica=arsenico: minime dosi in rari casi patologici, altrimenti letale. Informatica=bomba: intelligente solo per gli stupidi che ci credono. -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
Re: How do I change cursor/mouse pointer?
On Wed, May 07, 2008 at 07:50:10AM -0500, Dennis G. Wicks wrote: > Then aptitude install big-cursor > Nothing changed > Is there something else I need to do? less /usr/share/doc/big-cursor/README.Debian (this is a useful general rule) -- Chi usa software non libero avvelena anche te. Digli di smettere. Informatica=arsenico: minime dosi in rari casi patologici, altrimenti letale. Informatica=bomba: intelligente solo per gli stupidi che ci credono. -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
Re: [Kind of OT] Why's this look like gibberish to me?
On Wed, May 07, 2008 at 07:03:39PM +1200, Chris Bannister wrote: > Since the linux console can only display alphabetic characters, and > Hebrew probably looks like a lot of "squiggles", then I very much doubt > it is possible to see any Hebrew in the Linux console. Some hits from linux console unicode hebrew - Google Search http://www.google.com/search?q=linux+console+unicode+hebrew&num=100 for example Linkname: Re: How to setup the console to greek ?: msg#00015 URL: http://osdir.com/ml/debian.internationalization.hellas/2004-12/msg00015.html seem to imply the contrary (font LatArCyrHeb) I have NOT personally checked. -- Chi usa software non libero avvelena anche te. Digli di smettere. Informatica=arsenico: minime dosi in rari casi patologici, altrimenti letale. Informatica=bomba: intelligente solo per gli stupidi che ci credono. -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
Re: Can't resolve ftp.us.debian.org
On Tue, May 06, 2008 at 12:46:23PM -0400, [EMAIL PROTECTED] wrote: > On 5/6/08, NN_il_Confusionario <[EMAIL PROTECTED]> wrote: > > > > strace -f -o /tmp/apt-get.log apt-get update > http://wa9als.com/apt-get.log In this strace I am not able to see any _obvious_ cause for your error (such as strange preloaded libraries which can change the standard glibc behavoiur). However, grep "/etc/\|/lib/\|/usr/\|/var/" apt-get.log shows many files which "apt-get update" uses. Did you restore procedure change any of these files? In the file, one sees _many_ "unfinished", "Bad file descriptor" and "Resource temporarily unavailable" messages. I do not like them, but I cannot see the cause of them. (The various "No such file or directory" are not a problem in theis specific case) The attempt for the resolution of names seems correct (and this was expected, given the "getent hosts" results in your previous messages): after the first lines "URI: http:" one sees /etc/nsswitch.conf (many accesses to libraries) /etc/services /var/run/nscd/socket (is nscd running? if it is, do you really need it?) /etc/resolv.conf (with nameserver 64.105.189.27) /etc/hosts but then URI Failure\nURI: http: Is there any special firewall rule (on the host itself, or on some router)? For example a rate limiting of udp port 53 o a block of tcp port 53 ? These can cause strange and intermittent name resolution problems. Does it help defining in /etc/hosts the http hosts of your sources.list ? > > Moreover, what happened when in sources.list you used the ip in place of > > security.debian.org ? > > Replacing the name with the IP mostly works - There was some problem > with ftp.us.debian.org replacing a name with the ip (which point to a apache webserver) should work if and only if the default apache site for that ip correspond to the replaced name. > The URL for the apt-get.log is above - Nasty looking format but maybe > it will speak to one of you! I hope that my superficial and elementary analysis (see above) give you an idea of what you can obtain by reading the strace logs (even if in this specific case I was not able to obtain very much) -- Chi usa software non libero avvelena anche te. Digli di smettere. Informatica=arsenico: minime dosi in rari casi patologici, altrimenti letale. Informatica=bomba: intelligente solo per gli stupidi che ci credono. -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
Re: Fw: Errors on upgrading from etch to lenny
> * From: Francesco Pietra <[EMAIL PROTECTED]> >invoke-rc.d: initscript exim4, action "start" failed. search this in google and see the results in the debian bug tracking system invoke-rc.d: initscript exim4, action "start" failed - Google Search http://www.google.com/search?q=invoke-rc.d%3A+initscript+exim4%2C+action+%22start%22+failed&num=100 -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
Re: the file /boot/grub/stage1 not read correctly.
> * From: Paul Csanyi <[EMAIL PROTECTED]> >The file /boot/grub/stage1 not read correctly. >What can I do to solve this problem? >Any advices will be appreciated! Linkname: The file /boot/grub/stage1 not read correctly - Google Search URL: http://www.google.com/search?q=The+file+%2Fboot%2Fgrub%2Fstage1+not+read+correctly&num=100 -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
Re: System Hang-up during boot
> * From: Don Wood <[EMAIL PROTECTED]> >there must be a way of starting the system in a way where I can look >at a log or perform some tests to determine what has happened. You can try "single user mode" or "recovery mode" o something like that in the menu of your boot loader (grub, I supppose, if your machine is i386 or amd64). If even that fails, try adding init=/bin/bash at the end of the kernel commandline in the boot loader. Then the logs are in /var/log/ (if /var is mounted; if not: mount /var) If you are not familiar with the boot loader, and the way of editing the kernel commandline in the boot loader, see Linkname: GNU GRUB Manual 0.97 URL: http://www.gnu.org/software/grub/manual/html_node/index.html especially "12.3 Editing a menu entry" -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
Re: Fw: Errors on upgrading from etch to lenny
On Tue, May 06, 2008 at 10:13:05AM +0200, Florian Kulzer wrote: > I cannot otherwise see the point of generating a > Reply-To header that is identical to the From address. give the existence of evil muas and autoresponders (wich might wery well be in use by some user, especially in large mailing lists), it might be useful to do such redundancies to minimize the probability of public replies whose content is not really intended to be public. -- Chi usa software non libero avvelena anche te. Digli di smettere. Informatica=arsenico: minime dosi in rari casi patologici, altrimenti letale. Informatica=bomba: intelligente solo per gli stupidi che ci credono. -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
Re: [Kind of OT] Why's this look like gibberish
> * From: Rich Healey <[EMAIL PROTECTED]> >There's some insane key combination + right click for xterm that lets >you configure it. whatever I ctrl-right_click, ctrl-left_click, .Xresouces, command line options I have used (and found with google) for xterm, my eyes find linux console _infinitely_ more readable and faster than xterm (which, in turn, is better for me than any other x-terminal, except xvt in cases where less use of resouces matters and colours do not; for running mc with colors, rxvt is also a good choice). Well, "infinitely" might be too much but gives you the right idea. >I run X so that i can have 2 displays littered with xterms (most of them >running screen), and honestly i prefer xterm to any other. for me is the same, but with linux consoles in place of xterms. -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
Re: [Kind of OT] Why's this look like gibberish
> * From: Rich Healey <[EMAIL PROTECTED]> >Eterm sounds like what you're looking for... or xterm? I have already tried all the debian x-terminal packages available since debian 1.1 (evenb the "indecent" ones). For my eyes the are all _MUCH_ worse than the linux console (and in any case their look is always very different from the console). But it might simply be that, despite my searches, I am not able to configure them. -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
Re: [Kind of OT] Why's this look like gibberish to me?
On Mon, May 05, 2008 at 10:20:32PM -0600, Bob Proulx wrote: > The problem, if one exists, is what font the terminal is using > sudo apt-get install xfonts-efont-unicode xfonts-efont-unicode-ib What about the linux console? I suspect that the answer will be that the linux console is right now not able to display at the same time eastern european, asiatic, arabic and hebrev characters (perhaps unless one uses someting experimental like uterm whose source seems to not be available at its homepage http://members.aceweb.com/hanpaul/ ). So the next question is: What is the combination of "decent" X-terminal and font (and screen resolution for X, and refresh rate) such that, when run in a window manager which is able to use full screen windoes (like ratpoison, icewm, evilwm and many others) looks the *same* as a linux ("standard" or framebuffer) console? I was never be able to find nor a decent terminal nor a decent (i.e. console like) font. (a terminal which uses gnome or kde libraries is not decent for my pourposes. gtk only or qt only might or might not be. xlib only surely is) -- Chi usa software non libero avvelena anche te. Digli di smettere. Informatica=arsenico: minime dosi in rari casi patologici, altrimenti letale. Informatica=bomba: intelligente solo per gli stupidi che ci credono. -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
Re: Re: Re: Barry? Also berry_charge
> * From: Carl Fink <[EMAIL PROTECTED]> >/home/carlf# find /lib/modules/ -iname \*berry\* >/lib/modules/2.6.22-2-k7/kernel/drivers/usb/misc/berry_charge.ko >/lib/modules/2.6.22-3-k7/kernel/drivers/usb/misc/berry_charge.ko >/home/carlf# modprobe >/lib/modules/2.6.22-3-k7/kernel/drivers/usb/misc/berry_charge.ko >FATAL: Module /lib/modules/2.6.22_3_k7/kernel/drivers/usb/misc/berry_charge.ko >not found. >So, is refusing to admit that a file which is clearly present in fact exists >a bug in the kernel worth reporting? no, it might perhaps be a bug if such a message is given by insmod /lib/modules/2.6.22-3-k7/kernel/drivers/usb/misc/berry_charge.ko but modprobe is a different thing (which uses only module names and not paths, which are resolved using modules.dep, as the man page explains) -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
Re: Re: exim4 config for Lenny?
> * From: Paul Cartwright <[EMAIL PROTECTED]> >invoke-rc.d: initscript exim4, action "start" failed. Linkname: invoke-rc.d: initscript exim4, action "start" failed - Google Search URL: http://www.google.com/search?q=invoke-rc.d%3A+initscript+exim4%2C+action+%22start%22+failed&num=100 seems to find relevant information from debian bug tracking system -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
Re: apt-get wants to uninstatll grub
On Mon, May 05, 2008 at 05:10:20PM -0700, Tom Brown wrote: > apt-get install linux-image-2.6.18-4-686 > caused apt-get to want to uninstall grub what happens with apt-get install linux-image-2.6.18-4-686 grub ? At least, it should explain the dependenchy problem. -- Chi usa software non libero avvelena anche te. Digli di smettere. Informatica=arsenico: minime dosi in rari casi patologici, altrimenti letale. Informatica=bomba: intelligente solo per gli stupidi che ci credono. -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
Re: Re: Re: Can't resolve ftp.us.debian.org
On Mon, May 05, 2008 at 09:11:46PM -0400, [EMAIL PROTECTED] wrote: > > strace -f -o /tmp/apt-get.log apt-get update > Any other ideas? - John yes, post (or, better, make it avilable on a web server) the file /tmp/apt-get.log where strace has put its debug information. Moreover, what happened when in sources.list you used the ip in place of security.debian.org ? -- Chi usa software non libero avvelena anche te. Digli di smettere. Informatica=arsenico: minime dosi in rari casi patologici, altrimenti letale. Informatica=bomba: intelligente solo per gli stupidi che ci credono. -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
Re: Re: full control of connections
> * From: frits <[EMAIL PROTECTED]> >The idea of different users is not really usable. I use my systems to >work. this is interesting: it is the first time that I hear about unix multiuser capabilities (to run applications side by side as different users) being "not really usable". Can you elaborate? -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
Re: Re: Re: Can't resolve ftp.us.debian.org
> * From: "[EMAIL PROTECTED]" <[EMAIL PROTECTED]> >On 5/5/08, NN_il_Confusionario <[EMAIL PROTECTED]> wrote: >> then check apt configuration files in /etc/apt/ and subdirectories >> (proxy or other unusual configuration settings? corrupted files?) > >I don't see any problems there. But it semms like you are using a non-working proxy (by a configuration file or a environement variable or some transparent preloading of socks libraries or something like that) >Luke:~# apt-get update >http://security.debian.org/dists/etch/updates/main/binary-i386/Packages.gz > Could not resolve 'security.debian.org' one thing that you could try is: replace in sources.list security.debian.org with (one of) its ip. I have just checked the existence of http://130.89.175.54/dists/etch/updates/main/binary-i386/Packages.gz One can try a more verbose apt-get command hoping for more details in the error message The last idea could be strace -f -o /tmp/apt-get.log apt-get update -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
Re: swap partition question?
> * From: ISHWAR RATTAN <[EMAIL PROTECTED]> >I have a 1Gb primary swap partition (/dev/sda1) >and fdisk -l shows that. fdisk read the partition table from the disk, but the kernel data can be seen in /proc/partitions (it is read at boot time) > # swapon /dev/sda1 >says that ..:/dev/sda1: is invalid argument. what about file -s /dev/sda1 ? If "grep sda1 /proc/partitions" shows the expected result, try mkswap /dev/sda1 before swapon /dev/sda1 -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
Re: Re: Can't resolve ftp.us.debian.org
> * From: "[EMAIL PROTECTED]" <[EMAIL PROTECTED]> >The problem seems to be specific to apt-get and aptitude. then check apt configuration files in /etc/apt/ and subdirectories (proxy or other unusual configuration settings? corrupted files?) And post the complete and exact outpt of apt-get / aptitude -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
Re: Clearing SWAP
On Mon, May 05, 2008 at 03:52:27PM +1000, Alex Samad wrote: > I was just trying to show another way of solving the problems. and this is a good thing > My presumption was that cron was part of the LSB. it might wery well be so, but one can disable it (in my workstation it is installed to satify dependencies, but it does not run at boot nor in this moment). On the contray, one cannot disable the pid=1 process > It also got around the problem somebody asked, what to do if the Xserver > crashed on startup, the corrresponging thing with the inittab method is to not use respawn or to not use a fully automated login (as I have already explained). One can also use a respawn login, but without -f (so that inserting a password is still required) -- Chi usa software non libero avvelena anche te. Digli di smettere. Informatica=arsenico: minime dosi in rari casi patologici, altrimenti letale. Informatica=bomba: intelligente solo per gli stupidi che ci credono. -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
Re: Can't resolve ftp.us.debian.org
> * From: "[EMAIL PROTECTED]" <[EMAIL PROTECTED]> >On a recently restored etch server, I can't apt-get update because it >can't resolve anything in my sources.list, e.g. ftp.us.debian.org. (1) check the correctness of /etc/resolv.conf (2) correct /etc/resolv.conf and then try again If you have no idea, try using opendns: 208.67.222.222 208.67.220.220 (3) as a temporary last resort put a suitable line in /etc/hosts given that host -a ftp.us.debian.org ftp.us.debian.org A 35.9.37.225 ftp.us.debian.org A 64.50.236.52 ftp.us.debian.org A 64.50.238.52 ftp.us.debian.org A 128.30.2.36 getent hosts security.debian.org 212.211.132.32 security.debian.org 212.211.132.250 security.debian.org 128.31.0.36 security.debian.org 130.89.175.54 security.debian.org If nothing seem to help: what is your output of getent hosts ftp.us.debian.org getent hosts security.debian.org getent hosts www.google.com getent hosts www.wikipedia.org ? >Right after I did a fresh etch install, update worked fine, but now >after restoring my previous files, it doesn't. it is possible that your restore method is not so good. -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
Re: Re: Barry? Also berry_charge
> * From: Carl Fink <[EMAIL PROTECTED]> >On Mon, May 05, 2008 at 07:50:48AM +0200, NN_il_Confusionario wrote: >> grep berry_charge /lib/modules/`uname -r`/modules.dep ; \ >> depmod -a ; \ >> grep berry_charge /lib/modules/`uname -r`/modules.dep ; \ >> modprobe berry_charge > >"FATAL: Module berry_charge not found." and what about find /lib/modules/ -iname \*berry\* and then insmod $THE_COMPLETE_PATH_FOUND_AS_ABOVE (if there is a module in /lib/modules/`uname -r`/ which probably is not true given the depmod -a result above) -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
Re: Barry? Also berry_charge
> * From: Carl Fink <[EMAIL PROTECTED]> >/lib/modules/2.6.22-3-k7/kernel/drivers/usb/misc/berry_charge.ko > >but 'modprobe berry_charge' returns > >FATAL: Module berry_charge not found. ls -la /lib/modules/2.6.22-3-k7/kernel/drivers/usb/misc/berry_charge.ko insmod /lib/modules/2.6.22-3-k7/kernel/drivers/usb/misc/berry_charge.ko or better: grep berry_charge /lib/modules/`uname -r`/modules.dep ; \ depmod -a ; \ grep berry_charge /lib/modules/`uname -r`/modules.dep ; \ modprobe berry_charge -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
Re: Clearing SWAP
On Mon, May 05, 2008 at 07:37:21AM +1000, Alex Samad wrote: > why not have a script that is run by root at @reboot that starts X if I understand correctly, you need cron for this (and, as you note, this also can be used for users other than root). Since init cannot be avoided (or, more exactly, a number 1 process directly spawned by the kernel is intrinsic to the current achitecture), my "inittab" method is "universal" (and when the traditional init will be replaced by something else, the method should still work using the configuration file of the replacement of the traditional init) Your method would not directly work in my workstation which does not run any form of cron. (I manually, and rarely, run a script to rotate logs. And analogously for other possible cron tasks which I am interested in) Another difference is that init is able to automatically respawn the process. But this is a very minor difference since with your method one could use a "while true" cycle to automatically restart the command when it terminates. Probabily others would "simply" use /etc/rc.local Or a new /etc/init.d/ script with suitable symlinks in /etc/rc?.d/ (or suitable entries in /etc/runlevel.conf when file-rc is installed) -- Chi usa software non libero avvelena anche te. Digli di smettere. Informatica=arsenico: minime dosi in rari casi patologici, altrimenti letale. Informatica=bomba: intelligente solo per gli stupidi che ci credono. -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
Re: Clearing SWAP
On Sun, May 04, 2008 at 09:20:57AM -0400, Paul Cartwright wrote: > On Sun May 4 2008, NN_il_Confusionario wrote: > > the login is automatically done. > automatic with passwords? see man login, option "-f" If you do not want fully automatic logins, consider something in /etc/inittab like 3:23:respawn:/sbin/getty -iwn -I "[EMAIL PROTECTED] [Enter]" -l /etc/NN/login.user3 38400 tty3 where /etc/NN/login.user3 is executable by root and contains two lines: #!/bin/sh exec /bin/login -f user3 "$@" Again, this permits autologin even when the user has no valid password simply by hitting "enter" at the login prompt, but the point is that there must be some interaction and so no automatic starting of X happens. > > But let me rephrase the question: if for any reason X does not want to > > start (and it keeps failing and failing, in the suggested > > configuration), do you known how to boot in a X-less way to correct the > > problem? [Hint: in the suggested configuration, X automatically starts > > only in runlevels 2 and 3] > telinit 1 ?? this will work if you can interact with, say, tty1. But when X is continuously tring to restart and continuously fails, it is very difficoult to interact with /dev/tty1 (however, the default init can temporarilly disable inittab entries when "respawning too fast: disabled for 5 minutes") A reboot with runlevel 1 4 or 5 (in the kernel command line of the boot loader) will surely do. -- Chi usa software non libero avvelena anche te. Digli di smettere. Informatica=arsenico: minime dosi in rari casi patologici, altrimenti letale. Informatica=bomba: intelligente solo per gli stupidi che ci credono. -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
Re: Clearing SWAP
On Sun, May 04, 2008 at 07:36:02AM -0400, Paul Cartwright wrote: > On Sun May 4 2008, NN_il_Confusionario wrote: > > But you should also carefully consider: is it a really good idea to have > > one (or more) automatically started X session ? > > when the computer boots, the first thing(s) I do is log myself and my wife > in. Well, with my suggested configuration you even do not need this, since the login is automatically done. But let me rephrase the question: if for any reason X does not want to start (and it keeps failing and failing, in the suggested configuration), do you known how to boot in a X-less way to correct the problem? [Hint: in the suggested configuration, X automatically starts only in runlevels 2 and 3] -- Chi usa software non libero avvelena anche te. Digli di smettere. Informatica=arsenico: minime dosi in rari casi patologici, altrimenti letale. Informatica=bomba: intelligente solo per gli stupidi che ci credono. -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
Re: HELP - Can't boot - I/O error reading swsusp.image
On Sun, May 04, 2008 at 08:29:31AM -0400, [EMAIL PROTECTED] wrote: > I did a fresh etch install, then restored some > mondo backup files using mondorestore. I do not use mondo; so I ask: are you sure that mondorestore does not change the partition table? Are you sure that the files you restored are not responsable for the apparence of swsusp in the boot process? > that point. But then I did an update and upgrade, and now I am > getting the same swsusp error I had before and can't boot! check in the bootloader prompt the kernel command line. If there is something related to resuming a suspended session, delete it. Also, boot in single user mode or even with init=/bin/bash (and then "mount -o remount,rw /") and purge any package related to swsusp ("apt-cache search swsusp" gives me only the package uswsusp). If all seems to fail, boot with a live cd (or the debian installation cd in rescue mode), mount your disk, chroot where the disc is mounted, purge uswsusp, edit the boot loader configuration (possibly menu.lst in /boot/grub/, but it depends upon your boot loader), reinstall the kernel (to recreate the initrd) and the boot loader There is absolutely NO need to reinstall once again (unless you have severely messed up your partition table and filesysetems, or things like that). -- Chi usa software non libero avvelena anche te. Digli di smettere. Informatica=arsenico: minime dosi in rari casi patologici, altrimenti letale. Informatica=bomba: intelligente solo per gli stupidi che ci credono. -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
Re: full control of connections
> * From: frits <[EMAIL PROTECTED]> >allowed to include the applications in the firewall rules. man iptables in etch still shows owner This module attempts to match various characteristics of the packet creator, for locally- generated packets. besides, grep -i owner /boot/config-2.6.* /boot/config-2.6.18-nn:CONFIG_IP_NF_MATCH_OWNER=m /boot/config-2.6.18-nn:CONFIG_IP6_NF_MATCH_OWNER=m /boot/config-2.6.8-3-powerpc:CONFIG_IP_NF_MATCH_OWNER=m so both sarge and etch should work with this (however, I do not use it) >You might wonder why. Application running on wine should never connect >anywhere, for using untrusted applications it might be a good idea to use a _specific_ user. For example, I have a specific user for e-mail, a specific user for www, a specific user for ssh, all with a private group and umask which permits the group to read and no else to write; each of these users is only in its private group. My "regular" user which I use to manipulate my locally created files (.tex .ly .denemo .mid .wav ...) is on the contrary in special groups (audio, ...) and in the private groups of the above users. -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
Re: fstab: mounting external hard drive
> * From: Daniel Dalton <[EMAIL PROTECTED]> >How can I mount my external hard drive on boot up? Is the external disk a usb one? If it is, is usb-storage (and the module for you usb chipset) already loaded when mount -a is executed by the scripts in /etc/init.d/ ? (You could add the needed modules to /etc/modules , if necessary) >Also it should be read and writeable by all users... >/dev/sdb1 /media/daniel-external ext3 none rw >But no luck. First manually mount mount -t ext3 -o noatime,$OTHER_OPTIONS /dev/sdb1 /media/daniel-external If it works, then the fstab line shoud work (once " 0 0" is appended at the end and once the needed modules are loaded before mount -a is executed by the boot scripts) Finally, note that once on /media/daniel-external/ you have mounted /dev/sdb1 then the owner, group and permissions of the directory /media/daniel-external/ are those of the / filesystem on /dev/sdb1 So a chown and chmod once the disk is mounted should be sufficient an persistent. Consider also mounting by UUID or LABEL instead of /dev/sdb1 since for removable drives this is usually a much better way to be sure you are mounting the correct disk / partition. -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
Re: HELP - Can't boot - I/O error reading swsusp.image
On Sat, May 03, 2008 at 05:23:46PM -0400, [EMAIL PROTECTED] wrote: > attempt to access beyond end of device > hda2: rw=16, want=8, limit=2 > I/O error reading swsusp image. one case where "access beyond end of device" can happen is this: You delete a partition on a disk where also other partitions are used (mounted, or used for swap). Then, without rebooting, you recreate the partition but not with _exactly_ the same starting and ending point (in this case, a ending point which is before the previous one) Again without rebooting, you start using the re-created partition. The kernel sitll has in memory (and in /proc/partitions) the OLD starting and ending points of the partition, so mkswap, mkfs*, whatever still use the "old geometry". Then you reboot, and at the reboot the kernel reads the new partition table ... -- Chi usa software non libero avvelena anche te. Digli di smettere. Informatica=arsenico: minime dosi in rari casi patologici, altrimenti letale. Informatica=bomba: intelligente solo per gli stupidi che ci credono. -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
Re: making a fileserver
On Sat, May 03, 2008 at 11:14:53AM -0700, Paul Johnson wrote: > On Saturday 03 May 2008 02:17:30 am LÉVAI Dániel wrote: > > Currently, I'm thinking of Samba, > > because the win clients can only use that; is this correct? > Why not use something real on the clients? What does it mean "something real" ? However, on about NFS on Microsoft, you can consider Linkname: Microsoft Windows Services for UNIX - Wikipedia, the free encyclopedia URL: http://en.wikipedia.org/wiki/Microsoft_Windows_Services_for_UNIX Linkname: Microsoft Services For Unix (Microsoft's Linux for Windows) URL: http://www.softpanorama.org/Unixification/SFU/index.shtml Linkname: nfs URL: http://linuxmafia.com/faq/Legacy_Microsoft/nfs.html and many more google hits -- Chi usa software non libero avvelena anche te. Digli di smettere. Informatica=arsenico: minime dosi in rari casi patologici, altrimenti letale. Informatica=bomba: intelligente solo per gli stupidi che ci credono. -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
Re: Clearing SWAP
On Sat, May 03, 2008 at 02:06:22PM -0400, Paul Cartwright wrote: > On Sat May 3 2008, Marc Shapiro wrote: > > alias startx='startx -- :0 vt07' > > alias startx='startx -- :1 vt08' > > alias startx='startx -- :2 vt09' > so, you don't automagically start the X server on bootup, if you REALLY want automatic startx consider this: in /etc/inittab 2:23:respawn:/bin/login -f user2 /dev/tty2 2>&1 3:23:respawn:/bin/login -f user3 /dev/tty3 2>&1 4:23:respawn:/bin/login -f user4 /dev/tty4 2>&1 (which must _replace_ the 2:... 3:... and 4:... lines in /etc/inittab) and then at the end of ~user2/.bash_profile [ `tty` = /dev/tty2 ] && exec startx -- :0 vt07 at the end of ~user3/.bash_profile [ `tty` = /dev/tty3 ] && exec startx -- :1 vt08 at the end of ~user4/.bash_profile [ `tty` = /dev/tty4 ] && exec startx -- :2 vt09 But you should also carefully consider: is it a really good idea to have one (or more) automatically started X session ? -- Chi usa software non libero avvelena anche te. Digli di smettere. Informatica=arsenico: minime dosi in rari casi patologici, altrimenti letale. Informatica=bomba: intelligente solo per gli stupidi che ci credono. -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
Re: Which distro for workstations?
On Sat, May 03, 2008 at 09:32:48PM -0400, Douglas A. Tutty wrote: > On Sat, May 03, 2008 at 11:24:39AM -0700, Mike Bird wrote: > > Any non-flaming thoughts as to which distro to use for > > workstations? > What software do these workstations use? > then OBSD either may not work at all, or be less easy to maintain than a > debian box, since fixes are source patches. one can also consider freebsd as a "intemediate step" between debian and OBSD. As already said, all depends upon the software which must be used. For example, I'm waiting for debian on freebsd kernel to be released to do a migration of linux servers. On my workstations I am personally bound to linux which is the only kernel which treats graphic consoles and realtime the way I need, but fortunately debian stable and oldstable is sufficient for my old hardware. -- Chi usa software non libero avvelena anche te. Digli di smettere. Informatica=arsenico: minime dosi in rari casi patologici, altrimenti letale. Informatica=bomba: intelligente solo per gli stupidi che ci credono. -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
Re: usb to serial
On Sun, May 04, 2008 at 01:49:24PM +1000, Daniel Dalton wrote: > - a supported usb to serial cable for linux that works with the kernel? > - If the kernel supports it will a software daemon (brltty) support it? I have never used such converters, but some info can be found in Linkname: Device categories URL: http://www.qbik.ch/usb/devices/showdevcat.php?id=12 Linkname: USB Serial Converter support URL: http://www.linux-usb.org/USB-guide/x356.html -- Chi usa software non libero avvelena anche te. Digli di smettere. Informatica=arsenico: minime dosi in rari casi patologici, altrimenti letale. Informatica=bomba: intelligente solo per gli stupidi che ci credono. -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
Re: libpam_umask setup
On Wed, Apr 30, 2008 at 10:36:01AM -0700, Bug wrote: > I've never seen a Debian > package name with > an underscore in the name, so if that's the constraint, yes Linkname: Chapter 3. Debian package management URL: http://people.debian.org/~osamu/pub/getwiki/html/ch03.en.html#thedebianpackagefilename > Where does one make suggestions > for > improvement? To the package maintainer? reportbug > lively discussion found at > http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=314539 nice pointer -- Chi usa software non libero avvelena anche te. Digli di smettere. Informatica=arsenico: minime dosi in rari casi patologici, altrimenti letale. Informatica=bomba: intelligente solo per gli stupidi che ci credono. -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
Re: libpam_umask setup
> * From: Bug <[EMAIL PROTECTED]> >But when I login in, I still get umask 022. What step am I missing? I do not use pam_umask , but: (1) /usr/share/doc/libpam-umask/README says: If a user has a .pam_umask in his home directory, the contents will be used to set the umask. (2)Linkname: pam_umask(8) - Linux man page URL: http://linux.die.net/man/8/pam_umask says The PAM module tries to get the umask value from the following places in the following order: * umask= argument * umask= entry of the users GECOS field * pri= entry of the users GECOS field * ulimit= entry of the users GECOS field * UMASK= entry from /etc/default/login * UMASK entry from /etc/login.defs It also speaks about a debug option. Looking at the sources (apt-get source libpam-umask), I dubt that the man page applies to the debian version of libpam-umask, but a look at the above files (/etc/passwd) might be worthy. (3) perhaps a # strace -f -o /tmp/login.strace.log login -f user might help -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
Re: problem setting user and group on mounting a cifs share
On Wed, Apr 30, 2008 at 07:41:28AM +0200, Chris wrote: > I did not know that Windows can access NSF, might have a look at that. however, I would be surprised if the NFS implementation in windows works better than the cifs implementation. > simply pulling a file > or directory over in Konquerer (just did that) transfers the time stamp of > the files and the directories just fine and dandy!!! I do not dubt that; but google searches show that samba over FAT (and other filesystems?) can have such problems with rsync and timestamps. Hence my previous question about the filesistem on your device. Hovewer, also NFS can have problems when exporting a FAT filesystem: Linkname: Linux NFS faq URL: http://64.233.183.104/search?q=cache:3BLSqoVlGXcJ:nfs.sourceforge.net/+nfs+faq+linux+fat&hl=en&ct=clnk&cd=1&ie=UTF-8 -- Chi usa software non libero avvelena anche te. Digli di smettere. Informatica=arsenico: minime dosi in rari casi patologici, altrimenti letale. Informatica=bomba: intelligente solo per gli stupidi che ci credono. -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]