Overclock.net › Forums › Software, Programming and Coding › Operating Systems › Linux, Unix › Cancel Email - Linux Terminal
New Posts  All Forums:Forum Nav:

Cancel Email - Linux Terminal

post #1 of 6
Thread Starter 
I'm sending email with the linux terminal using the "mail" command. how do I cancel sending the message, while in the message body?
Kilo 3.0
(20 items)
 
  
CPUMotherboardGraphicsRAM
Intel Core i5 2500K Gigabyte GA-Z68XP-UD3P HIS HD6970 1GB 8GB G.Skill RipJaws DDR3-1600 
Hard DriveHard DriveHard DriveHard Drive
OCZ Vertex 3 Seagate Barricuda Seagate GoFlex WD Passport 
Optical DriveOptical DriveCoolingCooling
Lite-On BD-RW ASUS DVD-RW Cooler Master H80 Arctic Cooling Twin Turbo II 
OSMonitorKeyboardPower
Windows 8 Pro 25" Hanns.G K710 Corsair TX750 
CaseMouseMouse PadAudio
Cooler Master 690 M710 XTrac Ripper Logitech 540 
  hide details  
Reply
Kilo 3.0
(20 items)
 
  
CPUMotherboardGraphicsRAM
Intel Core i5 2500K Gigabyte GA-Z68XP-UD3P HIS HD6970 1GB 8GB G.Skill RipJaws DDR3-1600 
Hard DriveHard DriveHard DriveHard Drive
OCZ Vertex 3 Seagate Barricuda Seagate GoFlex WD Passport 
Optical DriveOptical DriveCoolingCooling
Lite-On BD-RW ASUS DVD-RW Cooler Master H80 Arctic Cooling Twin Turbo II 
OSMonitorKeyboardPower
Windows 8 Pro 25" Hanns.G K710 Corsair TX750 
CaseMouseMouse PadAudio
Cooler Master 690 M710 XTrac Ripper Logitech 540 
  hide details  
Reply
post #2 of 6
Open a new terminal and or tab and run the cancel command?

I don't know how one would do it while in the body.
ContrastFX
(14 items)
 
  
CPUMotherboardGraphicsRAM
Phenom II X6 1100T GIGABYTE GA-990FXA-UD3 XFX Radeon HD 6870 Mushkin Blackline 
Hard DriveOptical DriveCoolingOS
Seagate Barracuda 500GB LG DVD±RW SuperMulti Drive Corsair H60 Windows 8 Developer Preview 64bit 
MonitorKeyboardPowerCase
ASUS MS246 1920x1080 iRocks RF-6570 Antec HCG-520 LIAN LI Lancool PC-K58W 
  hide details  
Reply
ContrastFX
(14 items)
 
  
CPUMotherboardGraphicsRAM
Phenom II X6 1100T GIGABYTE GA-990FXA-UD3 XFX Radeon HD 6870 Mushkin Blackline 
Hard DriveOptical DriveCoolingOS
Seagate Barracuda 500GB LG DVD±RW SuperMulti Drive Corsair H60 Windows 8 Developer Preview 64bit 
MonitorKeyboardPowerCase
ASUS MS246 1920x1080 iRocks RF-6570 Antec HCG-520 LIAN LI Lancool PC-K58W 
  hide details  
Reply
post #3 of 6
Thread Starter 
I feel bad for my instructor. my kid hit the "esc" key a few times, and ruined my email.

Also, if I kept typing on a line, the text didn't continue to the next line, it just wrote over the line I was on, deleting text. I hate this stupid thing...
Kilo 3.0
(20 items)
 
  
CPUMotherboardGraphicsRAM
Intel Core i5 2500K Gigabyte GA-Z68XP-UD3P HIS HD6970 1GB 8GB G.Skill RipJaws DDR3-1600 
Hard DriveHard DriveHard DriveHard Drive
OCZ Vertex 3 Seagate Barricuda Seagate GoFlex WD Passport 
Optical DriveOptical DriveCoolingCooling
Lite-On BD-RW ASUS DVD-RW Cooler Master H80 Arctic Cooling Twin Turbo II 
OSMonitorKeyboardPower
Windows 8 Pro 25" Hanns.G K710 Corsair TX750 
CaseMouseMouse PadAudio
Cooler Master 690 M710 XTrac Ripper Logitech 540 
  hide details  
Reply
Kilo 3.0
(20 items)
 
  
CPUMotherboardGraphicsRAM
Intel Core i5 2500K Gigabyte GA-Z68XP-UD3P HIS HD6970 1GB 8GB G.Skill RipJaws DDR3-1600 
Hard DriveHard DriveHard DriveHard Drive
OCZ Vertex 3 Seagate Barricuda Seagate GoFlex WD Passport 
Optical DriveOptical DriveCoolingCooling
Lite-On BD-RW ASUS DVD-RW Cooler Master H80 Arctic Cooling Twin Turbo II 
OSMonitorKeyboardPower
Windows 8 Pro 25" Hanns.G K710 Corsair TX750 
CaseMouseMouse PadAudio
Cooler Master 690 M710 XTrac Ripper Logitech 540 
  hide details  
Reply
post #4 of 6
If you know the linux terminal, you would know [ctrl]+[c] cancels things. I just tested it with mailx, and it works. Press enter to move to a new line

Read the man page (especially the bottom, "Getting Started") if you really want to learn how to use this application. You won't be able to pick it up without doing your reading first. It looked very confusing to me when I just glanced over it.

Edit: Sorry I was a little late.
Edited by Rothen - 7/22/11 at 8:06am
Ye Old Desktop
(14 items)
 
  
CPUMotherboardGraphicsRAM
Phenom II X4 965 @ 4.24 GHz ASUS M4A77D PNY GTX 470 7 GB DDR2 RAM 
Hard DriveHard DriveOptical DriveOS
500 GB Hitachi 250 GB Maxtor (PATA) x16 DVD/CD RW Windows 7 Professional x68 
MonitorKeyboardPowerCase
Hannspree HF255HPB Logitech G15 (2nd Gen) Corsair TX 650 V2 Antec 300 
MouseAudio
Logitech G9 Creative Audigy 2 ZS 
  hide details  
Reply
Ye Old Desktop
(14 items)
 
  
CPUMotherboardGraphicsRAM
Phenom II X4 965 @ 4.24 GHz ASUS M4A77D PNY GTX 470 7 GB DDR2 RAM 
Hard DriveHard DriveOptical DriveOS
500 GB Hitachi 250 GB Maxtor (PATA) x16 DVD/CD RW Windows 7 Professional x68 
MonitorKeyboardPowerCase
Hannspree HF255HPB Logitech G15 (2nd Gen) Corsair TX 650 V2 Antec 300 
MouseAudio
Logitech G9 Creative Audigy 2 ZS 
  hide details  
Reply
post #5 of 6
Ctrl + D usually terminates whatever you're doing when it's expecting input from the user.
#well
(19 items)
 
Lenovo L530
(8 items)
 
 
CPUMotherboardGraphicsRAM
Intel Core i7 4770k Gigabyte Z87X-UD4H XFX Radeon HD 6950 Corsair CMX8GX3M2A2000C9 
Hard DriveHard DriveOptical DriveCooling
Samsung EVO 840 Hitachi HDS722020ALA330 Generic DVD±RW Burner Noctua NH-D14 
OSMonitorMonitorKeyboard
Windows 8.1 Dell U2711 LG W2453 Ducky DK9008 Overclock.net Edition, Cherry MX B... 
PowerCaseMouseMouse Pad
Corsair TX850 Antec Three Hundred Corsair Raptor M40 QPAD HeatoN M 
AudioAudioAudio
E-MU Tracker|pre Beyerdynamic DT-770 250 Ohm AntLion ModMIc 
CPUGraphicsRAMRAM
Intel Ivy Bridge 3210M Intel HD 4000 Graphics Soldered Corsair Vengeance  
Hard DriveOptical DriveOSMonitor
500GB DVD-+RW Windows 7 Professional 1600x900 
  hide details  
Reply
#well
(19 items)
 
Lenovo L530
(8 items)
 
 
CPUMotherboardGraphicsRAM
Intel Core i7 4770k Gigabyte Z87X-UD4H XFX Radeon HD 6950 Corsair CMX8GX3M2A2000C9 
Hard DriveHard DriveOptical DriveCooling
Samsung EVO 840 Hitachi HDS722020ALA330 Generic DVD±RW Burner Noctua NH-D14 
OSMonitorMonitorKeyboard
Windows 8.1 Dell U2711 LG W2453 Ducky DK9008 Overclock.net Edition, Cherry MX B... 
PowerCaseMouseMouse Pad
Corsair TX850 Antec Three Hundred Corsair Raptor M40 QPAD HeatoN M 
AudioAudioAudio
E-MU Tracker|pre Beyerdynamic DT-770 250 Ohm AntLion ModMIc 
CPUGraphicsRAMRAM
Intel Ivy Bridge 3210M Intel HD 4000 Graphics Soldered Corsair Vengeance  
Hard DriveOptical DriveOSMonitor
500GB DVD-+RW Windows 7 Professional 1600x900 
  hide details  
Reply
post #6 of 6
Thread Starter 
ctrl+c acts as an end exection. IE. "cat > newfile" The only way to finish and actually write the file is by using ctrl+d (and maybe ctrl+c? haven't tried). ctrl+d sends the email, and so does ctrl+c.
Kilo 3.0
(20 items)
 
  
CPUMotherboardGraphicsRAM
Intel Core i5 2500K Gigabyte GA-Z68XP-UD3P HIS HD6970 1GB 8GB G.Skill RipJaws DDR3-1600 
Hard DriveHard DriveHard DriveHard Drive
OCZ Vertex 3 Seagate Barricuda Seagate GoFlex WD Passport 
Optical DriveOptical DriveCoolingCooling
Lite-On BD-RW ASUS DVD-RW Cooler Master H80 Arctic Cooling Twin Turbo II 
OSMonitorKeyboardPower
Windows 8 Pro 25" Hanns.G K710 Corsair TX750 
CaseMouseMouse PadAudio
Cooler Master 690 M710 XTrac Ripper Logitech 540 
  hide details  
Reply
Kilo 3.0
(20 items)
 
  
CPUMotherboardGraphicsRAM
Intel Core i5 2500K Gigabyte GA-Z68XP-UD3P HIS HD6970 1GB 8GB G.Skill RipJaws DDR3-1600 
Hard DriveHard DriveHard DriveHard Drive
OCZ Vertex 3 Seagate Barricuda Seagate GoFlex WD Passport 
Optical DriveOptical DriveCoolingCooling
Lite-On BD-RW ASUS DVD-RW Cooler Master H80 Arctic Cooling Twin Turbo II 
OSMonitorKeyboardPower
Windows 8 Pro 25" Hanns.G K710 Corsair TX750 
CaseMouseMouse PadAudio
Cooler Master 690 M710 XTrac Ripper Logitech 540 
  hide details  
Reply
New Posts  All Forums:Forum Nav:
  Return Home
  Back to Forum: Linux, Unix
Overclock.net › Forums › Software, Programming and Coding › Operating Systems › Linux, Unix › Cancel Email - Linux Terminal