Re: cursor keys not working on console

2013-08-08 Thread Thomas Dickey
On Thu, Aug 08, 2013 at 07:53:04PM +0200, O. Hartmann wrote: The cursor keys on the consoles in freebsd CURRENT (no X11 virtual consoles, the FreeBSD consoles!) do not work for me. I use tcsh as the main shell. As set by default in /etc/ttys, the console's terminal type is xterm. Switching

Re: bsdinstall(8) line drawing characters

2013-01-20 Thread Thomas Dickey
On Sun, Jan 20, 2013 at 04:03:31PM +0100, David Lazaro Saz wrote: On Jan 20, 2013, at 2:50 PM, Devin Teske devin.te...@fisglobal.com wrote: Of interest I would think is the output of: dialog --version echo $TERM and whether (if possible) sysinstall produces similar results (what

Re: Xterm options for correct man page display?

2012-10-07 Thread Thomas Dickey
On Sun, Oct 07, 2012 at 09:09:13AM +0100, Jamie Paul Griffin wrote: [ Thomas Dickey wrote on Sat 6.Oct'12 at 7:32:00 -0400 ] On Sat, Oct 06, 2012 at 07:31:07AM -0400, Thomas Dickey wrote: On Sat, Oct 06, 2012 at 10:45:52AM +0100, Jamie Paul Griffin wrote: [ Ronald F. Guilmette wrote

Re: Xterm options for correct man page display?

2012-10-06 Thread Thomas Dickey
On Sat, Oct 06, 2012 at 07:31:07AM -0400, Thomas Dickey wrote: On Sat, Oct 06, 2012 at 10:45:52AM +0100, Jamie Paul Griffin wrote: [ Ronald F. Guilmette wrote on Sat 6.Oct'12 at 2:25:04 -0700 ] When I view man pages in a xterm window, some parts of them are coming out a bit

Re: Xterm options for correct man page display?

2012-10-06 Thread Thomas Dickey
On Sat, Oct 06, 2012 at 10:45:52AM +0100, Jamie Paul Griffin wrote: [ Ronald F. Guilmette wrote on Sat 6.Oct'12 at 2:25:04 -0700 ] When I view man pages in a xterm window, some parts of them are coming out a bit garbled. I'm sure that there must be some recommended option or

Re: Does 9.0 honor TERM settings

2012-08-24 Thread Thomas Dickey
On Fri, Aug 24, 2012 at 11:38:38AM +0200, J B wrote: Well, then, where is the setting that makes the F7 key send E[18~ instead of the standard E[S? I think you will find a hint here: https://wiki.archlinux.org/index.php/Home_and_End_keys_not_working it's not much of a hint (it's

Re: termcap/terminfo magicians anyone? // colors in vim

2012-05-30 Thread Thomas Dickey
On Wed, May 30, 2012 at 05:33:27PM +0400, Peter Vereshagin wrote: Hello. Being new from linux back in time I tried vim. It had pretty colors in linux for me like that: http://www.postimg.com/71000/photo-70938.jpg But in freebsd I have what I have:

Re: Terminal (TERM=xterm) on FreeBSD doesn not accept DEL or ALT key on/in a Linux YAST2 session

2012-03-12 Thread Thomas Dickey
On Mon, Mar 12, 2012 at 11:43:17AM -0400, Alejandro Imass wrote: Take a look at this article and you will probably fix the problem, and it's probably not even on the FBSD side: www.ibb.net/~anne/keyboard.html not really (that page gives a lot of poor advice, particularly with regard to

Re: Terminal (TERM=xterm) on FreeBSD doesn not accept DEL or ALT key on/in a Linux YAST2 session

2012-03-12 Thread Thomas Dickey
On Mon, Mar 12, 2012 at 03:30:58PM +0100, O. Hartmann wrote: And you are using xterm (not rxvt)? No, pure and plain and conservative xterm as it comes with the port and no extravagant terminal thingy. Linux generally uses DEL (127) and (almost) everyone else uses BS (8). Adding to the

Re: Editor With NO Shell Access?

2012-03-12 Thread Thomas Dickey
On Mon, Mar 12, 2012 at 02:19:06PM -0500, Tim Daneliuk wrote: I have a situation where I need to provide people with the ability to edit files. However, under no circumstances do I want them to be able to exit to the shell. The client in question has strong (and unyielding) InfoSec

Re: No colours at all with ncurses and urxvt on FreeBSD 9.0-RC2

2011-11-25 Thread Thomas Dickey
On Fri, Nov 25, 2011 at 11:59:01AM +0100, Moritz Wilhelmy wrote: Hello, I can't get colours to work with urxvt (the normal urxvt, that is, not the 256-color one) over ssh. Google doesn't come up with any usable results for this particular case.. What bothers me is that a termcap entry for

Re: No colours at all with ncurses and urxvt on FreeBSD 9.0-RC2

2011-11-25 Thread Thomas Dickey
On Fri, Nov 25, 2011 at 01:02:15PM +0100, Moritz Wilhelmy wrote: On Fri, Nov 25, 2011 at 06:37:18 -0500, Thomas Dickey wrote: On Fri, Nov 25, 2011 at 11:59:01AM +0100, Moritz Wilhelmy wrote: I can't get colours to work with urxvt (the normal urxvt, that is, not the 256-color one) over ssh

Re: No colours at all with ncurses and urxvt on FreeBSD 9.0-RC2

2011-11-25 Thread Thomas Dickey
On Fri, Nov 25, 2011 at 06:58:21PM +0100, Moritz Wilhelmy wrote: On Fri, Nov 25, 2011 at 08:19:15 -0500, Thomas Dickey wrote: well... rxvt-unicode-256color was the effect of the checkins for termcap.src for conf/152713 and conf/153164 The earlier one suggests that the naming came from

Re: nice man pages?

2011-10-26 Thread Thomas Dickey
On Tue, Oct 25, 2011 at 08:58:19PM -0700, Carl Johnson wrote: Patrick Lamaiziere patf...@davenulle.org writes: Hello, I use sysutils/most to have nice manual pages in color, that's cool but is there a way to do this with the base system (ie without adding port)? I use a colorized

Re: nice man pages?

2011-10-26 Thread Thomas Dickey
On Wed, Oct 26, 2011 at 10:23:57AM -0700, Carl Johnson wrote: Thomas Dickey dic...@radix.net writes: fwiw, without also setting the NC capability (something like NC#35), it'll confuse curses/ncurses since that conflicts with the normal color controls. Thanks, I had missed

Re: Updating emacs fails

2011-10-24 Thread Thomas Dickey
On Mon, Oct 24, 2011 at 08:32:30AM +0200, John R. Levine wrote: It sounds to me like the right thing to do is to fix emacs' configuration so it always uses the base system ncurses whether or not the package version is there. Right? maybe/maybe not. It depends on what emacs needs - whether

Re: Updating emacs fails

2011-10-23 Thread Thomas Dickey
On Sun, Oct 23, 2011 at 06:03:10PM +0200, John R. Levine wrote: On 23/10/2011 09:03, John R. Levine wrote: checking for tparm in -lncurses... no but that's not correct. libncurses should certainly contain that symbol. I get a 'yes' there on my stable/8 machine. As -lncurses is part of

Re: Updating emacs fails

2011-10-23 Thread Thomas Dickey
On Sun, Oct 23, 2011 at 11:23:36PM -, John Levine wrote: ncurses is already in the base system - with different options. ... Did you try installing the ncurses port and then rebuilding emacs? For some reason the library in the ncurses port doesn't define the termcap routines,

Re: OT: how to tell when i've hit a Fn key?

2011-10-06 Thread Thomas Dickey
On Thu, Oct 06, 2011 at 03:41:17PM -0700, Gary Kline wrote: I've got a 103-key keyboard. most of them produce the right WAV file. i was having some trouble with the arrow key, but think i've found a resolution. next are the Function key, F1 to F12. anybody on-list familiar with curses

Re: what are the plain GUI text editors that use the abbrev [as in vi]?

2011-10-02 Thread Thomas Dickey
On Sun, Oct 02, 2011 at 10:57:28AM -0700, Gary Kline wrote: On Sun, Oct 02, 2011 at 03:40:39AM -0700, Randal L. Schwartz wrote: Date: Sun, 02 Oct 2011 03:40:39 -0700 From: Randal L. Schwartz mer...@stonehenge.com Subject: Re: what are the plain GUI text editors that use the abbrev [as in

Re: Why selecting text with mouse often doesn't make the text pasteable with mouse mid-button click?

2011-09-18 Thread Thomas Dickey
On Sat, Sep 17, 2011 at 06:21:56PM -0700, Yuri wrote: I notice this again and again: when I select some text in Konsole (KDE4) sometimes it doesn't paste with the middle mouse button click. Where are you pasting? (on another terminal emulator, in an application running in a terminal emulator,

Re: Why selecting text with mouse often doesn't make the text pasteable with mouse mid-button click?

2011-09-18 Thread Thomas Dickey
On Sun, Sep 18, 2011 at 09:06:44AM -0700, Yuri wrote: On 09/18/2011 06:05, Thomas Dickey wrote: I notice this again and again: when I select some text in Konsole (KDE4) sometimes it doesn't paste with the middle mouse button click. Where are you pasting? (on another terminal emulator

Re: [UPDATE] host-setup(1): a dialog(1)-based utility for configuring FreeBSD

2011-04-23 Thread Thomas Dickey
On Sat, Apr 23, 2011 at 08:54:51AM +0100, Bruce Cran wrote: On Fri, 22 Apr 2011 09:52:44 -0700 Devin Teske dte...@vicor.com wrote: Looks like `--hline' is not supported anymore. Thinking this should either be patched or documented in ERRATA/UPGRADING. I think you mean UPDATING :)

Re: new termcap entry for rxvt-unicode-256color

2010-12-13 Thread Thomas Dickey
On Mon, Dec 13, 2010 at 08:11:47AM -0800, Chip Camden wrote: Quoth Frédéric Perrin on Monday, 13 December 2010: Hello, rxvt-unicode version 9.09 was released last month. It added support for 256 colors in the default configuration, and the default value of $TERM changed to

Re: Grepping a list of words

2010-08-12 Thread Thomas Dickey
On Wed, Aug 11, 2010 at 06:00:22PM -0500, Jack L. Stone wrote: Kindly appreciate help with how to grep (or similar) a list of words to determine if any of them are in a file rather than grepping one word at a time. put the list in a file, and use grep -f better, use the \ and \ markers on the

Re: Good Terminal for X?

2010-08-08 Thread Thomas Dickey
On Sat, Aug 07, 2010 at 06:41:11PM -0600, Chad Perrin wrote: On Fri, Aug 06, 2010 at 04:12:47PM -0400, Thomas Dickey wrote: On Fri, Aug 06, 2010 at 11:26:10AM +0200, Roland Smith wrote: Try x11/rxvt-unicode. It doesn't require Gnome nor KDE libraries, and it does handle unicode

Re: Good Terminal for X?

2010-08-06 Thread Thomas Dickey
On Fri, Aug 06, 2010 at 11:26:10AM +0200, Roland Smith wrote: On Fri, Aug 06, 2010 at 03:12:11AM -0500, Depo Catcher wrote: I use Icewm, so don't want to install all that kde/gnome libs/dependencies and such to get konsole or gnome-console (but both are nice) xterm does display

Re: ncurses

2010-06-05 Thread Thomas Dickey
On Sat, Jun 05, 2010 at 10:13:34AM -0700, Chip Camden wrote: ... Thanks for your response, but I solved the problem by specifying that mutt should use slang instead of ncurses. That works better in a couple of ways, so I'll go with that. I do, however, still have one small problem. I can't

Re: how to force end-of-line in man page source

2010-05-11 Thread Thomas Dickey
On Tue, May 11, 2010 at 01:36:20PM +0800, Fbsd1 wrote: I don't like the way some lines in the man page have the last word in the sentence broken in 2 and hyphenated. Is there some escape code I can put at the end of the line in the source code to suppress this? You can generally override the

Re: Compose key and xterm vs. UTF-8

2010-03-14 Thread Thomas Dickey
On Sun, Mar 14, 2010 at 12:45:24PM +0100, Roland Smith wrote: On Sun, Mar 14, 2010 at 12:16:45AM +, Christian Weisgerber wrote: Short: -- Why do compose key sequences fail to work in a UTF-8 xterm? The port x11/rxvt-unicode is lighter on resources then xterm, and works fine with

Re: backup terminal title

2010-02-07 Thread Thomas Dickey
On Sat, Feb 06, 2010 at 10:04:49PM -0800, per...@pluto.rain.com wrote: Warren Block wbl...@wonkity.com wrote: What's the sequence for reading the terminal title? If I remembered it I'd have included it :) The first 3 results from Googling xterm escape sequences are This is where to start

Re: backup terminal title

2010-02-07 Thread Thomas Dickey
On Sun, Feb 07, 2010 at 09:49:54AM +0100, Dominic Fandrey wrote: I finally got it: printf \033[22;0t This stores the current icon and window titles on a stack. printf \033[23;0t This restores them from the stack. It works fine with xterm, has no effect on rxvt-unicode (which

Re: backup terminal title

2010-02-07 Thread Thomas Dickey
On Sun, Feb 07, 2010 at 09:49:54AM +0100, Dominic Fandrey wrote: I finally got it: printf \033[22;0t This stores the current icon and window titles on a stack. printf \033[23;0t This restores them from the stack. It works fine with xterm, has no effect on rxvt-unicode (which

Re: backup terminal title

2010-02-06 Thread Thomas Dickey
On Sat, Feb 06, 2010 at 01:38:11PM +0100, Dominic Fandrey wrote: I just started to wonder how portmaster changes the window title of my terminal and why it doesn't change it back when it terminates. Some digging in the portmaster code showed up an escape sequence: printf \033]0;%s\007 YOUR

Re: backup terminal title

2010-02-06 Thread Thomas Dickey
On Sat, Feb 06, 2010 at 01:55:55PM +0100, Matthias Apitz wrote: El día Saturday, February 06, 2010 a las 01:38:11PM +0100, Dominic Fandrey escribió: I just started to wonder how portmaster changes the window title of my terminal and why it doesn't change it back when it terminates.

Re: sysinstall and the Right Terminal

2010-01-25 Thread Thomas Dickey
On Mon, Jan 25, 2010 at 09:25:21AM -0600, Martin McCormick wrote: Thomas Dickey writes: Terminal would probably be one of the programs using VTE, which differs from linux. This is all very interesting. Thanks to all. What I normally do is start a command-line shell on a Debian Linux

Re: sysinstall and the Right Terminal

2010-01-23 Thread Thomas Dickey
On Sat, Jan 23, 2010 at 08:01:41AM -0600, Martin McCormick wrote: Dale Scott writes: I don't have a solution but can report I regularily login to my fbsd 7 and 8 boxes from an Ubuntu laptop using ssh in Terminal and run sysinstall. I've never encountered this problem though. Thank you

Re: example c program that does beep

2009-12-26 Thread Thomas Dickey
On Sat, Dec 26, 2009 at 03:33:27PM +, Anton Shterenlikht wrote: On Fri, Dec 25, 2009 at 08:49:14PM +0100, Polytropon wrote: On Fri, 25 Dec 2009 18:58:26 +, Anton Shterenlikht me...@bristol.ac.uk wrote: How can I get a beep from c? I looked at curses and syscons.c, but still

Re: example c program that does beep

2009-12-26 Thread Thomas Dickey
On Sat, Dec 26, 2009 at 05:16:23PM +, Anton Shterenlikht wrote: On Sat, Dec 26, 2009 at 11:50:06AM -0500, Thomas Dickey wrote: instead of the printf/fflush, it would clear the screen and beep - if the terminal description says it can do the beep. I have echo $TERM xterm

Re: example c program that does beep

2009-12-25 Thread Thomas Dickey
On Fri, Dec 25, 2009 at 08:34:39PM +0100, Polytropon wrote: On Fri, 25 Dec 2009 18:58:26 +, Anton Shterenlikht me...@bristol.ac.uk wrote: How can I get a beep from c? I looked at curses and syscons.c, but still not clear. If you want to use NCURSES / CURSES, it's a bit complicated.

Re: .Xdefaults file

2009-12-23 Thread Thomas Dickey
On Tue, Dec 22, 2009 at 10:10:26PM +, Jamie Griffin wrote: On Tue, Dec 22, 2009 at 01:45:52PM -0800, Rem P Roberti wrote: I think case matters here, i.e. XTerm*, not Xterm or xterm. Exactly the problem. Thank you! Curious, on my system (7.2) my ~/.Xdefaults uses lowercase

Re: Setting fonts and other defaults in Xorg--new q? on font menu

2009-12-22 Thread Thomas Dickey
On Tue, Dec 22, 2009 at 02:48:15AM -0800, Mark Terribile wrote: After finding what you like simply add the lines to ~/.Xdefaults: XTerm*faceName: Liberation Mono XTerm*faceSize: 10 Is there a way to change the contents of the xterm font menu without

Re: terminal setup issues on FreeBSD

2009-10-22 Thread Thomas Dickey
On Thu, Oct 22, 2009 at 05:22:42PM -0400, Lowell Gilbert wrote: Try setting the terminal type to screen or vt100 (which is what screen claims to emulate, although it understands even more extensions than xterm). Better yet, don't set it *at all* and let ssh carry the environment value through

Re: Open_Source

2009-06-05 Thread Thomas Dickey
On Fri, Jun 05, 2009 at 11:46:21AM -0600, Chad Perrin wrote: The links browser's interface is crap, as is that of every other text console based browser I've ever encountered. Moving around within a page and selecting a link are two tasks for which text console based browsers have not

Re: Date representation as YY/DDD or YYYY/DDD

2009-06-05 Thread Thomas Dickey
On Fri, Jun 05, 2009 at 09:23:06PM +0100, Chris Rees wrote: Seriously, why are long options encouraged? Some programs simply have a lot of options, and after a dozen or so, a single letter loses its mnemonic value. X applications have been using long options for 20 years - long enough to get

Re: Date representation as YY/DDD or YYYY/DDD

2009-06-05 Thread Thomas Dickey
On Fri, Jun 05, 2009 at 10:49:19PM +0200, Wojciech Puchar wrote: GNU recommended: $ tar --extract --verbose --gunzip --file bluurgh.tgz Seriously, why are long options encouraged? there are people that like to write a lot? ;) no..., otherwise the people generating this thread would cite

Re: Date representation as YY/DDD or YYYY/DDD

2009-06-05 Thread Thomas Dickey
On Fri, Jun 05, 2009 at 10:11:00PM +0100, Chris Rees wrote: The point I was trying to make (badly), was that long options are a PITA to type. I don't believe it's any easier to learn the long names for options than the short ones. Since you're typing huge amounts of text quickly, you're more

Re: changing tab stops

2009-05-31 Thread Thomas Dickey
On Sun, May 31, 2009 at 03:44:24PM -0400, Robert Huff wrote: I have a C program that writes to a terminal (currently xterm, but could be anything). For reasons I won't go into, I would like to read and change the terminal's tab stops ... from within the program ... in a

Re: backspace-key and ^H when ssh -X remote.

2009-05-23 Thread Thomas Dickey
On Fri, May 22, 2009 at 11:04:05PM -0700, Gary Kline wrote: guys, here's a bug with how the backspace key doesn't work across computers. i'm not sure if there were troubles going from FBSD to FBSD, but there is when i ssh from my ubuntu platform to my main desktop. i do this to edit files

Re: backspace-key and ^H when ssh -X remote.

2009-05-23 Thread Thomas Dickey
On Sat, May 23, 2009 at 03:03:00PM +0200, Polytropon wrote: On Sat, 23 May 2009 06:35:56 -0400, Thomas Dickey dic...@radix.net wrote: probably (outside of Linux and a few special cases such as Cygwin, everyone else uses ^H for backspace - all of the BSD's and all of the vendor Unix's

Re: UTF-8 file + console

2009-03-31 Thread Thomas Dickey
On Tue, Mar 31, 2009 at 11:36:32AM +0200, Paul B. Mahol wrote: On 3/31/09, Arek Czereszewski a...@wup-katowice.pl wrote: Hi, I have php application in UTF-8 on server (in files are 4 languages: PL, SK, CZ and EN). Is there any chance to edit this files on console? Or should I edit

Re: UTF-8 file + console

2009-03-31 Thread Thomas Dickey
On Tue, Mar 31, 2009 at 12:15:33PM +0200, Paul B. Mahol wrote: On 3/31/09, Thomas Dickey dic...@radix.net wrote: On Tue, Mar 31, 2009 at 11:36:32AM +0200, Paul B. Mahol wrote: On 3/31/09, Arek Czereszewski a...@wup-katowice.pl wrote: I have php application in UTF-8 on server (in files

Re: Emacs doesn't want to support 256 colors in terminal window

2009-02-28 Thread Thomas Dickey
On Sat, Feb 28, 2009 at 02:21:05AM +, Grzegorz Junka wrote: colors on the Windows terminal. For that I reconfigured putty/rxvt to report the (logical) terminal type as xterm-256color. That didn't work ncurses has an rxvt-256color entry... so I tried to redefine the TERM environment

Re: xorg 7.4: button fonts unreadable ...

2009-02-09 Thread Thomas Dickey
On Mon, Feb 09, 2009 at 07:28:58PM -0400, Marc G. Fournier wrote: Have searched Google, but haven't been able to find anything that either worked, or was relevant ... I just cleaned out and reinstalled all of my ports ... when I load up an xterm (the one I'm working in right now), all the

Re: xorg 7.4: button fonts unreadable ...

2009-02-09 Thread Thomas Dickey
On Mon, Feb 09, 2009 at 08:58:12PM -0400, Marc G. Fournier wrote: So, if I backtrack to 7.3.x, I should be fine? that sounds like it (I don't keep track of the version numbers). -- Thomas E. Dickey http://invisible-island.net ftp://invisible-island.net pgpIAaiseBBGi.pgp Description: PGP

Re: printf and utf-8

2009-01-27 Thread Thomas Dickey
On Mon, Jan 26, 2009 at 03:03:44PM -0800, Chuck Swiger wrote: On Jan 26, 2009, at 3:05 PM, Svein Halvor Halvorsen wrote: Do you have a suggestion to solve the following problem without using printf(1): I have a text file that I want to print in a box on a terminal from a shell script.

Re: dialog run away processes

2008-12-12 Thread Thomas Dickey
On Thu, Dec 11, 2008 at 02:35:43PM -0800, Noah wrote: Hi there, sometimes I find there one or two processes with the command name of 'dialog' tacking the cpu on my freebsd machines. any clues what creates this situation and how I can circumvent the problem? It appears to happen around

Re: Sysinstall colors

2008-10-13 Thread Thomas Dickey
On Mon, Oct 13, 2008 at 02:09:29PM -0700, Jeremy Chadwick wrote: On Mon, Oct 13, 2008 at 09:42:04PM +0200, [EMAIL PROTECTED] wrote: After some trial and error, I put XTerm*color7: #bebebe in my .Xdefaults. Now the yellow sysinstall font is much more legible inside an xterm.

Re: curses.h, beep() returns ERR, flash() casuses segment fault.

2008-08-28 Thread Thomas Dickey
On Wed, Aug 27, 2008 at 07:10:40PM -0700, Christopher Joyner wrote: I do not get the OK from beep, and flash crashes the program. This is my code: #include curses.h int main(int argc,char** argv) { initscr();/* see also filter() and newterm() */ if(beep()!=OK) //

Re: Closing the terminal results in closing of application started by the terminal even if the processes is backgrounded

2008-08-23 Thread Thomas Dickey
On Sat, Aug 23, 2008 at 01:36:32PM +0530, Siju George wrote: I started Firefox from an xterm. Then I pressed ctrl +Z And the I typed bg to background Firefox process. But when I close xterm firefox also closes. firefox still gets a SIGHUP since its controlling terminal is that xterm. (if it's

Re: space char shell script problem

2008-08-23 Thread Thomas Dickey
On Sat, Aug 23, 2008 at 04:09:57PM +0200, Polytropon wrote: On Sat, 23 Aug 2008 06:19:42 -0400, David Banning [EMAIL PROTECTED] wrote: I am running into a problem with the space character in filenames. For instance, If I want to run the script; for x in `ls` do echo $x done

Re: Switch to alternate screen buffer

2008-07-26 Thread Thomas Dickey
On Sat, Jul 26, 2008 at 03:03:57PM +0200, Bertram Scharpf wrote: Hi, Am Donnerstag, 24. Jul 2008, 16:57:40 +0200 schrieb Wojciech Puchar: I know from some old Linux installations that Less and Vim are able to switch to an alternate screen buffer. They use the escape sequences \e[?1047h

Re: snippet of configure script - explain please

2008-07-10 Thread Thomas Dickey
On Fri, Jul 11, 2008 at 12:18:42AM +0930, Malcolm Kay wrote: On Thu, 10 Jul 2008 09:45 pm, Mel wrote: On Thursday 10 July 2008 06:24:46 Malcolm Kay wrote: 9255 if { as_var=$as_ac_var; eval test \\${$as_var+set}\ = set; }; then it's interesting, but config.log would probably

Re: null bytes after ANSI sequences in color 'ls' output

2008-06-29 Thread Thomas Dickey
On Sat, Jun 28, 2008 at 10:34:06PM -0700, Mike Brown wrote: OK, so the null bytes are correct for vt100 and should've always been there, and the fact that they've suddenly showed up in FreeBSD 6.3 is basically a feature. Setting NCURSES_NO_PADDING has no effect, so 'ls' apparently does

Re: null bytes after ANSI sequences in color 'ls' output

2008-06-28 Thread Thomas Dickey
On Fri, Jun 27, 2008 at 07:45:52PM -0700, Mike Brown wrote: After I upgraded 6.2-STABLE (Feb 2007-ish) to 6.3-STABLE (last week), my colorized 'ls -G' output is now plagued with 8 null bytes following each ANSI sequence. I normally pipe my output to 'less -R' so ANSI sequences pass through

Re: null bytes after ANSI sequences in color 'ls' output

2008-06-28 Thread Thomas Dickey
On Sat, Jun 28, 2008 at 03:16:21PM -0500, Dan Nelson wrote: In the last episode (Jun 28), Thomas Dickey said: It's possible that an application could be sending padding characters (nulls). The vt100-color terminal description inherits from vt100, which does use padding - but in the sf/sr

Re: Why doesn't cons25 have cs in termcap info?

2008-06-21 Thread Thomas Dickey
On Fri, Jun 20, 2008 at 08:32:58PM -0400, Kitche wrote: Since some ports actually need cs(change_scroll_region) to run for example tmux is one. I believe tmux does not change the term correctly which could be the issue as well. But according to the author the term needs cs to even run. I m

Re: Why doesn't cons25 have cs in termcap info?

2008-06-21 Thread Thomas Dickey
On Sat, Jun 21, 2008 at 11:23:38AM -0400, Thomas Dickey wrote: On Fri, Jun 20, 2008 at 08:32:58PM -0400, Kitche wrote: Since some ports actually need cs(change_scroll_region) to run for example tmux is one. I believe tmux does not change the term correctly which could be the issue as well

Re: vim doesn't preserve the terminal content

2007-11-03 Thread Thomas Dickey
On Fri, Nov 02, 2007 at 04:00:05PM -0700, Pete Slagle wrote: Yuri wrote: I use vim both on Linux and FreeBSD. On Linux after I exit vim original screen content is restored. On FreeBSD vim leaves the last content viewed in vim. How do I make vim preserve the screen? Thanks,

Re: What to use for conio?

2007-09-15 Thread Thomas Dickey
On Sat, Sep 15, 2007 at 03:11:54AM -0500, Lars Eighner wrote: What I really want to do: capture keypresses (including function keys) from a (virtual) terminal without their echoing or without having to enter a new line (i.e. hit return). man newterm man filter -- Thomas E. Dickey

Re: mc (GNU midnight commander) have I18N problem on FreeBSD?

2007-07-22 Thread Thomas Dickey
On Sun, Jul 22, 2007 at 04:05:35PM +0800, Zhang Weiwu wrote: Dear list I found mc 4.6.1 behave differently on FreeBSD 6.2 and SuSE 10.2 1) run urxvt on FreeBSD 6.2 2) run mc 4.6.1, take a screenshot: perhaps FreeBSD's port for mc has one of the UTF-8 patches, perhaps it does not. There's

Re: Re[2]: Increase in the number of ports: upgrade xorg to 7.2...

2007-06-08 Thread Thomas Dickey
On Fri, Jun 08, 2007 at 03:34:38PM -0400, Bill Moran wrote: I am not totally convinced. If one small package is updated that is depended on by 10 other package that in turn are depended on by a like number of other packages, what has been really gained by breaking everything into small

Re: See output of local xterm session on remote ssh session.

2007-06-02 Thread Thomas Dickey
On Sat, Jun 02, 2007 at 01:39:08PM +0200, Roland Smith wrote: If you want to keep tabs on an already running process, you should start the process in such a way that it redirects the standard output and standard error streams to a file. How that's done depends on the shell you're using. You

Re: Wikipedia's perfection (was Re: Discussion of the relativeadvantages/disadvantages of PAE (was Re: Memory 3.5GB not used?))

2007-04-28 Thread Thomas Dickey
On Sat, Apr 28, 2007 at 02:10:16AM -0700, Ted Mittelstaedt wrote: The true value of Wikipedia is that it can deal with controversial subjects. ... on the other hand, for some instances it doesn't _deal_ with controversial subjects, but only reflects the most common opinion. Currently(*) the

Re: best programming language for console/sql application?

2007-04-26 Thread Thomas Dickey
On Thu, Apr 26, 2007 at 02:35:39PM +0800, Zhang Weiwu wrote: There are a lot! There are no known console-based bug tracker (there are also a lot of console-based bug reporter) I use lynx to update comments on Redhat's bugzilla. That's console-based. (It also uses ncurses) -- Thomas E. Dickey

Re: Discussion of the relative advantages/disadvantages of PAE (was Re: Memory 3.5GB not used?)

2007-04-25 Thread Thomas Dickey
On Wed, Apr 25, 2007 at 08:31:53AM -0400, Bill Moran wrote: (of course, everyone knows that Wikipedia is the ultimate source of information and is infallible, right?) hardly. I'd expect that most intelligent readers would have encountered at least one wikipedia article which is inaccurate.

Re: Wikipedia's perfection (was Re: Discussion of the relative advantages/disadvantages of PAE (was Re: Memory 3.5GB not used?))

2007-04-25 Thread Thomas Dickey
On Wed, Apr 25, 2007 at 01:15:03PM -0600, Chad Perrin wrote: No kidding. That professor should have his Wikipedia account banned, and the head of his department should be informed of his vandalism. I don't suppose you know the name of his Wikipedia account, or his legal name. . . . yawn.

Re: Wikipedia's perfection (was Re: Discussion of the relative advantages/disadvantages of PAE (was Re: Memory 3.5GB not used?))

2007-04-25 Thread Thomas Dickey
On Wed, Apr 25, 2007 at 01:58:55PM -0600, Chad Perrin wrote: I definitely agree that's suboptimal. I'd expand that to include other sorts of pages, other than webpages, as well. It's pretty rare for this particular brand of intellectually lazy person to realize that about the printed page,

Re: first of misc questions....

2007-04-25 Thread Thomas Dickey
On Wed, Apr 25, 2007 at 10:31:45PM +0200, Irsla wrote: On 4/25/07, Matthew Seaman [EMAIL PROTECTED] wrote: find . -type f \( -mtime 6 -o -mtime 29 \) -print0 | xargs -0 vi what about the -exec option of find ? I always wonder why people don't use it. it's simpler but not necessarily

Re: Code beautification and/or printing utilities that are not part of an editor

2007-04-19 Thread Thomas Dickey
On Thu, Apr 19, 2007 at 03:10:47PM -0600, Andrew Falanga wrote: Another question for everyone. Are there any programs, hopefully available in the ports, that one can use to print source code files to a printer (or create as a postscript file)? I'd like something that I can feed a C++

Re: UTF-8 in console

2007-04-04 Thread Thomas Dickey
On Thu, Apr 05, 2007 at 12:02:12AM +0200, Nejc ©koberne wrote: Hello, I am have many FreeBSD 5.x and 6.x servers installed and I have this in my /etc/profile: LANG=sl_SI.UTF-8; export LANG MM_CHARSET=UTF-8; export MM_CHARSET because I am using UTF-8 encoding with PuTTY. It works with

Re: Gnome-Terminal - odd behaviour while typing

2007-03-10 Thread Thomas Dickey
On Sat, Mar 10, 2007 at 01:48:00PM +0100, Carsten Fuchs wrote: Hi everyone! My gnome-terminal has this annoying habit of jumping at the beginning of the same line when i'm entering a command and the cursor reaches a certain column (not the last column possible, there's always a quarter or

Re: Backspace key - not mapping to ^H

2007-02-28 Thread Thomas Dickey
On Wed, Feb 28, 2007 at 06:33:54AM -0800, Garrett Cooper wrote: Jordan Gordeev wrote: Gary Kline wrote: I'm not sure whether this just in Ubuntu or in the Gnome desktop ... servers. I thought I'd ask here before I dig into this. I think a new xterm was recently updated in ports;

Re: ssh to VMS - terminal problems

2007-02-22 Thread Thomas Dickey
On Thu, Feb 22, 2007 at 01:04:39AM -0800, [EMAIL PROTECTED] wrote: yes - VMS only knows about DEC-compatible terminals. None of the *BSD console emulators do well enough to be usable on VMS. xterm supports ANSI color, VT220 emulation and UTF-8 There's an faq at

Re: ssh to VMS - terminal problems

2007-02-20 Thread Thomas Dickey
On Tue, Feb 20, 2007 at 03:51:57PM +, Anton Shterenlikht wrote: If I run ssh from a terminal emulator in xorg, all seems fine. yes - VMS only knows about DEC-compatible terminals. None of the *BSD console emulators do well enough to be usable on VMS. xterm supports ANSI color, VT220

Re: ssh to VMS - terminal problems

2007-02-20 Thread Thomas Dickey
On Tue, Feb 20, 2007 at 07:05:37PM +, Anton Shterenlikht wrote: On Tue, Feb 20, 2007 at 11:45:17AM -0500, Thomas Dickey wrote: On Tue, Feb 20, 2007 at 03:51:57PM +, Anton Shterenlikht wrote: If I run ssh from a terminal emulator in xorg, all seems fine. yes - VMS only knows

Re: Ksh Shell script security question.

2007-02-15 Thread Thomas Dickey
On Wed, Feb 14, 2007 at 10:57:12PM -0600, Dan Nelson wrote: In the last episode (Feb 14), Dak Ghatikachalam said: I am am puzzled how to secure this code when this shell script is being executed. ${ORACLE_HOME}/bin/sqlplus -s EOF | tee -a ${RESTOREFILE} connect system/ugo8990d

Re: Newbie Lynx and Mozilla Firefox Questions

2007-01-04 Thread Thomas Dickey
On Thu, Jan 04, 2007 at 09:42:25AM -0800, Bill Campbell wrote: On Thu, Jan 04, 2007, linux quest wrote: I have been searching for tutorials for browsing the Internet using Lynx, but can’t seem to find one anywhere. There aren’t any tutorial either in those Unix books that I bought. What

Re: Midnight Commander in base distribution set

2006-08-06 Thread Thomas Dickey
On Sun, Aug 06, 2006 at 04:44:26PM +0300, Simon Phoenix wrote: On Friday 04 August 2006 09:41, Renat S. Nurgaliyev wrote: Please, please, please, include Midnight Commander into the future releases of FreeBSD! It is extremely time-safing and lightweight tool. It can be installed from ports,

Re: Midnight Commander in base distribution set

2006-08-04 Thread Thomas Dickey
On Fri, Aug 04, 2006 at 02:11:20PM -0400, Xiao-Yong Jin wrote: Dan Nelson [EMAIL PROTECTED] writes: In the last episode (Aug 04), Andrew Gould said: --- Scott Oertel [EMAIL PROTECTED] wrote: I use midnight commander on a daily basis, can anyone recommend a better, more lightweight

Re: Midnight Commander in base distribution set

2006-08-04 Thread Thomas Dickey
On Fri, Aug 04, 2006 at 03:21:06PM -0400, Xiao-Yong Jin wrote: This is more lightweight than mc, and does things that mc doesn't: http://invisible-island.net/ded/ Interesting. You can try to make it into the ports tree. I could - but generally am too busy working on development to

Re: termcap vs terminfo, less, and Mac OS X

2006-06-02 Thread Thomas Dickey
On Fri, Jun 02, 2006 at 02:26:07PM -0700, Walt Pawley wrote: I've been messing about with FreeBSD lately, though mostly I use Mac OS X. I've grown accustomed to using less as a pager, generally preferring the manner in which it would make all the scrolled through crud vanish when I was done

Re: Converting a zsh prompt to bash

2006-05-19 Thread Thomas Dickey
Hey Dan! Your prompt is truly wonderful. It inspired me to grow up, as far as my shell is concerned. hmm - no: grownups use tput rather than hardcoding things. -- Thomas E. Dickey http://invisible-island.net ftp://invisible-island.net pgpaAKCgMiHgm.pgp Description: PGP signature

Re: Zero Copy, FreeBSD and Linus Torvalds opinion

2006-05-01 Thread Thomas Dickey
On Sun, Apr 30, 2006 at 10:04:22PM -0700, Frank Mayhar wrote: It is better to remain silent and be thought a fool, than to speak, and remove all doubt. Given the tone of the recent discussions, it's apparent you're referring to the comments on this list. -- Thomas E. Dickey

Re: Xemacs cursor in console

2006-03-26 Thread Thomas Dickey
On Sun, Mar 26, 2006 at 04:28:31PM +0300, User Elisej wrote: I use XEmacs 21.4 (patch 19) It sets the cursor as large blinking block on its own everytime. How to forbid it this? It's using the terminal settings (terminfo cvvis, termcap vs) to see how to do this. FreeBSD provides only

Re: groff alternative?

2005-04-26 Thread Thomas Dickey
On Tue, Apr 26, 2005 at 08:10:41PM +0200, Emanuel Strobl wrote: Does anybody know any alternative for the groff part to view man pages simply with the man command? It's horrible that the filter needs more space than all the manpages itself! perhaps cawf -- Thomas E. Dickey