xterm Questions

4

Solved

I'm trying to retrieve the coordinates of cursor in a VT100 terminal using the following code: void getCursor(int* x, int* y) { printf("\033[6n"); scanf("\033[%d;%dR", x, y); } I'm using the f...
Hartsock asked 16/4, 2013 at 0:33

4

Solved

Is it possible to have a block (as in "rectangular") selection in xterm? If yes, is it assigned by default to a key/mouse binding or does it have to be assigned separately? Thanks :) Sorin
Hungnam asked 5/8, 2009 at 9:3

4

Solved

I'm lazy, and I prefer that computers do my work for me. I ssh into several machines on a daily basis, so I created a simple script that launches some xterm windows and places them in positions I w...
Entelechy asked 15/12, 2014 at 17:14

1

I've implemented a terminal emulator and a corresponding terminfo entry that allows me to run ncurses programs like emacs, mc (midnight commander) or tig (git browser). I want to add mouse support ...
Stereogram asked 20/11, 2013 at 19:41

4

Solved

To use ALT key in vim without tweaking, the escaping should be disabled in xterm. Without escaping the ALT will not work in bash for shortcuts. to work around I need to reload this option before ...
Sudd asked 13/2, 2014 at 6:18

2

Solved

I am running qemu with -serial pty option, and qemu gave this message char device redirected to /dev/pts/1 however, it doesn't generate new window, I can do cat on pts1 from different wi...
Lezley asked 25/11, 2013 at 10:43

4

Solved

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 t...
Busty asked 22/1, 2010 at 1:30

4

Solved

I'm writing various utilities, and I'm really liking colorized text. Nothing fancy, just using escape sequences. I've created a simple class that has a pprint(msg, color) function. I've got it work...
Alembic asked 2/12, 2010 at 6:59

2

Solved

When you start the (n)curses program, it will remove the scroll bar from your terminal emulator, clear the screen, the scroll log (history) will also disappear. When you exit the program, the scree...
Abaca asked 28/8, 2016 at 6:15

3

Solved

The new release of IPython does not depend any more on readline but uses the pure Python library prompt-toolkit, solving maintenance problems on Apple's and Windows' systems. A new feature is the ...
Mercer asked 29/7, 2016 at 13:7

1

Vim has the ability to correctly guess the background color of an Xterm in order to set its internal option bg to either dark or white according to the terminal's one. Vim is able to do that correc...
Terriss asked 10/7, 2016 at 1:51

3

Solved

The following mapping doesn't work: noremap <A-ö> :do something I use xterm (on Ubuntu) and mappings like <A-j> work. Mapping ö alone is possible but again, <C-ö> doesn't work....
Filmer asked 25/5, 2013 at 9:39

1

Solved

I've been trying to run through the .Xresources method, with no success (see comment here from a related question) So what do I need to modify to make sure my Xmgrace window is of a particular siz...
Information asked 26/4, 2016 at 11:53

2

Solved

I'm trying to map Vim commands to the ctrl+pgup and ctrl+pgdn key combinations. The vim syntax for these keys does not work (i.e., <PageUp> and <PageDown>, or <C-PageUp> and <C...
Lamellibranch asked 11/3, 2016 at 1:16

3

Solved

Every time that I run python or python3 with an interactive console, the display of the prompt gets out of sync almost immediately after the first or second interaction: >>> [1,2,3] >&...
Decoteau asked 8/10, 2015 at 6:5

3

Solved

Anyone know how to change the default font size when you open a new XTERM windown in Cygwin? I have found references of putting information into the ~/.Xresources file but that file doesn't exist ...
Imre asked 18/10, 2011 at 17:31

2

Solved

How can I run a command on xterm startup i.e. when an xterm terminal is launched a the command is already executed? I have edited the .bashrc file to add this line: xterm "ls" But this does not ...
Tensible asked 27/6, 2015 at 12:52

2

Solved

XTerm Control Sequences specifies the following key sequences: CSI ? 1 h → Application Cursor Keys (DECCKM) CSI ? 1 l → Normal Cursor Mode (DECOM) CSI ? 66 h → Application keypad (DECNKM) CSI ? 66...
Electron asked 17/1, 2014 at 0:15

2

Solved

I often view files using less and want to remember what i have just seen in the file. However when I quit less by pressing the q key my xterm window removes the page of less showing the file and on...
Perverted asked 8/8, 2011 at 4:33

1

Solved

I'm running Xubuntu 13.04 and I want to use Vim as my default editor for everything. I have downloaded many vim color schemas and tried them out, but all of them don't look like the official screen...
Magistrate asked 11/10, 2013 at 21:53

2

Solved

I have cygwin installed on my Windows 7 box and I have been running into a problem where when I type a command it will occasionally be wrapped back onto the same line, deleting the bash prompt. Her...
Llewellyn asked 20/12, 2013 at 5:52

2

Solved

Is it possible to make Guake terminal to use 256 colors instead of just 8? The only info that I found on the internet is this post https://bbs.archlinux.org/viewtopic.php?id=173707 but it didn't w...
Constrict asked 1/2, 2014 at 23:33

0

I know that it's possible to set certain programs to spawn in certain workspaces like so: myManageHook = composeAll [ classname =? "XTerm" --> doShift "3" ] main = xmonad $ defaultConfig { ma...
Triune asked 23/11, 2013 at 3:52

4

Solved

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 on...
Crick asked 12/7, 2010 at 22:5

6

Solved

I'm using emacs in a console window both on my local Linux box and on the login node of a remote cluster. I use emacs regularly, and I've got the foreground color set to white in my .emacs file lik...
Herzig asked 24/3, 2009 at 22:55

© 2022 - 2024 — McMap. All rights reserved.