Search results

  1. S

    libncurses.so.5.7 missed after portupgrade

    Rebuild emacs port. I've filed ports/161497 on your behalf.
  2. S

    [Python] Inserting a sign after every n-th character

    >>> s = '23edfd56ab90' >>> ':'.join([ i+j for i,j in zip(s[::2],s[1::2])]) '23:ed:fd:56:ab:90'
  3. S

    sh script from another shell

    Try to drop braces around MEM_PAGE as it's not a command but a variable, e.g. MEM_SIZE=$(( $(sysctl -n vm.stats.vm.v_page_count) * MEM_PAGE / 1024 /1024 )) I get below error under sh $ MEM_PAGE=$(sysctl -n hw.pagesize) $ MEM_SIZE=$(( $(sysctl -n vm.stats.vm.v_page_count) * $(MEM_PAGE) / 1024...
  4. S

    sh script from another shell

    So? Unless you show the affected line and how you run the script we're not getting anywhere. That error message is not enough$ zsh -c 'echo $(( 3038353 * 4096 / 1024 /1024 ))' 11868 $ sh -c 'echo $(( 3038353 * 4096 / 1024 /1024 ))' 11868For one, zsh's arith is compatible with sh's arith but has...
  5. S

    sh script from another shell

    shebang matters ### catch when shebang is actually used with nonexistent executable $ cat >foo.sh <<EOF && chmod +x foo.sh #!/nonexistent ps p $$ EOF $ tcsh -c ./foo.sh ./foo.sh: Command not found. Exit 1 $ zsh -c ./foo.sh zsh:1: ./foo.sh: bad interpreter: /nonexistent: no such file or...
  6. S

    nscd causing trouble when installing software

    It's known and has a workaround, see bin/119695.
  7. S

    File system notification?

    GSoC projects are usually in p4/svn branches, e.g. //depot/projects/soc2010/ilya_fsnotify/
  8. S

    FreeBSD changelogs

    Every release comes with relnotes.html that contains short description of what changed. For more complete details you're advised to inspect commit logs and/or maillists. http://www.freebsd.org/releases/8.2R/relnotes.html http://www.freebsd.org/releases/8.2R/relnotes-detailed.html...
  9. S

    10.0-current?

    Most big projects don't do releases off the main branch, e.g. Mozilla, GNU Emacs. And, I think, FreeBSD moves in the same direction.
  10. S

    Directory Permissions

    umask? Try umask 002; mkdir foo
  11. S

    Logging terminal input for documentation purposes

    There are also -r/-p extensions from NetBSD that allows you to record interactive sessions with ncurses apps, see bin/114465. With them you can record smth like vim/emacs tutorial, e.g. script -r vim do some tricks here exit and to play script -p
  12. S

    Speed up booting by loading some KLDs after kernel is loaded

    One can also use kld_list on recent systems, see r223550.
  13. S

    Limit CPU usage when building ports?

    Unresponsive? My guess, it's either write bursts or memory thrashing during linking. So, try using IO scheduler (zio or gsched) to force system write often but in small amounts or tune VM to not swap out interactive apps.
  14. S

    ZFS performes well on degraded state but resilvering is horrible slow

    Try increasing vfs.zfs.txg.synctime_ms sysctl, see illumos@b118bbd65be9. Mark it with read-write and tune according to load without rebooting.
  15. S

    usb keyboard pleomax k-300

    uhidd can work both as a replacement for ukbd or as a complementary driver only for multimedia keys (with kbdmux). How did you configure it?
  16. S

    where is the 9.0-BETA1 ?

    release layout changed, beta2 are under .../TARGET/TARGET_ARCH/ - ftp://ftp.freebsd.org/pub/FreeBSD/releases/i386/i386/ISO-IMAGES/9.0/
  17. S

    Where is TERM environment variable being set?

    x11/multi-aterm sets TERM to rxvt by default (defined in configure.ac), unless you alter materm.termName/XTerm.termName resource or use -tn option. Actually, .termName may not work as get_resources() is called only after putenv. Try looking in resources and startup scripts, e.g. (cat...
Back
Top