[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

XTERM [ was Re: Windows Telnet ]



On Fri, Jan 03, 2003 at 08:16:45AM -0600, will trillich wrote:
> i've found some snags in gnome-terminal (1.4.0.6 under woody)
> that haven't interfered with my windo~1 PuTTY experiences...
> 
> - some items are not blanked properly; that is, when new text at
>   the bottom scrolls text off the top, artifacts appear to remain
>   that should have scrolled off. sometimes refreshing (^L in vi)
>   makes it better, sometimes not. editing can get quite hairy
>   with this snag.

xterm seems to work properly here.

> - my prompt includes escape sequences to hilite user@host:path
>   and gnome-terminal gets all confused on cursor positioning,
>   particularly when using word-delete to edit the command line.
>   (i'd expect the linux console tohave similar conniptions, but
>   it doesn't!)

pooh. xterm also gets confused with the escape-sequence prompt
string -- even when i break to a new line after all the fancy
color-setting and xterm-window-title-setting sequences, i
word-delete and *boik* my cursor is suddenly at column 70 or so.

	# tcsh (i know, i know)
	set USER=`whoami`
	if ( $LOGNAME == $USER ) then
	  set COLOR=44
	else
	  set COLOR=45
	endif
	if ( $USER == 'root' ) then
	  set COLOR=41
	endif
	set prompt="%{]0;%}%n: %~%{[%}$COLOR%{;37;1m%}%n%{: [%}%{37;40m%}%~%{%}\n%# "

which looks like

	<bluebg>will: <bold>/var/www/puz/pix/runt/2002july10<plain>
	> and if i enter this text at the command line
	and then word-delete it, the cursor sometimes even winds up
	on the previous (second-from-bottom) line!

(or maybe it's not xterm or gnome-terminal -- perhaps it's tcsh?)
ideas?

-- 
I use Debian/GNU Linux version 3.0;
Linux server 2.2.17 #1 Sun Jun 25 09:24:41 EST 2000 i586 unknown
 
DEBIAN NEWBIE TIP #117 from Adam Scriven <scriven@lore.com>
:
Here's how you THAW MESSAGES FROZEN VIA EXIM: Just cd to the
/var/spool/exim/msglog directory, and run
	# exim -Mt *
That should thaw any message that's pending. For more dire
action, you can try
	# exim -Mrm <message-id-here>
to actually obliterate a troublesome message. See exim.org (or
/usr/share/doc/exim/manual.html/*) for more details.

Also see http://newbieDoc.sourceForge.net/ ...



Reply to: