Stack Exchange Network

Stack Exchange network consists of 174 Q&A communities including Stack Overflow, the largest, most trusted online community for developers to learn, share their knowledge, and build their careers.

Visit Stack Exchange

Questions tagged [xterm]

xterm is the standard terminal emulator for the X Window System.

0
votes
0answers
14 views

XTerm resources

Many times in man xterm I have read about xterm resources, they seem very powerful, but probably not very well known concept. I couldnot find any actual explanation or examples on how to use those ...
0
votes
0answers
28 views

What is the difference between `xterm -e $COMMAND` and `$COMMAND` within `xterm`?

I'm surprised that there are differences between running a $COMMAND in xterm and running xterm -e $COMMAND. As an example: if I run tmux as a program within xterm, I get different behavior than when ...
0
votes
0answers
53 views

How to set scrolling speed of vim like set mouse=a when mouse=v?

I wonder how it's possible to set scrolling speed. As is, when I scroll with my mouse in command or edit mode, it moves only one line at a time. I prefer to move by example 3 line at a time. (speed ...
1
vote
1answer
417 views

How to switch between terminal, nerdtree and text editor?

I normally switch screen in vim using ctrl+h or ctrl+l to switch between NerdTree and vim main window. Vim8 got :term command to bring up terminal which is great! But I cannot figure out how to switch ...
1
vote
1answer
115 views

Linux Mint: GNOME Terminal does not show 'message from' in write program

Usually a write command (reference: write) will cause the receiver to see Message from yourname@yourhost on yourtty at hh:mm ... I don't see that... Any idea? In my Windows 10, I have a virtual ...
0
votes
0answers
75 views

Bash 4.3.48 does not wrap lines with TERM=screen

I have bash 4.3.48 and I use konsole as terminal emulator. The default value is TERM=xterm. However, I want to use tmux and it requires that the TERM value should be either screen or screen-256colors. ...
1
vote
1answer
274 views

preprocessor directive #define doesn't work in .Xresources

I'm trying to use a solarized color theme for my .Xresources file. I'm using Arch Linux with i3 window manager. However, it seems that #define preprocessor directives do nothing, and the .Xresources ...
0
votes
2answers
669 views

Execute Command with xterm and close

Im trying to execute a program with xterm and then close xterm with program running but it seems this doesn't work like I would expect it. In bash there is the option bash -c [command] is there ...
1
vote
1answer
85 views

How to detach instead of terminate a GNU Screen session inside xterm when pressing C-c?

On X startup the following is ran automatically: xterm -e screen -rS app1 This opens up an xterm session and attaches the screen of app1, which was already running in a detached state. What I'd ...
0
votes
1answer
37 views

How can the character set for popup menus be controlled in xterm

Somewhere along the way I've changed a setting that has caused the popup windows in xterm to be displayed in Greek characters. The text in the main window is fine, its just the popup windows that are ...
1
vote
0answers
597 views

xterm copy to PRIMARY and CLIPBOARD independently

I want to be able to use both selections in xterm. I would like selecting text and using middle click to copy and paste to and from PRIMARY. I would like Ctrl+Shift+C and Ctrl+Shift+V to copy and ...
0
votes
1answer
116 views

Can't start remote GUI programs using terminal on Rhel.7

Can't start remote GUI programs like gedit, Firefox, and more GUI on RHEL.7 using terminal directly. how to open that direct, not as ssh. XTerm required for that? or what application is required for ...
1
vote
1answer
329 views

Key mapping on Putty or Xterm

We have a lot of old PC's running Windows XP for the sole purpose of running a terminal emulator. Desperately want to get away from Windows XP, so have tried Ubuntu with Xterm and linux Mint with ...
0
votes
0answers
90 views

Weird color of the letters of xterm terminal

I didn't know in what forum post this question, but I hope you could help me. I've bought a new monitor with 1080p resolution, and despite all seems to be well (no dead pixels), I've realize that in ...
0
votes
1answer
162 views

Run a command in a terminal, then when complete leave the command in the terminal

I have a problem where I need to launch a command from a terminal, and leave the terminal open with the command I used once it is complete. The reason is that depending on certain circumstances I may ...
6
votes
2answers
2k views

How to get rid of error message on ssh login --> “setterm: terminal xterm does not support --blength”

Whenever I ssh into my arch linux box I get this error message: setterm: terminal xterm does not support --blength Also when executing: $ sudo su - Interestingly not when using $ sudo su I have ...
0
votes
1answer
363 views

How to get vimrc colours to fill the screen?

I have a colour scheme set in vimrc. When I set it and set the term variable to xterm-256color I had the background colour only on the text. I then found the solution to set the term variable to ...
2
votes
0answers
1k views

Xterm configuration: colors work, font size not?

echo $TERM replies xterm-256color and my .Xresources file looks like this: *dpi: 165 Xft.antialias: true Xft.hinting: true Xft.rgba: rgb Xft....
1
vote
0answers
63 views

run xterm as subprocess not take startup script/environment

I am using Debian/Jessie linux, When I launch xterm from my project to run external project, xterm here not takes my environments variables, in other way it is not takes the startup scripts .bashrc ...
3
votes
0answers
712 views

Ctrl+Shift+Page{Up,Down} in tmux

Trying to make C-S-PageUp and C-S-PageDown work in tmux but no success so far. Here are my config steps: bind-key -n C-PageUp previous-window bind-key -n C-PageDown next-window bind-key -n C-S-PageUp ...
1
vote
1answer
534 views

Can't use enter key to execute commands in zsh

I recently installed zsh (v5.1.1) on a new ubuntu setup, but when I switch to it in gnome-terminal, I cannot seem to use to the enter key to execute the command. The only way I can execute commands is ...
0
votes
2answers
546 views

Why would Esc-p or Ctrl-p not work in one terminal but work in all the others?

Somehow, when I start my X session in Ubuntu 16.04, I get a Gnome Terminal window with 6 tabs and they all works as expected except for the last tab. That one loses the Esc-p / Alt-P functionality. ...
1
vote
2answers
5k views

bash: $'\302\211[COMMAND]': command not found [duplicate]

I've used bash in xterm on Debian Jessie for about 2 years. Just recently I sometimes get an error bash: $'\302\211[COMMAND]': command not found. The only help I can find on the topic is Piping grep ...
0
votes
1answer
432 views

Arrow keys in GDB (window mode) not working with TERM=xterm

First, this is not the history size problem. (gdb) show history size The size of the command history is 70000000. Second, it happens in xterm and not in vt100 and I don't want vt100 because of weird ...
1
vote
0answers
160 views

Remapping Ctrl + I with keysym in rxvt

I'm trying to remap Ctrl + I to be captured as something else than tab, so I can use it as a shortcut in tmux. However I cannot get to work. As a test case I tried to get Ctrl + I to output Ctrl + W ...
1
vote
2answers
154 views

when performing a read command from within an xterm -e, it doesn't store the result of the read

When running the following in #!/bin/bash xterm -e "echo 123;read ANSWER;echo answer=$ANSWER;sleep 5" I get these results in an xterm window (no matter what i type for the read). 123 answer= So it ...
4
votes
1answer
2k views

Increasing scroll back length of xterm

I am logged in remotely to a CentOS 6.6 machine from a Mac with Yosemite running XQuartz 2.7.8. When I run xterm on my CentOS machine, I'm can only scroll back about 1200 lines. How do I increase ...
0
votes
2answers
219 views

why doesn't xterm work with my script?

my script : echo 123456 > /folder/folder/123.txt I ran the script with xterm: xterm -e my.sh & It doesn't work.
-1
votes
1answer
479 views

Prevent .bashrc from running when starting a new xterm instance

I am running CentOS 6.6, and occasionally when I spawn a new xterm window, I don't want the xterm instance to source .bashrc. Is there a way to do this?
21
votes
3answers
3k views

Move a program started in GNU screen out to another terminal

I want to terminate an instance of GNU screen whilst preserving the process running inside it. So I opened my regular terminal emulator program and executed screen. Then I used that instance of ...
1
vote
1answer
262 views

xterm translations: sending multiple keys

I'd like to utilize the multimedia keys on my keyboard in my xterm/tmux. I'd like to map the XF86Launch8 to the keys C-a F1 (ctrl-a being the tmux prefix key, the press F1, which is mapped in tmux to ...
0
votes
1answer
498 views

mobaxterm doesn't correctly pass ctrl-shift-arrow sequences

MobaXterm doesn't correctly pass ctrl-shift-arrow sequences. It doesn't work on emacs, and when I use sed -n l, I see it displays the escape sequence of the arrow key alone instead of the full ...
1
vote
0answers
120 views

Vim insert mode changes the font defined in ~/.Xresources

Background I am running Arch Linux with the i3 WM. I am trying to customize the font in Xterm by editing ~/.Xresources as every online resource online has told me to. What i have done I add the ...
0
votes
1answer
394 views

Moving from screen to tmux but having trouble in copying (double click doesnt work in tmux)

While in putty double clicking a word copies it to clipboard, I am unable to copy by doubling clicking when I am using tmux in putty. I am able to do it using SHIFT key, but I want to do it without ...
0
votes
1answer
206 views

Setup xterm-256color on Minix3

Problem I'm trying to setup 256 color on Minix3. I found that the xterm-256color file exists on /usr/pkg/share/terminfo/x. I tried to set it up in ~/.profile with if [ -e /usr/pkg/share/terminfo/x/...
0
votes
1answer
153 views

vim/xterm: thin vertical highlighted bars on some lines at extreme right side of screen

I use vim in an xterm. Just recently I have noticed the appearance of thin vertical highlighted bars on some lines at extreme right side of xterm. They are not tied to the text, for they remain in the ...
0
votes
1answer
175 views

XTerm buffers output when reading from fifo

I have an xterm window that I would like to continually display the output of a named pipe. However, there seems to be some buffering occurring, and I can't find where it is happening. I open two ...
5
votes
1answer
774 views

How can I bind two distinct actions to Ctrl-Shift-Key and Ctrl-Key in vi

I am trying to map two different actions to e.g. CtrlShifta and Ctrla: map <C-S-a> :echo "ctrl-shift-a received"<CR> map <C-a> :echo "ctrl-a received"<CR> But all I ...
1
vote
1answer
669 views

Unlimited savelines in XTerm?

I'm trying to achieve unlimited or simply very large number of lines saved beyond the top of the screen in XTerm. I do have my xterm*savelines: 10000000 resource set to a rather large number, and I ...
0
votes
1answer
88 views

Cannot insert caret and backtick in XTerm

I cannot insert carets and backticks (and possibly other characters) in XTerm under certain conditions. When I move focus from XTerm to Firefox and use Alt+Tab to switch back, I can no longer instert ^...
1
vote
1answer
674 views

Change xterm buffer size to unlimited for session

This question is similar to How to increase default xterm buffer size. I'd like to change my xterm buffer size (the buffer being how much I can scroll back) to unlimited on OpenBSD 5.7. The other ...
0
votes
1answer
632 views

Vim in xterm : Mouse cursor not changing based on mouse mode

When I use vim with gnome-terminal or yakuake, and I have mouse on ( set mouse+=a ), then I see an arrow as mouse pointer, and when I have mouse off, then the "insert" sign as mouse pointer. However, ...
6
votes
1answer
3k views

What do the 16 definable colors in .Xresources do?

I've found an endless supply of themes availble online that use hex-color codes to change how X windows display, but I can't find any documentation that clearly states what each color does. For ...
1
vote
0answers
77 views

programmatic access to current xterm colors

In the thread below Programmatic access to current xterm background color? Alex North-Keys provides a useful bash script that returns the background color of the current xterm. I'd like to use ...
1
vote
2answers
4k views

Install TTF font on xterm (cygwin)

I am trying to install a new font on Cygwin. Lots of websites give tricks for an old Cygwin where everything was inside: /usr/X11R6/lib/X11/fonts/TTF Some say it's easy with this: cp /cygdrive/c/...
0
votes
1answer
1k views

Start command inside xterm with login shell, over SSH?

I'm trying to use ssh to remotely start an xterm that runs a command inside a non-interactive login environment with a file that sets up the environment that is in a non-standard location. Anybody ...
0
votes
1answer
1k views

xterm: Can't execvp ulimit

I setup my suse to work with xterm so it could pop up gdb when my tests crash. The test launching .exe file runs the specified test and opens up gdb when crash occurs. This works just fine. There is a ...
1
vote
1answer
192 views

xterm valid command not working in konsole nor gnome terminal

this works fine with xterm xterm -e '(dialog --msgbox "thebigmessage" 0 0)' but not with konsole nor gnome-terminal konsole -e '(dialog --msgbox "thebigmessage" 0 0)' gnome-terminal -e '(...
0
votes
2answers
299 views

How to stop PuTTY + Informix switching background and foreground color?

I connect with PuTTY (with "xterm") to a Debian system running Informix. In all Informix applications (self-written 4GL as well as isql and i4gl) PuTTY switches the background and foreground colors ...
0
votes
1answer
585 views

Debian xfce opens in vim using xfce4-terminal

I'm using debian jessie. In xfce when I open the right-click menu on text files etc there is an "open in vim". When I click this the file opens in vim but vim is in xterm instead of the xfce terminal (...