Jump to content

Hirogen2

Members
  • Posts

    52
  • Joined

  • Last visited

Everything posted by Hirogen2

  1. You need to set your console to UTF8. If you want the standard 80x25, then you have to remove any "vga=..." option from the boot command line. To be able to change it at runtime, use SVGATextMode. By default, it uses the Video ROMs glyphs, but you can load different glyphs into the video buffer (not ROM! - so it lasts only until reboot) using "setfont". Note that different fonts have different maps, because a VGA font usually has only 256 glyphs - no way to store all UTF8 characters - and many are different, e.g. some have russian at the high-byte range, some have "European" ... and whatnot. Some are ASCII(CP437)-coded, some are ISO coded. setfont got flags, ask if you need.
  2. Check the time of the newly overwritten file: - either it is way in the past, meaning the original was copied to /etc/issue using "cp -p" (preserve...) - the time is between you said "init 6" and the bios coming up: it's "echo"ed from somewhere to /etc/issue during shutdown - "echo"ed from somewhere during startup In either case, try find / -type f -size -1k -print0 | xargs -0 grep "The original mandrake text in issue, in quotes" and see where it comes from;
  3. You could try deactivating SCIM for the time you install Mozilla/Firefox: $ XMODIFIERS="" installer
  4. SRPM - I review the spec file and the build process, and if it suits me, I run it. If not, I take the .tar.bz2 out of the SRPM and use that tarball. (Note that this saves bandwidth :-) - only download one file and have both "rpm" and "tarball")
  5. There's -S for size, -t for time (as you mentioned), -r for "reverse what would normally be returned (including -S, etc.)", -Y for sort-directories-first (not in mainline coreutils), So I guess you take a look at man ls. Directories only with said grep ^d
  6. Text::CSV http://search.cpan.org/~alancitt/Text-CSV-0.01/CSV.pm You could transform a CSV into a '\0' separated using something like perl -MText::CSV -lne 'INIT{$c=new Text::CSV}$c->parse($_);print join("\x00",@{$c->fields()})}' ..Untested..
  7. Why do you get the "bash-3.00$"? THe answer is simple: because it is not a "login" shell (sounds confusing, though.) If you run "bash --login", a normal prompt should usually pop up. If not, _then_ you can tweak on PS1. And if you login from tty1 _and_ get bash-3.00$ instead of "\A \h:\w > " (or similar) for PS1, then something is wrong.
  8. Make your own cron script. /home/user/download_and_process: #!/bin/bash -e wget http://blah/sql.tgz; mv sql.tgz sql-`date "+%Y-%m-%d_%H%M"`.tgz; And add this to your crontab (`crontab -e`): 0 12 * * * /home/user/download_and_process Finished.
  9. Read what it says. Ctrl+A,Ctrl+N = next window Ctrl+A,Ctrl+P = previous window Ctrl+A,0 = 1st window Ctrl+A,1 = 2nd window and so on. (Ctrl-A + n was meant to be a number)
  10. There are no further compiling problems for Linux 2.4.28 (the vanilla one from kernel.org) using GCC 3.3.4. I therefore stopped supplying a patch. If anyone is using GCC 3.3.3, I would like to hear back if it is still broken there.
  11. Possibilities: - the immutable flag is set for /usr/bin and everywhere where you cannot write (that's highly unlikely) - you are using SELinux, and you're not allowed to do everything, despite "id" showing root - you are not effectively root, i.e. UID=0, but EUID!=0
  12. Quota can do a little more than just df, dd! http://linux01.org:2222/lxadm-quota.php should get ya started.
  13. Would be nice to hear if it helped anyone... because it gets downloaded often.
  14. I'd recommend to get 4.5.1 (4.5.2?), it runs for me, and I don't have ksyms either in 2.6.
  15. God please no. I don't want to install a ton of UI frameworks just to watch movies with svga :-D
  16. K3b is limited, it only supports the SCSI (and thus, IDE-SCSI) interface, whereas Kernel 2.6 obsoletes the IDE-SCSI and says you should only use the ATAPI interface. In command line terms, it works like the following: # cdreocrd -dev=ATAPI:0,1,0 ......your usual options ..... (use `` -dev=ATAPI: -scanbus `` to scan for ATAPI devices)
  17. The WUFTPD supports commands like 'get bla.gz' when there is just a 'bla' file. Some goes for 'get directory.tar.gz' when there is only a direcotry with name 'directory'. Well, that's an FTP solution, not a HTTP one, though. Alternatively, make the Apache HTTPD hand out pages with gzip compression encoding. (mod_gzip)
  18. One simple test: check the time one Seti@Home unit (or whatever) takes on 1. Linux 2. Windows. (at the same CPU speed :lol: ) Then compare.
  19. Might be in /etc/apache2, but that depends on distro.
  20. Hirogen2

    Mplayer

    No, but when you have an ol' i586 500mhz with 64meg standing in the corner, you can be happy if you can play a movie (~720x540 DVD size) at all at reasonable speed :D whilst keeping all the server apps running and not requiring to swap.
  21. Do a cat /dev/hdX /dev/null or even (with pretty status display) dd_rescue /dev/hdX /dev/null to check whether the HD can be read without faults. If the latter aborts with I/O error, you got the answer. The second method (dd_rescue) will go through all blocks (like Windows Scandisk), when it's finished it shows the number of bad bytes/kbytes/etc. Replace hdX accordingly. Also listen to your HD while it is being scanned for scratching noises. Try to distinguish it from the normal operation noise (idle and intense r/w).
  22. Note that NTFS is not that supported as on Windows. (But it's getting close.)
  23. JFYI, Flash Cards must be used with cdrecord (they are handled like CD drives). For the "hard-disk"s, I found one needs the modules usbcore, usb_storage, (ehci_hcd, ohci_hcd), scsi_mod, sd_mod (sg for Flash Cards) ide-scsi wasnot even required in 2.4 (beginning with about 2.4.20) to burn CDs (<-- in conjunctino with cdrecord-2.00 of course) devfs is deprecated in 2.6.
  24. Hirogen2

    Mplayer

    It needs DirectFB. But for the case that you simply want to play movies on the default console (without X), I suggest using the vesa, svga or even cvidix drivers, as they don't require FB at all. A true memory saving.
×
×
  • Create New...