Search results

  1. I

    xterm fails to update (X libraries missing)

    The error says it is missing libfontenc ("The fontenc Library" according to pkg_info).
  2. I

    About xterm's window position

    There is a space between "-" and "e" (it should be "-e"). tmux could be resizing xterm for itself (a different issue).
  3. I

    $term

    That would be, but taking a look at FreeBSD 9.0 (using vttest and tack), it seems that this message's comment about CP437 still applies: http://lists.freebsd.org/pipermail/freebsd-current/2009-July/009351.html: It has these features for compatibility with xterm: color (including back color...
  4. I

    $term

    That is, to use "xterm" as a default $TERM. You can find the answer to that by googling for mention of "TEKEN_UTF8" and "TEKEN_XTERM" (starting in 2009). For instance this (one of the earliest mentions) http://lists.freebsd.org/pipermail/svn-src-all/2009-January/003710.html gives as a reason...
  5. I

    $term

    More likely it was changed because of the prevalence of scripts which assume that TERM is "xterm". However, those have always been a problem rather than a solution. For more insight, see http://invisible-island.net/ncurses/ncurses.faq.html#xterm_generic
  6. I

    $term

    Perhaps not dialog (which works fine in either terminal). Also xterm-capable is a relative term - I'm reasonably certain that xterm has a lot of features not in the 9.0 console emulator - though for someone using termcap, much of that would not be apparent (since the termcap is smaller than the...
  7. I

    $term

    This is FreeBSD, whose users would not have terminfo unless they have installed the ncurses port. (ncurses in base pretends only to be termcap). If they have the ncurses port, then an even better place to see that while "most...", that is not a good default, since there are differences. Use...
  8. I

    "tput sgr0" giving an empty string

    no problem (report bugs)
  9. I

    "tput sgr0" giving an empty string

    If you have installed the ncurses port, then its tput is in /usr/local/bin (which I have ahead of /usr/bin in my non-root path).
  10. I

    "tput sgr0" giving an empty string

    tput sgr0 The tput in FreeBSD's base uses termcap mnemonics. It is not part of ncurses. The ncurses tput recognizes either termcap or terminfo mnemonics if it is configured to support termcap parsing (barring one special case which is ambiguous). The termcap mnemonic corresponding to sgr0 is "md".
  11. I

    Access FreeBSD with SUA OpenNT Terminal

    The tool to use is cap_mkdb. The text termcap file is not used directly. It is used to build the termcap.db file (which is in the same directory). Make a copy of termcap.db first. The termcap text can be generated using infocmp -Cr interix (on SUA of course - unless you install the ncurses...
  12. I

    Unicode, python, readline, and ncursesw

    "drop in" generally doesn't apply where the binary interface changes.
  13. I

    ncurses and FreeBSD

    yes - ncurses will use +'s and -'s when it knows that it cannot draw lines. cp850 is much like cp437 - it doesn't have the characters in the right places to look like one of the ISO-8859-x's. (Googling on these finds several places that show charts of the characters - it's better to look at...
  14. I

    ncurses and FreeBSD

    Hmm - I don't see a good solution. Each of the cons25 flavors uses line-drawing characters from the codes in 160-255. But you're using those for ISO-8859-1 (and presumably the font is complete). If ncurses is using the terminfo, then it would not match that font (and you'd see odd characters...
  15. I

    ncurses and FreeBSD

    The problem may be in a different area. It seems that FreeBSD's termcap for this entry is incomplete. (FreeBSD installs termcap and terminfo, the latter from ncurses, but prefers to use termcap). Here is what I'm looking at: # ISO 8859-1 FreeBSD console with ACS support...
  16. I

    ncurses and FreeBSD

    cons25 is for the console (the non-X version). There are a couple of alternative console drivers, just in case you've got one. Only the "real" cons25 will do line-drawing in exactly the same way as the terminal description says. That's one place to check. Another is the locale settings -...
  17. I

    .Xresources OR .Xdefaults ?

    Actually, it seems to depend on the window manager (or "desktop environment"). On the (Debian) system that I'm logged into currently, "man X" talks only about the variant ~/.Xdefaults-hostname I usually avoid ~/.Xdefaults, using XAPPLRESDIR to add my own app-defaults directory.
  18. I

    problem with HOME, END, DELETE, BACKSPACE and TAB keys

    PuTTY vs xterm and rxvt Actually, all three (PuTTY, xterm and rxvt) have different key bindings. PuTTY happens to be closer to xterm by default; I see that it has a selection for home/end keys marked "rxvt", but haven't verified if it is correct.
  19. I

    problem with HOME, END, DELETE, BACKSPACE and TAB keys

    PuTTY vs xterm for $TERM PuTTY's behavior doesn't match xterm. ncurses has a "putty" terminal description, which does match the default settings for PuTTY.
Back
Top