I'm using vim 6.3.81 on a xterm through putty. When I use set mouse=a , I can scroll through the file , but not select text. When mouse is disabled using set mouse=, I can select text with mouse (automatically copied to a buffer) , but if the text block is over one page long , I can't scroll up/down (and have to select text one screen at...
I'm using Vim 7.2 , compiled with +xterm_clipboard , in a xterm through putty . I've put set clipboard=unnamed in .vimrc , and from what i've read in other threads , this should put all yanks/deletes to the system clipboard. However , when I'm trying to paste whatever i've yanked to a MS app like notepad, its not working.
When I select ...
In linux, when a terminal (like xterm) gets resized to something smaller, then expanded again, its output history gets truncated to whatever the smaller width was. Does anybody know how to make the terminal remember its previous state, or wrap text so that this doesn't break?
For example, if your terminal reads something like (using | ...
No, not ASCII graphics, see the screenshot here:
http://en.wikipedia.org/wiki/W3m
How is that even possible?
I checked the source and it only prints character sequences. However, I am unable to find any reference to graphic drawing or image embedding escape sequences in xterm documentation or elsewhere.
w3m also seems to be the only ...
When you use git it seems to magically know whether standard out is going through a pipe or into a file vs when it is being displayed to the console. For example, if you have colors enabled and you do
git status
it will colorize the output for different categories of files being listed. However, if you do
git status | less
or
...
Using XTerm, ssh to a linux box and run this:
$ man ascii | grep BEL
007 7 07 BEL â\aâ (bell) 107 71 47 G
Do the same from Mac Terminal:
$ man ascii | grep BEL
007 7 07 BEL ’\a’ 107 71 47 G
od output of above:
$ man ascii | grep BEL | od -ta
0000000 sp sp sp sp ...
open cygwin shell
run ssh -Y user@MACOSXSERVER
"No xauth data using fake authentication data for X11 forwarding" <-- Warning
login MACOSXSERVER OK
set DISPLAY=CYGWINIP:0.0
xterm &
And I get the following error
Xlib: connection to "CYGWINIP:0.0" refused by server Xlib: No protocol specified
What went wrong?
...
// this works
if ("Show".equals (obj))
{
try {
String command= "/usr/bin/xterm -e javac panel_1.java";
Runtime rt = Runtime.getRuntime();
Process pr = rt.exec(command);
BufferedReader in = new BufferedReader(new InputStreamReader(pr.getInputStream()));
String line = null;
while ((line = in.re...
I want to use shift-tab for auto completion and shifting code blocks visually. I have been referring to Make_Shift-Tab_work . That link talks about mapping ^[[Z to shift-tab . But i don't get ^[[Z when i press shift-tab. i just get a normal tab in that case.
It then talks about using xmodmap -pke | grep 'Tab' to map tab keys. Accordin...
can xterm can be used to process ANSI escape sequences and output the resulting text into a file?
i mean e.g. like this:
$ echo -e "\e[31mfoo\e[0m" | xterm -SOME_NICE_OPTION
foo
xterm has a slave mode, but i'm not sure whether it can be used to this type of task.
echo "foo" | xterm -S120
writes "foo" into xterm window
i have play...
I use xterm and set its appearance in ~/.Xdefaults:
XTerm*background: paleTurquoise
XTerm*foreground: black
I also use emacs, but set its appearance differently in ~/.emacs:
(set-background-color "black")
(set-foreground-color "yellow")
I usually run emacs within the terminal emulator with emacs -nw, rather than creatin...
Something funny is going on with my vim. I'm using it through xterm. I want to be able to autocomplete filenames that I try to open.
For example:
# Cursor is | character
:o exam|
:o exam|<TAB>
:o examplefile.txt|
I was sure vim supported this, but it's not working for me. When I hit <TAB> an ^I character is inserted instead of comple...
Setting terminal title is easy with echo -e "\e]0;some title\007". Works with pretty much every terminal program.
What I want is to set terminal title when some program starts - and restore old one when it finishes. Is this possible?
...
I am developing a GTK based application which has to support clipboard. For that I am exporting selection data using gtk_clipboard_set_with_data with the target formats: UTF8_STRING, STRING, TEXT, COMPOUND_TEXT, text/plain, text/plain;charset=utf-8, text/rtf, text/html and text/url. Using this I am able to copy-paste text from my aplicat...
I am starting to use xterm for my default terminal. My only issue, is that I don't like any of the fonts. Is it possible to install more fonts for use in X11. I'd really like to get Monaco. Thanks.
...
Hi all,
Short version: When using emacs' xterm-mouse-mode, Somebody (emacs? bash? xterm?) intercepts xterm's control sequences and replaces them with \0. This is a pain on wide monitors because only the first 223 columns have mouse.
What is the culprit, and how can I work around it?
From what I can tell this has something to do with ...
I use xterm under cygwin/Xming.
Alt-B (jump one word backwards) and Alt-F (one word forward) do not work, but instead display some diacritical characters or something.
I have created a file .Xresources and a file .Xdefaults in my home dir, each containing only this line:
xterm*eightBitInput: false
Yet the problem persists.
...
Hi,
When I use emacs from a terminal (xterm-color; a putty ssh session in this case) the font color used by emacs is different from the one I use in the shell. Which is fine. BUT, after I quit emacs (or suspend it for that matter) the colors are not restored.
Is there anything I can do to restore my term colors when returning to the sh...
Hi,
I have an annoying problem when using Screen on my SLED10 machine. When changing directory (cd, chdir, pushd/popd) the resulting path is echoed in the terminal.
user@/home/user> cd ..
Directory: /home
user@/home>
This problem only seem to exist in Screen. I have checked my prompt and it does not contain anything related to this ...
I've run into a strange problem with Ruby that I can't explain. I have the following script that grabs whatever code is currently in the clipboard, runs it through a syntax highlighter, then puts the new version BACK into the clipboard:
#!/usr/bin/ruby1.9.1
require 'coderay'
language = "auto";
if(ARGV.length > 0)
language = ARGV[...