General :: Bash - Use A Graphical Or Text Based EDITOR On Logging In Locally Or Remotely?

Aug 17, 2010

I can set my EDITOR variable in my .bashrc to e.g. gedit, which is a nice graphical editor on ubuntu. But when I log in over PuTTY that editor will fail.What is the best way to detect if I'm logged in and can run a graphical editor, or not, and set EDITOR appropriately?

View 2 Replies


ADVERTISEMENT

General :: Php - Text Editor That Can Save Locally And Via FTP For Switching From EditPlus On Windows

May 18, 2010

I just switched from Windows to Linux. I've been using EditPlus for many years mainly because of it's ability to save locally, and then send the file via FTP, with easy keyboard shortcuts (ctrl-s to save, ctrl-alt-s to ftp).

I also need syntax highlighting and basic code editing features. Is there anything for Linux that can do this? I don't want to run EditPlus via Wine

I need to save locally and remotely simultaneously, or at least with a few keystrokes. I already know of plenty of ways to edit remote files.

View 3 Replies View Related

General :: Disk Based Text Editor To Edit File Larger Than Memory?

Aug 2, 2010

I am using Ubuntu and looking for a good editor to edit a file that is > 4GB. I just need to put content at the end and beginning of the file. I suppose I could use something like

cat "text to add" >> huge_file

To append to the file. Is that the route to go? What about prepending? In general, what is the best route if I wanted to edit somewhere in the middle?

I've tried VIM and it fails miserably. I assume emacs and nano would be even worse. What else is there? I assume to accomplish what I am looking for, the editor would have to be specifically designed for this by not keeping the entirety of the file's contents in memory.

View 5 Replies View Related

General :: Bash Shell Syntax For Opening A Text Editor?

Apr 28, 2011

I'm trying to be able to Open a text editor without needing an existing file.This is my code:

case $ans in
"Show Today") echo "$(date)";;
"Show Calendar") cal;;

[code]...

View 14 Replies View Related

General :: How To Run Program Remotely Via SSH But Display Locally

Mar 24, 2010

Is it possible for me to SSH to another server in Linux (Ubuntu), run a program there but display it locally?And is it possible for me to SSH to another server in my terminal,and configure it so that all graphical programs (Firefox, Emacs) run in that SSH session will be displayed locally?

View 3 Replies View Related

General :: Remotely Run Script On Unix, Get Output Locally?

Apr 13, 2010

I need to run a (Tcl, or whatever) script on a remote Unix machine, from a (local) Windows command shell, and I want the stdout/stderr of the script to show up in the Windows CLI. The exit code would also be useful.

View 4 Replies View Related

General :: Execute Commands After Logging In Into The Ssh Connection Not Locally?

Oct 20, 2010

I am creating this script which will login to a server with ssh and check if a particular exists there, if not it will create the user.This is the script:Quote:

ssh 192.168.100.5
cat /etc/passwd|grep -i $1 > /dev/null
if [ $? -eq 0 ];

[code]...

View 9 Replies View Related

OpenSUSE Install :: Text Based Splash Screen - Show Text Based Startup On Booting OS?

Aug 11, 2011

I have a question regarding to the Graphical Splash Screen. Is their a way to show the text based startup on booting your OS? So. I don't the OpenSuse Background with the loading line. But i want the half transparent black background if possible or just the black background with all the loading texts. The black and white screen.

View 9 Replies View Related

Programming :: Creating A Text Based Menu Structure In Bash?

May 15, 2009

Is it possible to create a text based menu layout in bash were it is possible to browse through. The menu list should look something like this:

----------------------------------------
user: root
colour: blue
number: 4
animal: dog
----------------------------------------

At the start the cursor should blink at the r from root so that text can be entered. When pressing the enter the cursor should go to the b from blue and so on. the imported thing is that all the text is visible also beyond the position from the cursor.

View 4 Replies View Related

Ubuntu :: Can't Access SSH Remotely But Can Locally

Oct 10, 2010

I've got an SSH server setup on my box which is running locally fine. I can connect to it through my local laptop but when I try to connect through the internet either via my IP or using the DynamicDNS I have setup both get an operation timed out message.I've got firestarter running with an inbound policy to allow connections from any host to port 22. I've also gone into my Netgear router and selected to forward any inbound connections to port 22 to the IP of the box that's got the SSH server on it.

Even with all this the connection just isn't being made. I've also tried temporarily setting the DMZ option on the router to forward all inbound connections to the IP of the Ubuntu box but still get the same Operation time out. Is there any other options that wouldn't allow remote connections via SSH? Or am I missing something hugely obvious here? Maybe it's possible to connect to SSH via a different port or something?I'm running Ubuntu 10.4 and have installed openssh-server via Synaptic. Would be great to get this working so I can use it as a tunnel from work and access the VNC, which I've been told should be done via SSH anyway.

View 7 Replies View Related

General :: All Text In Text Editor Turned To Boxes?

Jul 17, 2009

I was trying to install GTK+-2.8.20, so I installed it's necessary dependencies in this order:

pkg-config-0.23
glib-2.20.4
pango-1.24.4
jpeg library
tiff library
cairo

And I was about to install the last dependency: ATK (Accessability Toolkit).I opened the Archive Manager to extract the "atk-1.26.0.tar.gz" file (yes, I'm still switching from Windows so I'm fond of GUI), but I noticed all the text in that window was boxes, like the □ type box for every letter of text.So instead I thought it wouldn't be a big deal, because the terminal and regular windows weren't screwed up.I opened a text file in gedit (reference to commands in terminal, such as how to extract files via terminal), but yet again all of the text was □-like boxes.

View 2 Replies View Related

Server :: Vsftpd: Can Connect Remotely But Not Locally?

Jan 31, 2011

I'm running vsftpd-2.2.2 on Slackware 13.1 and I'm behind a NAT with a dynamic IP. I'm using pasv_address, which makes it necessary to have a crontab that checks whether my IP has changed, and if it has, edits the conf and restarts vsfptd. It's hackish but it works. I have also enabled FTPES on the same port that normal FTP runs. I have allowed only the 5001:5003 ports and I am aware that the recommented is 50 ports. However I never had an issue with the transfers since I'm the only user and have at maximum two simultaneous transfers.

I can connect remotely with FTP and FTPES with every client I tried but I'm having issues locally. FileZilla refuses to connect on FTP and FTPES. WinSCP can connect on FTP but not FTPES. Issues are gone if I enable pasv_promiscuous, which the manpage strongly recommends not to use unless "you know what you're doing". I don't. Why is this happening? And, can I fix the local connections without resorting to pasv_promiscuous?

Here is my config and log files from a failed local attempt.

vsftpd.conf

Code:

anonymous_enable=NO
local_enable=YES
write_enable=YES
local_umask=022

[code]....

View 3 Replies View Related

Ubuntu :: GDM: Logging On Locally Without Entering Password?

Jun 10, 2010

Any idea how to log a user in without a password in GDM? I've found this archived thread but it doesn't appear to do anything when I tried what it says: [URL] I'm not looking for auto-login. I'd simply like one user to be able to click on his name and it will log in without prompting for a password.

View 3 Replies View Related

Ubuntu :: Text Editor Column Editor And Regex Search/replace, Incrementing Number Insert?

Jul 25, 2011

On windows I really only used Notepad++ as my text editor, it had two features that I loved.What I need to accomplish is what I would do with Notepad++ column editor.I could have like 100 lines, and place the cursor at a column, and goto edit>column editor, and I could insert an incrementing number. (I could also pad the incrementing number with 0s, this was GREAT for making batch files among other things.)So each line at that column had a number higher than the previous line.The other feature that I used sometimes was a search/replace with regex patterns.Does anyone know of an editor that has those features for linux? I am mostly after the column editor insert feature but if you know of one with both features that would rock.

View 1 Replies View Related

Ubuntu Servers :: Login Directly Using Rdesktop Instead Of Logging Locally?

Jan 29, 2011

There's a way to login directly using rdesktop, instead of logging locally using the gnome session manager? Like, starting x, then typing a user and pass to login direct in a Windows server?

View 8 Replies View Related

General :: Installation - Text Mode Vs Graphical

Jun 30, 2010

I have just been using distro's that install with a graphical interface, but some of the distro's forum members recommend are installed text mode only. How difficult is a text mode install

View 9 Replies View Related

General :: CLI RTF Text Editor?

Jan 14, 2011

I am really trying to find a cli/console text editor that can open/edit RTF text files? I know they them for Dindows, but what about Linux?

View 1 Replies View Related

Debian Configuration :: Configure Vino Remote Desktop To Start At Boot - Only View Remotely Once Have Logged-in Locally

Aug 9, 2010

Kernel: Linux 2.6.26-2-686 (i686)
Compiled: #1 SMP Thu Nov 25 01:53:57 UTC 2010
C Library: GNU C Library version 2.7 (stable)
Distribution: Debian GNU/Linux 5.0.8
Desktop Environment: GNOME 2.20

Gnome comes with Vino Remote Desktop as part of it's package. I want Vino to run at boot so that I can login remotely. I am using VNC-4.1.3 for remote viewing. However, I can only view remotely once I have logged-in locally.

View 9 Replies View Related

Software :: Logging In Remotely Through Ssh?

Dec 12, 2009

I'm a admin. i'm using rhel5 server addition,in my client machine i've installed fc12 ,when i'm trying to login through ssh to the system.I'm getting this message. #ssh admin@x.x.x.xssh: connect to host x.x.x.x port 22:

View 1 Replies View Related

Fedora :: Open Graphical Applications Through SSH - Remotely

Mar 21, 2010

I have a small question regarding remote access through SSH. Here is the thing: it's been a while now that I am using SSH to remotely login servers, and more recently my own machines to transfer information from my school's workstation to my Aspire One (I effectively work in the Aspire One through a 24 inch monitor).

Anyway I was wondering if it is possible to open programs like evince through SSH. I'll describe what I am doing: the Aspire One sits next to my workstation (so I am seeing it's screen as well) and in the workstation I work in LaTex documents actually residing in the Aspire One, so what I want to do from time to time is to open graphical apps in my Aspire One from my workstation through SSH (needless to say that I open the graphical session in the AO with the same user I do SSH, and the AO runs Fedora 12).

View 2 Replies View Related

General :: Previewing Text In A Graphical Mail Client?

Aug 8, 2011

Kernel 2.6.21.5, Slackware 12.0Mozilla Thunderbird 2.0.0.4I have just typed, using a GUI mail client (or the graphical front end of a mail client) the text of a letter and am about to send it. Before I do so, I'd like to see how the letter will look to the recipient. But I can't find anything similar to a 'Preview' button. The client I use is Thunderbird. What do users of mail clients (graphical) do in a similar situation? I mean "to preview", when writing. Form among all mail clients, many must share the same features.

View 7 Replies View Related

General :: Text Editor For Windows ?

Jun 1, 2010

Recommend a good Linux text editor for Windows (if it exists), I wrote scripts for C-Shell using txt editor of windows but I have problem, it doesn't run because windows is not UNIX, what can I do? I don't want to install linux for a few scripts, I do testing of my scripts via unix server (this server is not mine), I treed dos2unix command, also doesn't work.

View 5 Replies View Related

General :: Why VI Editor Highlighting All Text

Mar 31, 2011

All of a sudden all the text in my vi editor is highlighted. I have no idea how this happened.

View 2 Replies View Related

General :: Emacs Is How Much More Than Text Editor?

May 30, 2011

I was reading how you could browse the net with Emacs but then it was stated that it was done with another application like Firefox so this would imply that Emacs is an interpreter would it not? What is Emacs capable of? Is it an interpreter that runs a text editor?

View 11 Replies View Related

General :: How To Use Default Text Editor

Jan 25, 2011

Code:export EDITOR="nano" in ".zshrc". How do I use default text editor now?

View 1 Replies View Related

General :: Text Editor Vs Notepad

Mar 24, 2010

re: lock file on an access database.i can see an .ldb file fine with windows notepad but cannot see the .ldb file in ubuntu's text editor. Its just messy text of symbols and letter. is there a way to view these files from ubuntu ?

View 13 Replies View Related

General :: How To Change The Default Text Editor

Jul 28, 2010

How can I change the default text editor for console programs in Ubuntu.When I run mutt and send a message, it currently loads up Joe and I would prefet to load Vim.I know I can change $EDITOR for me only, but would prefe to do it system wide.

View 2 Replies View Related

General :: OpenSuse Terminal Text Editor

Mar 26, 2010

please let me know what are the commands I have to use & how to save a "OpenSuse Terminal text editor" once we have updated the file.

View 8 Replies View Related

General :: How To Refresh A Graphical Display Through Bash Script?

Jul 25, 2011

I need to display a message graphically using a messagebox or textbox through bash script. However the message should be keep changing every 4 secs . I input the message from a file and use "gxmessage" to display it .

I do not like this solution and it looks ugly too , because it is visible that the message box is getting killed and forked every time..Can't I use the same gxmessage message box for all the messages just by putting new messages and hence refreshing the same box.Any idea , anything other than gxmessage will do , if a solution is somewhere else.

View 1 Replies View Related

Ubuntu :: Text Editor To Preserve Indentations On Wrapped Text?

Mar 21, 2010

I'm looking for a light-weight text editor for general-purpose composition that can preserve indentations on wrapped lines.

View 3 Replies View Related







Copyrights 2005-15 www.BigResource.com, All rights reserved