VIM in GNU screen in Mac Terminal.app scrambled text [closed] - macos

Closed. This question is off-topic. It is not currently accepting answers.
Want to improve this question? Update the question so it's on-topic for Stack Overflow.
Closed 10 years ago.
Improve this question
Trying to use Vim in Mac's Terminal.app but it's unusable, terminal is only refreshing line or column where the cursor is, so scrolling is quite bizarre. Text is being updated only on the line where the cursor is, but the rest is not changing. Very weird behavior, I've seen this on linux too, with nvidia driver, the bufferes somehow were not updated. It's driving me crazy, and forces me to use MacVim all the time.
The weird factor here, it only happens when I run Vim inside GNU screen, otherwise it works just fine.

try MacVim :)

Related

MacVim: How to automatically return to the command line on exit from mvim [closed]

Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
This question does not appear to be about a specific programming problem, a software algorithm, or software tools primarily used by programmers. If you believe the question would be on-topic on another Stack Exchange site, you can leave a comment to explain where the question may be able to be answered.
Closed 9 years ago.
Improve this question
When I run mvim from OS X's Terminal.app command line, it brings up the GUI version of Vim. But, when I close the GUI Vim widow (via :q), the window focus is left on the MacVim app (even though there is no open window). This quite annoying, as it means I have to then refocus to the terminal window I ran the app from so I can continue to use the command line.
This is also different from the default way it works in Windows XP and Linux (at least in Ubuntu & RHEL).
I can see maybe some hack ways of doing this - like changing the mvim script to run vim with the "-f" (foreground) option, and then running some Mac command to refocus the Terminal. Anyone have a simple way to do this?

Can't edit sudo nano /etc/apache2/apache2.conf in Apache on Mac terminal [closed]

Closed. This question is off-topic. It is not currently accepting answers.
Want to improve this question? Update the question so it's on-topic for Stack Overflow.
Closed 9 years ago.
Improve this question
I'm guessing this should be easy but I can't work anything out.
I'm using terminal on my Mac (latest OS). I'm connecting to a web server and running this command:
sudo nano /etc/apache2/apache2.conf
I then see the config file. I can change things, but for the life of my I can't save it. I can see the list of options highlighted at the bottom saying use ^X to exit and I've tried :w! etc. but nothing. The problem seems to be whatever I type is being used as changes to the file, so some how I need to type into terminal but not as an edit to the file.
If I close the terminal then everything is ignored, so that won't work.
I'm using Ubuntu 12.04 LTS if that means anything.
I bet this is easy, but it's really frustrating for me.
^X means to press the control key and X rather than type it in.

Ctrl-y behavior in gnuplot - not yanking in OS X [closed]

Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
This question does not appear to be about a specific programming problem, a software algorithm, or software tools primarily used by programmers. If you believe the question would be on-topic on another Stack Exchange site, you can leave a comment to explain where the question may be able to be answered.
Closed 8 years ago.
Improve this question
Typically, CTRL+Y yanks previously killed text. This works very well in the terminal to cut and paste text. However, once I start gnuplot, using CTRL+Y suspends the program. The odd thing is that this only happens in my OS X machine. On my Ubuntu 12.04, the CTRL+Y inside the gnuplot has the expected behavior of yanking text.
Any ideas ideas on why this is happening? And how can I make CTRL+Y to have the expected behavior in a interactive gnuplot session?
This is just an educated guess -- OS-X does not ship with gnu readline, so gnuplot (by default) builds against the native OS-X readline implementation.
print GPVAL_COMPILE_OPTIONS #... +READLINE_IS_REALLY_EDITLINE ...
To fix this, you'd probably need to download/install gnu readline and then compile gnuplot with --with-readline=gnu or something to that effect.

Gedit in Windows creates multiple instances [closed]

Closed. This question is off-topic. It is not currently accepting answers.
Want to improve this question? Update the question so it's on-topic for Stack Overflow.
Closed 9 years ago.
Improve this question
I installed the latest version (2.30.1) of Gedit for Windows. And whenever I open files from explorer with gedit, it won't open as tabs in the current instance, instead it opens a new window for each file, like a notepad. I do not like this behavior. Is there any way to configure gedit to open files in the same window as tabs?
Judging from this askubuntu.org post, this is not only an issue on windows. Making the suggested changes and building gedit for windows might yield some result.
This may not be the best answer, but you can try Notepad++ instead of Gedit for Windows. It has basically the same features (and I actually find Notepad++ better - a friend of mine uses Wine with Notepad++ on Ubuntu).
http://notepad-plus-plus.org/

How to run wireshark on the background without the GUI? [closed]

Closed. This question is off-topic. It is not currently accepting answers.
Want to improve this question? Update the question so it's on-topic for Stack Overflow.
Closed 12 years ago.
Improve this question
I am trying to run Wireshark on Mac OS X, on the background. I did install the command line utilities, and so I am able to start wireshark and capture packet using the command line. The only thing I want now is to run it on the background, without even having the X11 icon on the task bar and see the window of wireshark. I believe it is possible but can't find anything on the doc of Wireshark.
Maybe another way would be to find a trick to hide an icon on Mac OS X...
If anybody already did that or have an idea...
Thank you
Please excuse my English which is not perfect at all
As far as I remember TShark comes with all distributions of Wireshark. This runs from the command line.
The documentation for it is tshark documentation
And there's some examples on how to use it here

Resources